From b80bcd35bbfaf27f9056b3661b0979a61beb2693 Mon Sep 17 00:00:00 2001 From: mic Date: Fri, 2 Jan 2026 17:32:36 +0100 Subject: [PATCH] a string added to i18n --- _locales/en/messages.json | 4 ++++ pages/customprompts/mzta-custom-prompts.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 585bedff..1e8b9cac 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -863,6 +863,10 @@ "message": "Reset to default", "description": "" }, + "reset": { + "message": "Reset", + "description": "" + }, "addtags_excl_list_infoline2": { "message": "Add a word per line, or separated by a comma.", "description": "" diff --git a/pages/customprompts/mzta-custom-prompts.js b/pages/customprompts/mzta-custom-prompts.js index 70308dfa..0861a56e 100644 --- a/pages/customprompts/mzta-custom-prompts.js +++ b/pages/customprompts/mzta-custom-prompts.js @@ -490,7 +490,7 @@ function handleEditClick(e) { modelId_prefix: prefix, no_chatgpt_web: true, taLog: taLog, - customButtonLabel: "Reset", + customButtonLabel: browser.i18n.getMessage("Reset"), customButtonCallback: () => { const selectEl = document.getElementById(selectId); if (selectEl) {