From 624fb4abbc3ea154ce15e1bf1585dc16afaa645a Mon Sep 17 00:00:00 2001 From: PaulVua Date: Tue, 6 Jan 2026 16:29:44 +0100 Subject: [PATCH] Add sidebar i18n support and fix language selector visibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Extended the internationalization system to support sidebar navigation menu with French/English translations. Fixed language selector dropdown styling to improve text visibility with proper contrast (gray background instead of transparent). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- html/lang/en.json | 11 +++++++++++ html/lang/fr.json | 11 +++++++++++ html/sidebar.html | 20 ++++++++++---------- html/topbar.html | 6 +++--- 4 files changed, 35 insertions(+), 13 deletions(-) diff --git a/html/lang/en.json b/html/lang/en.json index 9f696c4..7bda85d 100644 --- a/html/lang/en.json +++ b/html/lang/en.json @@ -49,5 +49,16 @@ "deviceName": "Device Name", "deviceID": "Device ID", "modemVersion": "Modem Version" + }, + "sidebar": { + "home": "Home", + "sensors": "Sensors", + "database": "Database", + "modem4g": "4G Modem", + "wifi": "WIFI", + "logs": "Logs", + "map": "Map", + "terminal": "Terminal", + "admin": "Admin" } } diff --git a/html/lang/fr.json b/html/lang/fr.json index bceb6b0..3eee6a7 100644 --- a/html/lang/fr.json +++ b/html/lang/fr.json @@ -49,5 +49,16 @@ "deviceName": "Nom de l'appareil", "deviceID": "ID de l'appareil", "modemVersion": "Version du modem" + }, + "sidebar": { + "home": "Accueil", + "sensors": "Capteurs", + "database": "Base de données", + "modem4g": "Modem 4G", + "wifi": "WIFI", + "logs": "Logs", + "map": "Carte", + "terminal": "Terminal", + "admin": "Admin" } } diff --git a/html/sidebar.html b/html/sidebar.html index 3d40307..ae237b0 100755 --- a/html/sidebar.html +++ b/html/sidebar.html @@ -4,34 +4,34 @@ - Home + Accueil - Capteurs + Capteurs - - DataBase + + Base de données - Modem 4G + Modem 4G - WIFI + WIFI @@ -39,25 +39,25 @@ - Logs + Logs - Carte + Carte - Terminal + Terminal - Admin + Admin diff --git a/html/topbar.html b/html/topbar.html index e029fb8..7aac71b 100755 --- a/html/topbar.html +++ b/html/topbar.html @@ -13,9 +13,9 @@ --> - + +