From e944977cb7e7b904d76b08fc305553e38ddfe45c Mon Sep 17 00:00:00 2001 From: buzz-lightsnack-2007 <73412182+buzz-lightsnack-2007@users.noreply.github.com> Date: Thu, 2 May 2024 09:40:29 +0800 Subject: [PATCH] add load complete message --- _locales/en/messages.json | 3 +++ scripts/external/watch.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 5a1bb40..6211773 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -198,6 +198,9 @@ "entry_contextMenu": { "message": "Open in ShopAI…" }, + "scrape_msg_ready": { + "message": "Loading complete, processing…" + }, "JSON_parse_error": { "message": "There is a mistake in your JSON formatting. Please correct the error before saving." diff --git a/scripts/external/watch.js b/scripts/external/watch.js index c886925..62dc21a 100644 --- a/scripts/external/watch.js +++ b/scripts/external/watch.js @@ -25,7 +25,7 @@ export default class watch { document.onreadystatechange = async () => { if (document.readyState == 'complete' && await global.read([`settings`, `behavior`, `autoRun`])) { - console.log(`Loading complete, processing…`); + new logging((new texts(`scrape_msg_ready`)).localized); let PROC = new processor(filter); } };