From 1650322f4d860b1fc7b2c51d4613bf0f804f56f8 Mon Sep 17 00:00:00 2001 From: mic Date: Sat, 28 Mar 2026 12:46:42 +0100 Subject: [PATCH] cache renamed to storage --- _locales/en/messages.json | 2 +- options/mzta-options.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index f0954250..88e4357a 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -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" }, diff --git a/options/mzta-options.js b/options/mzta-options.js index 9adb6099..eac61c34 100644 --- a/options/mzta-options.js +++ b/options/mzta-options.js @@ -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();