From ad8b2241837c5be95793d5595a14a3baedc69c8f Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Wed, 2 Oct 2024 01:39:18 +0800 Subject: [PATCH 1/2] add translation --- kumascript/macros/AvailableInWorkers.ejs | 1 + 1 file changed, 1 insertion(+) diff --git a/kumascript/macros/AvailableInWorkers.ejs b/kumascript/macros/AvailableInWorkers.ejs index 25696627929c..7fa9bf35476e 100644 --- a/kumascript/macros/AvailableInWorkers.ejs +++ b/kumascript/macros/AvailableInWorkers.ejs @@ -57,6 +57,7 @@ const textNotService = mdn.localString({ const textNotShared = mdn.localString({ "en-US": `This feature is available in Web Workers, except for Shared Web Workers.`, + "zh-CN": `此特性在 Web Worker(不包括 共享 Web Worker)中可用。`, }); const textNotServiceNotWindow = mdn.localString({ From 07cc464b184ae1685a0aa0cc1c8d6fd1b87ff10d Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Wed, 2 Oct 2024 13:19:31 +0800 Subject: [PATCH 2/2] Update kumascript/macros/AvailableInWorkers.ejs Co-authored-by: A1lo --- kumascript/macros/AvailableInWorkers.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kumascript/macros/AvailableInWorkers.ejs b/kumascript/macros/AvailableInWorkers.ejs index 7fa9bf35476e..9d49f9e7a58c 100644 --- a/kumascript/macros/AvailableInWorkers.ejs +++ b/kumascript/macros/AvailableInWorkers.ejs @@ -57,7 +57,7 @@ const textNotService = mdn.localString({ const textNotShared = mdn.localString({ "en-US": `This feature is available in Web Workers, except for Shared Web Workers.`, - "zh-CN": `此特性在 Web Worker(不包括 共享 Web Worker)中可用。`, + "zh-CN": `此特性在 Web Worker(不包括共享 Web Worker)中可用。`, }); const textNotServiceNotWindow = mdn.localString({