Skip to content

Commit

Permalink
feat: add Portuguese language
Browse files Browse the repository at this point in the history
  • Loading branch information
berkaltiok committed May 11, 2022
1 parent 3c3a921 commit cb8f6e4
Show file tree
Hide file tree
Showing 9 changed files with 59 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/lang/de.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export default {
fr: "Französisch",
ru: "Russisch",
dk: "Dänisch",
pt: "Portugiesisch",
}
},
search: {
Expand Down
1 change: 1 addition & 0 deletions src/lang/dk.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default {
fr: "Fransk",
ru: "Russisk",
dk: "Dansk",
pt: "Portugisisk",
},
},
search: {
Expand Down
1 change: 1 addition & 0 deletions src/lang/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default {
fr: "French",
ru: "Russian",
dk: "Danish",
pt: "Portuguese",
}
},
search: {
Expand Down
1 change: 1 addition & 0 deletions src/lang/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export default {
fr: "Français",
ru: "Russe",
dk: "Danois",
pt: "Portugais",
},
},
search: {
Expand Down
50 changes: 50 additions & 0 deletions src/lang/pt.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
export default {
info: {
name: "Português",
flag: "pt",
languages: {
tr: "Turco",
en: "Inglês",
de: "Alemão",
fr: "Francês",
ru: "Russo",
dk: "dinamarquês",
pt: "Português",
}
},
search: {
title: "Id do usuário / qualquer ID",
input: {
required: "Este campo é obrigatorio.",
minLength: "Precisa de ter mais de {0} caracteres.",
maxLength: "Precisa de ser menor do que {0} caracteres.",
numeric: "Apenas números (Discord ID) são aceites."
},
button: "Procurar",
quick: "Id do usuário ou qualquer ID"
},
list: {
recent: "Procuras recentes",
favorites: "Favoritos",
empty: "A lista está vazia",
approve: "Remover"
},
result: {
title: {
id: "ID do usuário",
type: "Tipo de usuário",
date: "Data de criação",
age: "Idade"
},
type: {
user: "Conta Normal",
bot: "Conta de BOT"
},
favorites: {
add: "Adicionar aos favoritos",
remove: "Remover dos favoritos"
}
},
selectLanguage: 'Linguagem',
discord: "Não somos afiliados a Discord, Inc."
}
1 change: 1 addition & 0 deletions src/lang/ru.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default {
fr: "Французский",
ru: "Русский",
dk: "Датский",
pt: "Потонский",
}
},
search: {
Expand Down
1 change: 1 addition & 0 deletions src/lang/tr.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default {
fr: "Fransızca",
ru: "Rusça",
dk: "Danca",
pt: "Portekizce",
},
},
search: {
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ new Vue({
titleTemplate: '%s - Lookup.Guru',
meta: [
{ name: 'title', content: 'Discord Search ID - Lookup.Guru' },
{ name: 'description', content: 'Lookup and search Discord ID, discord bot and user account detail.' },
{ name: 'description', content: 'Lookup.Guru is a free and open source Discord search engine. It allows you to search for Discord IDs and get information about them.' },
{ name: 'keywords', content: 'Discord Search ID, Discord Lookup, Discord ID Lookup, Discord ID Finder, Discord Look Up, Discord ID Tracker, Discord ID Search, Discord ID, Discord Search, Lookup.Guru, Lookup Guru, Discord, Search, ID, Lookup, Guru' }
]
}
Expand Down
2 changes: 2 additions & 0 deletions src/utils/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import de from '@/lang/de'
import fr from '@/lang/fr'
import ru from '@/lang/ru'
import dk from '@/lang/dk'
import pt from '@/lang/pt'

let urlParams = new URLSearchParams(window.location.search);

Expand All @@ -23,5 +24,6 @@ export default new VueI18n({
fr,
ru,
dk,
pt
}
})

0 comments on commit cb8f6e4

Please sign in to comment.