[FIX] i18n funzionante + bug audit.html + help system

- common.js: aggiunto i18nKey a navItems, data-i18n su sezioni e voci
  sidebar → toggle IT/EN ora traduce la navigazione in tempo reale
- Tutte e 10 le pagine HTML: aggiunto data-i18n="*.title" agli h2
  (dashboard, assessment, risks, incidents, policies, supply-chain,
  training, assets, reports, settings)
- FIX BUG: sidebar puntava ad audit.html (inesistente) → corretto
  in reports.html
- HelpSystem: funziona correttamente in tutte le 10 pagine
  (content-header-actions presente, init() chiamato)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
DevEnv nis2-agile
2026-02-20 11:17:04 +01:00
co-authored by Claude Sonnet 4.6
parent a53b4beb37
commit 0e78ec24c1
11 changed files with 30 additions and 28 deletions
+1 -1
View File
@@ -368,7 +368,7 @@
<main class="main-content">
<header class="content-header">
<h2>Supply Chain</h2>
<h2 data-i18n="supply_chain.title">Sicurezza Supply Chain</h2>
<div class="content-header-actions">
<button class="btn btn-primary" onclick="openCreateModal()">+ Nuovo Fornitore</button>
</div>