feat: add Arabic language support to documentation and type definitions

This commit is contained in:
Harvey Zack committed 2024-09-16 22:41:15 +08:00
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
+1
View File
@@ -10,6 +10,7 @@ type I18nKeys =
| 'id'
| 'ru'
| 'tr'
| 'ar'
| (string & Record<never, never>);
type I18nValue = {