Replace hardcoded French strings with i18n calls
CI / lint (push) Failing after 1m28s
CI / test (push) Has been skipped
CI / build (push) Has been skipped
CI / e2e (push) Has been skipped
CI / security (push) Failing after 17s

Initialize i18n before auth so t() works when rendering
auth-dependent UI, and build the command palette lazily so
translations are loaded first. Bump service worker cache version.
This commit is contained in:
2026-07-20 20:16:34 -04:00
parent cc22ffe6df
commit 790f97e501
17 changed files with 378 additions and 147 deletions
+3 -3
View File
@@ -1701,9 +1701,9 @@ export const ContextMenuManager = {
this._addItem('edit', 'Renommer', () => this._renameItem(), isReadonly);
this._addItem('trash-2', 'Supprimer', () => this._deleteFile(), isReadonly);
this._addSeparator();
this._addItem('bookmark-plus', 'Ajouter aux bookmarks', () => this._toggleBookmark(), false);
this._addItem('bookmark-plus', t("viewer.bookmark_add"), () => this._toggleBookmark(), false);
this._addSeparator();
this._addItem('history', 'Backups / Versions', () => this._openBackupViewer(), false);
this._addItem('history', t("ui.backups_versions"), () => this._openBackupViewer(), false);
}
this._menu.classList.add('active');
@@ -1750,7 +1750,7 @@ export const ContextMenuManager = {
callback();
});
} else {
item.title = 'Vault en lecture seule';
item.title = t("ui.vault_readonly");
}
this._menu.appendChild(item);