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

+1 -1
View File
@@ -6,7 +6,7 @@ export as namespace artplayerPluginAutoThumbnail;
type Option = {
url?: string;
width?: number;
height?: number;
number?: number;
scale?: number;
};
+7 -1
View File
@@ -208,6 +208,11 @@ 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;
};
@@ -667,6 +672,7 @@ type I18nKeys =
| 'ru'
| 'tr'
| 'ar'
| 'vi'
| (string & Record<never, never>);
type I18nValue = {
@@ -708,7 +714,7 @@ type I18nValue = {
'AirPlay Not Available': string;
};
export type I18n = Record<I18nKeys, Partial<I18nValue>>;
export type I18n = Partial<Record<I18nKeys, Partial<I18nValue>>>;