1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-25 11:13:52 +02:00

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

This commit is contained in:
Pat O'Neill 2019-08-07 16:06:14 -04:00 committed by Gary Katsevman
parent 266cb151fa
commit bd51e9e8db
4 changed files with 20 additions and 16 deletions

View File

@ -1051,12 +1051,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 -->

View File

@ -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}。"
}

View File

@ -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} 正在載入。"
}

View File

@ -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",
@ -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:*",