Skip to content

Commit

Permalink
chore(macros/AvailableInWorkers): add zh-CN translations (#11894)
Browse files Browse the repository at this point in the history
* add translation

* Update kumascript/macros/AvailableInWorkers.ejs

Co-authored-by: A1lo <yin199909@aliyun.com>

---------

Co-authored-by: A1lo <yin199909@aliyun.com>
  • Loading branch information
skyclouds2001 and yin1999 authored Oct 2, 2024
1 parent b80be90 commit b10b2ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kumascript/macros/AvailableInWorkers.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ const textNotService = mdn.localString({
const textNotShared = mdn.localString({
"en-US": `This feature is available in <a href="/${locale}/docs/Web/API/Web_Workers_API">Web Workers</a>, except for <a href="/${locale}/docs/Web/API/SharedWorkerGlobalScope">Shared Web Workers</a>.`,
"zh-CN": `此特性在 <a href="/${locale}/docs/Web/API/Web_Workers_API">Web Worker</a>(不包括<a href="/${locale}/docs/Web/API/SharedWorkerGlobalScope">共享 Web Worker</a>)中可用。`,
});
const textNotServiceNotWindow = mdn.localString({
Expand Down

0 comments on commit b10b2ae

Please sign in to comment.