From 747587971254c8dccf9af7adcc2f7c5539dbcec6 Mon Sep 17 00:00:00 2001 From: Philipp Heckel Date: Thu, 2 Jun 2022 14:45:36 -0400 Subject: [PATCH] Added Dutch --- docs/releases.md | 1 + web/package-lock.json | 12 ++++++------ web/src/components/Preferences.js | 3 ++- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/docs/releases.md b/docs/releases.md index 7b6d566f..255f63c2 100644 --- a/docs/releases.md +++ b/docs/releases.md @@ -39,6 +39,7 @@ Released June 2, 2022 **Additional translations:** * Chinese/Simplified (thanks to [@yufei.im](https://hosted.weblate.org/user/yufei.im/)) +* Dutch (thanks to [@SchoNie](https://hosted.weblate.org/user/SchoNie/)) ## ntfy iOS app v1.1 Released May 31, 2022 diff --git a/web/package-lock.json b/web/package-lock.json index a7671dba..505f2c63 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -8653,9 +8653,9 @@ } }, "node_modules/i18next": { - "version": "21.8.6", - "resolved": "https://registry.npmjs.org/i18next/-/i18next-21.8.6.tgz", - "integrity": "sha512-tD0umB5lcYXJiD06m/XOEgdvDkFD17m13BP2tmSLralYhGPdmmPK6rErcmhc37t/6mubKdso30NLpPIomHaKnw==", + "version": "21.8.7", + "resolved": "https://registry.npmjs.org/i18next/-/i18next-21.8.7.tgz", + "integrity": "sha512-fYbEmaCIMSDrAzXGnisZyBd0h3bcO43jVJa5fulk4ambTIOgs9tqgNsiyr1sy6Xi4iZpYMHp2ZBjU3IcCLGxPA==", "funding": [ { "type": "individual", @@ -22882,9 +22882,9 @@ "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==" }, "i18next": { - "version": "21.8.6", - "resolved": "https://registry.npmjs.org/i18next/-/i18next-21.8.6.tgz", - "integrity": "sha512-tD0umB5lcYXJiD06m/XOEgdvDkFD17m13BP2tmSLralYhGPdmmPK6rErcmhc37t/6mubKdso30NLpPIomHaKnw==", + "version": "21.8.7", + "resolved": "https://registry.npmjs.org/i18next/-/i18next-21.8.7.tgz", + "integrity": "sha512-fYbEmaCIMSDrAzXGnisZyBd0h3bcO43jVJa5fulk4ambTIOgs9tqgNsiyr1sy6Xi4iZpYMHp2ZBjU3IcCLGxPA==", "requires": { "@babel/runtime": "^7.17.2" } diff --git a/web/src/components/Preferences.js b/web/src/components/Preferences.js index e2899ecc..468cc4c3 100644 --- a/web/src/components/Preferences.js +++ b/web/src/components/Preferences.js @@ -436,7 +436,7 @@ const Appearance = () => { const Language = () => { const { t, i18n } = useTranslation(); const labelId = "prefLanguage"; - const randomFlags = shuffle(["๐Ÿ‡ฌ๐Ÿ‡ง", "๐Ÿ‡บ๐Ÿ‡ธ", "๐Ÿ‡ช๐Ÿ‡ธ", "๐Ÿ‡ซ๐Ÿ‡ท", "๐Ÿ‡ง๐Ÿ‡ฌ", "๐Ÿ‡จ๐Ÿ‡ฟ", "๐Ÿ‡ฉ๐Ÿ‡ช", "๐Ÿ‡จ๐Ÿ‡ณ", "๐Ÿ‡ฎ๐Ÿ‡น", "๐Ÿ‡ญ๐Ÿ‡บ", "๐Ÿ‡ง๐Ÿ‡ท", "๐Ÿ‡ฎ๐Ÿ‡ฉ", "๐Ÿ‡ฏ๐Ÿ‡ต", "๐Ÿ‡ท๐Ÿ‡บ", "๐Ÿ‡น๐Ÿ‡ท"]).slice(0, 3); + const randomFlags = shuffle(["๐Ÿ‡ฌ๐Ÿ‡ง", "๐Ÿ‡บ๐Ÿ‡ธ", "๐Ÿ‡ช๐Ÿ‡ธ", "๐Ÿ‡ซ๐Ÿ‡ท", "๐Ÿ‡ง๐Ÿ‡ฌ", "๐Ÿ‡จ๐Ÿ‡ฟ", "๐Ÿ‡ฉ๐Ÿ‡ช", "๐Ÿ‡จ๐Ÿ‡ณ", "๐Ÿ‡ฎ๐Ÿ‡น", "๐Ÿ‡ญ๐Ÿ‡บ", "๐Ÿ‡ง๐Ÿ‡ท", "๐Ÿ‡ณ๐Ÿ‡ฑ", "๐Ÿ‡ฎ๐Ÿ‡ฉ", "๐Ÿ‡ฏ๐Ÿ‡ต", "๐Ÿ‡ท๐Ÿ‡บ", "๐Ÿ‡น๐Ÿ‡ท"]).slice(0, 3); const title = t("prefs_appearance_language_title") + " " + randomFlags.join(" "); const lang = i18n.language ?? "en"; @@ -459,6 +459,7 @@ const Language = () => { Italiano Magyar ๆ—ฅๆœฌ่ชž + Nederlands Norsk bokmรฅl Portuguรชs (Brasil) ะ ัƒััะบะธะน