mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 19:06:15 -08:00
feat: add Arabic language support to documentation and type definitions
This commit is contained in:
1 parent
8f4dab5005
commit
51e558dc50
3 files changed
+3
-2
No files matched your search
@@ -29,7 +29,7 @@ var art = new Artplayer({
|
||||
Language files before packaging are located in: `artplayer/src/i18n/*.js`. You are welcome to add your language.
|
||||
Packaged language files are located at: `artplayer/dist/i18n/*.js`
|
||||
|
||||
Manually imported languages include: `cs`, `es`, `fa`, `fr`, `id`, `pl`, `ru`, `zh-tw`
|
||||
Manually imported languages include: `cs`, `es`, `fa`, `fr`, `id`, `pl`, `ru`, `ar`, `zh-tw`
|
||||
|
||||
::: code-group
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ var art = new Artplayer({
|
||||
|
||||
打包后的语言文件存放于: `artplayer/dist/i18n/*.js`
|
||||
|
||||
手动导入的语言有: `cs`, `es`, `fa`, `fr`, `id`, `pl`, `ru`, `zh-tw`
|
||||
手动导入的语言有: `cs`, `es`, `fa`, `fr`, `id`, `pl`, `ru`, `ar`, `zh-tw`
|
||||
|
||||
::: code-group
|
||||
|
||||
|
||||
Vendored
+1
@@ -10,6 +10,7 @@ type I18nKeys =
|
||||
| 'id'
|
||||
| 'ru'
|
||||
| 'tr'
|
||||
| 'ar'
|
||||
| (string & Record<never, never>);
|
||||
|
||||
type I18nValue = {
|
||||
|
||||
Reference in new issue
Block a user