From ceacaa9e3c59973d7cc5d650ea8a3374d5a03ea3 Mon Sep 17 00:00:00 2001 From: cany748 Date: Sat, 11 Jun 2022 15:30:09 +0700 Subject: [PATCH 01/11] add multilanguage support and add russian language --- src/www/index.html | 89 ++++++++++++++++----------- src/www/js/app.js | 15 ++++- src/www/js/i18n.js | 60 ++++++++++++++++++ src/www/js/vendor/timeago.full.min.js | 1 + src/www/js/vendor/timeago.min.js | 1 - src/www/js/vendor/vue-i18n.min.js | 6 ++ 6 files changed, 134 insertions(+), 38 deletions(-) create mode 100644 src/www/js/i18n.js create mode 100644 src/www/js/vendor/timeago.full.min.js delete mode 100644 src/www/js/vendor/timeago.min.js create mode 100644 src/www/js/vendor/vue-i18n.min.js diff --git a/src/www/index.html b/src/www/index.html index 4080c51a..3d2c1590 100644 --- a/src/www/index.html +++ b/src/www/index.html @@ -20,30 +20,46 @@
- Logout + {{$t("logout")}} -

- - WireGuard -

+
+

+ + WireGuard +

+
+ + +
+

-

There is an update available!

+

{{$t("updateAvailable")}}

{{latestRelease.changelog}}

- Update → + {{$t("update")}} →
@@ -51,7 +67,7 @@
-

Clients

+

{{$t("clients")}}

@@ -101,7 +117,7 @@
-
+
- + · @@ -166,7 +182,7 @@ - + · @@ -179,7 +195,7 @@ + :title="$t('lastSeen') + dateTime(new Date(client.latestHandshakeAt))"> · {{new Date(client.latestHandshakeAt) | timeago}}
@@ -189,18 +205,18 @@
-
-

@@ -318,12 +334,12 @@

+ type="text" v-model.trim="clientCreateName" :placeholder="$t('name')" />

@@ -332,15 +348,15 @@
@@ -392,12 +408,11 @@

- Are you sure you want to delete {{clientDelete.name}}? - This action cannot be undone. + {{$t("deleteDialog1")}} {{clientDelete.name}}? {{$t("deleteDialog2")}}

@@ -406,11 +421,11 @@
@@ -430,7 +445,7 @@ - - - - +

+ + WireGuard +

