cache renamed to storage

This commit is contained in:
mic 2026-03-28 12:46:42 +01:00
parent 374d598d70
commit 1650322f4d
2 changed files with 2 additions and 2 deletions

View file

@ -343,7 +343,7 @@
"message": "Clear Storage", "message": "Clear Storage",
"description": "Button to clear all stored message data" "description": "Button to clear all stored message data"
}, },
"prefs_cache_clear_confirm": { "prefs_storage_clear_confirm": {
"message": "Are you sure you want to clear all stored data (summaries, spam reports, translations)? This action cannot be undone.", "message": "Are you sure you want to clear all stored data (summaries, spam reports, translations)? This action cannot be undone.",
"description": "Confirmation dialog for clearing storage" "description": "Confirmation dialog for clearing storage"
}, },

View file

@ -379,7 +379,7 @@ document.addEventListener('DOMContentLoaded', async () => {
updateCacheSize(); updateCacheSize();
document.getElementById('btnClearCache').addEventListener('click', async () => { document.getElementById('btnClearCache').addEventListener('click', async () => {
if (!confirm(browser.i18n.getMessage("prefs_cache_clear_confirm"))) { if (!confirm(browser.i18n.getMessage("prefs_storage_clear_confirm"))) {
return; return;
} }
let count = await taStorage.clearAllRecords(); let count = await taStorage.clearAllRecords();