Skip to content

Commit

Permalink
Add Portuguese Language (#858)
Browse files Browse the repository at this point in the history
Thank you @RuiRibeiro-P4L!
  • Loading branch information
pheiduck authored Feb 20, 2024
2 parents 11be379 + 91c08e2 commit ecd8176
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 22 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
wg-easy:
environment:
# Change Language:
# (Supports: en, ru, tr, no, pl, fr, de, ca, es)
# (Supports: en, ru, tr, no, pl, fr, de, ca, es, pt)
- LANG=de
# ⚠️ Required:
# Change this to your host's public address
Expand Down
55 changes: 34 additions & 21 deletions src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions src/www/js/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,4 +353,31 @@ const messages = { // eslint-disable-line no-unused-vars
madeBy: 'Gert af',
donate: 'Gefa',
},
pt: {
name: 'Nome',
password: 'Palavra Chave',
signIn: 'Entrar',
logout: 'Sair',
updateAvailable: 'Existe uma atualização disponível!',
update: 'Atualizar',
clients: 'Clientes',
new: 'Novo',
deleteClient: 'Apagar Clientes',
deleteDialog1: 'Tem certeza que pretende apagar',
deleteDialog2: 'Esta ação não pode ser revertida.',
cancel: 'Cancelar',
create: 'Criar',
createdOn: 'Criado em ',
lastSeen: 'Último acesso em ',
totalDownload: 'Total Download: ',
totalUpload: 'Total Upload: ',
newClient: 'Novo Cliente',
disableClient: 'Desativar Cliente',
enableClient: 'Ativar Cliente',
noClients: 'Não existem ainda clientes.',
showQR: 'Apresentar o código QR',
downloadConfig: 'Descarregar Configuração',
madeBy: 'Feito por',
donate: 'Doar',
},
};

0 comments on commit ecd8176

Please sign in to comment.