From 1781dd5b34f65bd6f1db96a9ee4950a7c0b07cd5 Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Fri, 19 Jun 2026 23:09:36 -0400 Subject: [PATCH] fix: i18n for Recent History section in Settings - Added data-i18n to section title, badge, labels, hints - New keys: config.recent_history_count, config.recent_history_count_desc, config.max_backups_desc - All 6 hardcoded FR strings now use t() --- frontend/locales/en.json | 7 +++++-- frontend/locales/fr.json | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/frontend/locales/en.json b/frontend/locales/en.json index 3807bce..c2ba235 100644 --- a/frontend/locales/en.json +++ b/frontend/locales/en.json @@ -1349,5 +1349,8 @@ "config.section_cas-d-usage-avances": "Cas d'usage avancés", "config.section_construit-avec": "Construit avec", "config.section_backend": "🖥️ Backend Settings", - "config.section_recent": "📜 Recent History" -} + "config.section_recent": "📜 Recent History", + "config.recent_history_count": "Files in history", + "config.recent_history_count_desc": "Between 5 and 100 files (saved on server)", + "config.max_backups_desc": "Maximum backup versions kept per file (1-50)" +} \ No newline at end of file diff --git a/frontend/locales/fr.json b/frontend/locales/fr.json index afa76b3..d903df4 100644 --- a/frontend/locales/fr.json +++ b/frontend/locales/fr.json @@ -1349,5 +1349,8 @@ "config.section_cas-d-usage-avances": "Cas d'usage avancés", "config.section_construit-avec": "Construit avec", "config.section_backend": "🖥️ Paramètres backend", - "config.section_recent": "📜 Historique récent" -} + "config.section_recent": "📜 Historique récent", + "config.recent_history_count": "Nombre de fichiers dans l'historique", + "config.recent_history_count_desc": "Entre 5 et 100 fichiers (sauvegarde sur le serveur)", + "config.max_backups_desc": "Nombre maximum de versions backup conservées par fichier (1-50)" +} \ No newline at end of file