Skip to content

Commit

Permalink
feat(macro): add l10n-zh translation
Browse files Browse the repository at this point in the history
  • Loading branch information
yin1999 committed Jul 20, 2022
1 parent 6485cfe commit a3941c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kumascript/macros/AvailableInWorkers.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ const textDefault = mdn.localString({
const textServiceWorkers = 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/Service_Worker_API">Service Workers</a>`,
"zh-CN": `此特性在 <a href="/${locale}/docs/Web/API/Web_Workers_API">Web Worker</a>(不包括 <a href="/${locale}/docs/Web/API/Service_Worker_API">Service Worker</a>)中可用`,
"zh-TW": `此功能可在 <a href="/${locale}/docs/Web/API/Web_Workers_API">Web Worker</a>(不包括 <a href="/${locale}/docs/Web/API/Service_Worker_API">Service Worker</a>)中使用`
})
const workerType = $0;
Expand Down

0 comments on commit a3941c1

Please sign in to comment.