mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-16 09:36:16 -08:00
1 parent
9ba838aa52
commit
e71a683dfd
38 files changed
+12194
-9690
No files matched your search
@@ -1,4 +1,4 @@
|
||||
{
|
||||
const cs = {
|
||||
"Video Info": "Info o videu",
|
||||
"Close": "Zavřít",
|
||||
"Video Load Failed": "Nahrání videa selhalo",
|
||||
@@ -36,3 +36,9 @@
|
||||
"AirPlay": "AirPlay",
|
||||
"AirPlay Not Available": "AirPlay není k dispozici"
|
||||
}
|
||||
|
||||
export default cs;
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-cs'] = cs;
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
const es = {
|
||||
"Video Info": "Información del video",
|
||||
"Close": "Cerrar",
|
||||
"Video Load Failed": "Falló carga de video",
|
||||
@@ -36,3 +36,9 @@
|
||||
"AirPlay": "AirPlay",
|
||||
"AirPlay Not Available": "AirPlay no disponible"
|
||||
}
|
||||
|
||||
export default es;
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-es'] = es;
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
const fa = {
|
||||
"Video Info": "اطلاعات ویدیو",
|
||||
"Close": "بستن",
|
||||
"Video Load Failed": "بارگذاری ناموفق",
|
||||
@@ -36,3 +36,9 @@
|
||||
"AirPlay": "ایر پلی",
|
||||
"AirPlay Not Available": "عدم پشتیبانی از ایرپلی"
|
||||
}
|
||||
|
||||
export default fa;
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-fa'] = fa;
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
const fr = {
|
||||
"Video Info": "Informations de la vidéo",
|
||||
"Close": "Fermer",
|
||||
"Video Load Failed": "Téléchargement de la vidéo échoué",
|
||||
@@ -36,3 +36,9 @@
|
||||
"AirPlay": "AirPlay",
|
||||
"AirPlay Not Available": "AirPlay non disponible"
|
||||
}
|
||||
|
||||
export default fr;
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-fr'] = fr;
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
const id = {
|
||||
"Video Info": "Informasi Video",
|
||||
"Close": "Tutup",
|
||||
"Video Load Failed": "Gagal Memuat Video",
|
||||
@@ -36,3 +36,9 @@
|
||||
"AirPlay": "AirPlay",
|
||||
"AirPlay Not Available": "AirPlay Tidak Tersedia"
|
||||
}
|
||||
|
||||
export default id;
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-id'] = id;
|
||||
}
|
||||
@@ -1,13 +1,5 @@
|
||||
import { mergeDeep } from '../utils';
|
||||
import zhCn from './zh-cn.json';
|
||||
import zhTw from './zh-tw.json';
|
||||
import pl from './pl.json';
|
||||
import cs from './cs.json';
|
||||
import es from './es.json';
|
||||
import fa from './fa.json';
|
||||
import fr from './fr.json';
|
||||
import id from './id.json';
|
||||
import ru from './ru.json';
|
||||
import zhCn from './zh-cn';
|
||||
|
||||
export default class I18n {
|
||||
constructor(art) {
|
||||
@@ -15,16 +7,10 @@ export default class I18n {
|
||||
|
||||
this.languages = {
|
||||
'zh-cn': zhCn,
|
||||
'zh-tw': zhTw,
|
||||
pl: pl,
|
||||
cs: cs,
|
||||
es: es,
|
||||
fa: fa,
|
||||
fr: fr,
|
||||
id: id,
|
||||
ru: ru,
|
||||
};
|
||||
|
||||
this.language = {};
|
||||
|
||||
this.update(art.option.i18n);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
const pl = {
|
||||
"Video Info": "Informacje o wideo",
|
||||
"Close": "Zamknij",
|
||||
"Video Load Failed": "Błąd ładowania wideo",
|
||||
@@ -36,3 +36,9 @@
|
||||
"AirPlay": "AirPlay",
|
||||
"AirPlay Not Available": "AirPlay nie jest dostępny"
|
||||
}
|
||||
|
||||
export default pl;
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-pl'] = pl;
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
const ru = {
|
||||
"Video Info": "Информация",
|
||||
"Close": "Закрыть",
|
||||
"Video Load Failed": "Ошибка загрузки видео",
|
||||
@@ -36,3 +36,9 @@
|
||||
"AirPlay": "AirPlay",
|
||||
"AirPlay Not Available": "AirPlay недоступен"
|
||||
}
|
||||
|
||||
export default ru;
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-ru'] = ru;
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
const zhCn = {
|
||||
"Video Info": "统计信息",
|
||||
"Close": "关闭",
|
||||
"Video Load Failed": "加载失败",
|
||||
@@ -36,3 +36,9 @@
|
||||
"AirPlay": "隔空播放",
|
||||
"AirPlay Not Available": "隔空播放不可用"
|
||||
}
|
||||
|
||||
export default zhCn;
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-zh-cn'] = zhCn;
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
const zhTw = {
|
||||
"Video Info": "統計訊息",
|
||||
"Close": "關閉",
|
||||
"Video Load Failed": "載入失敗",
|
||||
@@ -36,3 +36,9 @@
|
||||
"AirPlay": "隔空播放",
|
||||
"AirPlay Not Available": "隔空播放不可用"
|
||||
}
|
||||
|
||||
export default zhTw;
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-zh-tw'] = zhTw;
|
||||
}
|
||||
Reference in new issue
Block a user