[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
@@ -224,7 +224,7 @@
<main class="main-content">
<header class="content-header">
<h2>Formazione</h2>
<h2 data-i18n="training.title">Formazione e Awareness</h2>
<div class="content-header-actions">
<span class="text-muted" style="font-size:0.8rem; margin-right:8px;">Art. 20 NIS2</span>
<button class="btn btn-primary" onclick="showCreateCourseModal()">+ Nuovo Corso</button>