From 374d598d70bb4b12c028e72ca6bae68af8aeec52 Mon Sep 17 00:00:00 2001 From: mic Date: Sat, 28 Mar 2026 12:46:04 +0100 Subject: [PATCH] cache renamed to storage --- _locales/en/messages.json | 26 +++++++++++++------------- options/mzta-options.html | 6 +++--- options/mzta-options.js | 2 +- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 2c8d22d3..f0954250 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -331,25 +331,25 @@ "message": "Manage your data placeholders", "description": "" }, - "prefs_cache_title": { - "message": "Cache Storage", - "description": "Title for cache management section in options" + "prefs_storage_title": { + "message": "Additional Info Storage", + "description": "Title for additional info storage management section in options" }, - "prefs_cache_storage_size": { - "message": "Cache size", - "description": "Label for cache storage size display" + "prefs_storage_size": { + "message": "Storage size", + "description": "Label for storage size display" }, - "prefs_cache_clear_button": { - "message": "Clear Cache", - "description": "Button to clear all cached message data" + "prefs_storage_clear_button": { + "message": "Clear Storage", + "description": "Button to clear all stored message data" }, "prefs_cache_clear_confirm": { - "message": "Are you sure you want to clear all cached data (summaries, spam reports, translations)? This action cannot be undone.", - "description": "Confirmation dialog for clearing cache" + "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" }, - "prefs_cache_clear_done": { + "prefs_storage_clear_done": { "message": "$COUNT$ records removed.", - "description": "Message shown after cache is cleared", + "description": "Message shown after storage is cleared", "placeholders": { "count": { "content": "$1" diff --git a/options/mzta-options.html b/options/mzta-options.html index 0033a590..3e23111e 100644 --- a/options/mzta-options.html +++ b/options/mzta-options.html @@ -242,10 +242,10 @@ - __MSG_prefs_cache_title__ + __MSG_prefs_storage_title__ - __MSG_prefs_cache_storage_size__: -   + __MSG_prefs_storage_size__: +   diff --git a/options/mzta-options.js b/options/mzta-options.js index 51baa538..9adb6099 100644 --- a/options/mzta-options.js +++ b/options/mzta-options.js @@ -383,7 +383,7 @@ document.addEventListener('DOMContentLoaded', async () => { return; } let count = await taStorage.clearAllRecords(); - alert(browser.i18n.getMessage("prefs_cache_clear_done", [String(count)])); + alert(browser.i18n.getMessage("prefs_storage_clear_done", [String(count)])); updateCacheSize(); });