mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-29 11:11:20 -08:00
Add Vietnamese localization for Artplayer
This commit is contained in:
1 parent
2aaef7db45
commit
17ece4c0c8
41 files changed
+2335
-1585
No files matched your search
Vendored
+2
-1
@@ -11,6 +11,7 @@ type I18nKeys =
|
||||
| 'ru'
|
||||
| 'tr'
|
||||
| 'ar'
|
||||
| 'vi'
|
||||
| (string & Record<never, never>);
|
||||
|
||||
type I18nValue = {
|
||||
@@ -52,4 +53,4 @@ type I18nValue = {
|
||||
'AirPlay Not Available': string;
|
||||
};
|
||||
|
||||
export type I18n = Record<I18nKeys, Partial<I18nValue>>;
|
||||
export type I18n = Partial<Record<I18nKeys, Partial<I18nValue>>>;
|
||||
+5
@@ -85,5 +85,10 @@ export type Setting = {
|
||||
*/
|
||||
onChange?(this: Artplayer, item: SettingOption, element: HTMLDivElement, event: Event): void;
|
||||
|
||||
/**
|
||||
* When range item change in real time
|
||||
*/
|
||||
onClick?(this: Artplayer, item: SettingOption, element: HTMLDivElement, event: Event): void;
|
||||
|
||||
[key: string]: any;
|
||||
};
|
||||
Reference in new issue
Block a user