Skip to content

Commit

Permalink
I18n (#600)
Browse files Browse the repository at this point in the history
* update i18n

* update i18n
  • Loading branch information
zhw2590582 authored Aug 26, 2023
1 parent 9ba838a commit e71a683
Show file tree
Hide file tree
Showing 38 changed files with 12,192 additions and 9,688 deletions.
1 change: 1 addition & 0 deletions CHANGELOG_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [Unreleased]

- 当播放地址发生错误到达上限后,不会再主动销毁播放器
- 分离语言文件,核心代码不再捆绑多国语言 [语言设置](https://artplayer.org/document/start/i18n.html)
- 更新组件时,支持填写只更新的字段 [pull/549](https://github.com/zhw2590582/ArtPlayer/pull/549)
- 添加 `muted` 事件,当静音的状态变化时触发
- 添加 `Artplayer.LOG_VERSION` 全局配置,设置是否打印播放器版本,默认为 `true`
Expand Down
484 changes: 239 additions & 245 deletions docs/uncompiled/artplayer/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/uncompiled/artplayer/index.js.map

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
"type": "module",
"description": "ArtPlayer.js is a modern and full featured HTML5 video player",
"scripts": {
"build:all": "npm run build all && npm run build:sw && npm run build:ts && npm run build:docs",
"build:all": "npm run build all && npm run build:i18n && npm run build:sw && npm run build:ts && npm run build:docs",
"bootstrap": "npx lerna bootstrap --hoist",
"lint": "npx eslint packages/*/src",
"build:sw": "node ./scripts/build-sw.js",
"build:ts": "node ./scripts/build-ts.js",
"build:docs": "node ./scripts/build-docs.js",
"build:i18n": "node ./scripts/build-i18n.js",
"dev": "npx cross-env NODE_ENV=development node ./scripts/dev.js",
"build": "npx cross-env NODE_ENV=production node ./scripts/build.js",
"prettier": "npx prettier --write .",
Expand Down Expand Up @@ -55,4 +56,4 @@
"engines": {
"node": ">= 16.0.0"
}
}
}
325 changes: 302 additions & 23 deletions packages/artplayer-vitepress/docs/.vitepress/cache/deps/@theme_index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Loading

1 comment on commit e71a683

@vercel
Copy link

@vercel vercel bot commented on e71a683 Aug 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.