Add french language (#460)

* Create fr.json

* Update index.js

* Update i18n.d.ts

* Update option.md

* Update option.md

* Update artplayer.d.ts
This commit is contained in:
Aurèle ZANNOU-TCHOKO authored and GitHub committed 2023-01-31 10:39:56 +08:00
1 parent 35d2028bcc
commit d3862db0f3
6 files changed
+47 -7

No files matched your search

+2 -2
View File
@@ -401,7 +401,7 @@ export type Events = {
restart: [];
};
type I18nKeys = 'en' | 'zh-cn' | 'zh-tw' | 'pl' | 'cs' | 'es' | 'fa' | (string & Record<never, never>);
type I18nKeys = 'en' | 'zh-cn' | 'zh-tw' | 'pl' | 'cs' | 'es' | 'fa' | 'fr' | (string & Record<never, never>);
type I18nValue = {
'Video Info': string;
@@ -1059,4 +1059,4 @@ export type Utils = {
escape(str: string): string;
capitalize(str: string): string;
isStringOrNumber(val: any): boolean;
};
};