From de62ef4688e98cfdf5593151e72db7897fcaa416 Mon Sep 17 00:00:00 2001 From: CyberMind-FR Date: Wed, 31 Dec 2025 15:52:35 +0100 Subject: [PATCH] fix(system-hub): escape French apostrophes in dev-status widget MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed JavaScript syntax error caused by unescaped apostrophes in French text: - "Détection d'intrusions" → "Détection d\'intrusions" - "contrôle d'accès" → "contrôle d\'accès" Fixes: SyntaxError: missing } after property list at line 90 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- .../luci-static/resources/system-hub/dev-status-widget.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luci-app-system-hub/htdocs/luci-static/resources/system-hub/dev-status-widget.js b/luci-app-system-hub/htdocs/luci-static/resources/system-hub/dev-status-widget.js index 5c8a01f1..9533d640 100644 --- a/luci-app-system-hub/htdocs/luci-static/resources/system-hub/dev-status-widget.js +++ b/luci-app-system-hub/htdocs/luci-static/resources/system-hub/dev-status-widget.js @@ -87,13 +87,13 @@ const DevStatusWidget = { { name: 'SecuBox Central Hub', version: '0.7.0-r6', note: 'Dashboard central + Appstore (5 apps)' }, { name: 'System Hub', version: '0.5.1-r2', note: 'Centre de contrôle' }, { name: 'Traffic Shaper', version: '0.4.0-r1', note: 'CAKE / fq_codel / HTB' }, - { name: 'CrowdSec Dashboard', version: '0.5.0-r1', note: 'Détection d'intrusions' }, + { name: 'CrowdSec Dashboard', version: '0.5.0-r1', note: 'Détection d\'intrusions' }, { name: 'Netdata Dashboard', version: '0.5.0-r1', note: 'Monitoring temps réel' }, { name: 'Netifyd Dashboard', version: '0.4.0-r1', note: 'Intelligence applicative' }, { name: 'Network Modes', version: '0.5.0-r1', note: '5 topologies réseau' }, { name: 'WireGuard Dashboard', version: '0.4.0-r1', note: 'VPN + QR codes' }, { name: 'Auth Guardian', version: '0.4.0-r1', note: 'OAuth / vouchers' }, - { name: 'Client Guardian', version: '0.4.0-r1', note: 'Portail captif + contrôle d'accès' }, + { name: 'Client Guardian', version: '0.4.0-r1', note: 'Portail captif + contrôle d\'accès' }, { name: 'Bandwidth Manager', version: '0.4.0-r1', note: 'QoS + quotas' }, { name: 'Media Flow', version: '0.4.0-r1', note: 'DPI streaming' }, { name: 'CDN Cache', version: '0.5.0-r1', note: 'Cache contenu local' },