Add french translation (#190)

pull/197/head
Nans-ssss 2026-02-15 16:38:39 +01:00 committed by GitHub
parent 73473462fb
commit 5a69f52653
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 40 additions and 0 deletions

37
locales/fr-FR/common.json Normal file
View File

@ -0,0 +1,37 @@
{
"Incidents": "Incidents",
"No data yet": "Aucune donnée pour le moment",
"All systems not operational": "Aucun système n'est opérationnel",
"All systems operational": "Tous les systèmes sont opérationnels",
"Some systems not operational": "Certains systèmes ne fonctionnent pas ({{down}} sur {{total}})",
"Last updated on": "Dernière actualisation : {{date}} (il y a {{seconds}} secondes)",
"upcoming maintenance": "{{count}} maintenance à venir",
"upcoming maintenance_plural": "{{count}} maintenances à venir",
"Hide": "[Masquer]",
"Show": "[Afficher]",
"Operational": "Opérationnel",
"No data available": "Aucune donnée disponible. Veuillez vous assurer d'avoir déployé vos workers avec la dernière configuration et vérifiez leur statut !",
"Overall": "Moyenne : {{percent}}%",
"No Data": "Aucune donnée",
"percent at date": "{{percent}}% le {{date}}",
"Down for": "Interruption de {{duration}} (cliquez pour plus de détails)",
"incidents at": "🚨 Incidents sur {{name}} le {{date}}",
"Response times": "Temps de réponse (ms)",
"Upcoming": "[À venir] ",
"Scheduled Maintenance": "Maintenance planifiée",
"Scheduled for": "Planifiée pour :",
"From": "De :",
"Expected end": "Fin prévue :",
"To": "À :",
"Until further notice": "Jusqu'à nouvel ordre",
"Affected components": "Composants affectés :",
"MONITOR ID NOT FOUND": "[ERR : ID DU MONITEUR INTROUVABLE]",
"No incidents in this month": "Aucun incident ce mois-ci",
"There are no incidents for this month": "Il n'y a aucun incident pour ce mois-ci.",
"Monitor not found": "Le moniteur avec l'ID {{id}} est introuvable !",
"Monitor State not defined": "L'état du moniteur n'est pas défini actuellement, veuillez vérifier le statut de votre worker et sa liaison !",
"All": "Tous",
"Select monitor": "Sélectionner un moniteur",
"Backwards": "← Précédent",
"Forward": "Suivant →"
}

View File

@ -4,6 +4,7 @@ import LanguageDetector from 'i18next-browser-languagedetector'
import en from '../locales/en/common.json'
import zhCN from '../locales/zh-CN/common.json'
import zhTW from '../locales/zh-TW/common.json'
import frFR from '../locales/fr-FR/common.json'
i18n
.use(LanguageDetector)
@ -14,6 +15,8 @@ i18n
'zh-CN': { common: zhCN },
zh: { common: zhCN },
'zh-TW': { common: zhTW },
fr: { common: frFR },
'fr-FR': { common: frFR },
},
fallbackLng: 'en',
interpolation: {