Skip to content

Commit

Permalink
Add slovene translation (wg-easy#1440)
Browse files Browse the repository at this point in the history
  • Loading branch information
spagnoloG authored Sep 28, 2024
1 parent 5aed678 commit 3fc0e02
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ These options can be configured by setting environment variables using `-e KEY="
| `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. |
| `WG_ENABLE_EXPIRES_TIME` | `false` | `true` | Enable expire time for clients |
| `LANG` | `en` | `de` | Web UI language (Supports: en, ua, ru, tr, no, pl, fr, de, ca, es, ko, vi, nl, is, pt, chs, cht, it, th, hi, ja). |
| `LANG` | `en` | `de` | Web UI language (Supports: en, ua, ru, tr, no, pl, fr, de, ca, es, ko, vi, nl, is, pt, chs, cht, it, th, hi, ja, si). |
| `UI_TRAFFIC_STATS` | `false` | `true` | Enable detailed RX / TX client stats in Web UI |
| `UI_CHART_TYPE` | `0` | `1` | UI_CHART_TYPE=0 # Charts disabled, UI_CHART_TYPE=1 # Line chart, UI_CHART_TYPE=2 # Area chart, UI_CHART_TYPE=3 # Bar chart |
| `WG_ENABLE_ONE_TIME_LINKS` | `false` | `true` | Enable display and generation of short one time download links (expire after 5 minutes) |
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
wg-easy:
environment:
# Change Language:
# (Supports: en, ua, ru, tr, no, pl, fr, de, ca, es, ko, vi, nl, is, pt, chs, cht, it, th, hi, ja)
# (Supports: en, ua, ru, tr, no, pl, fr, de, ca, es, ko, vi, nl, is, pt, chs, cht, it, th, hi, ja, si)
- LANG=en
# ⚠️ Required:
# Change this to your host's public address
Expand Down
31 changes: 31 additions & 0 deletions src/www/js/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -680,4 +680,35 @@ const messages = { // eslint-disable-line no-unused-vars
Permanent: '無期限',
OneTimeLink: '短いワンタイムリンクを生成',
},
si: { // github.com/spagnoloG
name: 'Ime',
password: 'Geslo',
signIn: 'Prijava',
logout: 'Odjava',
updateAvailable: 'Na voljo je posodobitev!',
update: 'Posodobi',
clients: 'Odjemalci',
new: 'Novo',
deleteClient: 'Izbriši odjemalca',
deleteDialog1: 'Ali ste prepričani, da želite izbrisati',
deleteDialog2: 'Tega dejanja ni mogoče razveljaviti.',
cancel: 'Prekliči',
create: 'Ustvari',
createdOn: 'Ustvarjeno dne ',
lastSeen: 'Zadnjič viden ',
totalDownload: 'Skupno prenos: ',
totalUpload: 'Skupno nalaganje: ',
newClient: 'Nov odjemalec',
disableClient: 'Onemogoči odjemalca',
enableClient: 'Omogoči odjemalca',
noClients: 'Še ni odjemalcev.',
showQR: 'Prikaži QR kodo',
downloadConfig: 'Prenesi konfiguracijo',
madeBy: 'Ustvaril',
donate: 'Doniraj',
restore: 'Obnovi',
backup: 'Varnostna kopija',
titleRestoreConfig: 'Obnovi svojo konfiguracijo',
titleBackupConfig: 'Ustvari varnostno kopijo svoje konfiguracije',
},
};

0 comments on commit 3fc0e02

Please sign in to comment.