From e0c55755666b1969cdf8a8676cd5f1604d527efb Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Thu, 17 Oct 2024 00:49:47 +0800 Subject: [PATCH] chore(macros/WebExtAllExamples): update zh-* translation (#11831) --- kumascript/macros/WebExtAllExamples.ejs | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/kumascript/macros/WebExtAllExamples.ejs b/kumascript/macros/WebExtAllExamples.ejs index c69a1b5cde57..57cf6dafeeec 100644 --- a/kumascript/macros/WebExtAllExamples.ejs +++ b/kumascript/macros/WebExtAllExamples.ejs @@ -17,15 +17,21 @@ const allExamples = await MDN.fetchWebExtExamples(); const lang = env.locale; const s_name = mdn.localString({ - "en-US": "Name" + "en-US": "Name", + "zh-CN": "名称", + "zh-TW": "名稱", }); const s_desc = mdn.localString({ - "en-US": "Description" + "en-US": "Description", + "zh-CN": "描述", + "zh-TW": "描述", }); const s_javascript_apis = mdn.localString({ - "en-US": "JavaScript APIs" + "en-US": "JavaScript APIs", + "zh-CN": "JavaScript API", + "zh-TW": "JavaScript API", }); const s_webextension_api_path = mdn.localString({