From fcf1b3c310ec593629f74fcebf92c13b253ba9a5 Mon Sep 17 00:00:00 2001 From: Your Name <10572974+eraiza0816@users.noreply.github.com> Date: Sun, 5 Jul 2026 02:31:37 +0900 Subject: [PATCH] Fix: Remove the language-specific display logic. --- html/i18n.js | 4 ---- html/navigation.js | 7 +------ 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/html/i18n.js b/html/i18n.js index e72df8c..a376b99 100644 --- a/html/i18n.js +++ b/html/i18n.js @@ -173,7 +173,6 @@ var LANG = { update_instruction: 'Choose a firmware update file to upload:', update_upload: 'Upload File', - lang_switch: 'Language:', common_port: 'Port ', common_pkts: ' pkts', }, @@ -352,7 +351,6 @@ var LANG = { update_instruction: 'アップロードするファームウェアファイルを選択:', update_upload: 'ファイルをアップロード', - lang_switch: '言語:', common_port: 'ポート ', common_pkts: ' pkts', } @@ -376,8 +374,6 @@ function setLang(lang) { document.querySelectorAll('[data-i18n]').forEach(function(el) { applyTranslation(el); }); - var sel = document.getElementById('rtl-lang-select'); - if (sel) sel.value = lang; } } diff --git a/html/navigation.js b/html/navigation.js index 8a92cb2..b42f8fd 100644 --- a/html/navigation.js +++ b/html/navigation.js @@ -9,14 +9,9 @@ document.getElementById('sidebar').innerHTML = + "
  • EEE
  • " + "
  • Bandwidth Limits
  • " + "
  • System Settings
  • " - + "
  • Firmware Update
  • " - + "

    " - + "
    "; + + "
  • Firmware Update
  • "; document.addEventListener('DOMContentLoaded', function() { - var sel = document.getElementById('rtl-lang-select'); - if (sel) sel.value = rtlLang; var links = document.querySelectorAll('#sidebar a[data-i18n]'); links.forEach(function(el) { var key = el.getAttribute('data-i18n');