cache renamed to storage
This commit is contained in:
parent
374d598d70
commit
1650322f4d
2 changed files with 2 additions and 2 deletions
|
|
@ -343,7 +343,7 @@
|
|||
"message": "Clear Storage",
|
||||
"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.",
|
||||
"description": "Confirmation dialog for clearing storage"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -379,7 +379,7 @@ document.addEventListener('DOMContentLoaded', async () => {
|
|||
updateCacheSize();
|
||||
|
||||
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;
|
||||
}
|
||||
let count = await taStorage.clearAllRecords();
|
||||
|
|
|
|||
Loading…
Reference in a new issue