Guillem Bonet
1 year ago
No known key found for this signature in database
GPG Key ID: 48408F6E3AC6F4B4
3 changed files with
29 additions and
1 deletions
-
README.md
-
docker-compose.yml
-
src/www/js/i18n.js
|
|
@ -97,6 +97,7 @@ These options can be configured by setting environment variables using `-e KEY=" |
|
|
|
| `WG_POST_UP` | `...` | `iptables ...` | See [config.js](https://github.com/wg-easy/wg-easy/blob/master/src/config.js#L20) for the default value. | |
|
|
|
| `WG_PRE_DOWN` | `...` | - | See [config.js](https://github.com/wg-easy/wg-easy/blob/master/src/config.js#L27) for the default value. | |
|
|
|
| `WG_POST_DOWN` | `...` | `iptables ...` | See [config.js](https://github.com/wg-easy/wg-easy/blob/master/src/config.js#L28) for the default value. | |
|
|
|
| `LANG` | `en` | `de` | Web UI language (Supports: en, ru, tr, no, pl, fr, de, ca). | |
|
|
|
|
|
|
|
> If you change `WG_PORT`, make sure to also change the exposed port. |
|
|
|
|
|
|
|
|
|
@ -6,7 +6,7 @@ services: |
|
|
|
wg-easy: |
|
|
|
environment: |
|
|
|
# Change Language: |
|
|
|
# (Supports: en, ru, tr, no, pl, fr, de) |
|
|
|
# (Supports: en, ru, tr, no, pl, fr, de, ca) |
|
|
|
- LANG=de |
|
|
|
# ⚠️ Required: |
|
|
|
# Change this to your host's public address |
|
|
|
|
|
@ -191,4 +191,31 @@ const messages = { // eslint-disable-line no-unused-vars |
|
|
|
madeBy: 'Erstellt von', |
|
|
|
donate: 'Spenden', |
|
|
|
}, |
|
|
|
ca: { // github.com/guillembonet
|
|
|
|
name: 'Nom', |
|
|
|
password: 'Contrasenya', |
|
|
|
signIn: 'Iniciar sessió', |
|
|
|
logout: 'Tanca sessió', |
|
|
|
updateAvailable: 'Hi ha una actualització disponible!', |
|
|
|
update: 'Actualitza', |
|
|
|
clients: 'Clients', |
|
|
|
new: 'Nou', |
|
|
|
deleteClient: 'Esborra client', |
|
|
|
deleteDialog1: 'Estàs segur que vols esborrar aquest client?', |
|
|
|
deleteDialog2: 'Aquesta acció no es pot desfer.', |
|
|
|
cancel: 'Cancel·la', |
|
|
|
create: 'Crea', |
|
|
|
createdOn: 'Creat el ', |
|
|
|
lastSeen: 'Última connexió el ', |
|
|
|
totalDownload: 'Baixada total: ', |
|
|
|
totalUpload: 'Pujada total: ', |
|
|
|
newClient: 'Nou client', |
|
|
|
disableClient: 'Desactiva client', |
|
|
|
enableClient: 'Activa client', |
|
|
|
noClients: 'Encara no hi ha cap client.', |
|
|
|
showQR: 'Mostra codi QR', |
|
|
|
downloadConfig: 'Descarrega configuració', |
|
|
|
madeBy: 'Fet per', |
|
|
|
donate: 'Donatiu', |
|
|
|
}, |
|
|
|
}; |
|
|
|