Skip to content

Commit bb7bc6d

Browse files
committed
cleanup useless i18n
1 parent 03b3507 commit bb7bc6d

File tree

8 files changed

+161
-150
lines changed

8 files changed

+161
-150
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ This project uses [pnpm](https://pnpm.io/) as package manager, please [install](
1010
npm i -g pnpm
1111
```
1212

13+
## Get-started
14+
15+
https://docs.github.com/en/get-started/exploring-projects-on-github/contributing-to-a-project
16+
1317
## Clone & Install
1418

1519
```bash

examples/standalone/package-lock.json

Lines changed: 21 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,16 @@
1717
"dev": "pnpm --filter=!@oplayer/docs --parallel run start",
1818
"dev:exam": "cd examples/standalone && pnpm run start",
1919
"dev:ui": "pnpm --filter=@oplayer/ui run start",
20-
"build": "pnpm --filter=!@oplayer/docs run build && cp -r packages/ui/dist/index.ui.js packages/core/dist",
21-
"build:packs": "pnpm --filter=@oplayer/* run build && cp -r packages/ui/dist/index.ui.js packages/core/dist",
2220
"build:core": "pnpm --filter=@oplayer/core run build",
2321
"build:docs": "pnpm --filter=@oplayer/docs run build",
2422
"build:plugins": "pnpm --filter=@oplayer/plugins run build",
2523
"build:ui": "pnpm --filter=@oplayer/ui run build",
26-
"build:cache": "nx run-many --target=build --all --parallel",
24+
"build": "pnpm --filter=!@oplayer/docs run build && pnpm run cp:ui",
25+
"build:packs": "pnpm --filter=@oplayer/* run build && pnpm run cp:ui",
26+
"build:cache": "nx run-many --target=build --all --parallel && pnpm run cp:ui",
2727
"build:affected": "nx Affected --target=build",
2828
"graph": "nx dep-graph",
29+
"cp:ui": "cp -r packages/ui/dist/index.ui.js packages/core/dist",
2930
"clear": "rimraf 'packages/*/{dist,tsconfig.tsbuildinfo,node_modules,.rollup.cache}' && rimraf node_modules && rimraf docs",
3031
"changeset": "changeset",
3132
"release": "changeset publish",
@@ -45,7 +46,7 @@
4546
"@babel/plugin-transform-template-literals": "^7.25.9",
4647
"@changesets/cli": "^2.27.11",
4748
"@rollup/plugin-babel": "^6.0.4",
48-
"@types/node": "^20.17.11",
49+
"@types/node": "^20.17.12",
4950
"@vitejs/plugin-react": "^4.3.4",
5051
"babel-plugin-syntax-trailing-function-commas": "^6.22.0",
5152
"concurrently": "^8.2.2",

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@oplayer/core",
3-
"version": "1.2.38-beta.0",
3+
"version": "1.2.38-beta.1",
44
"description": "Oh! Another HTML5 video player.",
55
"type": "module",
66
"main": "./dist/index.es.js",

packages/core/src/i18n/fa.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,30 @@
99
"Mute": "بی‌صدا کردن",
1010
"Speed": "سرعت",
1111
"LIVE": "زنده",
12-
"WebFullscreen":"تمام صفحه وب",
12+
"WebFullscreen": "تمام صفحه وب",
1313
"Chromecast": "کروم کاست",
14-
"AirPlay":"ایر پلی",
14+
"AirPlay": "ایر پلی",
1515

1616
"Language": "زبان",
1717
"Screenshot": "عکس صفحه",
1818
"Subtitle": "زیرنویس",
1919
"Quality": "کیفیت",
2020
"Fullscreen": "تمام صفحه",
21-
"TextDecoder Not Supported": "رمزگشای متن پشتیبانی نمی‌شود",
2221
"Settings": "تنظیمات",
2322
"Picture in Picture": "تصویر در تصویر",
24-
23+
2524
"Danmaku": "دانماکو",
2625
"Display": "نمایش",
2726
"Opacity": "شفافیت",
2827
"FontSize": "اندازه فونت",
2928
"Display Area": "ناحیه نمایش",
30-
29+
3130
"Off": "خاموش",
3231
"Auto": "خودکار",
3332
"Default": "پیش‌فرض",
3433
"Normal": "عادی",
35-
34+
3635
"%ss": "%s ثانیه",
3736
"Close": "بستن",
3837
"Can be closed after %ss": "قابل بستن پس از %s ثانیه"
39-
}
38+
}

packages/core/src/i18n/pa.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,31 @@
99
"Mute": "غلی کول",
1010
"Speed": "چټکتیا",
1111
"LIVE": "ژوندی",
12-
"WebFullscreen":"د تمام صفحه وب",
12+
"WebFullscreen": "د تمام صفحه وب",
1313
"Chromecast": "کروم کاسټ",
14-
"AirPlay":"ایر پلی",
15-
14+
"AirPlay": "ایر پلی",
15+
1616
"Language": "ژبه",
1717
"Screenshot": "سکرین شاټ",
1818
"Subtitle": "لاندې لیک",
1919
"Quality": "کیفیت",
2020
"Fullscreen": "پوره پرده",
21-
"TextDecoder Not Supported": "د متن ډیکوډر ملاتړ نه لري",
21+
"": "د متن ډیکوډر ملاتړ نه لري",
2222
"Settings": "ترتیبات",
2323
"Picture in Picture": "انځور په انځور",
24-
24+
2525
"Danmaku": "دانماکو",
2626
"Display": "ښکاره کول",
2727
"Opacity": "روڼوالی",
2828
"FontSize": "د خط اندازه",
2929
"Display Area": "د ښودلو ساحه",
30-
30+
3131
"Off": "بند",
3232
"Auto": "خودکار",
3333
"Default": "پېل شوی",
3434
"Normal": "عادي",
35-
35+
3636
"%ss": "%s ثانیه",
3737
"Close": "بندول",
3838
"Can be closed after %ss": "د %s ثانیو وروسته تړل کېدای شي"
39-
}
39+
}

packages/core/src/i18n/zh-CN.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"Subtitle": "字幕",
1414
"Quality": "画质",
1515
"Fullscreen": "全屏",
16-
"TextDecoder Not Supported": "不支持原生字幕",
1716
"Settings": "设置",
1817
"Picture in Picture": "画中画",
1918

0 commit comments

Comments
 (0)