Skip to content

Commit

Permalink
feat: Chinese Translations (#789)
Browse files Browse the repository at this point in the history
  • Loading branch information
thttg authored Sep 23, 2022
1 parent 82823d5 commit 2674f1c
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 2 deletions.
4 changes: 3 additions & 1 deletion app/i18n/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ const languages = {
nl: { translation: require('./lang/nl.json') },
pt: { translation: require('./lang/pt-br.json') },
ru: { translation: require('./lang/ru.json') },
sq: { translation: require('./lang/sq.json') }
sq: { translation: require('./lang/sq.json') },
'zh-CN': { translation: require('./lang/zh-CN.json') },
'zh-TW': { translation: require('./lang/zh-TW.json') }
};

const detectedLocale = navigator.language;
Expand Down
33 changes: 33 additions & 0 deletions app/i18n/lang/zh-CN.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"enterConferenceNameOrUrl": "输入你的会议室名称或Jitsi网址",
"go": "开始",
"help": "帮助",
"termsLink": "条款",
"privacyLink": "隐私",
"recentListLabel": "或重新加入最近的会议",
"sendFeedbackLink": "发送反馈",
"aboutLink": "关于",
"sourceLink": "源代码",
"versionLabel": "版本:{{version}}",
"onboarding": {
"startTour": "开始参观",
"skip": "跳过",
"welcome": "欢迎使用{{appName}}",
"letUsShowYouAround": "让我们带你参观一下!",
"next": "下一个",
"conferenceUrl": "输入你想加入的会议室的名称(或完整的网址),你也可以使用不同的名称创建会议室,其他人只需输入相同的名称即可加入。",
"settingsDrawerButton": "点击此处打开设置。",
"serverSetting": "这将是你开始会议的服务器,你可以使用自己的服务器,但你无需这样做!",
"serverTimeout": "加入会议超时,如果在超时之前未加入会议,则会议将被取消。",
"alwaysOnTop": "你可以选择是否要启用“始终置顶”,该窗口在主窗口失去焦点时显示,这将适用于所有会议。"
},
"settings": {
"back": "返回",
"alwaysOnTopWindow": "始终置顶",
"invalidServer": "服务器网址无效",
"invalidServerTimeout": "服务器超时值无效",
"serverUrl": "服务器网址",
"serverTimeout": "服务器超时(秒)",
"disableAGC": "禁用自动增益控制"
}
}
33 changes: 33 additions & 0 deletions app/i18n/lang/zh-TW.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"enterConferenceNameOrUrl": "輸入會議室名稱或Jitsi網址",
"go": "開始",
"help": "協助",
"termsLink": "條款",
"privacyLink": "隱私權",
"recentListLabel": "或重新加入最近的會議",
"sendFeedbackLink": "傳送意見反應",
"aboutLink": "關於",
"sourceLink": "原始碼",
"versionLabel": "版本:{{version}}",
"onboarding": {
"startTour": "開始遊覽",
"skip": "跳過",
"welcome": "歡迎使用{{appName}}",
"letUsShowYouAround": "讓我們帶你四處逛逛!",
"next": "Next",
"conferenceUrl": "請輸入您想加入的會議室名稱(或完整網址),您可以想一個名稱來建立會議室,只要其他人輸入相同的名稱就能加入會議室喔。",
"settingsDrawerButton": "按一下這裡開啟設定。",
"serverSetting": "這將是您開始會議的伺服器,您可以使用自己的伺服器,但您無需這樣做!",
"serverTimeout": "加入會議超時,如果在超時之前沒有加入會議,則會議將被取消。",
"alwaysOnTop": "您可以選擇是否啟用「保持在最上層」,該視窗將在主視窗失去焦點時顯示,這將適用於所有會議。"
},
"settings": {
"back": "返回",
"alwaysOnTopWindow": "保持在最上層",
"invalidServer": "伺服器網址無效",
"invalidServerTimeout": "伺服器超時值無效",
"serverUrl": "伺服器網址",
"serverTimeout": "伺服器超時(秒)",
"disableAGC": "停用自動取得控制"
}
}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@
"description": "Jitsi Meet Desktop App",
"desktop": {
"Comment[hu]": "Asztali Jitsi Meet-alkalmazás",
"Comment[hr]": "Jitsi Meet desktop aplikacija"
"Comment[hr]": "Jitsi Meet desktop aplikacija",
"Comment[zh-CN]": "Jitsi Meet 桌面应用程序",
"Comment[zh-TW]": "Jitsi Meet 桌面應用程式"
},
"executableName": "jitsi-meet",
"target": [
Expand Down

0 comments on commit 2674f1c

Please sign in to comment.