Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(lang): Add missing strings for Chinese (Simplified) and Chinese (Traditional) #6149

Merged
merged 1 commit into from
Aug 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions docs/translations-needed.md
Original file line number Diff line number Diff line change
Expand Up @@ -1110,12 +1110,8 @@ This default value is hardcoded as a default to the localize method in the SeekB
| vi.json (missing 3) | Seek to live, currently behind live |
| | Seek to live, currently playing live |
| | {1} is loading. |
| zh-CN.json (missing 4) | Seek to live, currently behind live |
| | Seek to live, currently playing live |
| | progress bar timing: currentTime={1} duration={2} |
| | {1} is loading. |
| zh-TW.json (missing 4) | Seek to live, currently behind live |
| | Seek to live, currently playing live |
| | progress bar timing: currentTime={1} duration={2} |
| | {1} is loading. |
| zh-CN.json (Complete) | |
| zh-Hans.json (Complete) | |
| zh-Hant.json (Complete) | |
| zh-TW.json (Complete) | |
<!-- END langtable -->
6 changes: 5 additions & 1 deletion lang/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,9 @@
"Done": "完成",
"Caption Settings Dialog": "字幕设定视窗",
"Beginning of dialog window. Escape will cancel and close the window.": "开始对话视窗。离开会取消及关闭视窗",
"End of dialog window.": "结束对话视窗"
"End of dialog window.": "结束对话视窗",
"Seek to live, currently behind live": "试图直播,当前延时播放",
"Seek to live, currently playing live": "试图直播,当前实时播放",
"progress bar timing: currentTime={1} duration={2}": "{1}/{2}",
"{1} is loading.": "正在加载 {1}。"
}
6 changes: 5 additions & 1 deletion lang/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,9 @@
"Done": "完成",
"Caption Settings Dialog": "字幕設定視窗",
"Beginning of dialog window. Escape will cancel and close the window.": "開始對話視窗。離開會取消及關閉視窗",
"End of dialog window.": "結束對話視窗"
"End of dialog window.": "結束對話視窗",
"Seek to live, currently behind live": "試圖直播,目前延時播放",
"Seek to live, currently playing live": "試圖直播,目前即時播放",
"progress bar timing: currentTime={1} duration={2}": "{1}/{2}",
"{1} is loading.": "{1} 正在載入。"
}
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"sandbox": "node build/sandbox.js",
"prestart": "npm-run-all sandbox",
"start": "npm-run-all -p watch karma-server",
"clean": "shx rm -rf ./dist ./test/dist ./docs/api",
"clean": "shx rm -rf ./dist ./test/dist ./docs/api ./lang/zh-Han*.json",
"postclean": "shx mkdir -p ./dist/lang ./test/dist",
"changelog": "conventional-changelog -p videojs -i CHANGELOG.md -s",
"build": "npm-run-all build-dev minify copy zip",
Expand All @@ -38,11 +38,11 @@
"postbuild:css:cdn": "postcss --verbose --config postcss.config.js -d dist/alt dist/alt/video-js-cdn.css",
"build:css:default": "sass --no-source-map src/css/vjs.scss dist/video-js.css",
"postbuild:css:default": "postcss --verbose --config postcss.config.js -d dist/ dist/video-js.css",
"build:lang": "npm-run-all build:lang:*",
"build:lang:chinese-s": "shx cp lang/zh-CN.json lang/zh-Hans.json",
"build:lang:chinese-t": "shx cp lang/zh-TW.json lang/zh-Hant.json",
"build:lang:js": "vjslang --dir dist/lang",
"build:lang:copy": "shx cp -R lang/* dist/lang/",
"prebuild:lang": "npm-run-all -s prebuild:lang:*",
"prebuild:lang:chinese-s": "shx cp lang/zh-CN.json lang/zh-Hans.json",
"prebuild:lang:chinese-t": "shx cp lang/zh-TW.json lang/zh-Hant.json",
"build:lang": "vjslang --dir dist/lang",
"postbuild:lang": "shx cp -R lang/* dist/lang/",
"minify": "npm-run-all minify:*",
"minify:js": "babel-node build/minify.js",
"minify:css": "npm-run-all minify:css:*",
Expand Down