remove i18n

This commit is contained in:
Harvey Zack committed 2023-08-27 12:41:27 +08:00
1 parent ce012c1626
commit 1fe653e3c3
11 files changed
-470

No files matched your search

-44
View File
@@ -1,44 +0,0 @@
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"
}
export default cs;
if (typeof window !== 'undefined') {
window['artplayer-i18n-cs'] = cs;
}
-44
View File
@@ -1,44 +0,0 @@
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"
}
export default es;
if (typeof window !== 'undefined') {
window['artplayer-i18n-es'] = es;
}
-44
View File
@@ -1,44 +0,0 @@
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": "عدم پشتیبانی از ایرپلی"
}
export default fa;
if (typeof window !== 'undefined') {
window['artplayer-i18n-fa'] = fa;
}
-44
View File
@@ -1,44 +0,0 @@
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"
}
export default fr;
if (typeof window !== 'undefined') {
window['artplayer-i18n-fr'] = fr;
}
-44
View File
@@ -1,44 +0,0 @@
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"
}
export default id;
if (typeof window !== 'undefined') {
window['artplayer-i18n-id'] = id;
}
-30
View File
@@ -1,30 +0,0 @@
import { mergeDeep } from '../utils';
import zhCn from './zh-cn';
export default class I18n {
constructor(art) {
this.art = art;
this.languages = {
'zh-cn': zhCn,
};
this.language = {};
this.update(art.option.i18n);
}
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();
}
}
-44
View File
@@ -1,44 +0,0 @@
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"
}
export default pl;
if (typeof window !== 'undefined') {
window['artplayer-i18n-pl'] = pl;
}
-44
View File
@@ -1,44 +0,0 @@
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 недоступен"
}
export default ru;
if (typeof window !== 'undefined') {
window['artplayer-i18n-ru'] = ru;
}
-44
View File
@@ -1,44 +0,0 @@
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"
}
export default tr;
if (typeof window !== 'undefined') {
window['artplayer-i18n-tr'] = tr;
}
-44
View File
@@ -1,44 +0,0 @@
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": "隔空播放不可用"
}
export default zhCn;
if (typeof window !== 'undefined') {
window['artplayer-i18n-zh-cn'] = zhCn;
}
-44
View File
@@ -1,44 +0,0 @@
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": "隔空播放不可用"
}
export default zhTw;
if (typeof window !== 'undefined') {
window['artplayer-i18n-zh-tw'] = zhTw;
}