-
+
alert(err.message || err.toString())) .finally(() => this.refresh().catch(console.error)); }, - changeLang(lang) { - localStorage.setItem('lang', lang); - i18n.locale = lang; - }, }, filters: { bytes, @@ -285,6 +279,12 @@ new Vue({ }, 1000); Promise.resolve().then(async () => { + const lang = await this.api.getLang(); + if (lang !== localStorage.getItem('lang') && i18n.availableLocales.includes(lang)) { + localStorage.setItem('lang', lang); + i18n.locale = lang; + } + const currentRelease = await this.api.getRelease(); const latestRelease = await fetch('https://weejewel.github.io/wg-easy/changelog.json') .then(res => res.json()) diff --git a/src/www/js/i18n.js b/src/www/js/i18n.js index 422d8008..93101a33 100644 --- a/src/www/js/i18n.js +++ b/src/www/js/i18n.js @@ -15,7 +15,7 @@ const messages = { // eslint-disable-line no-unused-vars deleteDialog2: 'This action cannot be undone.', cancel: 'Cancel', create: 'Create', - createdAt: 'Created on ', + createdOn: 'Created on ', lastSeen: 'Last seen on ', totalDownload: 'Total Download: ', totalUpload: 'Total Upload: ', @@ -27,7 +27,6 @@ const messages = { // eslint-disable-line no-unused-vars downloadConfig: 'Download Configuration', madeBy: 'Made by', donate: 'Donate', - changeLang: 'Change language', }, ru: { name: 'Имя', @@ -43,7 +42,7 @@ const messages = { // eslint-disable-line no-unused-vars deleteDialog2: 'Это действие невозможно отменить.', cancel: 'Закрыть', create: 'Создать', - createdAt: 'Создано в ', + createdOn: 'Создано в ', lastSeen: 'Последнее подключение в ', totalDownload: 'Всего скачано: ', totalUpload: 'Всего загружено: ', @@ -55,6 +54,5 @@ const messages = { // eslint-disable-line no-unused-vars downloadConfig: 'Скачать конфигурацию', madeBy: 'Сделано', donate: 'Поблагодарить', - changeLang: 'Выбор языка', }, }; From 35bf2e3b8e6cbf9d7ea1d0112d5166e0e76c88a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=BCsl=C3=BCm=20Bar=C4=B1=C5=9F=20Korkmazer?= <11800544+babico@users.noreply.github.com> Date: Thu, 7 Jul 2022 18:36:55 +0300 Subject: [PATCH 04/11] turkish support --- src/www/js/i18n.js | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/src/www/js/i18n.js b/src/www/js/i18n.js index aa82240a..9a48128d 100644 --- a/src/www/js/i18n.js +++ b/src/www/js/i18n.js @@ -57,4 +57,32 @@ const messages = { // eslint-disable-line no-unused-vars donate: 'Поблагодарить', changeLang: 'Выбор языка', }, + tr: { // Müslüm Barış Korkmazer @babico + name: 'İsim', + password: 'Şifre', + signIn: 'Giriş Yap', + logout: 'Çıkış Yap', + updateAvailable: 'Mevcut bir güncelleme var!', + update: 'Güncelle', + clients: 'Kullanıcılar', + new: 'Yeni', + deleteClient: 'Kullanıcı Sil', + deleteDialog1: 'Silmek istediğine emin misin', + deleteDialog2: 'Bu işlem geri alınamaz.', + cancel: 'İptal', + create: 'Oluştur', + createdAt: 'Şu saatte oluşturuldu: ', + lastSeen: 'Son görülme tarihi: ', + totalDownload: 'Toplam İndirme: ', + totalUpload: 'Toplam Yükleme: ', + newClient: 'Yeni Kullanıcı', + disableClient: 'İstemciyi Devre Dışı Bırak', + enableClient: 'İstemciyi Etkinleştir', + noClients: 'Henüz kullanıcı yok.', + showQR: 'QR Kodunu Göster', + downloadConfig: 'Yapılandırmayı İndir', + madeBy: 'Yapan Kişi: ', + donate: 'Bağış Yap', + changeLang: 'Dil Değiştir', + }, }; From 2fd233ee525792c9bd08686b4900bbd3605836cd Mon Sep 17 00:00:00 2001 From: cany748 <123sasha2@mail.ru> Date: Thu, 4 Aug 2022 17:55:08 +0700 Subject: [PATCH 05/11] add Norwegian and Polish lang --- src/www/js/i18n.js | 54 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/src/www/js/i18n.js b/src/www/js/i18n.js index c9818b19..183780c2 100644 --- a/src/www/js/i18n.js +++ b/src/www/js/i18n.js @@ -83,4 +83,58 @@ const messages = { // eslint-disable-line no-unused-vars donate: 'Bağış Yap', changeLang: 'Dil Değiştir', }, + no: { // github.com/digvalley + name: 'Navn', + password: 'Passord', + signIn: 'Logg Inn', + logout: 'Logg Ut', + updateAvailable: 'En ny oppdatering er tilgjengelig!', + update: 'Oppdater', + clients: 'Klienter', + new: 'Ny', + deleteClient: 'Slett Klient', + deleteDialog1: 'Er du sikker på at du vil slette?', + deleteDialog2: 'Denne handlingen kan ikke angres', + cancel: 'Avbryt', + create: 'Opprett', + createdOn: 'Opprettet ', + lastSeen: 'Sist sett ', + totalDownload: 'Total Nedlasting: ', + totalUpload: 'Total Opplasting: ', + newClient: 'Ny Klient', + disableClient: 'Deaktiver Klient', + enableClient: 'Aktiver Klient', + noClients: 'Ingen klienter opprettet enda.', + showQR: 'Vis QR Kode', + downloadConfig: 'Last Ned Konfigurasjon', + madeBy: 'Laget av', + donate: 'Doner', + }, + pl: { // github.com/archont94 + name: 'Nazwa', + password: 'Hasło', + signIn: 'Zaloguj się', + logout: 'Wyloguj się', + updateAvailable: 'Dostępna aktualizacja!', + update: 'Aktualizuj', + clients: 'Klienci', + new: 'Stwórz klienta', + deleteClient: 'Usuń klienta', + deleteDialog1: 'Jesteś pewny że chcesz usunąć', + deleteDialog2: 'Tej akcji nie da się cofnąć.', + cancel: 'Anuluj', + create: 'Stwórz', + createdOn: 'Utworzono ', + lastSeen: 'Ostatnio widziany ', + totalDownload: 'Całkowite pobieranie: ', + totalUpload: 'Całkowite wysyłanie: ', + newClient: 'Nowy klient', + disableClient: 'Wyłączenie klienta', + enableClient: 'Włączenie klienta', + noClients: 'Nie ma jeszcze klientów.', + showQR: 'Pokaż kod QR', + downloadConfig: 'Pobierz konfigurację', + madeBy: 'Stworzone przez', + donate: 'Wsparcie autora', + }, }; From bad3f1f492e3b58b5818acbce487a7a9b1c1b5e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Radenac?= <47008408+clem3109@users.noreply.github.com> Date: Thu, 4 Aug 2022 13:38:27 +0200 Subject: [PATCH 06/11] Here is french ! Thanks a lot for this work, that's absolutely a great idea ! --- src/www/js/i18n.js | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/src/www/js/i18n.js b/src/www/js/i18n.js index 183780c2..12601d59 100644 --- a/src/www/js/i18n.js +++ b/src/www/js/i18n.js @@ -137,4 +137,31 @@ const messages = { // eslint-disable-line no-unused-vars madeBy: 'Stworzone przez', donate: 'Wsparcie autora', }, + fr: { + name: 'Nom', + password: 'Mot de passe', + signIn: 'Se Connecter', + logout: 'Se déconnecter', + updateAvailable: 'Une mise à jour est disponible !', + update: 'Mise à jour', + clients: 'Clients', + new: 'Nouveau', + deleteClient: 'Supprimer ce client', + deleteDialog1: 'Êtes-vous que vous voulez supprimer', + deleteDialog2: 'Cette action ne peut pas être annulée.', + cancel: 'Annuler', + create: 'Créer', + createdOn: 'Créé le ', + lastSeen: 'Dernière connexion le ', + totalDownload: 'Téléchargement total : ', + totalUpload: 'Téléversement total : ', + newClient: 'Nouveau client', + disableClient: 'Désactiver ce client', + enableClient: 'Activer ce client', + noClients: 'Aucun client pour le moment.', + showQR: 'Afficher le code à réponse rapide (QR Code)', + downloadConfig: 'Télécharger la configuration', + madeBy: 'Développé par', + donate: 'Soutenir', + }, }; From 88bb67e2632749e9d281925e546ed2ea535de54c Mon Sep 17 00:00:00 2001 From: cany748 <123sasha2@mail.ru> Date: Tue, 20 Dec 2022 09:43:36 +0700 Subject: [PATCH 07/11] Update src/www/js/i18n.js typo Co-authored-by: Sergey Kuznetsov --- src/www/js/i18n.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/www/js/i18n.js b/src/www/js/i18n.js index 12601d59..30619119 100644 --- a/src/www/js/i18n.js +++ b/src/www/js/i18n.js @@ -49,10 +49,10 @@ const messages = { // eslint-disable-line no-unused-vars newClient: 'Создать клиента', disableClient: 'Выключить клиента', enableClient: 'Включить клиента', - noClients: 'Пока нету клиентов.', - showQR: 'Показать QR код', + noClients: 'Пока нет клиентов.', + showQR: 'Показать QR-код', downloadConfig: 'Скачать конфигурацию', - madeBy: 'Сделано', + madeBy: 'Автор', donate: 'Поблагодарить', }, tr: { // Müslüm Barış Korkmazer @babico From 4bc110bca5e547baaf6f6447de5e5772f0438579 Mon Sep 17 00:00:00 2001 From: Alexander Date: Wed, 28 Jun 2023 10:24:20 +0700 Subject: [PATCH 08/11] feat: add german translation --- src/www/js/i18n.js | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/src/www/js/i18n.js b/src/www/js/i18n.js index 30619119..81bf3940 100644 --- a/src/www/js/i18n.js +++ b/src/www/js/i18n.js @@ -137,7 +137,7 @@ const messages = { // eslint-disable-line no-unused-vars madeBy: 'Stworzone przez', donate: 'Wsparcie autora', }, - fr: { + fr: { // github.com/clem3109 name: 'Nom', password: 'Mot de passe', signIn: 'Se Connecter', @@ -164,4 +164,31 @@ const messages = { // eslint-disable-line no-unused-vars madeBy: 'Développé par', donate: 'Soutenir', }, + de: { // github.com/florian-asche + name: 'Name', + password: 'Passwort', + signIn: 'Login', + logout: 'Logout', + updateAvailable: 'Ein Update steht zur Verfügung!', + update: 'Update', + clients: 'Clients', + new: 'Neu', + deleteClient: 'Client löschen', + deleteDialog1: 'Möchtest du wirklich löschen?', + deleteDialog2: 'Diese Aktion kann nicht rückgängig gemacht werden.', + cancel: 'Abbrechen', + create: 'Erstellen', + createdOn: 'Erstellt am ', + lastSeen: 'Zuletzt Online ', + totalDownload: 'Gesamt Download: ', + totalUpload: 'Gesamt Upload: ', + newClient: 'Neuer Client', + disableClient: 'Client deaktivieren', + enableClient: 'Client aktivieren', + noClients: 'Es wurden noch keine Clients konfiguriert.', + showQR: 'Zeige den QR Code', + downloadConfig: 'Konfiguration herunterladen', + madeBy: 'Erstellt von', + donate: 'Spenden', + }, }; From cacf5f3c02562233d49f349230e2ca8dcef2bef7 Mon Sep 17 00:00:00 2001 From: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Wed, 3 Jan 2024 23:38:14 +0100 Subject: [PATCH 09/11] fixup de language: Login = Anmelden, Logout = Abmelden --- src/www/js/i18n.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/www/js/i18n.js b/src/www/js/i18n.js index 81bf3940..389a8930 100644 --- a/src/www/js/i18n.js +++ b/src/www/js/i18n.js @@ -167,8 +167,8 @@ const messages = { // eslint-disable-line no-unused-vars de: { // github.com/florian-asche name: 'Name', password: 'Passwort', - signIn: 'Login', - logout: 'Logout', + signIn: 'Anmelden', + logout: 'Abmelden', updateAvailable: 'Ein Update steht zur Verfügung!', update: 'Update', clients: 'Clients', From d9ef36321b433b6296c18686af875e040b3e028b Mon Sep 17 00:00:00 2001 From: NPM Update Bot Date: Wed, 3 Jan 2024 22:38:43 +0000 Subject: [PATCH 10/11] npm: package updates --- src/package-lock.json | 277 ++++++++++++++++++++++++++++++------------ 1 file changed, 198 insertions(+), 79 deletions(-) diff --git a/src/package-lock.json b/src/package-lock.json index b25cd176..4e0764ad 100644 --- a/src/package-lock.json +++ b/src/package-lock.json @@ -204,6 +204,17 @@ "node": "^10.12.0 || >=12.0.0" } }, + "node_modules/@eslint/eslintrc/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "peer": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, "node_modules/@eslint/eslintrc/node_modules/ignore": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", @@ -214,6 +225,19 @@ "node": ">= 4" } }, + "node_modules/@eslint/eslintrc/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "peer": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, "node_modules/@humanwhocodes/config-array": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz", @@ -229,6 +253,30 @@ "node": ">=10.10.0" } }, + "node_modules/@humanwhocodes/config-array/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "peer": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/@humanwhocodes/config-array/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "peer": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, "node_modules/@humanwhocodes/object-schema": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", @@ -444,16 +492,16 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "6.15.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.15.0.tgz", - "integrity": "sha512-j5qoikQqPccq9QoBAupOP+CBu8BaJ8BLjaXSioDISeTZkVO3ig7oSIKh3H+rEpee7xCXtWwSB4KIL5l6hWZzpg==", + "version": "6.17.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.17.0.tgz", + "integrity": "sha512-Vih/4xLXmY7V490dGwBQJTpIZxH4ZFH6eCVmQ4RFkB+wmaCTDAx4dtgoWwMNGKLkqRY1L6rPqzEbjorRnDo4rQ==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.15.0", - "@typescript-eslint/type-utils": "6.15.0", - "@typescript-eslint/utils": "6.15.0", - "@typescript-eslint/visitor-keys": "6.15.0", + "@typescript-eslint/scope-manager": "6.17.0", + "@typescript-eslint/type-utils": "6.17.0", + "@typescript-eslint/utils": "6.17.0", + "@typescript-eslint/visitor-keys": "6.17.0", "debug": "^4.3.4", "graphemer": "^1.4.0", "ignore": "^5.2.4", @@ -479,15 +527,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "6.15.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.15.0.tgz", - "integrity": "sha512-MkgKNnsjC6QwcMdlNAel24jjkEO/0hQaMDLqP4S9zq5HBAUJNQB6y+3DwLjX7b3l2b37eNAxMPLwb3/kh8VKdA==", + "version": "6.17.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.17.0.tgz", + "integrity": "sha512-C4bBaX2orvhK+LlwrY8oWGmSl4WolCfYm513gEccdWZj0CwGadbIADb0FtVEcI+WzUyjyoBj2JRP8g25E6IB8A==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "6.15.0", - "@typescript-eslint/types": "6.15.0", - "@typescript-eslint/typescript-estree": "6.15.0", - "@typescript-eslint/visitor-keys": "6.15.0", + "@typescript-eslint/scope-manager": "6.17.0", + "@typescript-eslint/types": "6.17.0", + "@typescript-eslint/typescript-estree": "6.17.0", + "@typescript-eslint/visitor-keys": "6.17.0", "debug": "^4.3.4" }, "engines": { @@ -507,13 +555,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "6.15.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.15.0.tgz", - "integrity": "sha512-+BdvxYBltqrmgCNu4Li+fGDIkW9n//NrruzG9X1vBzaNK+ExVXPoGB71kneaVw/Jp+4rH/vaMAGC6JfMbHstVg==", + "version": "6.17.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.17.0.tgz", + "integrity": "sha512-RX7a8lwgOi7am0k17NUO0+ZmMOX4PpjLtLRgLmT1d3lBYdWH4ssBUbwdmc5pdRX8rXon8v9x8vaoOSpkHfcXGA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.15.0", - "@typescript-eslint/visitor-keys": "6.15.0" + "@typescript-eslint/types": "6.17.0", + "@typescript-eslint/visitor-keys": "6.17.0" }, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -524,13 +572,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "6.15.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.15.0.tgz", - "integrity": "sha512-CnmHKTfX6450Bo49hPg2OkIm/D/TVYV7jO1MCfPYGwf6x3GO0VU8YMO5AYMn+u3X05lRRxA4fWCz87GFQV6yVQ==", + "version": "6.17.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.17.0.tgz", + "integrity": "sha512-hDXcWmnbtn4P2B37ka3nil3yi3VCQO2QEB9gBiHJmQp5wmyQWqnjA85+ZcE8c4FqnaB6lBwMrPkgd4aBYz3iNg==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "6.15.0", - "@typescript-eslint/utils": "6.15.0", + "@typescript-eslint/typescript-estree": "6.17.0", + "@typescript-eslint/utils": "6.17.0", "debug": "^4.3.4", "ts-api-utils": "^1.0.1" }, @@ -551,9 +599,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "6.15.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.15.0.tgz", - "integrity": "sha512-yXjbt//E4T/ee8Ia1b5mGlbNj9fB9lJP4jqLbZualwpP2BCQ5is6BcWwxpIsY4XKAhmdv3hrW92GdtJbatC6dQ==", + "version": "6.17.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.17.0.tgz", + "integrity": "sha512-qRKs9tvc3a4RBcL/9PXtKSehI/q8wuU9xYJxe97WFxnzH8NWWtcW3ffNS+EWg8uPvIerhjsEZ+rHtDqOCiH57A==", "dev": true, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -564,16 +612,17 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "6.15.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.15.0.tgz", - "integrity": "sha512-7mVZJN7Hd15OmGuWrp2T9UvqR2Ecg+1j/Bp1jXUEY2GZKV6FXlOIoqVDmLpBiEiq3katvj/2n2mR0SDwtloCew==", + "version": "6.17.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.17.0.tgz", + "integrity": "sha512-gVQe+SLdNPfjlJn5VNGhlOhrXz4cajwFd5kAgWtZ9dCZf4XJf8xmgCTLIqec7aha3JwgLI2CK6GY1043FRxZwg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.15.0", - "@typescript-eslint/visitor-keys": "6.15.0", + "@typescript-eslint/types": "6.17.0", + "@typescript-eslint/visitor-keys": "6.17.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", + "minimatch": "9.0.3", "semver": "^7.5.4", "ts-api-utils": "^1.0.1" }, @@ -591,17 +640,17 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "6.15.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.15.0.tgz", - "integrity": "sha512-eF82p0Wrrlt8fQSRL0bGXzK5nWPRV2dYQZdajcfzOD9+cQz9O7ugifrJxclB+xVOvWvagXfqS4Es7vpLP4augw==", + "version": "6.17.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.17.0.tgz", + "integrity": "sha512-LofsSPjN/ITNkzV47hxas2JCsNCEnGhVvocfyOcLzT9c/tSZE7SfhS/iWtzP1lKNOEfLhRTZz6xqI8N2RzweSQ==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "@types/json-schema": "^7.0.12", "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.15.0", - "@typescript-eslint/types": "6.15.0", - "@typescript-eslint/typescript-estree": "6.15.0", + "@typescript-eslint/scope-manager": "6.17.0", + "@typescript-eslint/types": "6.17.0", + "@typescript-eslint/typescript-estree": "6.17.0", "semver": "^7.5.4" }, "engines": { @@ -616,12 +665,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "6.15.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.15.0.tgz", - "integrity": "sha512-1zvtdC1a9h5Tb5jU9x3ADNXO9yjP8rXlaoChu0DQX40vf5ACVpYIVIZhIMZ6d5sDXH7vq4dsZBT1fEGj8D2n2w==", + "version": "6.17.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.17.0.tgz", + "integrity": "sha512-H6VwB/k3IuIeQOyYczyyKN8wH6ed8EwliaYHLxOIhyF0dYEIsN8+Bk3GE19qafeMKyZJJHP8+O1HiFhFLUNKSg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.15.0", + "@typescript-eslint/types": "6.17.0", "eslint-visitor-keys": "^3.4.1" }, "engines": { @@ -952,13 +1001,12 @@ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" }, "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" + "balanced-match": "^1.0.0" } }, "node_modules/braces": { @@ -1662,6 +1710,16 @@ "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8" } }, + "node_modules/eslint-plugin-import/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, "node_modules/eslint-plugin-import/node_modules/debug": { "version": "3.2.7", "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", @@ -1683,6 +1741,18 @@ "node": ">=0.10.0" } }, + "node_modules/eslint-plugin-import/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, "node_modules/eslint-plugin-import/node_modules/semver": { "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", @@ -1728,6 +1798,28 @@ "eslint": ">=5.16.0" } }, + "node_modules/eslint-plugin-node/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/eslint-plugin-node/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, "node_modules/eslint-plugin-node/node_modules/semver": { "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", @@ -1787,6 +1879,17 @@ "url": "https://opencollective.com/eslint" } }, + "node_modules/eslint/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "peer": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, "node_modules/eslint/node_modules/eslint-visitor-keys": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", @@ -1820,6 +1923,19 @@ "node": ">= 4" } }, + "node_modules/eslint/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "peer": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, "node_modules/espree": { "version": "7.3.1", "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz", @@ -2347,6 +2463,30 @@ "node": ">=10.13.0" } }, + "node_modules/glob/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "peer": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/glob/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "peer": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, "node_modules/globals": { "version": "13.24.0", "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", @@ -3079,15 +3219,18 @@ } }, "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", "dev": true, "dependencies": { - "brace-expansion": "^1.1.7" + "brace-expansion": "^2.0.1" }, "engines": { - "node": "*" + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/minimist": { @@ -3623,9 +3766,9 @@ } }, "node_modules/postcss-selector-parser": { - "version": "6.0.13", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz", - "integrity": "sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==", + "version": "6.0.15", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.15.tgz", + "integrity": "sha512-rEYkQOMUCEMhsKbK66tbEU9QVIxbhN18YiniAwA7XQYTVBqrBy+P2p5JcdqsHgKM2zWylp8d7J6eszocfds5Sw==", "dev": true, "dependencies": { "cssesc": "^3.0.0", @@ -4321,15 +4464,6 @@ "node": ">=16 || 14 >=14.17" } }, - "node_modules/sucrase/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0" - } - }, "node_modules/sucrase/node_modules/glob": { "version": "10.3.10", "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", @@ -4352,21 +4486,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/sucrase/node_modules/minimatch": { - "version": "9.0.3", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", - "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", - "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", From 6fa24b3391b1354f3dfe24973bf33e0f5c72952e Mon Sep 17 00:00:00 2001 From: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Wed, 3 Jan 2024 23:48:45 +0100 Subject: [PATCH 11/11] fixup de: naming `update` --- src/www/js/i18n.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/www/js/i18n.js b/src/www/js/i18n.js index 389a8930..1a2bafb2 100644 --- a/src/www/js/i18n.js +++ b/src/www/js/i18n.js @@ -169,8 +169,8 @@ const messages = { // eslint-disable-line no-unused-vars password: 'Passwort', signIn: 'Anmelden', logout: 'Abmelden', - updateAvailable: 'Ein Update steht zur Verfügung!', - update: 'Update', + updateAvailable: 'Eine Aktualisierung steht zur Verfügung!', + update: 'Aktualisieren', clients: 'Clients', new: 'Neu', deleteClient: 'Client löschen',