diff --git a/docs/releases.md b/docs/releases.md index 7d8a5c4..c9cc744 100644 --- a/docs/releases.md +++ b/docs/releases.md @@ -31,6 +31,10 @@ to [@Joeharrison94](https://github.com/Joeharrison94) for the input. * `Upgrade` header check is now case in-sensitive ([#228](https://github.com/binwiederhier/ntfy/issues/228), thanks to [@wunter8](https://github.com/wunter8) for finding it) * Made web app sounds quieter ([#222](https://github.com/binwiederhier/ntfy/issues/222)) +**Additional translations:** + +* Czech (thanks to [@waclaw66](https://hosted.weblate.org/user/waclaw66/)) + **Thanks for testing:** Thanks to [@wunter8](https://github.com/wunter8) for testing. diff --git a/web/src/components/Preferences.js b/web/src/components/Preferences.js index ce20aa1..91b191f 100644 --- a/web/src/components/Preferences.js +++ b/web/src/components/Preferences.js @@ -423,8 +423,9 @@ const Appearance = () => { const Language = () => { const { t, i18n } = useTranslation(); - 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"; // Remember: Flags are not languages. Don't put flags next to the language in the list. // Languages names from: https://www.omniglot.com/language/names.htm @@ -433,10 +434,11 @@ const Language = () => { return ( - i18n.changeLanguage(ev.target.value)}> English Espaรฑol ะ‘ัŠะปะณะฐั€ัะบะธ + ฤŒeลกtina Deutsch Bahasa Indonesia ๆ—ฅๆœฌ่ชž