From 9fda2665ba75b8ca33219dde2250c43b72950c47 Mon Sep 17 00:00:00 2001 From: pixup1 <51613771+pixup1@users.noreply.github.com> Date: Sun, 22 Dec 2024 18:41:27 +0100 Subject: [PATCH] Add French localization (#41) * Factorize locale.ts + initiate French localization * Add french localization * Fix Typo * Forgot messages * Corrections --- frontend/src/components/CreateUpdateMatch.tsx | 12 +- .../src/components/ManagedGameServerList.tsx | 4 +- frontend/src/components/MatchCard.tsx | 12 +- frontend/src/components/Rcon.tsx | 4 +- frontend/src/locales/fr.json | 183 ++++++++++++++++++ frontend/src/pages/gameServer.tsx | 2 +- frontend/src/pages/gameServers.tsx | 2 +- frontend/src/pages/matches.tsx | 2 +- frontend/src/utils/locale.ts | 41 ++-- 9 files changed, 223 insertions(+), 39 deletions(-) create mode 100644 frontend/src/locales/fr.json diff --git a/frontend/src/components/CreateUpdateMatch.tsx b/frontend/src/components/CreateUpdateMatch.tsx index 0b37394..ed72ca3 100644 --- a/frontend/src/components/CreateUpdateMatch.tsx +++ b/frontend/src/components/CreateUpdateMatch.tsx @@ -166,7 +166,7 @@ const Presets: Component<{ {t('Everybody')} -
+