From ed28082c01b2b533cddfbf208f79674a5b1f0775 Mon Sep 17 00:00:00 2001 From: Philipp Heckel Date: Sat, 30 Apr 2022 20:16:17 -0400 Subject: [PATCH] Added French --- docs/releases.md | 2 ++ web/src/components/Preferences.js | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/releases.md b/docs/releases.md index 08171bc3..08ae0645 100644 --- a/docs/releases.md +++ b/docs/releases.md @@ -35,6 +35,7 @@ to [@Joeharrison94](https://github.com/Joeharrison94) for the input. **Additional translations:** * Czech (thanks to [@waclaw66](https://hosted.weblate.org/user/waclaw66/)) +* French (thanks to [@nathanaelhoun](https://hosted.weblate.org/user/nathanaelhoun/)) **Thanks for testing:** @@ -79,6 +80,7 @@ languages and fixed a ton of bugs. **Additional translations:** * Czech (thanks to [@waclaw66](https://hosted.weblate.org/user/waclaw66/)) +* French (thanks to [@nathanaelhoun](https://hosted.weblate.org/user/nathanaelhoun/)) * Japanese (thanks to [@shak](https://hosted.weblate.org/user/shak/)) * Russian (thanks to [@flamey](https://hosted.weblate.org/user/flamey/) and [@ilya.mikheev.coder](https://hosted.weblate.org/user/ilya.mikheev.coder/)) diff --git a/web/src/components/Preferences.js b/web/src/components/Preferences.js index 91b191fb..117f11d1 100644 --- a/web/src/components/Preferences.js +++ b/web/src/components/Preferences.js @@ -423,7 +423,7 @@ 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"; @@ -436,10 +436,11 @@ const Language = () => {