diff --git a/commitlint.config.js b/commitlint.config.js index 63f104fa..3123ebe0 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -23,6 +23,7 @@ export default { 'element', 'docs', 'html', + 'i18n', 'icons', 'packages', 'plan', diff --git a/cspell.json b/cspell.json index d1ccc4bd..f8359805 100644 --- a/cspell.json +++ b/cspell.json @@ -1,6 +1,6 @@ { "version": "0.2", - "ignorePaths": ["package.json", "tsconfig.json"], + "ignorePaths": ["package.json", "tsconfig.json", "packages/core/src/core/i18n/locales/!(all|en).ts"], "dictionaryDefinitions": [], "dictionaries": ["css", "html", "node", "typescript", "npm"], "words": [ @@ -19,9 +19,7 @@ "shiki", "squircle", "videojs", - "vidstack", - "vitesse", - "wouter" + "vidstack" ], "ignoreWords": [], "import": [] diff --git a/packages/core/README.md b/packages/core/README.md index 3ace77f4..d9931578 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -10,6 +10,28 @@ packages. These are foundational building blocks used by platform-specific implementations (DOM, HTML, React, React Native) to create consistent media player experiences. +## Update i18n copy + +The i18n source of truth lives in `src/core/i18n`. Translation keys are the default English +phrases, so changing English copy also changes the typed key consumers use. + +When you add, rename, or remove player copy: + +1. Update `src/core/i18n/types.ts`. + Add the new phrase to `TranslationParams`, include any placeholder params, and remove replaced + phrases so stale keys fail typecheck. +2. Update `src/core/i18n/locales/en.ts`. + Keep the English locale complete. It must satisfy `Translations`, not `Partial`. +3. Update every non-English file in `src/core/i18n/locales`. + Move existing translations to the new phrase keys when the meaning is unchanged, add translations + for new phrases, and remove replaced phrase keys. +4. Update call sites and tests. + Any helper that returns a translation key, such as error-dialog copy, must return the new phrase. +5. Run `pnpm -F @videojs/core run generate:locales`. + This refreshes `locales/all.ts`, `load-locale.ts`, and the HTML/React locale re-export files. +6. Run focused tests and typecheck. + At minimum, run the package tests that cover the changed copy and `pnpm typecheck`. + ## Community If you need help with anything related to Video.js v10, or if you'd like to casually chat with other diff --git a/packages/core/src/core/i18n/locales/ar.ts b/packages/core/src/core/i18n/locales/ar.ts index cd197d85..71afc6c9 100644 --- a/packages/core/src/core/i18n/locales/ar.ts +++ b/packages/core/src/core/i18n/locales/ar.ts @@ -41,16 +41,18 @@ export default { 'Exit fullscreen': 'الخروج من ملء الشاشة', 'Picture in picture': 'صورة داخل صورة', 'Exit picture in picture': 'الخروج من صورة داخل صورة', - 'You aborted the media playback': 'لقد ألغيت تشغيل الفيديو', - 'A network error caused the media download to fail.': 'تسبب خطأ في الشبكة بفشل تحميل الفيديو بالكامل.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'لقد ألغيت تشغيل الفيديو', + 'This media could not be loaded due to a network or server issue.': 'تسبب خطأ في الشبكة بفشل تحميل الفيديو بالكامل.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'تم إيقاف تشغيل الفيديو بسبب عدم صلاحية الفيديو أو لأن الفيديو المستخدم يستخدم ميزات غير مدعومة من متصفحك.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'لا يمكن تحميل الفيديو بسبب فشل في الخادم أو الشبكة ، أو بسبب عدم إمكانية قراءة تنسيق الفيديو.', - 'The media is encrypted and there are no keys to decrypt it.': 'الوسائط مشفرة وليس لدينا الرموز اللازمة لفك شفرتها.', + 'This media could not be played because it could not be decrypted.': + 'الوسائط مشفرة وليس لدينا الرموز اللازمة لفك شفرتها.', '': '', 'Something went wrong.': 'حدث خطأ ما.', OK: 'أغلق', + 'An unexpected error occurred.': 'حدث خطأ. يُرجى المحاولة مرة أخرى.', Settings: 'الإعدادات', Quality: 'الجودة', Audio: 'الصوت', @@ -63,5 +65,4 @@ export default { Auto: 'تلقائي', 'Auto ({label})': 'تلقائي ({label})', Subtitles: 'الترجمة', - 'An error occurred. Please try again.': 'حدث خطأ. يُرجى المحاولة مرة أخرى.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/az.ts b/packages/core/src/core/i18n/locales/az.ts index d0746d89..56e5985b 100644 --- a/packages/core/src/core/i18n/locales/az.ts +++ b/packages/core/src/core/i18n/locales/az.ts @@ -41,17 +41,19 @@ export default { 'Exit fullscreen': 'Tam ekrandan çıx', 'Picture in picture': 'Şəkil içində şəkil', 'Exit picture in picture': 'Şəkil içində şəkildən çıxın', - 'You aborted the media playback': 'Siz medianın oxudulmasını dayandırdınız', - 'A network error caused the media download to fail.': 'Şəbəkə xətası səbəbindən medianın endirilməsi yarıda qaldı.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'Siz medianın oxudulmasını dayandırdınız', + 'This media could not be loaded due to a network or server issue.': + 'Şəbəkə xətası səbəbindən medianın endirilməsi yarıda qaldı.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'Media faylının korlanması səbəbilə və ya media faylın brauzerinizin dəstəkləmədiyi funksiyalardan istifadə etdiyinə görə medianın oxudulması dayandırılıb.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Yükləmə xətası.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'Media faylı şifrələnib və onun şifrəsini açmaq üçün açarlar yoxdur.', '': '', 'Something went wrong.': 'Bir şey yanlış getdi.', OK: 'Bağla', + 'An unexpected error occurred.': 'Xəta baş verdi. Yenidən cəhd edin.', Settings: 'Parametrlər', Quality: 'Keyfiyyət', Audio: 'Səs', @@ -64,5 +66,4 @@ export default { Auto: 'Avtomatik', 'Auto ({label})': 'Avtomatik ({label})', Subtitles: 'Altyazılar', - 'An error occurred. Please try again.': 'Xəta baş verdi. Yenidən cəhd edin.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/bg.ts b/packages/core/src/core/i18n/locales/bg.ts index df305e2c..2b3dc38c 100644 --- a/packages/core/src/core/i18n/locales/bg.ts +++ b/packages/core/src/core/i18n/locales/bg.ts @@ -41,16 +41,19 @@ export default { 'Exit fullscreen': 'Изход от цял екран', 'Picture in picture': 'Картина в картина', 'Exit picture in picture': 'Изход от картина в картина', - 'You aborted the media playback': 'Спряхте възпроизвеждането на видеото', - 'A network error caused the media download to fail.': 'Грешка в мрежата провали изтеглянето на видеото.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'Спряхте възпроизвеждането на видеото', + 'This media could not be loaded due to a network or server issue.': + 'Грешка в мрежата провали изтеглянето на видеото.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'Възпроизвеждането на видеото беше прекъснато заради проблем с файла или защото видеото използва опции които браузърът Ви не поддържа.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Видеото не може да бъде заредено заради проблем със сървъра или мрежата или защото този формат не е поддържан.', - 'The media is encrypted and there are no keys to decrypt it.': 'Медията е шифрована и няма ключове за дешифриране.', + 'This media could not be played because it could not be decrypted.': + 'Медията е шифрована и няма ключове за дешифриране.', '': '', 'Something went wrong.': 'Нещо се обърка.', OK: 'OK', + 'An unexpected error occurred.': 'Възникна грешка. Моля, опитайте отново.', Settings: 'Настройки', Quality: 'Качество', Audio: 'Аудио', @@ -63,5 +66,4 @@ export default { Auto: 'Авто', 'Auto ({label})': 'Авто ({label})', Subtitles: 'Субтитри', - 'An error occurred. Please try again.': 'Възникна грешка. Моля, опитайте отново.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/bn.ts b/packages/core/src/core/i18n/locales/bn.ts index d56c18d5..23dbabe3 100644 --- a/packages/core/src/core/i18n/locales/bn.ts +++ b/packages/core/src/core/i18n/locales/bn.ts @@ -41,17 +41,19 @@ export default { 'Exit fullscreen': 'পূর্ণ স্ক্রীন থেকে বেরিয়ে আসুন', 'Picture in picture': 'পিকচার ইন পিকচার', 'Exit picture in picture': 'পিকচার ইন পিকচার থেকে বেরিয়ে আসুন', - 'You aborted the media playback': 'আপনি মিডিয়া প্লেব্যাক বাতিল করেছেন', - 'A network error caused the media download to fail.': 'একটি নেটওয়ার্ক ত্রুটির কারণে মিডিয়া ডাউনলোড আংশিকভাবে ব্যর্থ হয়েছে৷', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'আপনি মিডিয়া প্লেব্যাক বাতিল করেছেন', + 'This media could not be loaded due to a network or server issue.': + 'একটি নেটওয়ার্ক ত্রুটির কারণে মিডিয়া ডাউনলোড আংশিকভাবে ব্যর্থ হয়েছে৷', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'মিডিয়া প্লেব্যাক একটি সমস্যার কারণে বা মিডিয়া ব্যবহার করা বৈশিষ্ট্যগুলি আপনার ব্রাউজার সমর্থন করে না বলে বাতিল করা হয়েছে৷', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'মিডিয়া লোড করা যায়নি, হয় সার্ভার বা নেটওয়ার্ক ব্যর্থ হওয়ার কারণে বা ফর্ম্যাটটি সমর্থিত নয়।', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'মিডিয়া এনক্রিপ্ট করা হয়েছে এবং এটি ডিক্রিপ্ট করার সমাধান আমাদের কাছে নেই।', '': '', 'Something went wrong.': 'কিছু একটা ভুল হয়েছে।', OK: 'বন্ধ করুন', + 'An unexpected error occurred.': 'একটি ত্রুটি ঘটেছে। আবার চেষ্টা করুন।', Settings: 'সেটিংস', Quality: 'গুণমান', Audio: 'অডিও', @@ -64,5 +66,4 @@ export default { Auto: 'স্বয়ংক্রিয়', 'Auto ({label})': 'স্বয়ংক্রিয় ({label})', Subtitles: 'সাবটাইটেল', - 'An error occurred. Please try again.': 'একটি ত্রুটি ঘটেছে। আবার চেষ্টা করুন।', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/bs.ts b/packages/core/src/core/i18n/locales/bs.ts index c8256e14..93056498 100644 --- a/packages/core/src/core/i18n/locales/bs.ts +++ b/packages/core/src/core/i18n/locales/bs.ts @@ -41,16 +41,19 @@ export default { 'Exit fullscreen': 'Izlaz iz punog ekrana', 'Picture in picture': 'Slika u slici', 'Exit picture in picture': 'Izlaz iz slike u slici', - 'You aborted the media playback': 'Isključili ste reprodukciju videa.', - 'A network error caused the media download to fail.': 'Video se prestao preuzimati zbog greške na mreži.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'Isključili ste reprodukciju videa.', + 'This media could not be loaded due to a network or server issue.': + 'Video se prestao preuzimati zbog greške na mreži.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'Reprodukcija videa je zaustavljenja zbog greške u formatu ili zbog verzije vašeg pretraživača.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Video se ne može reproducirati zbog servera, greške u mreži ili je format ne podržan.', - 'The media is encrypted and there are no keys to decrypt it.': 'Medij je šifriran i nema ključeva za dešifriranje.', + 'This media could not be played because it could not be decrypted.': + 'Medij je šifriran i nema ključeva za dešifriranje.', '': '', 'Something went wrong.': 'Nešto je pošlo po krivu.', OK: 'OK', + 'An unexpected error occurred.': 'Došlo je do greške. Pokušajte ponovo.', Settings: 'Postavke', Quality: 'Kvalitet', Audio: 'Zvuk', @@ -63,5 +66,4 @@ export default { Auto: 'Automatski', 'Auto ({label})': 'Automatski ({label})', Subtitles: 'Titlovi', - 'An error occurred. Please try again.': 'Došlo je do greške. Pokušajte ponovo.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/ca.ts b/packages/core/src/core/i18n/locales/ca.ts index 76ee1aed..26f43389 100644 --- a/packages/core/src/core/i18n/locales/ca.ts +++ b/packages/core/src/core/i18n/locales/ca.ts @@ -41,17 +41,19 @@ export default { 'Exit fullscreen': 'Surt de pantalla completa', 'Picture in picture': 'Imatge en imatge', 'Exit picture in picture': 'Surt de la imatge en imatge', - 'You aborted the media playback': 'Has interromput la reproducció del contingut', - 'A network error caused the media download to fail.': 'Un error de xarxa ha interromput la descàrrega del contingut.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'Has interromput la reproducció del contingut', + 'This media could not be loaded due to a network or server issue.': + 'Un error de xarxa ha interromput la descàrrega del contingut.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': "La reproducció del contingut s'ha interromput a causa d'un problema de corrupció o perquè el contingut fa servir funcions que el teu navegador no suporta.", - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': "No s'ha pogut carregar el contingut, ja sigui perquè el servidor o la xarxa han fallat o perquè el format no està suportat.", - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'El contingut està xifrat i no disposem de les claus per desxifrar-lo.', '': '', 'Something went wrong.': 'Alguna cosa ha anat malament.', OK: 'Tancar', + 'An unexpected error occurred.': "S'ha produït un error. Torneu-ho a intentar.", Settings: 'Configuració', Quality: 'Qualitat', Audio: 'Àudio', @@ -64,5 +66,4 @@ export default { Auto: 'Automàtic', 'Auto ({label})': 'Automàtic ({label})', Subtitles: 'Subtítols', - 'An error occurred. Please try again.': "S'ha produït un error. Torneu-ho a intentar.", } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/cs.ts b/packages/core/src/core/i18n/locales/cs.ts index 14cd59b8..ca461b47 100644 --- a/packages/core/src/core/i18n/locales/cs.ts +++ b/packages/core/src/core/i18n/locales/cs.ts @@ -41,16 +41,17 @@ export default { 'Exit fullscreen': 'Ukončit celou obrazovku', 'Picture in picture': 'Obraz v obraze', 'Exit picture in picture': 'Ukončit obraz v obraze', - 'You aborted the media playback': 'Přehrávání videa bylo přerušeno.', - 'A network error caused the media download to fail.': 'Video nemohlo být načteno kvůli chybě v síti.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'Přehrávání videa bylo přerušeno.', + 'This media could not be loaded due to a network or server issue.': 'Video nemohlo být načteno kvůli chybě v síti.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'Váš prohlížeč nepodporuje tento formát videa.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Video nemohlo být načteno, buď kvůli chybě serveru, sítě nebo proto, že daný formát není podporován.', - 'The media is encrypted and there are no keys to decrypt it.': 'Chyba při dešifrování videa.', + 'This media could not be played because it could not be decrypted.': 'Chyba při dešifrování videa.', '': '', 'Something went wrong.': 'Něco se pokazilo.', OK: 'Zavřít', + 'An unexpected error occurred.': 'Došlo k chybě. Zkuste to prosím znovu.', Settings: 'Nastavení', Quality: 'Kvalita', Audio: 'Zvuk', @@ -63,5 +64,4 @@ export default { Auto: 'Automaticky', 'Auto ({label})': 'Automaticky ({label})', Subtitles: 'Titulky', - 'An error occurred. Please try again.': 'Došlo k chybě. Zkuste to prosím znovu.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/cy.ts b/packages/core/src/core/i18n/locales/cy.ts index 53adb74a..e961006f 100644 --- a/packages/core/src/core/i18n/locales/cy.ts +++ b/packages/core/src/core/i18n/locales/cy.ts @@ -41,17 +41,19 @@ export default { 'Exit fullscreen': 'Gadael sgrîn lawn', 'Picture in picture': 'Llun mewn llun', 'Exit picture in picture': 'Gadael llun mewn llun', - 'You aborted the media playback': 'Atalwyd y fideo gennych', - 'A network error caused the media download to fail.': 'Mae gwall rhwydwaith wedi achosi methiant lawrlwytho.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'Atalwyd y fideo gennych', + 'This media could not be loaded due to a network or server issue.': + 'Mae gwall rhwydwaith wedi achosi methiant lawrlwytho.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': "Atalwyd y fideo oherwydd problem llygredd data neu oherwydd nid yw'ch porwr yn cefnogi nodweddion penodol o'r fideo.", - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': "Ni lwythodd y fideo, oherwydd methiant gweinydd neu rwydwaith, neu achos nid yw'r system yn cefnogi'r fformat.", - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': "Mae'r fideo wedi ei amgryptio ac nid oes allweddion gennym.", '': '', 'Something went wrong.': "Aeth rhywbeth o'i le.", OK: 'Cau', + 'An unexpected error occurred.': 'Digwyddodd gwall. Ceisiwch eto.', Settings: 'Gosodiadau', Quality: 'Ansawdd', Audio: 'Sain', @@ -64,5 +66,4 @@ export default { Auto: 'Awtomatig', 'Auto ({label})': 'Awtomatig ({label})', Subtitles: 'Isdeitlau', - 'An error occurred. Please try again.': 'Digwyddodd gwall. Ceisiwch eto.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/da.ts b/packages/core/src/core/i18n/locales/da.ts index 32b16a18..db41937d 100644 --- a/packages/core/src/core/i18n/locales/da.ts +++ b/packages/core/src/core/i18n/locales/da.ts @@ -41,17 +41,19 @@ export default { 'Exit fullscreen': 'Luk fuldskærm', 'Picture in picture': 'Billede i billede', 'Exit picture in picture': 'Afslut billede i billede', - 'You aborted the media playback': 'Du afbrød videoafspilningen.', - 'A network error caused the media download to fail.': 'En netværksfejl fik download af videoen til at fejle.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'Du afbrød videoafspilningen.', + 'This media could not be loaded due to a network or server issue.': + 'En netværksfejl fik download af videoen til at fejle.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'Videoafspilningen blev afbrudt på grund af ødelagte data eller fordi videoen benyttede faciliteter som din browser ikke understøtter.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Videoen kunne ikke indlæses, enten fordi serveren eller netværket fejlede, eller fordi formatet ikke er understøttet.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'Mediet er krypteret, og der er ingen nøgler til at dekryptere det.', '': '', 'Something went wrong.': 'Noget gik galt.', OK: 'OK', + 'An unexpected error occurred.': 'Der opstod en fejl. Prøv igen.', Settings: 'Indstillinger', Quality: 'Kvalitet', Audio: 'Lyd', @@ -64,5 +66,4 @@ export default { Auto: 'Auto', 'Auto ({label})': 'Auto ({label})', Subtitles: 'Undertekster', - 'An error occurred. Please try again.': 'Der opstod en fejl. Prøv igen.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/de.ts b/packages/core/src/core/i18n/locales/de.ts index 37af90bc..cbdf1b22 100644 --- a/packages/core/src/core/i18n/locales/de.ts +++ b/packages/core/src/core/i18n/locales/de.ts @@ -41,18 +41,19 @@ export default { 'Exit fullscreen': 'Vollbild beenden', 'Picture in picture': 'Bild-in-Bild', 'Exit picture in picture': 'Bild-in-Bild beenden', - 'You aborted the media playback': 'Sie haben die Videowiedergabe abgebrochen.', - 'A network error caused the media download to fail.': + 'You stopped media playback before it finished.': 'Sie haben die Videowiedergabe abgebrochen.', + 'This media could not be loaded due to a network or server issue.': 'Der Videodownload ist aufgrund eines Netzwerkfehlers fehlgeschlagen.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'Die Videowiedergabe wurde entweder wegen eines Problems mit einem beschädigten Video oder wegen verwendeten Funktionen, die vom Browser nicht unterstützt werden, abgebrochen.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Das Video konnte nicht geladen werden, da entweder ein Server- oder Netzwerkfehler auftrat oder das Format nicht unterstützt wird.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'Die Entschlüsselungsschlüssel für den verschlüsselten Medieninhalt sind nicht verfügbar.', '': '', 'Something went wrong.': 'Etwas ist schiefgelaufen.', OK: 'Schließen', + 'An unexpected error occurred.': 'Ein Fehler ist aufgetreten. Bitte versuchen Sie es erneut.', Settings: 'Einstellungen', Quality: 'Qualität', Audio: 'Ton', @@ -65,5 +66,4 @@ export default { Auto: 'Auto', 'Auto ({label})': 'Auto ({label})', Subtitles: 'Untertitel', - 'An error occurred. Please try again.': 'Ein Fehler ist aufgetreten. Bitte versuchen Sie es erneut.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/el.ts b/packages/core/src/core/i18n/locales/el.ts index 3d38f11e..bab33940 100644 --- a/packages/core/src/core/i18n/locales/el.ts +++ b/packages/core/src/core/i18n/locales/el.ts @@ -41,18 +41,19 @@ export default { 'Exit fullscreen': 'Έξοδος από πλήρη οθόνη', 'Picture in picture': 'Εικόνα μέσα σε εικόνα', 'Exit picture in picture': 'Έξοδος από εικόνα μέσα σε εικόνα', - 'You aborted the media playback': 'Ακυρώσατε την αναπαραγωγή', - 'A network error caused the media download to fail.': + 'You stopped media playback before it finished.': 'Ακυρώσατε την αναπαραγωγή', + 'This media could not be loaded due to a network or server issue.': 'Ένα σφάλμα δικτύου προκάλεσε την αποτυχία μεταφόρτωσης του αρχείου προς αναπαραγωγή.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'Η αναπαραγωγή ακυρώθηκε είτε λόγω κατεστραμμένου αρχείου, είτε γιατί το αρχείο απαιτεί λειτουργίες που δεν υποστηρίζονται από το πρόγραμμα περιήγησης που χρησιμοποιείτε.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Το αρχείο προς αναπαραγωγή δεν ήταν δυνατό να φορτωθεί είτε γιατί υπήρξε σφάλμα στον διακομιστή ή το δίκτυο, είτε γιατί ο τύπος του αρχείου δεν υποστηρίζεται.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'Το αρχείο προς αναπαραγωγή είναι κρυπτογραφημένo και δεν υπάρχουν τα απαραίτητα κλειδιά αποκρυπτογράφησης.', '': '', 'Something went wrong.': 'Κάτι πήγε στραβά.', OK: 'Κλείσιμο', + 'An unexpected error occurred.': 'Παρουσιάστηκε σφάλμα. Δοκιμάστε ξανά.', Settings: 'Ρυθμίσεις', Quality: 'Ποιότητα', Audio: 'Ήχος', @@ -65,5 +66,4 @@ export default { Auto: 'Αυτόματα', 'Auto ({label})': 'Αυτόματα ({label})', Subtitles: 'Υπότιτλοι', - 'An error occurred. Please try again.': 'Παρουσιάστηκε σφάλμα. Δοκιμάστε ξανά.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/en.ts b/packages/core/src/core/i18n/locales/en.ts index efa0c16a..c3d5787f 100644 --- a/packages/core/src/core/i18n/locales/en.ts +++ b/packages/core/src/core/i18n/locales/en.ts @@ -42,18 +42,19 @@ export default { 'Exit fullscreen': 'Exit fullscreen', 'Picture in picture': 'Picture in picture', 'Exit picture in picture': 'Exit picture in picture', - 'You aborted the media playback': 'You aborted the media playback', - 'A network error caused the media download to fail.': 'A network error caused the media download to fail.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.', - 'The media is encrypted and there are no keys to decrypt it.': - 'The media is encrypted and there are no keys to decrypt it.', + 'You stopped media playback before it finished.': 'You stopped media playback before it finished.', + 'This media could not be loaded due to a network or server issue.': + 'This media could not be loaded due to a network or server issue.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': + 'This media could not be played. It may be corrupted, or your browser may not support its format.', + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.', + 'This media could not be played because it could not be decrypted.': + 'This media could not be played because it could not be decrypted.', '': '', 'Something went wrong.': 'Something went wrong.', OK: 'OK', - 'An error occurred. Please try again.': 'An error occurred. Please try again.', + 'An unexpected error occurred.': 'An unexpected error occurred.', Settings: 'Settings', Quality: 'Quality', Audio: 'Audio', diff --git a/packages/core/src/core/i18n/locales/es.ts b/packages/core/src/core/i18n/locales/es.ts index de8af2d6..779c324f 100644 --- a/packages/core/src/core/i18n/locales/es.ts +++ b/packages/core/src/core/i18n/locales/es.ts @@ -41,17 +41,19 @@ export default { 'Exit fullscreen': 'Salir de pantalla completa', 'Picture in picture': 'Imagen en imagen', 'Exit picture in picture': 'Salir de imagen en imagen', - 'You aborted the media playback': 'Ha interrumpido la reproducción del vídeo.', - 'A network error caused the media download to fail.': 'Un error de red ha interrumpido la descarga del vídeo.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'Ha interrumpido la reproducción del vídeo.', + 'This media could not be loaded due to a network or server issue.': + 'Un error de red ha interrumpido la descarga del vídeo.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'La reproducción de vídeo se ha interrumpido por un problema de corrupción de datos o porque el vídeo precisa funciones que su navegador no ofrece.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'No se ha podido cargar el vídeo debido a un fallo de red o del servidor o porque el formato es incompatible.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'El material audiovisual está cifrado y no tenemos las claves para descifrarlo.', '': '', 'Something went wrong.': 'Algo ha salido mal.', OK: 'Cerrar', + 'An unexpected error occurred.': 'Se ha producido un error. Inténtalo de nuevo.', Settings: 'Configuración', Quality: 'Calidad', Audio: 'Audio', @@ -64,5 +66,4 @@ export default { Auto: 'Automático', 'Auto ({label})': 'Automático ({label})', Subtitles: 'Subtítulos', - 'An error occurred. Please try again.': 'Se ha producido un error. Inténtalo de nuevo.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/et.ts b/packages/core/src/core/i18n/locales/et.ts index 32433ada..c4bf9c4c 100644 --- a/packages/core/src/core/i18n/locales/et.ts +++ b/packages/core/src/core/i18n/locales/et.ts @@ -41,18 +41,19 @@ export default { 'Exit fullscreen': 'Välju täisekraanist', 'Picture in picture': 'Pilt pildis', 'Exit picture in picture': 'Välju funktsioonist pilt pildis', - 'You aborted the media playback': 'Katkestasid taasesituse', - 'A network error caused the media download to fail.': + 'You stopped media playback before it finished.': 'Katkestasid taasesituse', + 'This media could not be loaded due to a network or server issue.': 'Võrguvea tõttu nurjus meediumifaili allalaadimine poole pealt.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'Meediumifaili taasesitamine katkestati, kuna fail on rikutud või see kasutab funktsiooni, mida sinu brauser ei toeta.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Seda meediumifaili ei õnnestunud laadida, kuna serveris või võrgus esines tõrge või kuna vormingut ei toetata.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'See meediumifail on krüpteeritud ja meil pole dekrüpteerimiseks vajalikku võtit.', '': '', 'Something went wrong.': 'Midagi läks valesti.', OK: 'Sule', + 'An unexpected error occurred.': 'Esines viga. Palun proovige uuesti.', Settings: 'Seaded', Quality: 'Kvaliteet', Audio: 'Heli', @@ -65,5 +66,4 @@ export default { Auto: 'Automaatne', 'Auto ({label})': 'Automaatne ({label})', Subtitles: 'Subtiitrid', - 'An error occurred. Please try again.': 'Esines viga. Palun proovige uuesti.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/eu.ts b/packages/core/src/core/i18n/locales/eu.ts index ac63f152..55d93255 100644 --- a/packages/core/src/core/i18n/locales/eu.ts +++ b/packages/core/src/core/i18n/locales/eu.ts @@ -41,17 +41,19 @@ export default { 'Exit fullscreen': 'Irten pantaila osotik', 'Picture in picture': 'Irudiz irudi', 'Exit picture in picture': 'Irten irudiz irudiztik', - 'You aborted the media playback': 'Bertan behera utzi duzu', - 'A network error caused the media download to fail.': 'Sare errore batek deskargak huts egitea eragin du.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'Bertan behera utzi duzu', + 'This media could not be loaded due to a network or server issue.': + 'Sare errore batek deskargak huts egitea eragin du.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'Bertan behera gelditu da fitxategia ondo ez dagoelako edo zure nabigatzailean erabili ezin diren ezaugarriak dituelako.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Media ezin izan da kargatu, zerbitzariak edo sareak huts egin duelako edo formatu horretako media erabili ezin delako.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'Media zifratuta dago eta ez ditugu beharrezko gakoak.', '': '', 'Something went wrong.': 'Zerbait gaizki joan da.', OK: 'Itxi', + 'An unexpected error occurred.': 'Errore bat gertatu da. Saiatu berriro.', Settings: 'Ezarpenak', Quality: 'Kalitatea', Audio: 'Audioa', @@ -64,5 +66,4 @@ export default { Auto: 'Automatikoa', 'Auto ({label})': 'Automatikoa ({label})', Subtitles: 'Azpitituluak', - 'An error occurred. Please try again.': 'Errore bat gertatu da. Saiatu berriro.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/fa.ts b/packages/core/src/core/i18n/locales/fa.ts index 0589dd03..ff1ffabb 100644 --- a/packages/core/src/core/i18n/locales/fa.ts +++ b/packages/core/src/core/i18n/locales/fa.ts @@ -41,17 +41,19 @@ export default { 'Exit fullscreen': 'خروج از تمام‌صفحه', 'Picture in picture': 'تصویر در تصویر', 'Exit picture in picture': 'خروج از حالت تصویر در تصویر', - 'You aborted the media playback': 'شما پخش رسانه را قطع نمودید', - 'A network error caused the media download to fail.': 'وقوع مشکلی در شبکه باعث اختلال در دانلود رسانه شد.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'شما پخش رسانه را قطع نمودید', + 'This media could not be loaded due to a network or server issue.': + 'وقوع مشکلی در شبکه باعث اختلال در دانلود رسانه شد.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'پخش رسانه به‌علت اشکال در آن یا عدم پشتیبانی مرورگر شما قطع شد.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'رسانه قابل بارگیری نیست. ممکن است مشکلی در شبکه یا سرور رخ داده باشد یا قالب رسانه در دستگاه شما پشتیبانی نشود.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'این رسانه رمزنگاری شده‌است و کلیدهای رمزگشایی آن موجود نیست.', '': '', 'Something went wrong.': 'مشکلی پیش آمد.', OK: 'بستن', + 'An unexpected error occurred.': 'خطایی رخ داد. لطفاً دوباره امتحان کنید.', Settings: 'تنظیمات', Quality: 'کیفیت', Audio: 'صدا', @@ -64,5 +66,4 @@ export default { Auto: 'خودکار', 'Auto ({label})': 'خودکار ({label})', Subtitles: 'زیرنویس‌ها', - 'An error occurred. Please try again.': 'خطایی رخ داد. لطفاً دوباره امتحان کنید.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/fi.ts b/packages/core/src/core/i18n/locales/fi.ts index d383c446..912c5bd7 100644 --- a/packages/core/src/core/i18n/locales/fi.ts +++ b/packages/core/src/core/i18n/locales/fi.ts @@ -41,16 +41,17 @@ export default { 'Exit fullscreen': 'Poistu koko näytöltä', 'Picture in picture': 'Kuva kuvassa', 'Exit picture in picture': 'Poistu kuva kuvassa -tilasta', - 'You aborted the media playback': 'Olet keskeyttänyt videotoiston', - 'A network error caused the media download to fail.': 'Verkkovirhe keskeytti videon latauksen.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'Olet keskeyttänyt videotoiston', + 'This media could not be loaded due to a network or server issue.': 'Verkkovirhe keskeytti videon latauksen.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'Videon toisto keskeytyi, koska videotiedosto on vioittunut tai käyttää toimintoja, joita selaimesi ei tue.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Videon lataus ei onnistunut joko palvelin- tai verkkovirheestä tai väärästä formaatista johtuen.', - 'The media is encrypted and there are no keys to decrypt it.': 'Media on salattu eikä siihen ole purkuavaimia.', + 'This media could not be played because it could not be decrypted.': 'Media on salattu eikä siihen ole purkuavaimia.', '': '', 'Something went wrong.': 'Jotain meni pieleen.', OK: 'OK', + 'An unexpected error occurred.': 'Tapahtui virhe. Yritä uudelleen.', Settings: 'Asetukset', Quality: 'Laatu', Audio: 'Ääni', @@ -63,5 +64,4 @@ export default { Auto: 'Automaattinen', 'Auto ({label})': 'Automaattinen ({label})', Subtitles: 'Tekstitykset', - 'An error occurred. Please try again.': 'Tapahtui virhe. Yritä uudelleen.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/fr.ts b/packages/core/src/core/i18n/locales/fr.ts index 3fc994bd..a43f11b4 100644 --- a/packages/core/src/core/i18n/locales/fr.ts +++ b/packages/core/src/core/i18n/locales/fr.ts @@ -41,18 +41,19 @@ export default { 'Exit fullscreen': 'Quitter le plein écran', 'Picture in picture': 'Image dans l’image', 'Exit picture in picture': 'Quitter l’image dans l’image', - 'You aborted the media playback': 'Vous avez interrompu la lecture de la vidéo.', - 'A network error caused the media download to fail.': + 'You stopped media playback before it finished.': 'Vous avez interrompu la lecture de la vidéo.', + 'This media could not be loaded due to a network or server issue.': 'Une erreur de réseau a interrompu le téléchargement de la vidéo.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'This media could not be played. It may be corrupted, or your browser may not support its format.': "La lecture de la vidéo a été interrompue à cause d'un problème de corruption ou parce que la vidéo utilise des fonctionnalités non prises en charge par votre navigateur.", - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': "Cette vidéo n'a pas pu être chargée, soit parce que le serveur ou le réseau a échoué ou parce que le format n'est pas reconnu.", - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': "Le média est chiffré et nous n'avons pas les clés pour le déchiffrer.", '': '', 'Something went wrong.': 'Une erreur s’est produite.', OK: 'Fermer', + 'An unexpected error occurred.': 'Une erreur s’est produite. Veuillez réessayer.', Settings: 'Paramètres', Quality: 'Qualité', Audio: 'Audio', @@ -65,5 +66,4 @@ export default { Auto: 'Auto', 'Auto ({label})': 'Auto ({label})', Subtitles: 'Sous-titres', - 'An error occurred. Please try again.': 'Une erreur s’est produite. Veuillez réessayer.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/gd.ts b/packages/core/src/core/i18n/locales/gd.ts index 8fb91fe1..769b1dd0 100644 --- a/packages/core/src/core/i18n/locales/gd.ts +++ b/packages/core/src/core/i18n/locales/gd.ts @@ -41,18 +41,19 @@ export default { 'Exit fullscreen': 'Fàg làn-sgrìn', 'Picture in picture': 'Dealbh beag anns a’ dealbh mhòr', 'Exit picture in picture': 'Fàg dealbh beag', - 'You aborted the media playback': 'Sguir thu de chluich a’ mheadhain', - 'A network error caused the media download to fail.': + 'You stopped media playback before it finished.': 'Sguir thu de chluich a’ mheadhain', + 'This media could not be loaded due to a network or server issue.': 'Cha deach leinn an còrr dhen mheadhan a luchdadh a-nuas ri linn mearachd lìonraidh.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'Sguir sinn de chluich a’ mheadhain – dh’fhaoidte gu bheil e coirbte no gu bheil gleus aig a’ mheadhan nach cuir am brabhsair taic ris.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Cha b’ urrainn dhuinn am meadhan a luchdadh – dh’fhaoidte gun do dh’fhàillig leis an fhrithealaiche no an lìonra no nach cuir sinn taic ris an fhòrmat.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'Tha am meadhan crioptaichte ’s chan eil iuchair dì-chrioptachaidh againn dha.', '': '', 'Something went wrong.': 'Chaidh rudeigin ceàrr.', OK: 'Dùin', + 'An unexpected error occurred.': 'Thachair mearachd. Feuch ris a-rithist.', Settings: 'Roghainnean', Quality: 'Càileachd', Audio: 'Fuaim', @@ -65,5 +66,4 @@ export default { Auto: 'Fèin-obrachail', 'Auto ({label})': 'Fèin-obrachail ({label})', Subtitles: 'Fo-thiotalan', - 'An error occurred. Please try again.': 'Thachair mearachd. Feuch ris a-rithist.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/gl.ts b/packages/core/src/core/i18n/locales/gl.ts index a312220c..4c49b074 100644 --- a/packages/core/src/core/i18n/locales/gl.ts +++ b/packages/core/src/core/i18n/locales/gl.ts @@ -41,17 +41,19 @@ export default { 'Exit fullscreen': 'Saír da pantalla completa', 'Picture in picture': 'Imaxe en imaxe', 'Exit picture in picture': 'Saír de imaxe en imaxe', - 'You aborted the media playback': 'Vostede interrompeu a reprodución do medio.', - 'A network error caused the media download to fail.': 'Un erro de rede interrompeu a descarga do medio.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'Vostede interrompeu a reprodución do medio.', + 'This media could not be loaded due to a network or server issue.': + 'Un erro de rede interrompeu a descarga do medio.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'Interrompeuse a reprodución do medio por mor dun problema de estragamento dos datos ou porque o medio precisa funcións que o seu navegador non ofrece.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Non foi posíbel cargar o medio por mor dun fallo de rede ou do servidor ou porque o formato non é compatíbel.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'O medio está cifrado e non temos as chaves para descifralo.', '': '', 'Something went wrong.': 'Algo saíu mal.', OK: 'Pechar', + 'An unexpected error occurred.': 'Produciuse un erro. Por favor, ténteo de novo.', Settings: 'Axustes', Quality: 'Calidade', Audio: 'Son', @@ -64,5 +66,4 @@ export default { Auto: 'Automático', 'Auto ({label})': 'Automático ({label})', Subtitles: 'Subtítulos', - 'An error occurred. Please try again.': 'Produciuse un erro. Por favor, ténteo de novo.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/he.ts b/packages/core/src/core/i18n/locales/he.ts index 35508a59..00a2b287 100644 --- a/packages/core/src/core/i18n/locales/he.ts +++ b/packages/core/src/core/i18n/locales/he.ts @@ -41,16 +41,18 @@ export default { 'Exit fullscreen': 'יציאה ממסך מלא', 'Picture in picture': 'תמונה בתוך תמונה', 'Exit picture in picture': 'יציאה מתמונה בתוך תמונה', - 'You aborted the media playback': 'ביטלת את השמעת המדיה', - 'A network error caused the media download to fail.': 'שגיאת רשת גרמה להורדת המדיה להיכשל באמצע.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'ביטלת את השמעת המדיה', + 'This media could not be loaded due to a network or server issue.': 'שגיאת רשת גרמה להורדת המדיה להיכשל באמצע.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'השמעת המדיה בוטלה בשל בעית השחטת מידע או מכיוון שהמדיה עשתה שימוש בתכונות שהדפדפן שלך לא תמך בהן.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'לא ניתן לטעון את המדיה, או מכיוון שהרשת או השרת כשלו או מכיוון שהפורמט אינו נתמך.', - 'The media is encrypted and there are no keys to decrypt it.': 'המדיה מוצפנת ואין בידינו את המפתח כדי לפענח אותה.', + 'This media could not be played because it could not be decrypted.': + 'המדיה מוצפנת ואין בידינו את המפתח כדי לפענח אותה.', '': '', 'Something went wrong.': 'אירעה שגיאה.', OK: 'סְגוֹר', + 'An unexpected error occurred.': 'אירעה שגיאה. אנא נסה שוב.', Settings: 'הגדרות', Quality: 'איכות', Audio: 'שמע', @@ -63,5 +65,4 @@ export default { Auto: 'אוטומטי', 'Auto ({label})': 'אוטומטי ({label})', Subtitles: 'כתוביות', - 'An error occurred. Please try again.': 'אירעה שגיאה. אנא נסה שוב.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/hi.ts b/packages/core/src/core/i18n/locales/hi.ts index 95ef0573..57c70684 100644 --- a/packages/core/src/core/i18n/locales/hi.ts +++ b/packages/core/src/core/i18n/locales/hi.ts @@ -41,17 +41,19 @@ export default { 'Exit fullscreen': 'पूर्ण स्क्रीन से बाहर', 'Picture in picture': 'पिक्चर में पिक्चर', 'Exit picture in picture': 'पिक्चर में पिक्चर से बाहर', - 'You aborted the media playback': 'आपने मीडिया प्लेबैक को रोक दिया', - 'A network error caused the media download to fail.': 'एक नेटवर्क त्रुटि के कारण मीडिया डाउनलोड आंशिक रूप से विफल हो गया।', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'आपने मीडिया प्लेबैक को रोक दिया', + 'This media could not be loaded due to a network or server issue.': + 'एक नेटवर्क त्रुटि के कारण मीडिया डाउनलोड आंशिक रूप से विफल हो गया।', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'मीडिया प्लेबैक निरस्त कर दिया गया, कारण: दूषण की समस्या या मीडिया ने उन सुविधाओं का उपयोग किया था जिनका आपके ब्राउज़र ने समर्थन नहीं किया।', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'मीडिया लोड नहीं किया जा सका, या तो सर्वर या नेटवर्क विफल होने के कारण या प्रारूप समर्थित नहीं होने के कारण।', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'मीडिया एन्क्रिप्टेड है और हमारे पास इसे डिक्रिप्ट करने की चाबी नहीं है।', '': '', 'Something went wrong.': 'कुछ गलत हुआ।', OK: 'बंद करें', + 'An unexpected error occurred.': 'एक त्रुटि हुई। कृपया पुनः प्रयास करें।', Settings: 'सेटिंग्स', Quality: 'गुणवत्ता', Audio: 'ऑडियो', @@ -64,5 +66,4 @@ export default { Auto: 'ऑटो', 'Auto ({label})': 'ऑटो ({label})', Subtitles: 'उपशीर्षक', - 'An error occurred. Please try again.': 'एक त्रुटि हुई। कृपया पुनः प्रयास करें।', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/hr.ts b/packages/core/src/core/i18n/locales/hr.ts index 96a801b0..e7d8a81e 100644 --- a/packages/core/src/core/i18n/locales/hr.ts +++ b/packages/core/src/core/i18n/locales/hr.ts @@ -41,16 +41,19 @@ export default { 'Exit fullscreen': 'Izađi iz cijelog zaslona', 'Picture in picture': 'Slika u slici', 'Exit picture in picture': 'Izađi iz slike u slici', - 'You aborted the media playback': 'Isključili ste reprodukciju videa.', - 'A network error caused the media download to fail.': 'Video se prestao preuzimati zbog greške na mreži.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'Isključili ste reprodukciju videa.', + 'This media could not be loaded due to a network or server issue.': + 'Video se prestao preuzimati zbog greške na mreži.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'Reprodukcija videa je zaustavljenja zbog greške u formatu ili zbog verzije vašeg pretraživača.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Video se ne može reproducirati zbog servera, greške u mreži ili je format ne podržan.', - 'The media is encrypted and there are no keys to decrypt it.': 'Medij je šifriran i nema ključeva za dešifriranje.', + 'This media could not be played because it could not be decrypted.': + 'Medij je šifriran i nema ključeva za dešifriranje.', '': '', 'Something went wrong.': 'Nešto je pošlo po zlu.', OK: 'Zatvori', + 'An unexpected error occurred.': 'Došlo je do pogreške. Pokušajte ponovo.', Settings: 'Postavke', Quality: 'Kvaliteta', Audio: 'Zvuk', @@ -63,5 +66,4 @@ export default { Auto: 'Automatski', 'Auto ({label})': 'Automatski ({label})', Subtitles: 'Titlovi', - 'An error occurred. Please try again.': 'Došlo je do pogreške. Pokušajte ponovo.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/hu.ts b/packages/core/src/core/i18n/locales/hu.ts index 349d2d32..d5e2f725 100644 --- a/packages/core/src/core/i18n/locales/hu.ts +++ b/packages/core/src/core/i18n/locales/hu.ts @@ -41,17 +41,19 @@ export default { 'Exit fullscreen': 'Kilépés teljes képernyőből', 'Picture in picture': 'Kép a képben', 'Exit picture in picture': 'Kilépés kép a képben módból', - 'You aborted the media playback': 'Leállította a lejátszást', - 'A network error caused the media download to fail.': 'Hálózati hiba miatt a videó részlegesen töltődött le.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'Leállította a lejátszást', + 'This media could not be loaded due to a network or server issue.': + 'Hálózati hiba miatt a videó részlegesen töltődött le.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'A lejátszás adatsérülés miatt leállt, vagy a videó egyes tulajdonságait a böngészője nem támogatja.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'A videó nem tölthető be hálózati vagy kiszolgálói hiba miatt, vagy a formátuma nem támogatott.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'A média titkosítva van és nincsenek kulcsok a visszafejtéshez.', '': '', 'Something went wrong.': 'Valami hiba történt.', OK: 'Bezárás', + 'An unexpected error occurred.': 'Hiba történt. Kérjük, próbálja újra.', Settings: 'Beállítások', Quality: 'Minőség', Audio: 'Hang', @@ -64,5 +66,4 @@ export default { Auto: 'Automatikus', 'Auto ({label})': 'Automatikus ({label})', Subtitles: 'Feliratok', - 'An error occurred. Please try again.': 'Hiba történt. Kérjük, próbálja újra.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/it.ts b/packages/core/src/core/i18n/locales/it.ts index 2f5baacf..0608d45f 100644 --- a/packages/core/src/core/i18n/locales/it.ts +++ b/packages/core/src/core/i18n/locales/it.ts @@ -41,18 +41,19 @@ export default { 'Exit fullscreen': 'Esci da schermo intero', 'Picture in picture': 'Picture-in-picture', 'Exit picture in picture': 'Esci dalla modalità Picture-in-picture', - 'You aborted the media playback': 'La riproduzione del contenuto multimediale è stata interrotta.', - 'A network error caused the media download to fail.': + 'You stopped media playback before it finished.': 'La riproduzione del contenuto multimediale è stata interrotta.', + 'This media could not be loaded due to a network or server issue.': 'Il download del contenuto multimediale è stato interrotto a causa di un problema rete.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'La riproduzione del contenuto multimediale è stata interrotta a causa di un file danneggiato o per l’utilizzo di impostazioni non supportate dal browser.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Il contenuto multimediale non può essere caricato a causa di un errore nel server o nella rete o perché il formato non viene supportato.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'Il contenuto multimediale è criptato e non disponiamo delle chiavi per decifrarlo.', '': '', 'Something went wrong.': 'Qualcosa è andato storto.', OK: 'Chiudi', + 'An unexpected error occurred.': 'Si è verificato un errore. Riprova.', Settings: 'Impostazioni', Quality: 'Qualità', Audio: 'Audio', @@ -65,5 +66,4 @@ export default { Auto: 'Auto', 'Auto ({label})': 'Auto ({label})', Subtitles: 'Sottotitoli', - 'An error occurred. Please try again.': 'Si è verificato un errore. Riprova.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/ja.ts b/packages/core/src/core/i18n/locales/ja.ts index b06e21a1..dffe307a 100644 --- a/packages/core/src/core/i18n/locales/ja.ts +++ b/packages/core/src/core/i18n/locales/ja.ts @@ -41,18 +41,19 @@ export default { 'Exit fullscreen': '全画面表示解除', 'Picture in picture': 'ピクチャーインピクチャー表示', 'Exit picture in picture': 'ピクチャーインピクチャー表示解除', - 'You aborted the media playback': '動画再生を中止しました', - 'A network error caused the media download to fail.': + 'You stopped media playback before it finished.': '動画再生を中止しました', + 'This media could not be loaded due to a network or server issue.': 'ネットワーク エラーにより動画のダウンロードが途中で失敗しました', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'This media could not be played. It may be corrupted, or your browser may not support its format.': '破損の問題、またはお使いのブラウザがサポートしていない機能が動画に使用されていたため、動画の再生が中止されました', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'サーバーまたはネットワークのエラー、またはフォーマットがサポートされていないため、動画をロードできませんでした', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'メディアは暗号化されており、解読するためのキーがありません。', '': '', 'Something went wrong.': '問題が発生しました。', OK: '閉じる', + 'An unexpected error occurred.': 'エラーが発生しました。再度お試しください。', Settings: '設定', Quality: '画質', Audio: '音声', @@ -65,5 +66,4 @@ export default { Auto: '自動', 'Auto ({label})': '自動 ({label})', Subtitles: '字幕', - 'An error occurred. Please try again.': 'エラーが発生しました。再度お試しください。', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/ko.ts b/packages/core/src/core/i18n/locales/ko.ts index 11771450..64cae8f0 100644 --- a/packages/core/src/core/i18n/locales/ko.ts +++ b/packages/core/src/core/i18n/locales/ko.ts @@ -41,18 +41,19 @@ export default { 'Exit fullscreen': '전체 화면 종료', 'Picture in picture': '화면 속 화면', 'Exit picture in picture': '화면 속 화면 종료', - 'You aborted the media playback': '비디오 재생을 취소했습니다.', - 'A network error caused the media download to fail.': + 'You stopped media playback before it finished.': '비디오 재생을 취소했습니다.', + 'This media could not be loaded due to a network or server issue.': '네트워크 오류로 인하여 비디오 일부를 다운로드하지 못 했습니다.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'This media could not be played. It may be corrupted, or your browser may not support its format.': '비디오 재생이 취소됐습니다. 비디오가 손상되었거나 비디오가 사용하는 기능을 브라우저에서 지원하지 않는 것 같습니다.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': '비디오를 로드할 수 없습니다. 서버 혹은 네트워크 오류 때문이거나 지원되지 않는 형식 때문일 수 있습니다.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': '미디어는 암호화되어 있으며 이를 해독할 키를 갖고 있지 않습니다.', '': '', 'Something went wrong.': '문제가 발생했습니다.', OK: '닫기', + 'An unexpected error occurred.': '오류가 발생했습니다. 다시 시도해 주세요.', Settings: '설정', Quality: '품질', Audio: '오디오', @@ -65,5 +66,4 @@ export default { Auto: '자동', 'Auto ({label})': '자동 ({label})', Subtitles: '자막', - 'An error occurred. Please try again.': '오류가 발생했습니다. 다시 시도해 주세요.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/lv.ts b/packages/core/src/core/i18n/locales/lv.ts index cd97e29c..0570f244 100644 --- a/packages/core/src/core/i18n/locales/lv.ts +++ b/packages/core/src/core/i18n/locales/lv.ts @@ -41,17 +41,19 @@ export default { 'Exit fullscreen': 'Iziet no pilnekrāna', 'Picture in picture': 'Attēls attēlā', 'Exit picture in picture': 'Iziet no attēls attēlā', - 'You aborted the media playback': 'Atskaņošana atcelta', - 'A network error caused the media download to fail.': 'Tīkla kļūdas dēļ, multivides lejupielāde neizdevās.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'Atskaņošana atcelta', + 'This media could not be loaded due to a network or server issue.': + 'Tīkla kļūdas dēļ, multivides lejupielāde neizdevās.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'Atskaņošana tika pārtraukta tīkla kļūmes dēļ vai pārlūkprogrammas iespēju trūkuma dēļ.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Neizdevās ielādēt multividi, iespējams severa, vai tīkla kļūmes dēļ, vai neatbalstīta formāta dēļ.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'Multividi nevar atskaņot, jo tas ir kriptēts un nav pieejama dekriptēšanas atslēga.', '': '', 'Something went wrong.': 'Kaut kas nogāja greizi.', OK: 'Aizvērt', + 'An unexpected error occurred.': 'Radās kļūda. Lūdzu, mēģiniet vēlreiz.', Settings: 'Iestatījumi', Quality: 'Kvalitāte', Audio: 'Skaņa', @@ -64,5 +66,4 @@ export default { Auto: 'Automātiski', 'Auto ({label})': 'Automātiski ({label})', Subtitles: 'Subtitri', - 'An error occurred. Please try again.': 'Radās kļūda. Lūdzu, mēģiniet vēlreiz.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/mr.ts b/packages/core/src/core/i18n/locales/mr.ts index c69d686f..bad69a7e 100644 --- a/packages/core/src/core/i18n/locales/mr.ts +++ b/packages/core/src/core/i18n/locales/mr.ts @@ -41,17 +41,18 @@ export default { 'Exit fullscreen': 'संपूर्ण पडद्यातून बाहेर', 'Picture in picture': 'पिक्चरमध्ये पिक्चर', 'Exit picture in picture': 'पिक्चरमध्ये पिक्चरमधून बाहेर', - 'You aborted the media playback': 'तुम्ही मीडिया प्लेबॅक रद्द केला', - 'A network error caused the media download to fail.': 'नेटवर्क त्रुटीमुळे मीडिया डाउनलोड अर्ध्यात अयशस्वी झाला.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'तुम्ही मीडिया प्लेबॅक रद्द केला', + 'This media could not be loaded due to a network or server issue.': 'नेटवर्क त्रुटीमुळे मीडिया डाउनलोड अर्ध्यात अयशस्वी झाला.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'मीडिया प्लेबॅक भ्रष्टाचाराच्या समस्येमुळे किंवा मीडियाने वापरलेल्या वैशिष्ट्यांमुळे तुमचा ब्राउझर सपोर्ट करत नसल्यामुळे रद्द करण्यात आला.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'मीडिया लोड करता आला नाही, एकतर सर्व्हर किंवा नेटवर्क अयशस्वी झाल्यामुळे किंवा फॉरमॅट समर्थित नसल्यामुळे.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'मीडिया एन्क्रिप्ट केलेला आहे आणि तो डिक्रिप्ट करण्यासाठी आमच्याकडे कळा नाहीत.', '': '', 'Something went wrong.': 'काहीतरी चुकले.', OK: 'बंद', + 'An unexpected error occurred.': 'एक त्रुटी आली. कृपया पुन्हा प्रयत्न करा.', Settings: 'सेटिंग्ज', Quality: 'गुणवत्ता', Audio: 'ऑडिओ', @@ -64,5 +65,4 @@ export default { Auto: 'स्वयंचलित', 'Auto ({label})': 'स्वयंचलित ({label})', Subtitles: 'उपशीर्षके', - 'An error occurred. Please try again.': 'एक त्रुटी आली. कृपया पुन्हा प्रयत्न करा.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/nb.ts b/packages/core/src/core/i18n/locales/nb.ts index bdc64ecb..e9f9f981 100644 --- a/packages/core/src/core/i18n/locales/nb.ts +++ b/packages/core/src/core/i18n/locales/nb.ts @@ -41,17 +41,18 @@ export default { 'Exit fullscreen': 'Avslutt fullskjerm', 'Picture in picture': 'Bilde i bilde', 'Exit picture in picture': 'Avslutt bilde i bilde', - 'You aborted the media playback': 'Du avbrøt avspillingen.', - 'A network error caused the media download to fail.': 'En nettverksfeil avbrøt nedlasting av videoen.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'Du avbrøt avspillingen.', + 'This media could not be loaded due to a network or server issue.': 'En nettverksfeil avbrøt nedlasting av videoen.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'Videoavspillingen ble avbrudt på grunn av ødelagte data eller fordi videoen ville gjøre noe som nettleseren din ikke har støtte for.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Videoen kunne ikke lastes ned, på grunn av nettverksfeil eller serverfeil, eller fordi formatet ikke er støttet.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'Mediefilen er kryptert og vi mangler nøkler for å dekryptere den.', '': '', 'Something went wrong.': 'Noe gikk galt.', OK: 'Lukk', + 'An unexpected error occurred.': 'En feil oppstod. Vennligst prøv igjen.', Settings: 'Innstillinger', Quality: 'Kvalitet', Audio: 'Lyd', @@ -64,5 +65,4 @@ export default { Auto: 'Auto', 'Auto ({label})': 'Auto ({label})', Subtitles: 'Undertekster', - 'An error occurred. Please try again.': 'En feil oppstod. Vennligst prøv igjen.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/ne.ts b/packages/core/src/core/i18n/locales/ne.ts index 679a5dd2..970d9373 100644 --- a/packages/core/src/core/i18n/locales/ne.ts +++ b/packages/core/src/core/i18n/locales/ne.ts @@ -41,17 +41,19 @@ export default { 'Exit fullscreen': 'पूर्ण स्क्रिनबाट बाहिर', 'Picture in picture': 'पिक्चर इन पिक्चर', 'Exit picture in picture': 'पिक्चर इन पिक्चरबाट बाहिर', - 'You aborted the media playback': 'तपाईंले मिडिया प्लेब्याक रद्द गर्नुभयो', - 'A network error caused the media download to fail.': 'नेटवर्क त्रुटिले मिडिया डाउनलोडलाई आधा मार्गमा असफल गर्यो।', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'तपाईंले मिडिया प्लेब्याक रद्द गर्नुभयो', + 'This media could not be loaded due to a network or server issue.': + 'नेटवर्क त्रुटिले मिडिया डाउनलोडलाई आधा मार्गमा असफल गर्यो।', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'मिडिया प्लेब्याक अवरुद्ध गरियो, कारण मिडिया दूषित भयो वा तपाईंको ब्राउजरले समर्थन नगरेको सुविधाहरू प्रयोग गर्यो।', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'मिडिया लोड गर्न सकिएन, नेटवर्क वा सर्भर विफल भयो वा त्यसको प्रारूप समर्थित छैन।', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'मिडिया एन्क्रिप्ट गरिएको छ र हामीसँग डिक्रिप्ट गर्ने कुञ्जीहरू छैनन्।', '': '', 'Something went wrong.': 'केही गलत भयो।', OK: 'बन्द गर्नुहोस्', + 'An unexpected error occurred.': 'एउटा त्रुटि भयो। कृपया पुन: प्रयास गर्नुहोस्।', Settings: 'सेटिङहरू', Quality: 'गुणस्तर', Audio: 'अडियो', @@ -64,5 +66,4 @@ export default { Auto: 'स्वतः', 'Auto ({label})': 'स्वतः ({label})', Subtitles: 'उपशीर्षक', - 'An error occurred. Please try again.': 'एउटा त्रुटि भयो। कृपया पुन: प्रयास गर्नुहोस्।', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/nl.ts b/packages/core/src/core/i18n/locales/nl.ts index ac379fb2..845fe948 100644 --- a/packages/core/src/core/i18n/locales/nl.ts +++ b/packages/core/src/core/i18n/locales/nl.ts @@ -41,18 +41,19 @@ export default { 'Exit fullscreen': 'Volledig scherm verlaten', 'Picture in picture': 'Beeld-in-beeld', 'Exit picture in picture': 'Beeld-in-beeld verlaten', - 'You aborted the media playback': 'U heeft het afspelen van de media afgebroken', - 'A network error caused the media download to fail.': + 'You stopped media playback before it finished.': 'U heeft het afspelen van de media afgebroken', + 'This media could not be loaded due to a network or server issue.': 'Een netwerkfout heeft ervoor gezorgd dat het downloaden van de media is mislukt.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'Het afspelen van de media werd afgebroken vanwege een corruptieprobleem of omdat de uw browser de gebruikte mediafuncties niet ondersteund.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'De media kon niet worden geladen, doordat de server of het netwerk faalde of doordat het formaat niet wordt ondersteund.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'De media is gecodeerd en we hebben niet de sleutels om het te decoderen.', '': '', 'Something went wrong.': 'Er is iets misgegaan.', OK: 'Sluiten', + 'An unexpected error occurred.': 'Er is een fout opgetreden. Probeer het opnieuw.', Settings: 'Instellingen', Quality: 'Kwaliteit', Audio: 'Geluid', @@ -65,5 +66,4 @@ export default { Auto: 'Auto', 'Auto ({label})': 'Auto ({label})', Subtitles: 'Ondertiteling', - 'An error occurred. Please try again.': 'Er is een fout opgetreden. Probeer het opnieuw.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/nn.ts b/packages/core/src/core/i18n/locales/nn.ts index e2c8b409..8acb3e99 100644 --- a/packages/core/src/core/i18n/locales/nn.ts +++ b/packages/core/src/core/i18n/locales/nn.ts @@ -41,17 +41,19 @@ export default { 'Exit fullscreen': 'Stenga fullskjerm', 'Picture in picture': 'Bilete i bilete', 'Exit picture in picture': 'Avslutt bilete i bilete', - 'You aborted the media playback': 'Du avbraut avspelinga.', - 'A network error caused the media download to fail.': 'Ein nettverksfeil avbraut nedlasting av videoen.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'Du avbraut avspelinga.', + 'This media could not be loaded due to a network or server issue.': + 'Ein nettverksfeil avbraut nedlasting av videoen.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'Videoavspelinga blei broten på grunn av øydelagde data eller av di videoen ville gjera noe som nettlesaren din ikkje stodar.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Videoen kunne ikkje lastas ned, på grunn av ein nettverksfeil eller serverfeil, eller av di formatet ikkje er stoda.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'Mediefila er kryptert og vi manglar nyklar for å dekryptere ho.', '': '', 'Something went wrong.': 'Noko gjekk gale.', OK: 'Lukk', + 'An unexpected error occurred.': 'Det oppstod ein feil. Ver venleg prøv igjen.', Settings: 'Innstillingar', Quality: 'Kvalitet', Audio: 'Lyd', @@ -64,5 +66,4 @@ export default { Auto: 'Auto', 'Auto ({label})': 'Auto ({label})', Subtitles: 'Undertekstar', - 'An error occurred. Please try again.': 'Det oppstod ein feil. Ver venleg prøv igjen.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/oc.ts b/packages/core/src/core/i18n/locales/oc.ts index 314601fa..f607729b 100644 --- a/packages/core/src/core/i18n/locales/oc.ts +++ b/packages/core/src/core/i18n/locales/oc.ts @@ -41,17 +41,19 @@ export default { 'Exit fullscreen': "Sortir de l'ecran complèt", 'Picture in picture': 'Vidèo incrustada', 'Exit picture in picture': 'Sortir de la vidèo incrustada', - 'You aborted the media playback': 'Avètz copat la lectura del mèdia.', - 'A network error caused the media download to fail.': 'Una error de ret a provocat un fracàs del telecargament.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'Avètz copat la lectura del mèdia.', + 'This media could not be loaded due to a network or server issue.': + 'Una error de ret a provocat un fracàs del telecargament.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': "La lectura del mèdia es copada a causa d'un problèma de corrupcion o perque lo mèdia utiliza de foncionalitats pas suportadas pel navigador.", - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Lo mèdia a pas pogut èsser cargat, siá perque lo servidor o lo ret a fracassat siá perque lo format es pas compatible.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'Lo mèdia es chifrat e avèm pas las claus per lo deschifrar.', '': '', 'Something went wrong.': "Quaucarèn s'es mal passat.", OK: 'Tampar', + 'An unexpected error occurred.': "Una error s'es produsida. Provatz d'un autre còp.", Settings: 'Paramètres', Quality: 'Qualitat', Audio: 'Àudio', @@ -64,5 +66,4 @@ export default { Auto: 'Automatic', 'Auto ({label})': 'Automatic ({label})', Subtitles: 'Sostítols', - 'An error occurred. Please try again.': "Una error s'es produsida. Provatz d'un autre còp.", } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/pl.ts b/packages/core/src/core/i18n/locales/pl.ts index 3d3a57f2..667ff685 100644 --- a/packages/core/src/core/i18n/locales/pl.ts +++ b/packages/core/src/core/i18n/locales/pl.ts @@ -41,18 +41,19 @@ export default { 'Exit fullscreen': 'Wyjdź z pełnego ekranu', 'Picture in picture': 'Obraz w obrazie', 'Exit picture in picture': 'Wyjdź z obrazu w obrazie', - 'You aborted the media playback': 'Odtwarzanie zostało przerwane', - 'A network error caused the media download to fail.': + 'You stopped media playback before it finished.': 'Odtwarzanie zostało przerwane', + 'This media could not be loaded due to a network or server issue.': 'Błąd sieci spowodował częściowe niepowodzenie pobierania materiału wideo.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'Odtwarzanie materiału wideo zostało przerwane z powodu uszkodzonego pliku wideo lub z powodu użycia funkcji multimediów nieobsługiwanych przez Twoją przeglądarkę.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Materiał wideo nie może zostać załadowany, ponieważ wystąpił problem z serwerem lub siecią albo format materiału wideo nie jest obsługiwany', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'Materiał jest zaszyfrowany, a nie mamy kluczy do jego odszyfrowania.', '': '', 'Something went wrong.': 'Coś poszło nie tak.', OK: 'Zamknij', + 'An unexpected error occurred.': 'Wystąpił błąd. Spróbuj ponownie.', Settings: 'Ustawienia', Quality: 'Jakość', Audio: 'Dźwięk', @@ -65,5 +66,4 @@ export default { Auto: 'Auto', 'Auto ({label})': 'Auto ({label})', Subtitles: 'Napisy', - 'An error occurred. Please try again.': 'Wystąpił błąd. Spróbuj ponownie.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/pt-BR.ts b/packages/core/src/core/i18n/locales/pt-BR.ts index ca443266..7bc54ad9 100644 --- a/packages/core/src/core/i18n/locales/pt-BR.ts +++ b/packages/core/src/core/i18n/locales/pt-BR.ts @@ -41,17 +41,19 @@ export default { 'Exit fullscreen': 'Sair da tela cheia', 'Picture in picture': 'Picture-in-picture', 'Exit picture in picture': 'Sair do picture-in-picture', - 'You aborted the media playback': 'Você parou a execução do vídeo.', - 'A network error caused the media download to fail.': 'Um erro na rede causou falha durante o download da mídia.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'Você parou a execução do vídeo.', + 'This media could not be loaded due to a network or server issue.': + 'Um erro na rede causou falha durante o download da mídia.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'A reprodução foi interrompida devido à um problema de mídia corrompida ou porque a mídia utiliza funções que seu navegador não suporta.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'A mídia não pode ser carregada, por uma falha de rede ou servidor ou o formato não é suportado.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'A mídia está criptografada e não temos as chaves para descriptografar.', '': '', 'Something went wrong.': 'Algo deu errado.', OK: 'Fechar', + 'An unexpected error occurred.': 'Ocorreu um erro. Tente novamente.', Settings: 'Configurações', Quality: 'Qualidade', Audio: 'Áudio', @@ -64,5 +66,4 @@ export default { Auto: 'Auto', 'Auto ({label})': 'Auto ({label})', Subtitles: 'Legendas', - 'An error occurred. Please try again.': 'Ocorreu um erro. Tente novamente.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/pt-PT.ts b/packages/core/src/core/i18n/locales/pt-PT.ts index 315a02d7..b4fba2a0 100644 --- a/packages/core/src/core/i18n/locales/pt-PT.ts +++ b/packages/core/src/core/i18n/locales/pt-PT.ts @@ -41,17 +41,19 @@ export default { 'Exit fullscreen': 'Sair de ecrã inteiro', 'Picture in picture': 'Imagem em imagem', 'Exit picture in picture': 'Sair de imagem em imagem', - 'You aborted the media playback': 'Parou a reprodução do vídeo.', - 'A network error caused the media download to fail.': 'Um erro na rede fez o vídeo falhar parcialmente.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'Parou a reprodução do vídeo.', + 'This media could not be loaded due to a network or server issue.': + 'Um erro na rede fez o vídeo falhar parcialmente.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'A reprodução foi interrompida por um problema com o vídeo ou porque o formato não é compatível com o seu navegador.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'O vídeo não pode ser carregado, ou porque houve um problema na rede ou no servidor, ou porque o formato do vídeo não é compatível.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'O vídeo está encriptado e não há uma chave para o desencriptar.', '': '', 'Something went wrong.': 'Algo correu mal.', OK: 'Fechar', + 'An unexpected error occurred.': 'Ocorreu um erro. Por favor tente novamente.', Settings: 'Definições', Quality: 'Qualidade', Audio: 'Áudio', @@ -64,5 +66,4 @@ export default { Auto: 'Auto', 'Auto ({label})': 'Auto ({label})', Subtitles: 'Legendas', - 'An error occurred. Please try again.': 'Ocorreu um erro. Por favor tente novamente.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/ro.ts b/packages/core/src/core/i18n/locales/ro.ts index 0c6b92c5..2bbcee39 100644 --- a/packages/core/src/core/i18n/locales/ro.ts +++ b/packages/core/src/core/i18n/locales/ro.ts @@ -41,18 +41,19 @@ export default { 'Exit fullscreen': 'Ieșire ecran complet', 'Picture in picture': 'Imagine în imagine', 'Exit picture in picture': 'Închidere imagine în imagine', - 'You aborted the media playback': 'Ați abandonat redarea media', - 'A network error caused the media download to fail.': + 'You stopped media playback before it finished.': 'Ați abandonat redarea media', + 'This media could not be loaded due to a network or server issue.': 'O eroare de rețea a provocat eșecul descărcării conținutului media în timpul procesului.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'Redarea media a fost întreruptă din cauza conținutului corupt sau din cauza faptului că acest conținut media folosește funcții pe care browserul dvs. nu le acceptă.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Conținutul media nu a putut fi încărcat, fie pentru că serverul sau rețeaua a eșuat, fie pentru că formatul nu este acceptat.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'Conținutul media este criptat și nu avem cheile pentru decriptare.', '': '', 'Something went wrong.': 'Ceva a mers greșit.', OK: 'Închidere', + 'An unexpected error occurred.': 'A apărut o eroare. Vă rugăm să încercați din nou.', Settings: 'Setări', Quality: 'Calitate', Audio: 'Sunet', @@ -65,5 +66,4 @@ export default { Auto: 'Automat', 'Auto ({label})': 'Automat ({label})', Subtitles: 'Subtitrări', - 'An error occurred. Please try again.': 'A apărut o eroare. Vă rugăm să încercați din nou.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/ru.ts b/packages/core/src/core/i18n/locales/ru.ts index 213cacbb..1fdafa09 100644 --- a/packages/core/src/core/i18n/locales/ru.ts +++ b/packages/core/src/core/i18n/locales/ru.ts @@ -41,17 +41,18 @@ export default { 'Exit fullscreen': 'Выйти из полноэкранного режима', 'Picture in picture': 'Картинка в картинке', 'Exit picture in picture': 'Выйти из режима «картинка в картинке»', - 'You aborted the media playback': 'Вы прервали воспроизведение видео', - 'A network error caused the media download to fail.': 'Ошибка сети вызвала сбой во время загрузки.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'Вы прервали воспроизведение видео', + 'This media could not be loaded due to a network or server issue.': 'Ошибка сети вызвала сбой во время загрузки.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'Воспроизведение прервано из-за повреждения либо в связи с тем, что видео использует функции, неподдерживаемые вашим браузером.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Не удалось загрузить видео из-за сетевого или серверного сбоя либо неподдерживаемого формата видео.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'Видео зашифровано, а у нас нет ключей для его расшифровки.', '': '', 'Something went wrong.': 'Что-то пошло не так.', OK: 'Закрыть', + 'An unexpected error occurred.': 'Произошла ошибка. Попробуйте снова.', Settings: 'Настройки', Quality: 'Качество', Audio: 'Аудио', @@ -64,5 +65,4 @@ export default { Auto: 'Авто', 'Auto ({label})': 'Авто ({label})', Subtitles: 'Субтитры', - 'An error occurred. Please try again.': 'Произошла ошибка. Попробуйте снова.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/sk.ts b/packages/core/src/core/i18n/locales/sk.ts index ac49c982..e93e3528 100644 --- a/packages/core/src/core/i18n/locales/sk.ts +++ b/packages/core/src/core/i18n/locales/sk.ts @@ -41,17 +41,19 @@ export default { 'Exit fullscreen': 'Zavrieť celú obrazovku', 'Picture in picture': 'Obraz v obraze', 'Exit picture in picture': 'Zavrieť obraz v obraze', - 'You aborted the media playback': 'Prerušili ste prehrávanie', - 'A network error caused the media download to fail.': 'Sťahovanie súboru bolo zrušené pre chybu na sieti.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'Prerušili ste prehrávanie', + 'This media could not be loaded due to a network or server issue.': + 'Sťahovanie súboru bolo zrušené pre chybu na sieti.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'Prehrávanie súboru bolo prerušené pre poškodené dáta, alebo súbor používa vlastnosti, ktoré váš prehliadač nepodporuje.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Súbor sa nepodarilo načítať pre chybu servera, sieťového pripojenia, alebo je formát súboru nepodporovaný.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'Súbor je zašifrovaný a nie je k dispozícii kľúč na rozšifrovanie.', '': '', 'Something went wrong.': 'Niečo sa pokazilo.', OK: 'Zatvoriť', + 'An unexpected error occurred.': 'Vyskytla sa chyba. Skúste to znova.', Settings: 'Nastavenia', Quality: 'Kvalita', Audio: 'Zvuk', @@ -64,5 +66,4 @@ export default { Auto: 'Automaticky', 'Auto ({label})': 'Automaticky ({label})', Subtitles: 'Titulky', - 'An error occurred. Please try again.': 'Vyskytla sa chyba. Skúste to znova.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/sl.ts b/packages/core/src/core/i18n/locales/sl.ts index 29194c12..f7a1227f 100644 --- a/packages/core/src/core/i18n/locales/sl.ts +++ b/packages/core/src/core/i18n/locales/sl.ts @@ -41,18 +41,19 @@ export default { 'Exit fullscreen': 'Izhod iz celozaslonskega prikaza', 'Picture in picture': 'Slika v sliki', 'Exit picture in picture': 'Izhod iz slike v sliki', - 'You aborted the media playback': 'Prekinili ste predvajanje.', - 'A network error caused the media download to fail.': + 'You stopped media playback before it finished.': 'Prekinili ste predvajanje.', + 'This media could not be loaded due to a network or server issue.': 'Prenos multimedijske datoteke ni uspel zaradi napake v omrežju.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'Predvajanje datoteke je bilo prekinjeno zaradi napak v datoteki ali ker uporablja funkcije, ki jih brskalnik ne podpira.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Multimedijske datoteke ni bilo mogoče naložiti zaradi napake na strežniku oziroma omrežju ali ker ta oblika ni podprta.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'Datoteka je šifrirana in predvajalnik nima ključev za njeno dešifriranje.', '': '', 'Something went wrong.': 'Nekaj je šlo narobe.', OK: 'Zapri', + 'An unexpected error occurred.': 'Prišlo je do napake. Poskusite znova.', Settings: 'Nastavitve', Quality: 'Kakovost', Audio: 'Zvok', @@ -65,5 +66,4 @@ export default { Auto: 'Samodejno', 'Auto ({label})': 'Samodejno ({label})', Subtitles: 'Podnapisi', - 'An error occurred. Please try again.': 'Prišlo je do napake. Poskusite znova.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/sr.ts b/packages/core/src/core/i18n/locales/sr.ts index a87d86f9..8de007a1 100644 --- a/packages/core/src/core/i18n/locales/sr.ts +++ b/packages/core/src/core/i18n/locales/sr.ts @@ -41,16 +41,19 @@ export default { 'Exit fullscreen': 'Izađi iz punog ekrana', 'Picture in picture': 'Slika u slici', 'Exit picture in picture': 'Izađi iz slike u slici', - 'You aborted the media playback': 'Isključili ste reprodukciju videa.', - 'A network error caused the media download to fail.': 'Video se prestao preuzimati zbog greške na mreži.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'Isključili ste reprodukciju videa.', + 'This media could not be loaded due to a network or server issue.': + 'Video se prestao preuzimati zbog greške na mreži.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'Reprodukcija videa je zaustavljena zbog greške u formatu ili zbog verzije vašeg pretraživača.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Video se ne može reproducirati zbog servera, greške u mreži ili format nije podržan.', - 'The media is encrypted and there are no keys to decrypt it.': 'Medij je šifrovan i nema ključeva za dešifrovanje.', + 'This media could not be played because it could not be decrypted.': + 'Medij je šifrovan i nema ključeva za dešifrovanje.', '': '', 'Something went wrong.': 'Nešto je pošlo po zlu.', OK: 'Zatvori', + 'An unexpected error occurred.': 'Došlo je do greške. Molimo pokušajte ponovo.', Settings: 'Podešavanja', Quality: 'Kvalitet', Audio: 'Zvuk', @@ -63,5 +66,4 @@ export default { Auto: 'Automatski', 'Auto ({label})': 'Automatski ({label})', Subtitles: 'Titlovi', - 'An error occurred. Please try again.': 'Došlo je do greške. Molimo pokušajte ponovo.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/sv.ts b/packages/core/src/core/i18n/locales/sv.ts index a23d65b5..19d2807c 100644 --- a/packages/core/src/core/i18n/locales/sv.ts +++ b/packages/core/src/core/i18n/locales/sv.ts @@ -41,17 +41,19 @@ export default { 'Exit fullscreen': 'Avsluta fullskärm', 'Picture in picture': 'Bild i bild', 'Exit picture in picture': 'Avsluta bild i bild', - 'You aborted the media playback': 'Du har avbrutit videouppspelningen.', - 'A network error caused the media download to fail.': 'Ett nätverksfel gjorde att nedladdningen av videon avbröts.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'Du har avbrutit videouppspelningen.', + 'This media could not be loaded due to a network or server issue.': + 'Ett nätverksfel gjorde att nedladdningen av videon avbröts.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'Uppspelningen avbröts på grund av att videon är skadad, eller också för att videon använder funktioner som din webbläsare inte stöder.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Det gick inte att ladda videon, antingen på grund av ett server- eller nätverksfel, eller för att formatet inte stöds.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'Mediat är krypterat och vi har inte nycklarna för att dekryptera det.', '': '', 'Something went wrong.': 'Något gick fel.', OK: 'Stäng', + 'An unexpected error occurred.': 'Ett fel uppstod. Försök igen.', Settings: 'Inställningar', Quality: 'Kvalitet', Audio: 'Ljud', @@ -64,5 +66,4 @@ export default { Auto: 'Auto', 'Auto ({label})': 'Auto ({label})', Subtitles: 'Undertexter', - 'An error occurred. Please try again.': 'Ett fel uppstod. Försök igen.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/te.ts b/packages/core/src/core/i18n/locales/te.ts index df3afce8..86d072ff 100644 --- a/packages/core/src/core/i18n/locales/te.ts +++ b/packages/core/src/core/i18n/locales/te.ts @@ -41,16 +41,18 @@ export default { 'Exit fullscreen': 'పూర్తి స్క్రీన్ నుండి నిష్క్రమించండి', 'Picture in picture': 'పిక్చర్ ఇన్ పిక్చర్', 'Exit picture in picture': 'పిక్చర్ ఇన్ పిక్చర్ నుండి నిష్క్రమించండి', - 'You aborted the media playback': 'మీరు మీడియా ప్లేబ్యాక్‌ను రద్దు చేశారు', - 'A network error caused the media download to fail.': 'నెట్‌వర్క్ లోపం వలన మీడియా డౌన్‌లోడ్ విఫలమైంది.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'మీరు మీడియా ప్లేబ్యాక్‌ను రద్దు చేశారు', + 'This media could not be loaded due to a network or server issue.': 'నెట్‌వర్క్ లోపం వలన మీడియా డౌన్‌లోడ్ విఫలమైంది.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'అవినీతి సమస్య కారణంగా లేదా మీ బ్రౌజర్ మద్దతు ఇవ్వని లక్షణాలను మీడియా ఉపయోగించినందున మీడియా ప్లేబ్యాక్ నిలిపివేయబడింది.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'సర్వర్ లేదా నెట్‌వర్క్ విఫలమైనందున లేదా ఫార్మాట్‌కు మద్దతు లేనందున మీడియాను లోడ్ చేయడం సాధ్యం కాలేదు.', - 'The media is encrypted and there are no keys to decrypt it.': 'మీడియా గుప్తీకరించబడింది మరియు దానిని డీక్రిప్ట్ చేయడానికి మాకు కీలు లేవు.', + 'This media could not be played because it could not be decrypted.': + 'మీడియా గుప్తీకరించబడింది మరియు దానిని డీక్రిప్ట్ చేయడానికి మాకు కీలు లేవు.', '': '', 'Something went wrong.': 'ఏదో తప్పు జరిగింది.', OK: 'మూసివేయండి', + 'An unexpected error occurred.': 'ఒక లోపం సంభవించింది. దయచేసి మళ్ళీ ప్రయత్నించండి.', Settings: 'సెట్టింగ్‌లు', Quality: 'నాణ్యత', Audio: 'ఆడియో', @@ -63,5 +65,4 @@ export default { Auto: 'ఆటో', 'Auto ({label})': 'ఆటో ({label})', Subtitles: 'ఉపశీర్షికలు', - 'An error occurred. Please try again.': 'ఒక లోపం సంభవించింది. దయచేసి మళ్ళీ ప్రయత్నించండి.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/th.ts b/packages/core/src/core/i18n/locales/th.ts index cabeaf06..c44bfdc2 100644 --- a/packages/core/src/core/i18n/locales/th.ts +++ b/packages/core/src/core/i18n/locales/th.ts @@ -41,16 +41,18 @@ export default { 'Exit fullscreen': 'ออกจากเต็มหน้าจอ', 'Picture in picture': 'ภาพซ้อนภาพ', 'Exit picture in picture': 'ออกจากภาพซ้อนภาพ', - 'You aborted the media playback': 'คุณยกเลิกการเล่นสื่อแล้ว', - 'A network error caused the media download to fail.': 'ข้อผิดพลาดของเครือข่ายทำให้การดาวน์โหลดสื่อไม่สำเร็จเป็นบางส่วน', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'คุณยกเลิกการเล่นสื่อแล้ว', + 'This media could not be loaded due to a network or server issue.': + 'ข้อผิดพลาดของเครือข่ายทำให้การดาวน์โหลดสื่อไม่สำเร็จเป็นบางส่วน', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'การเล่นสื่อถูกยกเลิกเนื่องจากปัญหาเกี่ยวกับความเสียหาย หรือเนื่องจากสื่อใช้ฟีเจอร์ที่เบราว์เซอร์ของคุณไม่รองรับ', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'ไม่สามารถโหลดสื่อได้ โดยอาจเป็นเพราะเซิร์ฟเวอร์หรือเครือข่ายล้มเหลว หรือเพราะรูปแบบไม่ได้รับการรองรับ', - 'The media is encrypted and there are no keys to decrypt it.': 'สื่อถูกเข้ารหัสลับแล้ว และเราไม่มีคีย์ที่จะถอดรหัสลับดังกล่าว', + 'This media could not be played because it could not be decrypted.': 'สื่อถูกเข้ารหัสลับแล้ว และเราไม่มีคีย์ที่จะถอดรหัสลับดังกล่าว', '': '', 'Something went wrong.': 'เกิดข้อผิดพลาด', OK: 'ปิด', + 'An unexpected error occurred.': 'เกิดข้อผิดพลาด กรุณาลองอีกครั้ง', Settings: 'การตั้งค่า', Quality: 'คุณภาพ', Audio: 'เสียง', @@ -63,5 +65,4 @@ export default { Auto: 'อัตโนมัติ', 'Auto ({label})': 'อัตโนมัติ ({label})', Subtitles: 'คำบรรยาย', - 'An error occurred. Please try again.': 'เกิดข้อผิดพลาด กรุณาลองอีกครั้ง', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/tr.ts b/packages/core/src/core/i18n/locales/tr.ts index 0e210822..59160445 100644 --- a/packages/core/src/core/i18n/locales/tr.ts +++ b/packages/core/src/core/i18n/locales/tr.ts @@ -41,18 +41,19 @@ export default { 'Exit fullscreen': 'Tam ekrandan çık', 'Picture in picture': 'Resim içinde resim', 'Exit picture in picture': 'Resim içinde resimden çık', - 'You aborted the media playback': 'Medyayı oynatmayı iptal ettiniz', - 'A network error caused the media download to fail.': + 'You stopped media playback before it finished.': 'Medyayı oynatmayı iptal ettiniz', + 'This media could not be loaded due to a network or server issue.': 'Medya indirme işleminin kısmen başarısız olmasına neden olan bir ağ sorunu oluştu.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'Medya oynatma, bir bozulma sorunu nedeniyle veya medya, tarayıcınızın desteklemediği özellikleri kullandığı için durduruldu.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Sunucu veya ağ hatasından ya da biçim desteklenmediğinden medya yüklenemedi.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'Medya, şifrelenmiş bir kaynaktan geliyor ve oynatmak için gerekli anahtar bulunamadı.', '': '', 'Something went wrong.': 'Bir şeyler ters gitti.', OK: 'Kapat', + 'An unexpected error occurred.': 'Bir hata oluştu. Lütfen tekrar deneyin.', Settings: 'Ayarlar', Quality: 'Kalite', Audio: 'Ses', @@ -65,5 +66,4 @@ export default { Auto: 'Otomatik', 'Auto ({label})': 'Otomatik ({label})', Subtitles: 'Altyazılar', - 'An error occurred. Please try again.': 'Bir hata oluştu. Lütfen tekrar deneyin.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/uk.ts b/packages/core/src/core/i18n/locales/uk.ts index ecfafd21..02356625 100644 --- a/packages/core/src/core/i18n/locales/uk.ts +++ b/packages/core/src/core/i18n/locales/uk.ts @@ -41,17 +41,19 @@ export default { 'Exit fullscreen': 'Вийти з повноекранного режиму', 'Picture in picture': 'Зображення в зображенні', 'Exit picture in picture': 'Вийти із режиму зображення в зображенні', - 'You aborted the media playback': 'Ви припинили відтворення відео', - 'A network error caused the media download to fail.': 'Помилка мережі викликала збій під час завантаження відео.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'Ви припинили відтворення відео', + 'This media could not be loaded due to a network or server issue.': + 'Помилка мережі викликала збій під час завантаження відео.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': "Відтворення відео було припинено через пошкодження або у зв'язку з тим, що відео використовує функції, які не підтримуються вашим браузером.", - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Неможливо завантажити відео через мережевий чи серверний збій або формат не підтримується.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'Відео в зашифрованому вигляді, і ми не маємо ключі для розшифровки.', '': '', 'Something went wrong.': 'Щось пішло не так.', OK: 'Закрити', + 'An unexpected error occurred.': 'Сталася помилка. Будь ласка, спробуйте ще раз.', Settings: 'Налаштування', Quality: 'Якість', Audio: 'Аудіо', @@ -64,5 +66,4 @@ export default { Auto: 'Авто', 'Auto ({label})': 'Авто ({label})', Subtitles: 'Субтитри', - 'An error occurred. Please try again.': 'Сталася помилка. Будь ласка, спробуйте ще раз.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/vi.ts b/packages/core/src/core/i18n/locales/vi.ts index 7c84ce21..93b11bef 100644 --- a/packages/core/src/core/i18n/locales/vi.ts +++ b/packages/core/src/core/i18n/locales/vi.ts @@ -41,17 +41,18 @@ export default { 'Exit fullscreen': 'Thoát toàn màn hình', 'Picture in picture': 'Màn hình trong màn hình', 'Exit picture in picture': 'Thoát màn hình trong màn hình', - 'You aborted the media playback': 'Bạn đã hủy việc phát lại media.', - 'A network error caused the media download to fail.': 'Một lỗi mạng dẫn đến việc tải media bị lỗi.', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': 'Bạn đã hủy việc phát lại media.', + 'This media could not be loaded due to a network or server issue.': 'Một lỗi mạng dẫn đến việc tải media bị lỗi.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': 'Phát media đã bị hủy do một sai lỗi hoặc media sử dụng những tính năng trình duyệt không hỗ trợ.', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': 'Video không tải được, mạng hay server có lỗi hoặc định dạng không được hỗ trợ.', - 'The media is encrypted and there are no keys to decrypt it.': + 'This media could not be played because it could not be decrypted.': 'Media đã được mã hóa và chúng tôi không có khóa để giải mã.', '': '', 'Something went wrong.': 'Đã xảy ra lỗi.', OK: 'Đóng', + 'An unexpected error occurred.': 'Đã xảy ra lỗi. Vui lòng thử lại.', Settings: 'Cài đặt', Quality: 'Chất lượng', Audio: 'Âm thanh', @@ -64,5 +65,4 @@ export default { Auto: 'Tự động', 'Auto ({label})': 'Tự động ({label})', Subtitles: 'Phụ đề', - 'An error occurred. Please try again.': 'Đã xảy ra lỗi. Vui lòng thử lại.', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/zh-CN.ts b/packages/core/src/core/i18n/locales/zh-CN.ts index d892c609..2f0a53c1 100644 --- a/packages/core/src/core/i18n/locales/zh-CN.ts +++ b/packages/core/src/core/i18n/locales/zh-CN.ts @@ -41,16 +41,17 @@ export default { 'Exit fullscreen': '退出全屏', 'Picture in picture': '画中画', 'Exit picture in picture': '退出画中画', - 'You aborted the media playback': '视频播放被终止', - 'A network error caused the media download to fail.': '网络错误导致视频下载中途失败。', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': '视频播放被终止', + 'This media could not be loaded due to a network or server issue.': '网络错误导致视频下载中途失败。', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': '由于视频文件损坏或是该视频使用了你的浏览器不支持的功能,播放终止。', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': '视频因格式不支持或者服务器或网络的问题无法加载。', - 'The media is encrypted and there are no keys to decrypt it.': '视频已加密,无法解密。', + 'This media could not be played because it could not be decrypted.': '视频已加密,无法解密。', '': '', 'Something went wrong.': '出现问题。', OK: '关闭', + 'An unexpected error occurred.': '发生错误,请重试。', Settings: '设置', Quality: '画质', Audio: '音频', @@ -63,5 +64,4 @@ export default { Auto: '自动', 'Auto ({label})': '自动({label})', Subtitles: '字幕', - 'An error occurred. Please try again.': '发生错误,请重试。', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/locales/zh-TW.ts b/packages/core/src/core/i18n/locales/zh-TW.ts index 4c9345da..289f3545 100644 --- a/packages/core/src/core/i18n/locales/zh-TW.ts +++ b/packages/core/src/core/i18n/locales/zh-TW.ts @@ -41,16 +41,17 @@ export default { 'Exit fullscreen': '退出全螢幕', 'Picture in picture': '子母畫面', 'Exit picture in picture': '離開子母畫面', - 'You aborted the media playback': '影片播放已終止', - 'A network error caused the media download to fail.': '網路錯誤導致影片下載失敗。', - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': + 'You stopped media playback before it finished.': '影片播放已終止', + 'This media could not be loaded due to a network or server issue.': '網路錯誤導致影片下載失敗。', + 'This media could not be played. It may be corrupted, or your browser may not support its format.': '由於影片檔案損毀或是該影片使用了您的瀏覽器不支援的功能,已終止播放媒體。', - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': '因格式不支援、伺服器或網路的問題無法載入媒體。', - 'The media is encrypted and there are no keys to decrypt it.': '媒體已加密,無法解密。', + 'This media could not be played because it could not be decrypted.': '媒體已加密,無法解密。', '': '', 'Something went wrong.': '發生問題。', OK: '關閉', + 'An unexpected error occurred.': '發生錯誤,請重試。', Settings: '設定', Quality: '畫質', Audio: '音訊', @@ -63,5 +64,4 @@ export default { Auto: '自動', 'Auto ({label})': '自動({label})', Subtitles: '字幕', - 'An error occurred. Please try again.': '發生錯誤,請重試。', } as const satisfies Partial; diff --git a/packages/core/src/core/i18n/types.ts b/packages/core/src/core/i18n/types.ts index de47cb40..f12f25ba 100644 --- a/packages/core/src/core/i18n/types.ts +++ b/packages/core/src/core/i18n/types.ts @@ -46,15 +46,15 @@ export type TranslationParams = { Fullscreen: never; 'Picture in picture': never; 'Exit picture in picture': never; - 'You aborted the media playback': never; - 'A network error caused the media download to fail.': never; - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.': never; - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.': never; - 'The media is encrypted and there are no keys to decrypt it.': never; + 'You stopped media playback before it finished.': never; + 'This media could not be loaded due to a network or server issue.': never; + 'This media could not be played. It may be corrupted, or your browser may not support its format.': never; + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.': never; + 'This media could not be played because it could not be decrypted.': never; '': never; 'Something went wrong.': never; OK: never; - 'An error occurred. Please try again.': never; + 'An unexpected error occurred.': never; Settings: never; Quality: never; Audio: never; diff --git a/packages/core/src/core/media/media-error.ts b/packages/core/src/core/media/media-error.ts index b525188d..74c3839c 100644 --- a/packages/core/src/core/media/media-error.ts +++ b/packages/core/src/core/media/media-error.ts @@ -23,11 +23,11 @@ export class MediaError extends Error { static MEDIA_ERR_CUSTOM = 100 as const; static defaultMessages: Record = { - 1: 'You aborted the media playback', - 2: 'A network error caused the media download to fail.', - 3: 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.', - 4: 'An unsupported error occurred. The server or network failed, or your browser does not support this format.', - 5: 'The media is encrypted and there are no keys to decrypt it.', + 1: 'You stopped media playback before it finished.', + 2: 'This media could not be loaded due to a network or server issue.', + 3: 'This media could not be played. It may be corrupted, or your browser may not support its format.', + 4: 'This media could not be loaded. It may be unavailable, or your browser may not support its format.', + 5: 'This media could not be played because it could not be decrypted.', }; name: string; diff --git a/packages/core/src/core/ui/error-dialog/error-dialog-i18n.ts b/packages/core/src/core/ui/error-dialog/error-dialog-i18n.ts index 21b2c45d..3181698c 100644 --- a/packages/core/src/core/ui/error-dialog/error-dialog-i18n.ts +++ b/packages/core/src/core/ui/error-dialog/error-dialog-i18n.ts @@ -3,22 +3,22 @@ import { MediaError } from '../../media/media-error'; export type MediaErrorTranslationKey = Extract< keyof TranslationParams, - | 'You aborted the media playback' - | 'A network error caused the media download to fail.' - | 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.' - | 'An unsupported error occurred. The server or network failed, or your browser does not support this format.' - | 'The media is encrypted and there are no keys to decrypt it.' + | 'You stopped media playback before it finished.' + | 'This media could not be loaded due to a network or server issue.' + | 'This media could not be played. It may be corrupted, or your browser may not support its format.' + | 'This media could not be loaded. It may be unavailable, or your browser may not support its format.' + | 'This media could not be played because it could not be decrypted.' | '' >; const MEDIA_ERROR_CODE_TO_KEY: Record = { - [MediaError.MEDIA_ERR_ABORTED]: 'You aborted the media playback', - [MediaError.MEDIA_ERR_NETWORK]: 'A network error caused the media download to fail.', + [MediaError.MEDIA_ERR_ABORTED]: 'You stopped media playback before it finished.', + [MediaError.MEDIA_ERR_NETWORK]: 'This media could not be loaded due to a network or server issue.', [MediaError.MEDIA_ERR_DECODE]: - 'A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.', + 'This media could not be played. It may be corrupted, or your browser may not support its format.', [MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED]: - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.', - [MediaError.MEDIA_ERR_ENCRYPTED]: 'The media is encrypted and there are no keys to decrypt it.', + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.', + [MediaError.MEDIA_ERR_ENCRYPTED]: 'This media could not be played because it could not be decrypted.', [MediaError.MEDIA_ERR_CUSTOM]: '', }; @@ -70,5 +70,5 @@ export function resolveErrorDialogDescription( const cached = cachedMessage?.trim(); if (cached) return cached; - return 'An error occurred. Please try again.'; + return 'An unexpected error occurred.'; } diff --git a/packages/core/src/core/ui/error-dialog/tests/error-dialog-i18n.test.ts b/packages/core/src/core/ui/error-dialog/tests/error-dialog-i18n.test.ts index 258fde80..dee6366f 100644 --- a/packages/core/src/core/ui/error-dialog/tests/error-dialog-i18n.test.ts +++ b/packages/core/src/core/ui/error-dialog/tests/error-dialog-i18n.test.ts @@ -10,9 +10,11 @@ import { describe('getMediaErrorTranslationKey', () => { it('maps standard MediaError codes to registry keys', () => { expect(getMediaErrorTranslationKey(MediaError.MEDIA_ERR_NETWORK)).toBe( - 'A network error caused the media download to fail.' + 'This media could not be loaded due to a network or server issue.' + ); + expect(getMediaErrorTranslationKey(MediaError.MEDIA_ERR_ABORTED)).toBe( + 'You stopped media playback before it finished.' ); - expect(getMediaErrorTranslationKey(MediaError.MEDIA_ERR_ABORTED)).toBe('You aborted the media playback'); }); }); @@ -31,7 +33,9 @@ describe('getErrorDialogDismissLabel', () => { describe('resolveErrorDialogDescription', () => { it('returns a registry key when the message matches the default for the code', () => { const error = new MediaError(undefined, MediaError.MEDIA_ERR_NETWORK); - expect(resolveErrorDialogDescription(error, null)).toBe('A network error caused the media download to fail.'); + expect(resolveErrorDialogDescription(error, null)).toBe( + 'This media could not be loaded due to a network or server issue.' + ); }); it('returns custom message text when context is provided', () => { @@ -47,12 +51,12 @@ describe('resolveErrorDialogDescription', () => { it('returns a registry key for browser-specific messages on standard codes', () => { const error = new MediaError('Failed to open media', MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED); expect(resolveErrorDialogDescription(error, null)).toBe( - 'An unsupported error occurred. The server or network failed, or your browser does not support this format.' + 'This media could not be loaded. It may be unavailable, or your browser may not support its format.' ); }); it('falls back to cached message then generic key', () => { expect(resolveErrorDialogDescription(null, 'Cached')).toBe('Cached'); - expect(resolveErrorDialogDescription(null, null)).toBe('An error occurred. Please try again.'); + expect(resolveErrorDialogDescription(null, null)).toBe('An unexpected error occurred.'); }); }); diff --git a/packages/html/src/ui/error-dialog/error-dialog-element.ts b/packages/html/src/ui/error-dialog/error-dialog-element.ts index f7c29bb4..1580f9f0 100644 --- a/packages/html/src/ui/error-dialog/error-dialog-element.ts +++ b/packages/html/src/ui/error-dialog/error-dialog-element.ts @@ -141,7 +141,7 @@ export class ErrorDialogElement extends MediaElement { if (description) { this.#lastDescription = description; } - const copy = description ?? this.#lastDescription ?? 'An error occurred. Please try again.'; + const copy = description ?? this.#lastDescription ?? 'An unexpected error occurred.'; desc.textContent = resolveTranslation(t, copy); } diff --git a/packages/html/src/ui/error-dialog/tests/error-dialog-element.test.ts b/packages/html/src/ui/error-dialog/tests/error-dialog-element.test.ts index 02669be8..0021a664 100644 --- a/packages/html/src/ui/error-dialog/tests/error-dialog-element.test.ts +++ b/packages/html/src/ui/error-dialog/tests/error-dialog-element.test.ts @@ -71,7 +71,7 @@ describe('ErrorDialogElement', () => { registerI18n('es', { 'Something went wrong.': 'Algo salió mal.', OK: 'Aceptar', - 'An error occurred. Please try again.': 'Ocurrió un error. Inténtalo de nuevo.', + 'An unexpected error occurred.': 'Ocurrió un error inesperado.', }); ensureDefined(MediaI18nProviderElement.tagName, MediaI18nProviderElement); ensureDefined(AlertDialogTitleElement.tagName, AlertDialogTitleElement); @@ -92,7 +92,7 @@ describe('ErrorDialogElement', () => { await el.updateComplete; expect(title.textContent).toBe('Algo salió mal.'); - expect(desc.textContent).toBe('Ocurrió un error. Inténtalo de nuevo.'); + expect(desc.textContent).toBe('Ocurrió un error inesperado.'); expect(close.textContent).toBe('Aceptar'); }); @@ -100,7 +100,7 @@ describe('ErrorDialogElement', () => { registerI18n('es', { 'Something went wrong.': 'Algo salió mal.', OK: 'Aceptar', - 'An error occurred. Please try again.': 'Ocurrió un error. Inténtalo de nuevo.', + 'An unexpected error occurred.': 'Ocurrió un error inesperado.', }); ensureDefined(MediaI18nProviderElement.tagName, MediaI18nProviderElement); ensureDefined(AlertDialogTitleElement.tagName, AlertDialogTitleElement); @@ -122,7 +122,7 @@ describe('ErrorDialogElement', () => { await el.updateComplete; expect(title.textContent).toBe('Custom title'); - expect(desc.textContent).toBe('Ocurrió un error. Inténtalo de nuevo.'); + expect(desc.textContent).toBe('Ocurrió un error inesperado.'); expect(close.textContent).toBe('Aceptar'); }); diff --git a/packages/react/src/ui/error-dialog/tests/error-dialog.test.tsx b/packages/react/src/ui/error-dialog/tests/error-dialog.test.tsx index 913426eb..dfad881f 100644 --- a/packages/react/src/ui/error-dialog/tests/error-dialog.test.tsx +++ b/packages/react/src/ui/error-dialog/tests/error-dialog.test.tsx @@ -16,13 +16,13 @@ describe('ErrorDialog', () => { registerI18n('es', { 'Something went wrong.': 'Algo salió mal.', OK: 'Aceptar', - 'A network error caused the media download to fail.': 'Error de red.', - 'An error occurred. Please try again.': 'Ocurrió un error. Inténtalo de nuevo.', + 'This media could not be loaded due to a network or server issue.': 'Error de red.', + 'An unexpected error occurred.': 'Ocurrió un error inesperado.', }); const error = { code: 2, - message: 'A network error caused the media download to fail.', + message: 'This media could not be loaded due to a network or server issue.', }; const { Wrapper } = createPlayerWrapper({ error,