feat: i18n completion + cleanup — 1357 keys EN/FR aligned, production-ready
- Add 89 auto-generated i18n keys covering remaining hardcoded text - Fix truncated EN value for auto.b114ed1c (server settings description) - Add data-i18n attributes to menu items, help TOC entries, and form labels - Bump CACHE_VERSION to v4 for new static assets - Remove stale orphaned file from repo - 285 tests passing, 0 failures - All 509 HTML i18n refs have corresponding keys - EN/FR perfectly aligned at 1357 keys each
This commit is contained in:
+32
-26
@@ -1479,20 +1479,20 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<!-- Historique récent -->
|
<!-- Recent History -->
|
||||||
<section id="cfg-recent" class="config-section help-section">
|
<section id="cfg-recent" class="config-section help-section">
|
||||||
<h2>
|
<h2>
|
||||||
📋 Historique récent
|
📋 <span data-i18n="settings.history_section">Historique récent</span>
|
||||||
<span class="config-badge-restart"
|
<span class="config-badge-restart"
|
||||||
>Redémarrage non requis</span
|
data-i18n="settings.no_restart_badge">Redémarrage non requis</span
|
||||||
>
|
>
|
||||||
</h2>
|
</h2>
|
||||||
<div class="config-row">
|
<div class="config-row">
|
||||||
<label
|
<label
|
||||||
class="config-label"
|
class="config-label"
|
||||||
for="cfg-recent-limit"
|
for="cfg-recent-limit"
|
||||||
>Nombre de fichiers dans
|
data-i18n="settings.history_count_label"
|
||||||
l'historique</label
|
>Nombre de fichiers dans l'historique</label
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
type="number"
|
type="number"
|
||||||
@@ -1504,14 +1504,15 @@
|
|||||||
value="20"
|
value="20"
|
||||||
/>
|
/>
|
||||||
<span class="config-hint"
|
<span class="config-hint"
|
||||||
>Entre 5 et 100 fichiers (sauvegarde sur
|
data-i18n="settings.history_count_desc"
|
||||||
le serveur)</span
|
>Entre 5 et 100 fichiers (sauvegarde sur le serveur)</span
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<div class="config-row">
|
<div class="config-row">
|
||||||
<label
|
<label
|
||||||
class="config-label"
|
class="config-label"
|
||||||
for="cfg-max-backups"
|
for="cfg-max-backups"
|
||||||
|
data-i18n="config.max_backups_label"
|
||||||
>Max backups par fichier</label
|
>Max backups par fichier</label
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
@@ -1524,18 +1525,18 @@
|
|||||||
value="10"
|
value="10"
|
||||||
/>
|
/>
|
||||||
<span class="config-hint"
|
<span class="config-hint"
|
||||||
>Nombre maximum de versions backup
|
data-i18n="config.max_backups_desc"
|
||||||
conservees par fichier (1-50)</span
|
>Nombre maximum de versions backup conservées par fichier (1-50)</span
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<!-- Performance Settings - Backend -->
|
<!-- Performance Settings - Backend -->
|
||||||
<section id="cfg-backend-settings" class="config-section help-section">
|
<section id="cfg-backend-settings" class="config-section help-section">
|
||||||
<h2>
|
<h2 data-i18n="config.section_backend">
|
||||||
Paramètres backend
|
Paramètres backend
|
||||||
<span class="config-badge-restart"
|
<span class="config-badge-restart"
|
||||||
>Redémarrage requis</span
|
data-i18n="config.restart_required">Redémarrage requis</span
|
||||||
>
|
>
|
||||||
</h2>
|
</h2>
|
||||||
<p class="config-description" data-i18n="auto.b114ed1c">
|
<p class="config-description" data-i18n="auto.b114ed1c">
|
||||||
@@ -1548,6 +1549,7 @@
|
|||||||
<label
|
<label
|
||||||
class="config-label"
|
class="config-label"
|
||||||
for="cfg-workers"
|
for="cfg-workers"
|
||||||
|
data-i18n="config.search_workers_label"
|
||||||
>Workers de recherche</label
|
>Workers de recherche</label
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
@@ -1560,14 +1562,15 @@
|
|||||||
value="2"
|
value="2"
|
||||||
/>
|
/>
|
||||||
<span class="config-hint"
|
<span class="config-hint"
|
||||||
>Threads dédiés à la recherche
|
data-i18n="config.search_workers_hint"
|
||||||
(1-8)</span
|
>Threads dédiés à la recherche (1-8)</span
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<div class="config-row">
|
<div class="config-row">
|
||||||
<label
|
<label
|
||||||
class="config-label"
|
class="config-label"
|
||||||
for="cfg-max-content"
|
for="cfg-max-content"
|
||||||
|
data-i18n="config.max_content_label"
|
||||||
>Taille max contenu (octets)</label
|
>Taille max contenu (octets)</label
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
@@ -1580,54 +1583,57 @@
|
|||||||
value="100000"
|
value="100000"
|
||||||
/>
|
/>
|
||||||
<span class="config-hint"
|
<span class="config-hint"
|
||||||
>Contenu indexé par fichier (10K-1M).
|
data-i18n="config.max_content_hint"
|
||||||
Réindexation requise.</span
|
>Contenu indexé par fichier (10K-1M). Réindexation requise.</span
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<div class="config-row">
|
<div class="config-row">
|
||||||
<label
|
<label
|
||||||
class="config-label"
|
class="config-label"
|
||||||
for="cfg-title-boost"
|
for="cfg-title-boost"
|
||||||
|
data-i18n="config.title_boost_label"
|
||||||
>Boost titre</label
|
>Boost titre</label
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
type="number"
|
type="number"
|
||||||
id="cfg-title-boost"
|
id="cfg-title-boost"
|
||||||
class="config-input config-input--num"
|
class="config-input config-input--num"
|
||||||
min="0"
|
min="0.1"
|
||||||
max="10"
|
max="10"
|
||||||
step="0.5"
|
step="0.5"
|
||||||
value="3.0"
|
value="3"
|
||||||
/>
|
/>
|
||||||
<span class="config-hint"
|
<span class="config-hint"
|
||||||
>Multiplicateur de pertinence pour les
|
data-i18n="config.title_boost_hint"
|
||||||
correspondances dans le titre</span
|
>Multiplicateur de pertinence pour les correspondances dans le titre</span
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<div class="config-row">
|
<div class="config-row">
|
||||||
<label
|
<label
|
||||||
class="config-label"
|
class="config-label"
|
||||||
for="cfg-tag-boost"
|
for="cfg-tag-boost"
|
||||||
|
data-i18n="config.tag_boost_label"
|
||||||
>Boost tags</label
|
>Boost tags</label
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
type="number"
|
type="number"
|
||||||
id="cfg-tag-boost"
|
id="cfg-tag-boost"
|
||||||
class="config-input config-input--num"
|
class="config-input config-input--num"
|
||||||
min="0"
|
min="0.1"
|
||||||
max="10"
|
max="10"
|
||||||
step="0.5"
|
step="0.5"
|
||||||
value="2.0"
|
value="2"
|
||||||
/>
|
/>
|
||||||
<span class="config-hint"
|
<span class="config-hint"
|
||||||
>Multiplicateur de pertinence pour les
|
data-i18n="config.tag_boost_hint"
|
||||||
correspondances dans les tags</span
|
>Multiplicateur de pertinence pour les correspondances dans les tags</span
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<div class="config-row">
|
<div class="config-row">
|
||||||
<label
|
<label
|
||||||
class="config-label"
|
class="config-label"
|
||||||
for="cfg-prefix-exp"
|
for="cfg-prefix-exp"
|
||||||
|
data-i18n="config.prefix_expansions_label"
|
||||||
>Expansions préfixe max</label
|
>Expansions préfixe max</label
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
@@ -1640,11 +1646,11 @@
|
|||||||
value="50"
|
value="50"
|
||||||
/>
|
/>
|
||||||
<span class="config-hint"
|
<span class="config-hint"
|
||||||
>Nombre max de tokens élargis par
|
data-i18n="config.prefix_expansions_hint"
|
||||||
préfixe (10-200)</span
|
>Nombre max de tokens élargis par préfixe (10-200)</span
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
</section>
|
||||||
<div class="config-actions-row">
|
<div class="config-actions-row">
|
||||||
<button class="config-btn-save"
|
<button class="config-btn-save"
|
||||||
id="cfg-save-backend" data-i18n="help.shortcut_save">
|
id="cfg-save-backend" data-i18n="help.shortcut_save">
|
||||||
|
|||||||
+1336
-1330
File diff suppressed because it is too large
Load Diff
+1336
-1330
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
/* ObsiGate Service Worker - PWA v2 with IndexedDB offline support */
|
/* ObsiGate Service Worker - PWA v2 with IndexedDB offline support */
|
||||||
|
|
||||||
const CACHE_VERSION = 'obsigate-v3-pwa';
|
const CACHE_VERSION = 'obsigate-v4-pwa';
|
||||||
const STATIC_CACHE = CACHE_VERSION + '-static';
|
const STATIC_CACHE = CACHE_VERSION + '-static';
|
||||||
const DYNAMIC_CACHE = CACHE_VERSION + '-dynamic';
|
const DYNAMIC_CACHE = CACHE_VERSION + '-dynamic';
|
||||||
const MAX_DYNAMIC_CACHE_SIZE = 100;
|
const MAX_DYNAMIC_CACHE_SIZE = 100;
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
{"success":false,"data":null,"error":"Evaluation error: SyntaxError: Unexpected token ','"}
|
|
||||||
Reference in New Issue
Block a user