mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 02:01:20 -08:00
build all
Refactor utility functions for improved readability and consistency - Updated compatibility.js to use consistent line endings and formatting. - Refactored component.js for better readability and structure, including consistent use of arrow functions and binding. - Simplified dom.js functions with consistent formatting and improved readability. - Enhanced emitter.js with consistent formatting and arrow function usage. - Streamlined error.js for improved readability and consistency. - Refactored file.js to use consistent formatting and improved readability. - Improved format.js functions for better readability and consistency. - Updated index.js to maintain consistent export formatting. - Refactored property.js for improved readability and consistency. - Enhanced subtitle.js with consistent formatting and improved readability. - Refactored time.js for better readability and consistent formatting. fix: update lint script to target only source files for consistency Revert "fix: restore export statements for various plugins and update type definitions for better clarity" This reverts commit b5e969d81ec765cd8a34b06e6ef4f232ef25087f. fix: restore export statements for various plugins and update type definitions for better clarity Refactor type definitions to use interfaces instead of type aliases for better extensibility and clarity across i18n, icons, option, player, quality, setting, subtitle, template, and utils modules.
This commit is contained in:
1 parent
532dd67cfd
commit
35ad9883af
447 files changed
+18248
-17946
No files matched your search
@@ -1,44 +1,44 @@
|
||||
const ar = {
|
||||
'Video Info': 'معلومات الفيديو',
|
||||
Close: 'إغلاق',
|
||||
'Video Load Failed': 'فشل تحميل الفيديو',
|
||||
Volume: 'الصوت',
|
||||
Play: 'تشغيل',
|
||||
Pause: 'إيقاف مؤقت',
|
||||
Rate: 'السرعة',
|
||||
Mute: 'كتم الصوت',
|
||||
'Video Flip': 'تدوير الفيديو',
|
||||
Horizontal: 'أفقي',
|
||||
Vertical: 'عمودي',
|
||||
Reconnect: 'إعادة الاتصال',
|
||||
'Show Setting': 'إظهار الإعدادات',
|
||||
'Hide Setting': 'إخفاء الإعدادات',
|
||||
Screenshot: 'لقطة شاشة',
|
||||
'Play Speed': 'سرعة التشغيل',
|
||||
'Aspect Ratio': 'نسبة العرض إلى الارتفاع',
|
||||
Default: 'افتراضي',
|
||||
Normal: 'عادي',
|
||||
Open: 'فتح',
|
||||
'Switch Video': 'تبديل الفيديو',
|
||||
'Switch Subtitle': 'تبديل الترجمة',
|
||||
Fullscreen: 'وضع ملء الشاشة',
|
||||
'Exit Fullscreen': 'الخروج من وضع ملء الشاشة',
|
||||
'Web Fullscreen': 'وضع ملء الشاشة في المتصفح',
|
||||
'Exit Web Fullscreen': 'الخروج من وضع ملء الشاشة في المتصفح',
|
||||
'Mini Player': 'مشغل صغير',
|
||||
'PIP Mode': 'الوضع العائم',
|
||||
'Exit PIP Mode': 'الخروج من الوضع العائم',
|
||||
'PIP Not Supported': 'الوضع العائم غير مدعوم',
|
||||
'Fullscreen Not Supported': 'وضع ملء الشاشة غير مدعوم',
|
||||
'Subtitle Offset': 'إزاحة الترجمة',
|
||||
'Last Seen': 'آخر مشاهدة',
|
||||
'Jump Play': 'التشغيل القافز',
|
||||
AirPlay: 'AirPlay',
|
||||
'AirPlay Not Available': 'AirPlay غير متاح',
|
||||
};
|
||||
'Video Info': 'معلومات الفيديو',
|
||||
'Close': 'إغلاق',
|
||||
'Video Load Failed': 'فشل تحميل الفيديو',
|
||||
'Volume': 'الصوت',
|
||||
'Play': 'تشغيل',
|
||||
'Pause': 'إيقاف مؤقت',
|
||||
'Rate': 'السرعة',
|
||||
'Mute': 'كتم الصوت',
|
||||
'Video Flip': 'تدوير الفيديو',
|
||||
'Horizontal': 'أفقي',
|
||||
'Vertical': 'عمودي',
|
||||
'Reconnect': 'إعادة الاتصال',
|
||||
'Show Setting': 'إظهار الإعدادات',
|
||||
'Hide Setting': 'إخفاء الإعدادات',
|
||||
'Screenshot': 'لقطة شاشة',
|
||||
'Play Speed': 'سرعة التشغيل',
|
||||
'Aspect Ratio': 'نسبة العرض إلى الارتفاع',
|
||||
'Default': 'افتراضي',
|
||||
'Normal': 'عادي',
|
||||
'Open': 'فتح',
|
||||
'Switch Video': 'تبديل الفيديو',
|
||||
'Switch Subtitle': 'تبديل الترجمة',
|
||||
'Fullscreen': 'وضع ملء الشاشة',
|
||||
'Exit Fullscreen': 'الخروج من وضع ملء الشاشة',
|
||||
'Web Fullscreen': 'وضع ملء الشاشة في المتصفح',
|
||||
'Exit Web Fullscreen': 'الخروج من وضع ملء الشاشة في المتصفح',
|
||||
'Mini Player': 'مشغل صغير',
|
||||
'PIP Mode': 'الوضع العائم',
|
||||
'Exit PIP Mode': 'الخروج من الوضع العائم',
|
||||
'PIP Not Supported': 'الوضع العائم غير مدعوم',
|
||||
'Fullscreen Not Supported': 'وضع ملء الشاشة غير مدعوم',
|
||||
'Subtitle Offset': 'إزاحة الترجمة',
|
||||
'Last Seen': 'آخر مشاهدة',
|
||||
'Jump Play': 'التشغيل القافز',
|
||||
'AirPlay': 'AirPlay',
|
||||
'AirPlay Not Available': 'AirPlay غير متاح',
|
||||
}
|
||||
|
||||
export default ar;
|
||||
export default ar
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-ar'] = ar;
|
||||
window['artplayer-i18n-ar'] = ar
|
||||
}
|
||||
@@ -1,44 +1,44 @@
|
||||
const cs = {
|
||||
'Video Info': 'Info o videu',
|
||||
Close: 'Zavřít',
|
||||
'Video Load Failed': 'Nahrání videa selhalo',
|
||||
Volume: 'Hlasitost',
|
||||
Play: 'Přehrát',
|
||||
Pause: 'Pozastavit',
|
||||
Rate: 'Hodnocení',
|
||||
Mute: 'Ztlumit',
|
||||
'Video Flip': 'Otočit video',
|
||||
Horizontal: 'Horizontálně',
|
||||
Vertical: 'Vertikálně',
|
||||
Reconnect: 'Opětovné připojení',
|
||||
'Show Setting': 'Zobrazit nastavení',
|
||||
'Hide Setting': 'Skrýt nastavení',
|
||||
Screenshot: 'Snímek obrazovky',
|
||||
'Play Speed': 'Rychlost přehrávání',
|
||||
'Aspect Ratio': 'Poměr stran',
|
||||
Default: 'Výchozí',
|
||||
Normal: 'Normální',
|
||||
Open: 'Otevřít',
|
||||
'Switch Video': 'Přepnout video',
|
||||
'Switch Subtitle': 'Přepnout titulky',
|
||||
Fullscreen: 'Celá obrazovka',
|
||||
'Exit Fullscreen': 'Opustit režim celé obrazovky',
|
||||
'Web Fullscreen': 'Celá stránka',
|
||||
'Exit Web Fullscreen': 'Zavřít režim celé stránky',
|
||||
'Mini Player': 'Mini přehrávač',
|
||||
'PIP Mode': 'Režim PIP',
|
||||
'Exit PIP Mode': 'Opustit režim PIP',
|
||||
'PIP Not Supported': 'Režim PIP není podporován',
|
||||
'Fullscreen Not Supported': 'Režim celé obrazovky není podporován',
|
||||
'Subtitle Offset': 'Posun titulků',
|
||||
'Last Seen': 'Naposledy viděn',
|
||||
'Jump Play': 'Hra na skok',
|
||||
AirPlay: 'AirPlay',
|
||||
'AirPlay Not Available': 'AirPlay není k dispozici',
|
||||
};
|
||||
'Video Info': 'Info o videu',
|
||||
'Close': 'Zavřít',
|
||||
'Video Load Failed': 'Nahrání videa selhalo',
|
||||
'Volume': 'Hlasitost',
|
||||
'Play': 'Přehrát',
|
||||
'Pause': 'Pozastavit',
|
||||
'Rate': 'Hodnocení',
|
||||
'Mute': 'Ztlumit',
|
||||
'Video Flip': 'Otočit video',
|
||||
'Horizontal': 'Horizontálně',
|
||||
'Vertical': 'Vertikálně',
|
||||
'Reconnect': 'Opětovné připojení',
|
||||
'Show Setting': 'Zobrazit nastavení',
|
||||
'Hide Setting': 'Skrýt nastavení',
|
||||
'Screenshot': 'Snímek obrazovky',
|
||||
'Play Speed': 'Rychlost přehrávání',
|
||||
'Aspect Ratio': 'Poměr stran',
|
||||
'Default': 'Výchozí',
|
||||
'Normal': 'Normální',
|
||||
'Open': 'Otevřít',
|
||||
'Switch Video': 'Přepnout video',
|
||||
'Switch Subtitle': 'Přepnout titulky',
|
||||
'Fullscreen': 'Celá obrazovka',
|
||||
'Exit Fullscreen': 'Opustit režim celé obrazovky',
|
||||
'Web Fullscreen': 'Celá stránka',
|
||||
'Exit Web Fullscreen': 'Zavřít režim celé stránky',
|
||||
'Mini Player': 'Mini přehrávač',
|
||||
'PIP Mode': 'Režim PIP',
|
||||
'Exit PIP Mode': 'Opustit režim PIP',
|
||||
'PIP Not Supported': 'Režim PIP není podporován',
|
||||
'Fullscreen Not Supported': 'Režim celé obrazovky není podporován',
|
||||
'Subtitle Offset': 'Posun titulků',
|
||||
'Last Seen': 'Naposledy viděn',
|
||||
'Jump Play': 'Hra na skok',
|
||||
'AirPlay': 'AirPlay',
|
||||
'AirPlay Not Available': 'AirPlay není k dispozici',
|
||||
}
|
||||
|
||||
export default cs;
|
||||
export default cs
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-cs'] = cs;
|
||||
window['artplayer-i18n-cs'] = cs
|
||||
}
|
||||
@@ -1,44 +1,44 @@
|
||||
const es = {
|
||||
'Video Info': 'Información del video',
|
||||
Close: 'Cerrar',
|
||||
'Video Load Failed': 'Falló carga de video',
|
||||
Volume: 'Volumen',
|
||||
Play: 'Reproduciendo',
|
||||
Pause: 'Pausa',
|
||||
Rate: 'Velocidad',
|
||||
Mute: 'Silencio',
|
||||
'Video Flip': 'Rotar video',
|
||||
Horizontal: 'Horizontal',
|
||||
Vertical: 'Vertical',
|
||||
Reconnect: 'Reconectando',
|
||||
'Show Setting': 'Mostrar ajustes',
|
||||
'Hide Setting': 'Ocultar ajustes',
|
||||
Screenshot: 'Captura de Pantalla',
|
||||
'Play Speed': 'Velocidad de reproducción',
|
||||
'Aspect Ratio': 'Relación de aspecto',
|
||||
Default: 'Por defecto',
|
||||
Normal: 'Normal',
|
||||
Open: 'Abrir',
|
||||
'Switch Video': 'Cambiar video',
|
||||
'Switch Subtitle': 'Cambiar subtítulo',
|
||||
Fullscreen: 'Pantalla completa',
|
||||
'Exit Fullscreen': 'Salir de Pantalla completa',
|
||||
'Web Fullscreen': 'Pantalla completa Web',
|
||||
'Exit Web Fullscreen': 'Salir de Pantalla completa',
|
||||
'Mini Player': 'Mini reproductor',
|
||||
'PIP Mode': 'Modo PiP',
|
||||
'Exit PIP Mode': 'Cerrar modo PiP',
|
||||
'PIP Not Supported': 'Modo PiP no compatible',
|
||||
'Fullscreen Not Supported': 'Pantalla completa no soportada',
|
||||
'Subtitle Offset': 'Ajuste subtítulo',
|
||||
'Last Seen': 'Visto última vez',
|
||||
'Jump Play': 'Saltar',
|
||||
AirPlay: 'AirPlay',
|
||||
'AirPlay Not Available': 'AirPlay no disponible',
|
||||
};
|
||||
'Video Info': 'Información del video',
|
||||
'Close': 'Cerrar',
|
||||
'Video Load Failed': 'Falló carga de video',
|
||||
'Volume': 'Volumen',
|
||||
'Play': 'Reproduciendo',
|
||||
'Pause': 'Pausa',
|
||||
'Rate': 'Velocidad',
|
||||
'Mute': 'Silencio',
|
||||
'Video Flip': 'Rotar video',
|
||||
'Horizontal': 'Horizontal',
|
||||
'Vertical': 'Vertical',
|
||||
'Reconnect': 'Reconectando',
|
||||
'Show Setting': 'Mostrar ajustes',
|
||||
'Hide Setting': 'Ocultar ajustes',
|
||||
'Screenshot': 'Captura de Pantalla',
|
||||
'Play Speed': 'Velocidad de reproducción',
|
||||
'Aspect Ratio': 'Relación de aspecto',
|
||||
'Default': 'Por defecto',
|
||||
'Normal': 'Normal',
|
||||
'Open': 'Abrir',
|
||||
'Switch Video': 'Cambiar video',
|
||||
'Switch Subtitle': 'Cambiar subtítulo',
|
||||
'Fullscreen': 'Pantalla completa',
|
||||
'Exit Fullscreen': 'Salir de Pantalla completa',
|
||||
'Web Fullscreen': 'Pantalla completa Web',
|
||||
'Exit Web Fullscreen': 'Salir de Pantalla completa',
|
||||
'Mini Player': 'Mini reproductor',
|
||||
'PIP Mode': 'Modo PiP',
|
||||
'Exit PIP Mode': 'Cerrar modo PiP',
|
||||
'PIP Not Supported': 'Modo PiP no compatible',
|
||||
'Fullscreen Not Supported': 'Pantalla completa no soportada',
|
||||
'Subtitle Offset': 'Ajuste subtítulo',
|
||||
'Last Seen': 'Visto última vez',
|
||||
'Jump Play': 'Saltar',
|
||||
'AirPlay': 'AirPlay',
|
||||
'AirPlay Not Available': 'AirPlay no disponible',
|
||||
}
|
||||
|
||||
export default es;
|
||||
export default es
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-es'] = es;
|
||||
window['artplayer-i18n-es'] = es
|
||||
}
|
||||
@@ -1,44 +1,44 @@
|
||||
const fa = {
|
||||
'Video Info': 'اطلاعات ویدیو',
|
||||
Close: 'بستن',
|
||||
'Video Load Failed': 'بارگذاری ناموفق',
|
||||
Play: 'پخش',
|
||||
Volume: 'میزان صدا',
|
||||
Pause: 'توقف',
|
||||
Rate: 'نرخ',
|
||||
Mute: 'سکوت',
|
||||
'Video Flip': 'چرخش تصویر',
|
||||
Horizontal: 'افقی',
|
||||
Vertical: 'عمودی',
|
||||
Reconnect: 'اتصال مجدد',
|
||||
'Show Setting': 'تنظیمات',
|
||||
'Hide Setting': 'بستن تنظیمات',
|
||||
Screenshot: 'عکس از صفحه',
|
||||
'Play Speed': 'سرعت پخش',
|
||||
'Aspect Ratio': 'نسبت تصویر',
|
||||
Default: 'حالت پیشفرض',
|
||||
Normal: ' حالت عادی',
|
||||
Open: 'بازکردن',
|
||||
'Switch Video': 'تغییر ویدیو',
|
||||
'Switch Subtitle': 'نغییر زیرنویس',
|
||||
Fullscreen: 'تمام صفحه',
|
||||
'Exit Fullscreen': 'کوچک کردن',
|
||||
'Web Fullscreen': 'حالت تئاتر',
|
||||
'Exit Web Fullscreen': 'خروج از حالت تئاتر',
|
||||
'Mini Player': 'حالت پخش کوچک',
|
||||
'PIP Mode': ' مینی پلیر',
|
||||
'Exit PIP Mode': 'خروج از مینی پلیر',
|
||||
'PIP Not Supported': 'عدم پشتیبانی از مینی پلیر',
|
||||
'Fullscreen Not Supported': 'عدم پشتیبانی از حالت تمام صفحه',
|
||||
'Subtitle Offset': 'افست زیرنویس',
|
||||
'Last Seen': 'آخرین بازدید',
|
||||
'Jump Play': 'جامپ پلی',
|
||||
AirPlay: 'ایر پلی',
|
||||
'AirPlay Not Available': 'عدم پشتیبانی از ایرپلی',
|
||||
};
|
||||
'Video Info': 'اطلاعات ویدیو',
|
||||
'Close': 'بستن',
|
||||
'Video Load Failed': 'بارگذاری ناموفق',
|
||||
'Play': 'پخش',
|
||||
'Volume': 'میزان صدا',
|
||||
'Pause': 'توقف',
|
||||
'Rate': 'نرخ',
|
||||
'Mute': 'سکوت',
|
||||
'Video Flip': 'چرخش تصویر',
|
||||
'Horizontal': 'افقی',
|
||||
'Vertical': 'عمودی',
|
||||
'Reconnect': 'اتصال مجدد',
|
||||
'Show Setting': 'تنظیمات',
|
||||
'Hide Setting': 'بستن تنظیمات',
|
||||
'Screenshot': 'عکس از صفحه',
|
||||
'Play Speed': 'سرعت پخش',
|
||||
'Aspect Ratio': 'نسبت تصویر',
|
||||
'Default': 'حالت پیشفرض',
|
||||
'Normal': ' حالت عادی',
|
||||
'Open': 'بازکردن',
|
||||
'Switch Video': 'تغییر ویدیو',
|
||||
'Switch Subtitle': 'نغییر زیرنویس',
|
||||
'Fullscreen': 'تمام صفحه',
|
||||
'Exit Fullscreen': 'کوچک کردن',
|
||||
'Web Fullscreen': 'حالت تئاتر',
|
||||
'Exit Web Fullscreen': 'خروج از حالت تئاتر',
|
||||
'Mini Player': 'حالت پخش کوچک',
|
||||
'PIP Mode': ' مینی پلیر',
|
||||
'Exit PIP Mode': 'خروج از مینی پلیر',
|
||||
'PIP Not Supported': 'عدم پشتیبانی از مینی پلیر',
|
||||
'Fullscreen Not Supported': 'عدم پشتیبانی از حالت تمام صفحه',
|
||||
'Subtitle Offset': 'افست زیرنویس',
|
||||
'Last Seen': 'آخرین بازدید',
|
||||
'Jump Play': 'جامپ پلی',
|
||||
'AirPlay': 'ایر پلی',
|
||||
'AirPlay Not Available': 'عدم پشتیبانی از ایرپلی',
|
||||
}
|
||||
|
||||
export default fa;
|
||||
export default fa
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-fa'] = fa;
|
||||
window['artplayer-i18n-fa'] = fa
|
||||
}
|
||||
@@ -1,44 +1,44 @@
|
||||
const fr = {
|
||||
'Video Info': 'Informations de la vidéo',
|
||||
Close: 'Fermer',
|
||||
'Video Load Failed': 'Téléchargement de la vidéo échoué',
|
||||
Volume: 'Volume',
|
||||
Play: 'Lire',
|
||||
Pause: 'Pause',
|
||||
Rate: 'Vitesse',
|
||||
Mute: 'Muet',
|
||||
'Video Flip': 'Rotation de la vidéo',
|
||||
Horizontal: 'Horizontal',
|
||||
Vertical: 'Vertical',
|
||||
Reconnect: 'Reconnexion',
|
||||
'Show Setting': 'Afficher les paramètres',
|
||||
'Hide Setting': 'Cacher les paramètres',
|
||||
Screenshot: "Capture d'écran",
|
||||
'Play Speed': 'Vitesse de lecture',
|
||||
'Aspect Ratio': "Rapport d'aspect",
|
||||
Default: 'Défaut',
|
||||
Normal: 'Normal',
|
||||
Open: 'Ouvrir',
|
||||
'Switch Video': 'Basculer la vidéo',
|
||||
'Switch Subtitle': 'Basculer le sous-titre',
|
||||
Fullscreen: 'Plein écran',
|
||||
'Exit Fullscreen': 'Quitter le plein écran',
|
||||
'Web Fullscreen': 'Plein écran Web',
|
||||
'Exit Web Fullscreen': 'Quitter le plein écran Web',
|
||||
'Mini Player': 'Mini lecteur',
|
||||
'PIP Mode': 'Mode PiP',
|
||||
'Exit PIP Mode': 'Fermer le mode PiP',
|
||||
'PIP Not Supported': 'Mode PiP non supporté',
|
||||
'Fullscreen Not Supported': 'Plein écran non supporté',
|
||||
'Subtitle Offset': 'Réglage des sous-titres',
|
||||
'Last Seen': 'Dernière position',
|
||||
'Jump Play': 'Continuer',
|
||||
AirPlay: 'AirPlay',
|
||||
'AirPlay Not Available': 'AirPlay non disponible',
|
||||
};
|
||||
'Video Info': 'Informations de la vidéo',
|
||||
'Close': 'Fermer',
|
||||
'Video Load Failed': 'Téléchargement de la vidéo échoué',
|
||||
'Volume': 'Volume',
|
||||
'Play': 'Lire',
|
||||
'Pause': 'Pause',
|
||||
'Rate': 'Vitesse',
|
||||
'Mute': 'Muet',
|
||||
'Video Flip': 'Rotation de la vidéo',
|
||||
'Horizontal': 'Horizontal',
|
||||
'Vertical': 'Vertical',
|
||||
'Reconnect': 'Reconnexion',
|
||||
'Show Setting': 'Afficher les paramètres',
|
||||
'Hide Setting': 'Cacher les paramètres',
|
||||
'Screenshot': 'Capture d\'écran',
|
||||
'Play Speed': 'Vitesse de lecture',
|
||||
'Aspect Ratio': 'Rapport d\'aspect',
|
||||
'Default': 'Défaut',
|
||||
'Normal': 'Normal',
|
||||
'Open': 'Ouvrir',
|
||||
'Switch Video': 'Basculer la vidéo',
|
||||
'Switch Subtitle': 'Basculer le sous-titre',
|
||||
'Fullscreen': 'Plein écran',
|
||||
'Exit Fullscreen': 'Quitter le plein écran',
|
||||
'Web Fullscreen': 'Plein écran Web',
|
||||
'Exit Web Fullscreen': 'Quitter le plein écran Web',
|
||||
'Mini Player': 'Mini lecteur',
|
||||
'PIP Mode': 'Mode PiP',
|
||||
'Exit PIP Mode': 'Fermer le mode PiP',
|
||||
'PIP Not Supported': 'Mode PiP non supporté',
|
||||
'Fullscreen Not Supported': 'Plein écran non supporté',
|
||||
'Subtitle Offset': 'Réglage des sous-titres',
|
||||
'Last Seen': 'Dernière position',
|
||||
'Jump Play': 'Continuer',
|
||||
'AirPlay': 'AirPlay',
|
||||
'AirPlay Not Available': 'AirPlay non disponible',
|
||||
}
|
||||
|
||||
export default fr;
|
||||
export default fr
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-fr'] = fr;
|
||||
window['artplayer-i18n-fr'] = fr
|
||||
}
|
||||
@@ -1,44 +1,44 @@
|
||||
const id = {
|
||||
'Video Info': 'Informasi Video',
|
||||
Close: 'Tutup',
|
||||
'Video Load Failed': 'Gagal Memuat Video',
|
||||
Volume: 'Volume',
|
||||
Play: 'Putar',
|
||||
Pause: 'Jeda',
|
||||
Rate: 'Kecepatan',
|
||||
Mute: 'Senyap',
|
||||
'Video Flip': 'Memutar Video',
|
||||
Horizontal: 'Horizontal',
|
||||
Vertical: 'Vertikal',
|
||||
Reconnect: 'Menyambung Kembali',
|
||||
'Show Setting': 'Tampilkan Pengaturan',
|
||||
'Hide Setting': 'Sembunyikan Pengaturan',
|
||||
Screenshot: 'Tangkapan Layar',
|
||||
'Play Speed': 'Kecepatan Putar',
|
||||
'Aspect Ratio': 'Rasio Aspek',
|
||||
Default: 'Default',
|
||||
Normal: 'Normal',
|
||||
Open: 'Buka',
|
||||
'Switch Video': 'Ganti Video',
|
||||
'Switch Subtitle': 'Ganti Subtitle',
|
||||
Fullscreen: 'Layar Penuh',
|
||||
'Exit Fullscreen': 'Keluar dari Layar Penuh',
|
||||
'Web Fullscreen': 'Layar Penuh Web',
|
||||
'Exit Web Fullscreen': 'Keluar dari Layar Penuh Web',
|
||||
'Mini Player': 'Pemutar Mini',
|
||||
'PIP Mode': 'Mode PIP',
|
||||
'Exit PIP Mode': 'Keluar dari Mode PIP',
|
||||
'PIP Not Supported': 'PIP Tidak Didukung',
|
||||
'Fullscreen Not Supported': 'Layar Penuh Tidak Didukung',
|
||||
'Subtitle Offset': 'Pergeseran Subtitle',
|
||||
'Last Seen': 'Terakhir Dilihat',
|
||||
'Jump Play': 'Lompat Putar',
|
||||
AirPlay: 'AirPlay',
|
||||
'AirPlay Not Available': 'AirPlay Tidak Tersedia',
|
||||
};
|
||||
'Video Info': 'Informasi Video',
|
||||
'Close': 'Tutup',
|
||||
'Video Load Failed': 'Gagal Memuat Video',
|
||||
'Volume': 'Volume',
|
||||
'Play': 'Putar',
|
||||
'Pause': 'Jeda',
|
||||
'Rate': 'Kecepatan',
|
||||
'Mute': 'Senyap',
|
||||
'Video Flip': 'Memutar Video',
|
||||
'Horizontal': 'Horizontal',
|
||||
'Vertical': 'Vertikal',
|
||||
'Reconnect': 'Menyambung Kembali',
|
||||
'Show Setting': 'Tampilkan Pengaturan',
|
||||
'Hide Setting': 'Sembunyikan Pengaturan',
|
||||
'Screenshot': 'Tangkapan Layar',
|
||||
'Play Speed': 'Kecepatan Putar',
|
||||
'Aspect Ratio': 'Rasio Aspek',
|
||||
'Default': 'Default',
|
||||
'Normal': 'Normal',
|
||||
'Open': 'Buka',
|
||||
'Switch Video': 'Ganti Video',
|
||||
'Switch Subtitle': 'Ganti Subtitle',
|
||||
'Fullscreen': 'Layar Penuh',
|
||||
'Exit Fullscreen': 'Keluar dari Layar Penuh',
|
||||
'Web Fullscreen': 'Layar Penuh Web',
|
||||
'Exit Web Fullscreen': 'Keluar dari Layar Penuh Web',
|
||||
'Mini Player': 'Pemutar Mini',
|
||||
'PIP Mode': 'Mode PIP',
|
||||
'Exit PIP Mode': 'Keluar dari Mode PIP',
|
||||
'PIP Not Supported': 'PIP Tidak Didukung',
|
||||
'Fullscreen Not Supported': 'Layar Penuh Tidak Didukung',
|
||||
'Subtitle Offset': 'Pergeseran Subtitle',
|
||||
'Last Seen': 'Terakhir Dilihat',
|
||||
'Jump Play': 'Lompat Putar',
|
||||
'AirPlay': 'AirPlay',
|
||||
'AirPlay Not Available': 'AirPlay Tidak Tersedia',
|
||||
}
|
||||
|
||||
export default id;
|
||||
export default id
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-id'] = id;
|
||||
window['artplayer-i18n-id'] = id
|
||||
}
|
||||
@@ -1,30 +1,30 @@
|
||||
import { mergeDeep } from '../utils';
|
||||
import zhCn from './zh-cn';
|
||||
import { mergeDeep } from '../utils'
|
||||
import zhCn from './zh-cn'
|
||||
|
||||
export default class I18n {
|
||||
constructor(art) {
|
||||
this.art = art;
|
||||
constructor(art) {
|
||||
this.art = art
|
||||
|
||||
this.languages = {
|
||||
'zh-cn': zhCn,
|
||||
};
|
||||
|
||||
this.language = {};
|
||||
|
||||
this.update(art.option.i18n);
|
||||
this.languages = {
|
||||
'zh-cn': zhCn,
|
||||
}
|
||||
|
||||
init() {
|
||||
const lang = this.art.option.lang.toLowerCase();
|
||||
this.language = this.languages[lang] || {};
|
||||
}
|
||||
this.language = {}
|
||||
|
||||
get(key) {
|
||||
return this.language[key] || key;
|
||||
}
|
||||
this.update(art.option.i18n)
|
||||
}
|
||||
|
||||
update(value) {
|
||||
this.languages = mergeDeep(this.languages, value);
|
||||
this.init();
|
||||
}
|
||||
init() {
|
||||
const lang = this.art.option.lang.toLowerCase()
|
||||
this.language = this.languages[lang] || {}
|
||||
}
|
||||
|
||||
get(key) {
|
||||
return this.language[key] || key
|
||||
}
|
||||
|
||||
update(value) {
|
||||
this.languages = mergeDeep(this.languages, value)
|
||||
this.init()
|
||||
}
|
||||
}
|
||||
@@ -1,44 +1,44 @@
|
||||
const pl = {
|
||||
'Video Info': 'Informacje o wideo',
|
||||
Close: 'Zamknij',
|
||||
'Video Load Failed': 'Błąd ładowania wideo',
|
||||
Volume: 'Głośność',
|
||||
Play: 'Odtwórz',
|
||||
Pause: 'Wstrzymaj',
|
||||
Rate: 'Oceń',
|
||||
Mute: 'Wycisz',
|
||||
'Video Flip': 'Rotacja wideo',
|
||||
Horizontal: 'Pozioma',
|
||||
Vertical: 'Pionowa',
|
||||
Reconnect: 'Połącz ponownie',
|
||||
'Show Setting': 'Pokaż ustawienia',
|
||||
'Hide Setting': 'Ukryj ustawienia',
|
||||
Screenshot: 'Zrzut ekranu',
|
||||
'Play Speed': 'Prędkość odtwarzania',
|
||||
'Aspect Ratio': 'Współczynnik proporcji',
|
||||
Default: 'Domyślny',
|
||||
Normal: 'Normalny',
|
||||
Open: 'Otwórz',
|
||||
'Switch Video': 'Przełącz wideo',
|
||||
'Switch Subtitle': 'Przełącz napisy',
|
||||
Fullscreen: 'Pełny ekran',
|
||||
'Exit Fullscreen': 'Zamknij pełny ekran',
|
||||
'Web Fullscreen': 'Tryb pełnej strony',
|
||||
'Exit Web Fullscreen': 'Zamknij tryb pełnej strony',
|
||||
'Mini Player': 'Miniodtwarzacz',
|
||||
'PIP Mode': 'Tryb PiP',
|
||||
'Exit PIP Mode': 'Zamknij tryb PiP',
|
||||
'PIP Not Supported': 'Tryb PiP nieobsługiwany',
|
||||
'Fullscreen Not Supported': 'Pełny ekran nieobsługiwany',
|
||||
'Subtitle Offset': 'Przesunięcie napisów',
|
||||
'Last Seen': 'Ostatnio widziany',
|
||||
'Jump Play': 'Skocz do gry',
|
||||
AirPlay: 'AirPlay',
|
||||
'AirPlay Not Available': 'AirPlay nie jest dostępny',
|
||||
};
|
||||
'Video Info': 'Informacje o wideo',
|
||||
'Close': 'Zamknij',
|
||||
'Video Load Failed': 'Błąd ładowania wideo',
|
||||
'Volume': 'Głośność',
|
||||
'Play': 'Odtwórz',
|
||||
'Pause': 'Wstrzymaj',
|
||||
'Rate': 'Oceń',
|
||||
'Mute': 'Wycisz',
|
||||
'Video Flip': 'Rotacja wideo',
|
||||
'Horizontal': 'Pozioma',
|
||||
'Vertical': 'Pionowa',
|
||||
'Reconnect': 'Połącz ponownie',
|
||||
'Show Setting': 'Pokaż ustawienia',
|
||||
'Hide Setting': 'Ukryj ustawienia',
|
||||
'Screenshot': 'Zrzut ekranu',
|
||||
'Play Speed': 'Prędkość odtwarzania',
|
||||
'Aspect Ratio': 'Współczynnik proporcji',
|
||||
'Default': 'Domyślny',
|
||||
'Normal': 'Normalny',
|
||||
'Open': 'Otwórz',
|
||||
'Switch Video': 'Przełącz wideo',
|
||||
'Switch Subtitle': 'Przełącz napisy',
|
||||
'Fullscreen': 'Pełny ekran',
|
||||
'Exit Fullscreen': 'Zamknij pełny ekran',
|
||||
'Web Fullscreen': 'Tryb pełnej strony',
|
||||
'Exit Web Fullscreen': 'Zamknij tryb pełnej strony',
|
||||
'Mini Player': 'Miniodtwarzacz',
|
||||
'PIP Mode': 'Tryb PiP',
|
||||
'Exit PIP Mode': 'Zamknij tryb PiP',
|
||||
'PIP Not Supported': 'Tryb PiP nieobsługiwany',
|
||||
'Fullscreen Not Supported': 'Pełny ekran nieobsługiwany',
|
||||
'Subtitle Offset': 'Przesunięcie napisów',
|
||||
'Last Seen': 'Ostatnio widziany',
|
||||
'Jump Play': 'Skocz do gry',
|
||||
'AirPlay': 'AirPlay',
|
||||
'AirPlay Not Available': 'AirPlay nie jest dostępny',
|
||||
}
|
||||
|
||||
export default pl;
|
||||
export default pl
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-pl'] = pl;
|
||||
window['artplayer-i18n-pl'] = pl
|
||||
}
|
||||
@@ -1,44 +1,44 @@
|
||||
const ru = {
|
||||
'Video Info': 'Информация',
|
||||
Close: 'Закрыть',
|
||||
'Video Load Failed': 'Ошибка загрузки видео',
|
||||
Volume: 'Громкость',
|
||||
Play: 'Играть',
|
||||
Pause: 'Пауза',
|
||||
Rate: 'Скорость',
|
||||
Mute: 'Заглушить',
|
||||
'Video Flip': 'Развернуть видео',
|
||||
Horizontal: 'Горизонтально',
|
||||
Vertical: 'Вертикально',
|
||||
Reconnect: 'Переподключенине',
|
||||
'Show Setting': 'Показать настройки',
|
||||
'Hide Setting': 'Скрыть настройки',
|
||||
Screenshot: 'Скриншот',
|
||||
'Play Speed': 'Скорость воспроизведения',
|
||||
'Aspect Ratio': 'Соотношение сторон',
|
||||
Default: 'По-умолчанию',
|
||||
Normal: 'Нормальный',
|
||||
Open: 'Открыть',
|
||||
'Switch Video': 'Переключить видео',
|
||||
'Switch Subtitle': 'Переключить субтитры',
|
||||
Fullscreen: 'Полноэкранный режим',
|
||||
'Exit Fullscreen': 'Выход из полноэкранного режима',
|
||||
'Web Fullscreen': 'На все окно браузера',
|
||||
'Exit Web Fullscreen': 'Выход из режима полного окна',
|
||||
'Mini Player': 'Мини проигрыватель',
|
||||
'PIP Mode': 'Картинка в картинке',
|
||||
'Exit PIP Mode': 'Закрыть картинку в картинке',
|
||||
'PIP Not Supported': 'Картинка в картинке не поддерживается',
|
||||
'Fullscreen Not Supported': 'Полноэкранный режим не поддерживается',
|
||||
'Subtitle Offset': 'Настройка субтитров',
|
||||
'Last Seen': 'Последнее просмотренное',
|
||||
'Jump Play': 'Перейти',
|
||||
AirPlay: 'AirPlay',
|
||||
'AirPlay Not Available': 'AirPlay недоступен',
|
||||
};
|
||||
'Video Info': 'Информация',
|
||||
'Close': 'Закрыть',
|
||||
'Video Load Failed': 'Ошибка загрузки видео',
|
||||
'Volume': 'Громкость',
|
||||
'Play': 'Играть',
|
||||
'Pause': 'Пауза',
|
||||
'Rate': 'Скорость',
|
||||
'Mute': 'Заглушить',
|
||||
'Video Flip': 'Развернуть видео',
|
||||
'Horizontal': 'Горизонтально',
|
||||
'Vertical': 'Вертикально',
|
||||
'Reconnect': 'Переподключенине',
|
||||
'Show Setting': 'Показать настройки',
|
||||
'Hide Setting': 'Скрыть настройки',
|
||||
'Screenshot': 'Скриншот',
|
||||
'Play Speed': 'Скорость воспроизведения',
|
||||
'Aspect Ratio': 'Соотношение сторон',
|
||||
'Default': 'По-умолчанию',
|
||||
'Normal': 'Нормальный',
|
||||
'Open': 'Открыть',
|
||||
'Switch Video': 'Переключить видео',
|
||||
'Switch Subtitle': 'Переключить субтитры',
|
||||
'Fullscreen': 'Полноэкранный режим',
|
||||
'Exit Fullscreen': 'Выход из полноэкранного режима',
|
||||
'Web Fullscreen': 'На все окно браузера',
|
||||
'Exit Web Fullscreen': 'Выход из режима полного окна',
|
||||
'Mini Player': 'Мини проигрыватель',
|
||||
'PIP Mode': 'Картинка в картинке',
|
||||
'Exit PIP Mode': 'Закрыть картинку в картинке',
|
||||
'PIP Not Supported': 'Картинка в картинке не поддерживается',
|
||||
'Fullscreen Not Supported': 'Полноэкранный режим не поддерживается',
|
||||
'Subtitle Offset': 'Настройка субтитров',
|
||||
'Last Seen': 'Последнее просмотренное',
|
||||
'Jump Play': 'Перейти',
|
||||
'AirPlay': 'AirPlay',
|
||||
'AirPlay Not Available': 'AirPlay недоступен',
|
||||
}
|
||||
|
||||
export default ru;
|
||||
export default ru
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-ru'] = ru;
|
||||
window['artplayer-i18n-ru'] = ru
|
||||
}
|
||||
@@ -1,44 +1,44 @@
|
||||
const tr = {
|
||||
'Video Info': 'Video Bilgisi',
|
||||
Close: 'Kapat',
|
||||
'Video Load Failed': 'Video Yüklenemedi',
|
||||
Volume: 'Ses Seviyesi',
|
||||
Play: 'Oynat',
|
||||
Pause: 'Duraklat',
|
||||
Rate: 'Hız',
|
||||
Mute: 'Sessize Al',
|
||||
'Video Flip': 'Videoyu Çevir',
|
||||
Horizontal: 'Yatay',
|
||||
Vertical: 'Dikey',
|
||||
Reconnect: 'Yeniden Bağlan',
|
||||
'Show Setting': 'Ayarları Göster',
|
||||
'Hide Setting': 'Ayarları Gizle',
|
||||
Screenshot: 'Ekran Görüntüsü',
|
||||
'Play Speed': 'Oynatma Hızı',
|
||||
'Aspect Ratio': 'En Boy Oranı',
|
||||
Default: 'Varsayılan',
|
||||
Normal: 'Normal',
|
||||
Open: 'Aç',
|
||||
'Switch Video': 'Video Değiştir',
|
||||
'Switch Subtitle': 'Altyazı Değiştir',
|
||||
Fullscreen: 'Tam Ekran',
|
||||
'Exit Fullscreen': 'Tam Ekrandan Çık',
|
||||
'Web Fullscreen': 'Web Tam Ekran',
|
||||
'Exit Web Fullscreen': 'Web Tam Ekranından Çık',
|
||||
'Mini Player': 'Küçük Oynatıcı',
|
||||
'PIP Mode': 'PIP Modu',
|
||||
'Exit PIP Mode': 'PIP Modundan Çık',
|
||||
'PIP Not Supported': 'PIP Desteklenmiyor',
|
||||
'Fullscreen Not Supported': 'Tam Ekran Desteklenmiyor',
|
||||
'Subtitle Offset': 'Altyazı Kaydırma',
|
||||
'Last Seen': 'Son İzlenen',
|
||||
'Jump Play': 'Atla ve Oynat',
|
||||
AirPlay: 'AirPlay',
|
||||
'AirPlay Not Available': 'AirPlay Kullanılamıyor',
|
||||
};
|
||||
'Video Info': 'Video Bilgisi',
|
||||
'Close': 'Kapat',
|
||||
'Video Load Failed': 'Video Yüklenemedi',
|
||||
'Volume': 'Ses Seviyesi',
|
||||
'Play': 'Oynat',
|
||||
'Pause': 'Duraklat',
|
||||
'Rate': 'Hız',
|
||||
'Mute': 'Sessize Al',
|
||||
'Video Flip': 'Videoyu Çevir',
|
||||
'Horizontal': 'Yatay',
|
||||
'Vertical': 'Dikey',
|
||||
'Reconnect': 'Yeniden Bağlan',
|
||||
'Show Setting': 'Ayarları Göster',
|
||||
'Hide Setting': 'Ayarları Gizle',
|
||||
'Screenshot': 'Ekran Görüntüsü',
|
||||
'Play Speed': 'Oynatma Hızı',
|
||||
'Aspect Ratio': 'En Boy Oranı',
|
||||
'Default': 'Varsayılan',
|
||||
'Normal': 'Normal',
|
||||
'Open': 'Aç',
|
||||
'Switch Video': 'Video Değiştir',
|
||||
'Switch Subtitle': 'Altyazı Değiştir',
|
||||
'Fullscreen': 'Tam Ekran',
|
||||
'Exit Fullscreen': 'Tam Ekrandan Çık',
|
||||
'Web Fullscreen': 'Web Tam Ekran',
|
||||
'Exit Web Fullscreen': 'Web Tam Ekranından Çık',
|
||||
'Mini Player': 'Küçük Oynatıcı',
|
||||
'PIP Mode': 'PIP Modu',
|
||||
'Exit PIP Mode': 'PIP Modundan Çık',
|
||||
'PIP Not Supported': 'PIP Desteklenmiyor',
|
||||
'Fullscreen Not Supported': 'Tam Ekran Desteklenmiyor',
|
||||
'Subtitle Offset': 'Altyazı Kaydırma',
|
||||
'Last Seen': 'Son İzlenen',
|
||||
'Jump Play': 'Atla ve Oynat',
|
||||
'AirPlay': 'AirPlay',
|
||||
'AirPlay Not Available': 'AirPlay Kullanılamıyor',
|
||||
}
|
||||
|
||||
export default tr;
|
||||
export default tr
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-tr'] = tr;
|
||||
window['artplayer-i18n-tr'] = tr
|
||||
}
|
||||
@@ -1,44 +1,44 @@
|
||||
const vi = {
|
||||
'Video Info': 'Thông tin video',
|
||||
Close: 'Đóng',
|
||||
'Video Load Failed': 'Tải video thất bại',
|
||||
Volume: 'Âm lượng',
|
||||
Play: 'Phát',
|
||||
Pause: 'Tạm dừng',
|
||||
Rate: 'Tốc độ',
|
||||
Mute: 'Tắt tiếng',
|
||||
'Video Flip': 'Lật video',
|
||||
Horizontal: 'Ngang',
|
||||
Vertical: 'Dọc',
|
||||
Reconnect: 'Kết nối lại',
|
||||
'Show Setting': 'Cài đặt',
|
||||
'Hide Setting': 'Ẩn cài đặt',
|
||||
Screenshot: 'Chụp màn hình',
|
||||
'Play Speed': 'Tốc độ phát',
|
||||
'Aspect Ratio': 'Tỷ lệ khung hình',
|
||||
Default: 'Mặc định',
|
||||
Normal: 'Bình thường',
|
||||
Open: 'Mở',
|
||||
'Switch Video': 'Chuyển video',
|
||||
'Switch Subtitle': 'Chuyển phụ đề',
|
||||
Fullscreen: 'Toàn màn hình',
|
||||
'Exit Fullscreen': 'Thoát toàn màn hình',
|
||||
'Web Fullscreen': 'Toàn màn hình trình duyệt',
|
||||
'Exit Web Fullscreen': 'Thoát toàn màn hình trình duyệt',
|
||||
'Mini Player': 'Trình phát mini',
|
||||
'PIP Mode': 'Phát trong hình',
|
||||
'Exit PIP Mode': 'Thoát phát trong hình',
|
||||
'PIP Not Supported': 'Không hỗ trợ phát trong hình',
|
||||
'Fullscreen Not Supported': 'Không hỗ trợ toàn màn hình',
|
||||
'Subtitle Offset': 'Độ trễ phụ đề',
|
||||
'Last Seen': 'Lần xem cuối',
|
||||
'Jump Play': 'Nhảy đến đoạn phát',
|
||||
AirPlay: 'AirPlay',
|
||||
'AirPlay Not Available': 'AirPlay không khả dụng',
|
||||
};
|
||||
'Video Info': 'Thông tin video',
|
||||
'Close': 'Đóng',
|
||||
'Video Load Failed': 'Tải video thất bại',
|
||||
'Volume': 'Âm lượng',
|
||||
'Play': 'Phát',
|
||||
'Pause': 'Tạm dừng',
|
||||
'Rate': 'Tốc độ',
|
||||
'Mute': 'Tắt tiếng',
|
||||
'Video Flip': 'Lật video',
|
||||
'Horizontal': 'Ngang',
|
||||
'Vertical': 'Dọc',
|
||||
'Reconnect': 'Kết nối lại',
|
||||
'Show Setting': 'Cài đặt',
|
||||
'Hide Setting': 'Ẩn cài đặt',
|
||||
'Screenshot': 'Chụp màn hình',
|
||||
'Play Speed': 'Tốc độ phát',
|
||||
'Aspect Ratio': 'Tỷ lệ khung hình',
|
||||
'Default': 'Mặc định',
|
||||
'Normal': 'Bình thường',
|
||||
'Open': 'Mở',
|
||||
'Switch Video': 'Chuyển video',
|
||||
'Switch Subtitle': 'Chuyển phụ đề',
|
||||
'Fullscreen': 'Toàn màn hình',
|
||||
'Exit Fullscreen': 'Thoát toàn màn hình',
|
||||
'Web Fullscreen': 'Toàn màn hình trình duyệt',
|
||||
'Exit Web Fullscreen': 'Thoát toàn màn hình trình duyệt',
|
||||
'Mini Player': 'Trình phát mini',
|
||||
'PIP Mode': 'Phát trong hình',
|
||||
'Exit PIP Mode': 'Thoát phát trong hình',
|
||||
'PIP Not Supported': 'Không hỗ trợ phát trong hình',
|
||||
'Fullscreen Not Supported': 'Không hỗ trợ toàn màn hình',
|
||||
'Subtitle Offset': 'Độ trễ phụ đề',
|
||||
'Last Seen': 'Lần xem cuối',
|
||||
'Jump Play': 'Nhảy đến đoạn phát',
|
||||
'AirPlay': 'AirPlay',
|
||||
'AirPlay Not Available': 'AirPlay không khả dụng',
|
||||
}
|
||||
|
||||
export default vi;
|
||||
export default vi
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-vi'] = vi;
|
||||
window['artplayer-i18n-vi'] = vi
|
||||
}
|
||||
@@ -1,44 +1,44 @@
|
||||
const zhCn = {
|
||||
'Video Info': '统计信息',
|
||||
Close: '关闭',
|
||||
'Video Load Failed': '加载失败',
|
||||
Volume: '音量',
|
||||
Play: '播放',
|
||||
Pause: '暂停',
|
||||
Rate: '速度',
|
||||
Mute: '静音',
|
||||
'Video Flip': '画面翻转',
|
||||
Horizontal: '水平',
|
||||
Vertical: '垂直',
|
||||
Reconnect: '重新连接',
|
||||
'Show Setting': '显示设置',
|
||||
'Hide Setting': '隐藏设置',
|
||||
Screenshot: '截图',
|
||||
'Play Speed': '播放速度',
|
||||
'Aspect Ratio': '画面比例',
|
||||
Default: '默认',
|
||||
Normal: '正常',
|
||||
Open: '打开',
|
||||
'Switch Video': '切换',
|
||||
'Switch Subtitle': '切换字幕',
|
||||
Fullscreen: '全屏',
|
||||
'Exit Fullscreen': '退出全屏',
|
||||
'Web Fullscreen': '网页全屏',
|
||||
'Exit Web Fullscreen': '退出网页全屏',
|
||||
'Mini Player': '迷你播放器',
|
||||
'PIP Mode': '开启画中画',
|
||||
'Exit PIP Mode': '退出画中画',
|
||||
'PIP Not Supported': '不支持画中画',
|
||||
'Fullscreen Not Supported': '不支持全屏',
|
||||
'Subtitle Offset': '字幕偏移',
|
||||
'Last Seen': '上次看到',
|
||||
'Jump Play': '跳转播放',
|
||||
AirPlay: '隔空播放',
|
||||
'AirPlay Not Available': '隔空播放不可用',
|
||||
};
|
||||
'Video Info': '统计信息',
|
||||
'Close': '关闭',
|
||||
'Video Load Failed': '加载失败',
|
||||
'Volume': '音量',
|
||||
'Play': '播放',
|
||||
'Pause': '暂停',
|
||||
'Rate': '速度',
|
||||
'Mute': '静音',
|
||||
'Video Flip': '画面翻转',
|
||||
'Horizontal': '水平',
|
||||
'Vertical': '垂直',
|
||||
'Reconnect': '重新连接',
|
||||
'Show Setting': '显示设置',
|
||||
'Hide Setting': '隐藏设置',
|
||||
'Screenshot': '截图',
|
||||
'Play Speed': '播放速度',
|
||||
'Aspect Ratio': '画面比例',
|
||||
'Default': '默认',
|
||||
'Normal': '正常',
|
||||
'Open': '打开',
|
||||
'Switch Video': '切换',
|
||||
'Switch Subtitle': '切换字幕',
|
||||
'Fullscreen': '全屏',
|
||||
'Exit Fullscreen': '退出全屏',
|
||||
'Web Fullscreen': '网页全屏',
|
||||
'Exit Web Fullscreen': '退出网页全屏',
|
||||
'Mini Player': '迷你播放器',
|
||||
'PIP Mode': '开启画中画',
|
||||
'Exit PIP Mode': '退出画中画',
|
||||
'PIP Not Supported': '不支持画中画',
|
||||
'Fullscreen Not Supported': '不支持全屏',
|
||||
'Subtitle Offset': '字幕偏移',
|
||||
'Last Seen': '上次看到',
|
||||
'Jump Play': '跳转播放',
|
||||
'AirPlay': '隔空播放',
|
||||
'AirPlay Not Available': '隔空播放不可用',
|
||||
}
|
||||
|
||||
export default zhCn;
|
||||
export default zhCn
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-zh-cn'] = zhCn;
|
||||
window['artplayer-i18n-zh-cn'] = zhCn
|
||||
}
|
||||
@@ -1,44 +1,44 @@
|
||||
const zhTw = {
|
||||
'Video Info': '統計訊息',
|
||||
Close: '關閉',
|
||||
'Video Load Failed': '載入失敗',
|
||||
Volume: '音量',
|
||||
Play: '播放',
|
||||
Pause: '暫停',
|
||||
Rate: '速度',
|
||||
Mute: '靜音',
|
||||
'Video Flip': '畫面翻轉',
|
||||
Horizontal: '水平',
|
||||
Vertical: '垂直',
|
||||
Reconnect: '重新連接',
|
||||
'Show Setting': '顯示设置',
|
||||
'Hide Setting': '隱藏设置',
|
||||
Screenshot: '截圖',
|
||||
'Play Speed': '播放速度',
|
||||
'Aspect Ratio': '畫面比例',
|
||||
Default: '默認',
|
||||
Normal: '正常',
|
||||
Open: '打開',
|
||||
'Switch Video': '切換',
|
||||
'Switch Subtitle': '切換字幕',
|
||||
Fullscreen: '全屏',
|
||||
'Exit Fullscreen': '退出全屏',
|
||||
'Web Fullscreen': '網頁全屏',
|
||||
'Exit Web Fullscreen': '退出網頁全屏',
|
||||
'Mini Player': '迷你播放器',
|
||||
'PIP Mode': '開啟畫中畫',
|
||||
'Exit PIP Mode': '退出畫中畫',
|
||||
'PIP Not Supported': '不支持畫中畫',
|
||||
'Fullscreen Not Supported': '不支持全屏',
|
||||
'Subtitle Offset': '字幕偏移',
|
||||
'Last Seen': '上次看到',
|
||||
'Jump Play': '跳轉播放',
|
||||
AirPlay: '隔空播放',
|
||||
'AirPlay Not Available': '隔空播放不可用',
|
||||
};
|
||||
'Video Info': '統計訊息',
|
||||
'Close': '關閉',
|
||||
'Video Load Failed': '載入失敗',
|
||||
'Volume': '音量',
|
||||
'Play': '播放',
|
||||
'Pause': '暫停',
|
||||
'Rate': '速度',
|
||||
'Mute': '靜音',
|
||||
'Video Flip': '畫面翻轉',
|
||||
'Horizontal': '水平',
|
||||
'Vertical': '垂直',
|
||||
'Reconnect': '重新連接',
|
||||
'Show Setting': '顯示设置',
|
||||
'Hide Setting': '隱藏设置',
|
||||
'Screenshot': '截圖',
|
||||
'Play Speed': '播放速度',
|
||||
'Aspect Ratio': '畫面比例',
|
||||
'Default': '默認',
|
||||
'Normal': '正常',
|
||||
'Open': '打開',
|
||||
'Switch Video': '切換',
|
||||
'Switch Subtitle': '切換字幕',
|
||||
'Fullscreen': '全屏',
|
||||
'Exit Fullscreen': '退出全屏',
|
||||
'Web Fullscreen': '網頁全屏',
|
||||
'Exit Web Fullscreen': '退出網頁全屏',
|
||||
'Mini Player': '迷你播放器',
|
||||
'PIP Mode': '開啟畫中畫',
|
||||
'Exit PIP Mode': '退出畫中畫',
|
||||
'PIP Not Supported': '不支持畫中畫',
|
||||
'Fullscreen Not Supported': '不支持全屏',
|
||||
'Subtitle Offset': '字幕偏移',
|
||||
'Last Seen': '上次看到',
|
||||
'Jump Play': '跳轉播放',
|
||||
'AirPlay': '隔空播放',
|
||||
'AirPlay Not Available': '隔空播放不可用',
|
||||
}
|
||||
|
||||
export default zhTw;
|
||||
export default zhTw
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-zh-tw'] = zhTw;
|
||||
window['artplayer-i18n-zh-tw'] = zhTw
|
||||
}
|
||||
Reference in new issue
Block a user