Add Vietnamese localization for Artplayer

This commit is contained in:
Harvey Zack committed 2025-04-20 09:55:38 +08:00
1 parent 2aaef7db45
commit 17ece4c0c8
41 files changed
+2335 -1585

No files matched your search

+2 -1
View File
@@ -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
View File
@@ -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;
};