i18n: fix dashboard tabs and shortcut descriptions
CI / lint (push) Failing after 18s
CI / test (push) Has been skipped
CI / build (push) Has been skipped
CI / e2e (push) Has been skipped
CI / security (push) Failing after 10s

- Dashboard tabs: Statistiques/Récents/Partagés -> data-i18n spans
- Shortcut descriptions: added 10 help.shortcut_* keys to locales
- Tip text: added help.shortcut_tip key
- Added 3 dashboard.tab_* keys
- en.json/fr.json: 1044 -> 1059 keys
This commit is contained in:
2026-06-18 23:15:01 -04:00
parent 8db9f4447f
commit a15328093a
3 changed files with 40 additions and 12 deletions
+10 -10
View File
@@ -947,8 +947,8 @@
data-lucide="bar-chart-3"
style="width: 14px; height: 14px"
></i>
Statistiques
</button>
<span data-i18n="dashboard.tab_stats">Statistiques</span>
</button>
<button
class="dashboard-tab"
data-tab="bookmarks"
@@ -964,15 +964,15 @@
data-lucide="clock"
style="width: 14px; height: 14px"
></i>
Récents
</button>
<span data-i18n="dashboard.tab_recent">Récents</span>
</button>
<button class="dashboard-tab" data-tab="shared">
<i
data-lucide="share-2"
style="width: 14px; height: 14px"
></i>
Partagés
</button>
<span data-i18n="dashboard.tab_shared">Partagés</span>
</button>
</div>
<!-- Stats Panel -->
@@ -1014,7 +1014,7 @@
<span class="qh-kbd"
>Ctrl+Shift+Space</span
>
<span class="qh-desc"
<span class="qh-desc" data-i18n="help.shortcut_command_palette"
>Palette de commandes</span
>
</div>
@@ -1029,7 +1029,7 @@
</div>
<div class="qh-row">
<span class="qh-kbd">Ctrl+K</span>
<span class="qh-desc"
<span class="qh-desc" data-i18n="help.shortcut_focus_search"
>Focus barre de recherche</span
>
</div>
@@ -1056,7 +1056,7 @@
</div>
<div class="qh-row">
<span class="qh-kbd">Esc</span>
<span class="qh-desc"
<span class="qh-desc" data-i18n="help.shortcut_close_editor"
>Fermer l'editeur / modale</span
>
</div>
@@ -1076,7 +1076,7 @@
</div>
<div class="qh-row">
<span class="qh-kbd">F1</span>
<span class="qh-desc"
<span class="qh-desc" data-i18n="help.shortcut_forge_help"
>Aide de l'editeur Forge</span
>
</div>
+15 -1
View File
@@ -1040,5 +1040,19 @@
"dashboard.stats_size": "Total size",
"dashboard.stats_tags": "Unique tags",
"dashboard.stats_vaults": "Vaults",
"help.shortcuts_title": "Shortcuts & Tips"
"help.shortcuts_title": "Shortcuts & Tips",
"help.shortcut_command_palette": "Command palette",
"help.shortcut_quick_search": "Quick search (outside text field)",
"help.shortcut_close_editor": "Close editor / modal",
"help.shortcut_forge_help": "Forge editor help",
"help.shortcut_file_palette": "File palette (quick nav.)",
"help.shortcut_save_file": "Save open file",
"help.shortcut_ai_completion": "Inline AI completion (in editor)",
"help.shortcut_focus_search": "Focus search bar",
"help.shortcut_search_doc": "Search in document",
"help.shortcut_quick_insert": "Quick insert (Forge editor)",
"help.shortcut_tip": "Hover over a document with <strong>Ctrl</strong> for a quick preview. Click <strong>Forge</strong> in the toolbar for the advanced editor.",
"dashboard.tab_stats": "Statistics",
"dashboard.tab_recent": "Recent",
"dashboard.tab_shared": "Shared"
}
+15 -1
View File
@@ -1040,5 +1040,19 @@
"dashboard.stats_size": "Taille totale",
"dashboard.stats_tags": "Tags uniques",
"dashboard.stats_vaults": "Vaults",
"help.shortcuts_title": "Raccourcis & Astuces"
"help.shortcuts_title": "Raccourcis & Astuces",
"help.shortcut_command_palette": "Palette de commandes",
"help.shortcut_quick_search": "Recherche rapide (hors champ texte)",
"help.shortcut_close_editor": "Fermer l'éditeur / modale",
"help.shortcut_forge_help": "Aide de l'éditeur Forge",
"help.shortcut_file_palette": "Palette de fichiers (nav. rapide)",
"help.shortcut_save_file": "Sauvegarder le fichier ouvert",
"help.shortcut_ai_completion": "Completion IA inline (dans l'éditeur)",
"help.shortcut_focus_search": "Focus barre de recherche",
"help.shortcut_search_doc": "Rechercher dans le document",
"help.shortcut_quick_insert": "Insertion rapide (éditeur Forge)",
"help.shortcut_tip": "Survolez un document avec <strong>Ctrl</strong> pour un aperçu rapide. Cliquez sur <strong>Forge</strong> dans la barre d'outils pour l'éditeur avancé.",
"dashboard.tab_stats": "Statistiques",
"dashboard.tab_recent": "Récents",
"dashboard.tab_shared": "Partagés"
}