@banou/media-player 0.10.33 → 0.10.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/dist/ar-CS4Yzfxw.js +52 -0
- package/dist/cs-CxBZ1aTx.js +52 -0
- package/dist/el-BVTNfAWK.js +52 -0
- package/dist/he-DbFw1CdO.js +52 -0
- package/dist/hi-rBroV7g8.js +52 -0
- package/dist/hu-m-QKaaxF.js +52 -0
- package/dist/id-BYpApdK9.js +52 -0
- package/dist/index.js +20 -1
- package/dist/ms-8pQbqM0D.js +52 -0
- package/dist/nl-q7xvc3xW.js +52 -0
- package/dist/ro-DBrd08Df.js +52 -0
- package/dist/sv-DJC3tXfW.js +52 -0
- package/dist/th-BNzU_FYo.js +52 -0
- package/dist/uk-C66esN2W.js +52 -0
- package/dist/vi-oOaDECwu.js +52 -0
- package/package.json +1 -1
- package/src/lib/locales/ar.json +49 -0
- package/src/lib/locales/cs.json +49 -0
- package/src/lib/locales/el.json +49 -0
- package/src/lib/locales/he.json +49 -0
- package/src/lib/locales/hi.json +49 -0
- package/src/lib/locales/hu.json +49 -0
- package/src/lib/locales/id.json +49 -0
- package/src/lib/locales/ms.json +49 -0
- package/src/lib/locales/nl.json +49 -0
- package/src/lib/locales/ro.json +49 -0
- package/src/lib/locales/sv.json +49 -0
- package/src/lib/locales/th.json +49 -0
- package/src/lib/locales/uk.json +49 -0
- package/src/lib/locales/vi.json +49 -0
- package/src/lib/react/components/overlay.tsx +2 -1
- package/src/lib/react/components/tooltip-display.tsx +3 -1
- package/src/lib/react/components/track-menu.tsx +1 -1
- package/src/lib/react/labels.tsx +14 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"(Default)": "(Normaal)",
|
|
3
|
+
"Audio": "Audio",
|
|
4
|
+
"Copied": "Gekopieerd",
|
|
5
|
+
"Copy": "Kopiëren",
|
|
6
|
+
"Copy the errors": "Fouten kopiëren",
|
|
7
|
+
"Could not switch. Try again.": "Wisselen is mislukt. Probeer het opnieuw.",
|
|
8
|
+
"Disable": "Uit",
|
|
9
|
+
"Exit full screen (f)": "Volledig scherm sluiten (f)",
|
|
10
|
+
"Exit picture in picture": "Beeld-in-beeld sluiten",
|
|
11
|
+
"Full screen": "Volledig scherm",
|
|
12
|
+
"Full screen (f)": "Volledig scherm (f)",
|
|
13
|
+
"Mute": "Dempen",
|
|
14
|
+
"Mute (m)": "Dempen (m)",
|
|
15
|
+
"Normalize volume": "Volume gelijktrekken",
|
|
16
|
+
"Now click your browser's pop out button": "Klik nu op de beeld-in-beeldknop van je browser",
|
|
17
|
+
"Pause": "Pauzeren",
|
|
18
|
+
"Pause (k)": "Pauzeren (k)",
|
|
19
|
+
"Picture in picture": "Beeld-in-beeld",
|
|
20
|
+
"Play": "Afspelen",
|
|
21
|
+
"Play (k)": "Afspelen (k)",
|
|
22
|
+
"Playback errors ({count})": "Afspeelfouten ({count})",
|
|
23
|
+
"Playback failed": "Afspelen mislukt",
|
|
24
|
+
"Playback speed": "Afspeelsnelheid",
|
|
25
|
+
"Put the subtitles in the picture": "Ondertitels in het beeld branden",
|
|
26
|
+
"Put the subtitles in the video": "Ondertitels in de video branden",
|
|
27
|
+
"Quality": "Kwaliteit",
|
|
28
|
+
"Reading the video file failed": "Het videobestand kon niet worden gelezen",
|
|
29
|
+
"Replay": "Opnieuw afspelen",
|
|
30
|
+
"Replay (k)": "Opnieuw afspelen (k)",
|
|
31
|
+
"Settings": "Instellingen",
|
|
32
|
+
"Skip Ending": "Aftiteling overslaan",
|
|
33
|
+
"Skip Opening": "Intro overslaan",
|
|
34
|
+
"Subtitles": "Ondertitels",
|
|
35
|
+
"Subtitles are in the picture": "De ondertitels staan in het beeld",
|
|
36
|
+
"The MediaSource closed before a SourceBuffer could be created": "De MediaSource sloot voordat er een SourceBuffer kon worden gemaakt",
|
|
37
|
+
"The MediaSource never opened": "De MediaSource is nooit geopend",
|
|
38
|
+
"The browser rejected a media segment": "De browser heeft een mediasegment geweigerd",
|
|
39
|
+
"The video codec in this file could not be identified": "De videocodec van dit bestand kon niet worden herkend",
|
|
40
|
+
"This browser cannot play the codecs in this file: {codecs}": "Deze browser kan de codecs van dit bestand niet afspelen: {codecs}",
|
|
41
|
+
"This file has no subtitles": "Dit bestand heeft geen ondertitels",
|
|
42
|
+
"Track {number}": "Track {number}",
|
|
43
|
+
"Unavailable": "Niet beschikbaar",
|
|
44
|
+
"Unmute (m)": "Dempen opheffen (m)",
|
|
45
|
+
"at {time}": "bij {time}",
|
|
46
|
+
"recovered": "hersteld",
|
|
47
|
+
"{rate}x": "{rate}x",
|
|
48
|
+
"{start} to {end}": "{start} tot {end}"
|
|
49
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"(Default)": "(Normală)",
|
|
3
|
+
"Audio": "Audio",
|
|
4
|
+
"Copied": "S-a copiat",
|
|
5
|
+
"Copy": "Copiați",
|
|
6
|
+
"Copy the errors": "Copiați erorile",
|
|
7
|
+
"Could not switch. Try again.": "Nu s-a putut comuta. Încercați din nou.",
|
|
8
|
+
"Disable": "Dezactivate",
|
|
9
|
+
"Exit full screen (f)": "Ieșiți din ecranul complet (f)",
|
|
10
|
+
"Exit picture in picture": "Ieșiți din imagine în imagine",
|
|
11
|
+
"Full screen": "Ecran complet",
|
|
12
|
+
"Full screen (f)": "Ecran complet (f)",
|
|
13
|
+
"Mute": "Dezactivați sunetul",
|
|
14
|
+
"Mute (m)": "Dezactivați sunetul (m)",
|
|
15
|
+
"Normalize volume": "Uniformizați volumul",
|
|
16
|
+
"Now click your browser's pop out button": "Acum faceți clic pe butonul imagine în imagine al browserului",
|
|
17
|
+
"Pause": "Întrerupeți",
|
|
18
|
+
"Pause (k)": "Întrerupeți (k)",
|
|
19
|
+
"Picture in picture": "Imagine în imagine",
|
|
20
|
+
"Play": "Redați",
|
|
21
|
+
"Play (k)": "Redați (k)",
|
|
22
|
+
"Playback errors ({count})": "Erori de redare ({count})",
|
|
23
|
+
"Playback failed": "Redarea a eșuat",
|
|
24
|
+
"Playback speed": "Viteza de redare",
|
|
25
|
+
"Put the subtitles in the picture": "Integrați subtitrările în imagine",
|
|
26
|
+
"Put the subtitles in the video": "Integrați subtitrările în videoclip",
|
|
27
|
+
"Quality": "Calitate",
|
|
28
|
+
"Reading the video file failed": "Fișierul video nu a putut fi citit",
|
|
29
|
+
"Replay": "Redați din nou",
|
|
30
|
+
"Replay (k)": "Redați din nou (k)",
|
|
31
|
+
"Settings": "Setări",
|
|
32
|
+
"Skip Ending": "Omiteți genericul",
|
|
33
|
+
"Skip Opening": "Omiteți introducerea",
|
|
34
|
+
"Subtitles": "Subtitrări",
|
|
35
|
+
"Subtitles are in the picture": "Subtitrările sunt în imagine",
|
|
36
|
+
"The MediaSource closed before a SourceBuffer could be created": "MediaSource s-a închis înainte să poată fi creat un SourceBuffer",
|
|
37
|
+
"The MediaSource never opened": "MediaSource nu s-a deschis niciodată",
|
|
38
|
+
"The browser rejected a media segment": "Browserul a respins un segment media",
|
|
39
|
+
"The video codec in this file could not be identified": "Codecul video din acest fișier nu a putut fi identificat",
|
|
40
|
+
"This browser cannot play the codecs in this file: {codecs}": "Acest browser nu poate reda codecurile din acest fișier: {codecs}",
|
|
41
|
+
"This file has no subtitles": "Acest fișier nu are subtitrări",
|
|
42
|
+
"Track {number}": "Pista {number}",
|
|
43
|
+
"Unavailable": "Indisponibil",
|
|
44
|
+
"Unmute (m)": "Activați sunetul (m)",
|
|
45
|
+
"at {time}": "la {time}",
|
|
46
|
+
"recovered": "restabilit",
|
|
47
|
+
"{rate}x": "{rate}x",
|
|
48
|
+
"{start} to {end}": "{start} până la {end}"
|
|
49
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"(Default)": "(Normal)",
|
|
3
|
+
"Audio": "Ljud",
|
|
4
|
+
"Copied": "Kopierat",
|
|
5
|
+
"Copy": "Kopiera",
|
|
6
|
+
"Copy the errors": "Kopiera felen",
|
|
7
|
+
"Could not switch. Try again.": "Det gick inte att byta. Försök igen.",
|
|
8
|
+
"Disable": "Av",
|
|
9
|
+
"Exit full screen (f)": "Avsluta helskärm (f)",
|
|
10
|
+
"Exit picture in picture": "Avsluta bild-i-bild",
|
|
11
|
+
"Full screen": "Helskärm",
|
|
12
|
+
"Full screen (f)": "Helskärm (f)",
|
|
13
|
+
"Mute": "Stäng av ljudet",
|
|
14
|
+
"Mute (m)": "Stäng av ljudet (m)",
|
|
15
|
+
"Normalize volume": "Jämna ut volymen",
|
|
16
|
+
"Now click your browser's pop out button": "Klicka nu på webbläsarens bild-i-bild-knapp",
|
|
17
|
+
"Pause": "Pausa",
|
|
18
|
+
"Pause (k)": "Pausa (k)",
|
|
19
|
+
"Picture in picture": "Bild-i-bild",
|
|
20
|
+
"Play": "Spela upp",
|
|
21
|
+
"Play (k)": "Spela upp (k)",
|
|
22
|
+
"Playback errors ({count})": "Uppspelningsfel ({count})",
|
|
23
|
+
"Playback failed": "Uppspelningen misslyckades",
|
|
24
|
+
"Playback speed": "Hastighet",
|
|
25
|
+
"Put the subtitles in the picture": "Bränn in undertexterna i bilden",
|
|
26
|
+
"Put the subtitles in the video": "Bränn in undertexterna i videon",
|
|
27
|
+
"Quality": "Kvalitet",
|
|
28
|
+
"Reading the video file failed": "Det gick inte att läsa videofilen",
|
|
29
|
+
"Replay": "Spela igen",
|
|
30
|
+
"Replay (k)": "Spela igen (k)",
|
|
31
|
+
"Settings": "Inställningar",
|
|
32
|
+
"Skip Ending": "Hoppa över eftertexter",
|
|
33
|
+
"Skip Opening": "Hoppa över intro",
|
|
34
|
+
"Subtitles": "Undertexter",
|
|
35
|
+
"Subtitles are in the picture": "Undertexterna finns i bilden",
|
|
36
|
+
"The MediaSource closed before a SourceBuffer could be created": "MediaSource stängdes innan en SourceBuffer kunde skapas",
|
|
37
|
+
"The MediaSource never opened": "MediaSource öppnades aldrig",
|
|
38
|
+
"The browser rejected a media segment": "Webbläsaren avvisade ett mediesegment",
|
|
39
|
+
"The video codec in this file could not be identified": "Det gick inte att identifiera videokodeken i den här filen",
|
|
40
|
+
"This browser cannot play the codecs in this file: {codecs}": "Den här webbläsaren kan inte spela upp kodekarna i den här filen: {codecs}",
|
|
41
|
+
"This file has no subtitles": "Den här filen har inga undertexter",
|
|
42
|
+
"Track {number}": "Spår {number}",
|
|
43
|
+
"Unavailable": "Inte tillgängligt",
|
|
44
|
+
"Unmute (m)": "Slå på ljudet (m)",
|
|
45
|
+
"at {time}": "vid {time}",
|
|
46
|
+
"recovered": "återställt",
|
|
47
|
+
"{rate}x": "{rate}x",
|
|
48
|
+
"{start} to {end}": "{start} till {end}"
|
|
49
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"(Default)": "(ปกติ)",
|
|
3
|
+
"Audio": "เสียง",
|
|
4
|
+
"Copied": "คัดลอกแล้ว",
|
|
5
|
+
"Copy": "คัดลอก",
|
|
6
|
+
"Copy the errors": "คัดลอกข้อผิดพลาด",
|
|
7
|
+
"Could not switch. Try again.": "สลับไม่สำเร็จ ลองอีกครั้ง",
|
|
8
|
+
"Disable": "ปิด",
|
|
9
|
+
"Exit full screen (f)": "ออกจากโหมดเต็มหน้าจอ (f)",
|
|
10
|
+
"Exit picture in picture": "ออกจากภาพซ้อนภาพ",
|
|
11
|
+
"Full screen": "เต็มหน้าจอ",
|
|
12
|
+
"Full screen (f)": "เต็มหน้าจอ (f)",
|
|
13
|
+
"Mute": "ปิดเสียง",
|
|
14
|
+
"Mute (m)": "ปิดเสียง (m)",
|
|
15
|
+
"Normalize volume": "ปรับระดับเสียงให้เท่ากัน",
|
|
16
|
+
"Now click your browser's pop out button": "ตอนนี้ให้คลิกปุ่มภาพซ้อนภาพของเบราว์เซอร์",
|
|
17
|
+
"Pause": "หยุดชั่วคราว",
|
|
18
|
+
"Pause (k)": "หยุดชั่วคราว (k)",
|
|
19
|
+
"Picture in picture": "ภาพซ้อนภาพ",
|
|
20
|
+
"Play": "เล่น",
|
|
21
|
+
"Play (k)": "เล่น (k)",
|
|
22
|
+
"Playback errors ({count})": "ข้อผิดพลาดในการเล่น ({count})",
|
|
23
|
+
"Playback failed": "เล่นไม่สำเร็จ",
|
|
24
|
+
"Playback speed": "ความเร็วในการเล่น",
|
|
25
|
+
"Put the subtitles in the picture": "ฝังคำบรรยายลงในภาพ",
|
|
26
|
+
"Put the subtitles in the video": "ฝังคำบรรยายลงในวิดีโอ",
|
|
27
|
+
"Quality": "คุณภาพ",
|
|
28
|
+
"Reading the video file failed": "อ่านไฟล์วิดีโอไม่สำเร็จ",
|
|
29
|
+
"Replay": "เล่นอีกครั้ง",
|
|
30
|
+
"Replay (k)": "เล่นอีกครั้ง (k)",
|
|
31
|
+
"Settings": "การตั้งค่า",
|
|
32
|
+
"Skip Ending": "ข้ามเพลงปิด",
|
|
33
|
+
"Skip Opening": "ข้ามเพลงเปิด",
|
|
34
|
+
"Subtitles": "คำบรรยาย",
|
|
35
|
+
"Subtitles are in the picture": "คำบรรยายอยู่ในภาพแล้ว",
|
|
36
|
+
"The MediaSource closed before a SourceBuffer could be created": "MediaSource ปิดไปก่อนที่จะสร้าง SourceBuffer ได้",
|
|
37
|
+
"The MediaSource never opened": "MediaSource ไม่เคยเปิด",
|
|
38
|
+
"The browser rejected a media segment": "เบราว์เซอร์ปฏิเสธส่วนหนึ่งของสื่อ",
|
|
39
|
+
"The video codec in this file could not be identified": "ระบุตัวแปลงสัญญาณวิดีโอของไฟล์นี้ไม่ได้",
|
|
40
|
+
"This browser cannot play the codecs in this file: {codecs}": "เบราว์เซอร์นี้เล่นตัวแปลงสัญญาณของไฟล์นี้ไม่ได้: {codecs}",
|
|
41
|
+
"This file has no subtitles": "ไฟล์นี้ไม่มีคำบรรยาย",
|
|
42
|
+
"Track {number}": "แทร็ก {number}",
|
|
43
|
+
"Unavailable": "ไม่พร้อมใช้งาน",
|
|
44
|
+
"Unmute (m)": "เปิดเสียง (m)",
|
|
45
|
+
"at {time}": "ที่ {time}",
|
|
46
|
+
"recovered": "กู้คืนแล้ว",
|
|
47
|
+
"{rate}x": "{rate}x",
|
|
48
|
+
"{start} to {end}": "{start} ถึง {end}"
|
|
49
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"(Default)": "(Звичайна)",
|
|
3
|
+
"Audio": "Аудіо",
|
|
4
|
+
"Copied": "Скопійовано",
|
|
5
|
+
"Copy": "Копіювати",
|
|
6
|
+
"Copy the errors": "Копіювати помилки",
|
|
7
|
+
"Could not switch. Try again.": "Не вдалося перемкнути. Спробуйте ще раз.",
|
|
8
|
+
"Disable": "Вимкнено",
|
|
9
|
+
"Exit full screen (f)": "Вийти з повноекранного режиму (f)",
|
|
10
|
+
"Exit picture in picture": "Вийти з режиму «картинка в картинці»",
|
|
11
|
+
"Full screen": "На весь екран",
|
|
12
|
+
"Full screen (f)": "На весь екран (f)",
|
|
13
|
+
"Mute": "Вимкнути звук",
|
|
14
|
+
"Mute (m)": "Вимкнути звук (m)",
|
|
15
|
+
"Normalize volume": "Вирівнювати гучність",
|
|
16
|
+
"Now click your browser's pop out button": "Тепер натисніть кнопку «картинка в картинці» у браузері",
|
|
17
|
+
"Pause": "Пауза",
|
|
18
|
+
"Pause (k)": "Пауза (k)",
|
|
19
|
+
"Picture in picture": "Картинка в картинці",
|
|
20
|
+
"Play": "Відтворити",
|
|
21
|
+
"Play (k)": "Відтворити (k)",
|
|
22
|
+
"Playback errors ({count})": "Помилки відтворення ({count})",
|
|
23
|
+
"Playback failed": "Не вдалося відтворити",
|
|
24
|
+
"Playback speed": "Швидкість",
|
|
25
|
+
"Put the subtitles in the picture": "Вбудувати субтитри в зображення",
|
|
26
|
+
"Put the subtitles in the video": "Вбудувати субтитри у відео",
|
|
27
|
+
"Quality": "Якість",
|
|
28
|
+
"Reading the video file failed": "Не вдалося прочитати відеофайл",
|
|
29
|
+
"Replay": "Дивитися знову",
|
|
30
|
+
"Replay (k)": "Дивитися знову (k)",
|
|
31
|
+
"Settings": "Налаштування",
|
|
32
|
+
"Skip Ending": "Пропустити титри",
|
|
33
|
+
"Skip Opening": "Пропустити заставку",
|
|
34
|
+
"Subtitles": "Субтитри",
|
|
35
|
+
"Subtitles are in the picture": "Субтитри вбудовано в зображення",
|
|
36
|
+
"The MediaSource closed before a SourceBuffer could be created": "MediaSource закрився до того, як вдалося створити SourceBuffer",
|
|
37
|
+
"The MediaSource never opened": "MediaSource так і не відкрився",
|
|
38
|
+
"The browser rejected a media segment": "Браузер відхилив медіасегмент",
|
|
39
|
+
"The video codec in this file could not be identified": "Не вдалося визначити відеокодек цього файлу",
|
|
40
|
+
"This browser cannot play the codecs in this file: {codecs}": "Цей браузер не може відтворити кодеки цього файлу: {codecs}",
|
|
41
|
+
"This file has no subtitles": "У цьому файлі немає субтитрів",
|
|
42
|
+
"Track {number}": "Доріжка {number}",
|
|
43
|
+
"Unavailable": "Недоступно",
|
|
44
|
+
"Unmute (m)": "Увімкнути звук (m)",
|
|
45
|
+
"at {time}": "на {time}",
|
|
46
|
+
"recovered": "відновлено",
|
|
47
|
+
"{rate}x": "{rate}x",
|
|
48
|
+
"{start} to {end}": "з {start} до {end}"
|
|
49
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"(Default)": "(Mặc định)",
|
|
3
|
+
"Audio": "Âm thanh",
|
|
4
|
+
"Copied": "Đã sao chép",
|
|
5
|
+
"Copy": "Sao chép",
|
|
6
|
+
"Copy the errors": "Sao chép lỗi",
|
|
7
|
+
"Could not switch. Try again.": "Không chuyển được. Hãy thử lại.",
|
|
8
|
+
"Disable": "Tắt",
|
|
9
|
+
"Exit full screen (f)": "Thoát toàn màn hình (f)",
|
|
10
|
+
"Exit picture in picture": "Thoát hình trong hình",
|
|
11
|
+
"Full screen": "Toàn màn hình",
|
|
12
|
+
"Full screen (f)": "Toàn màn hình (f)",
|
|
13
|
+
"Mute": "Tắt tiếng",
|
|
14
|
+
"Mute (m)": "Tắt tiếng (m)",
|
|
15
|
+
"Normalize volume": "Cân bằng âm lượng",
|
|
16
|
+
"Now click your browser's pop out button": "Bây giờ hãy nhấp vào nút hình trong hình của trình duyệt",
|
|
17
|
+
"Pause": "Tạm dừng",
|
|
18
|
+
"Pause (k)": "Tạm dừng (k)",
|
|
19
|
+
"Picture in picture": "Hình trong hình",
|
|
20
|
+
"Play": "Phát",
|
|
21
|
+
"Play (k)": "Phát (k)",
|
|
22
|
+
"Playback errors ({count})": "Lỗi phát ({count})",
|
|
23
|
+
"Playback failed": "Không phát được",
|
|
24
|
+
"Playback speed": "Tốc độ phát",
|
|
25
|
+
"Put the subtitles in the picture": "Gắn phụ đề vào hình",
|
|
26
|
+
"Put the subtitles in the video": "Gắn phụ đề vào video",
|
|
27
|
+
"Quality": "Chất lượng",
|
|
28
|
+
"Reading the video file failed": "Không đọc được tệp video",
|
|
29
|
+
"Replay": "Phát lại",
|
|
30
|
+
"Replay (k)": "Phát lại (k)",
|
|
31
|
+
"Settings": "Cài đặt",
|
|
32
|
+
"Skip Ending": "Bỏ qua đoạn kết",
|
|
33
|
+
"Skip Opening": "Bỏ qua đoạn mở đầu",
|
|
34
|
+
"Subtitles": "Phụ đề",
|
|
35
|
+
"Subtitles are in the picture": "Phụ đề đã nằm trong hình",
|
|
36
|
+
"The MediaSource closed before a SourceBuffer could be created": "MediaSource đã đóng trước khi tạo được SourceBuffer",
|
|
37
|
+
"The MediaSource never opened": "MediaSource chưa bao giờ mở",
|
|
38
|
+
"The browser rejected a media segment": "Trình duyệt đã từ chối một đoạn phương tiện",
|
|
39
|
+
"The video codec in this file could not be identified": "Không xác định được codec video của tệp này",
|
|
40
|
+
"This browser cannot play the codecs in this file: {codecs}": "Trình duyệt này không phát được codec của tệp này: {codecs}",
|
|
41
|
+
"This file has no subtitles": "Tệp này không có phụ đề",
|
|
42
|
+
"Track {number}": "Rãnh {number}",
|
|
43
|
+
"Unavailable": "Không khả dụng",
|
|
44
|
+
"Unmute (m)": "Bật tiếng (m)",
|
|
45
|
+
"at {time}": "tại {time}",
|
|
46
|
+
"recovered": "đã khôi phục",
|
|
47
|
+
"{rate}x": "{rate}x",
|
|
48
|
+
"{start} to {end}": "{start} đến {end}"
|
|
49
|
+
}
|
|
@@ -138,6 +138,7 @@ export const Overlay = ({ onSubtitleRef }: { onSubtitleRef: (element: HTMLDivEle
|
|
|
138
138
|
? (
|
|
139
139
|
<div
|
|
140
140
|
className="title"
|
|
141
|
+
dir="auto"
|
|
141
142
|
css={titleStyle}
|
|
142
143
|
style={{ ...hideUI ? { opacity: '0', pointerEvents: 'none' } : {} }}
|
|
143
144
|
>
|
|
@@ -153,7 +154,7 @@ export const Overlay = ({ onSubtitleRef }: { onSubtitleRef: (element: HTMLDivEle
|
|
|
153
154
|
? <div css={loadingStyle} />
|
|
154
155
|
: undefined}
|
|
155
156
|
{playbackError
|
|
156
|
-
? <div css={errorStyle}>{errorMessage(playbackError, labels)}</div>
|
|
157
|
+
? <div css={errorStyle} dir="auto">{errorMessage(playbackError, labels)}</div>
|
|
157
158
|
: undefined}
|
|
158
159
|
<div className="subtitles" ref={onSubtitleRef} css={style} />
|
|
159
160
|
</>
|
|
@@ -29,7 +29,7 @@ const style = (size: buttonSize) => css`
|
|
|
29
29
|
max-width: min(calc(26 * var(--mp-unit)), calc(100vw - calc(2.4 * var(--mp-unit))));
|
|
30
30
|
white-space: normal;
|
|
31
31
|
overflow-wrap: anywhere;
|
|
32
|
-
text-align:
|
|
32
|
+
text-align: start;
|
|
33
33
|
|
|
34
34
|
/*
|
|
35
35
|
* The radius carries !important for the same reason the paddings below do.
|
|
@@ -46,6 +46,8 @@ const style = (size: buttonSize) => css`
|
|
|
46
46
|
|
|
47
47
|
* {
|
|
48
48
|
${fonts.bMedium.regular}
|
|
49
|
+
/* a label reads in its own direction, though the player around it stays left to right */
|
|
50
|
+
unicode-bidi: plaintext;
|
|
49
51
|
}
|
|
50
52
|
|
|
51
53
|
${size === buttonSize.sm && css`
|
|
@@ -194,7 +194,7 @@ export const TrackMenu = (
|
|
|
194
194
|
{onBack ? <ChevronLeft /> : null}
|
|
195
195
|
<span>{title}</span>
|
|
196
196
|
</div>
|
|
197
|
-
{failed ? <div className="no-hover failed">{format(LABELS.switchFailed)}</div> : null}
|
|
197
|
+
{failed ? <div className="no-hover failed" dir="auto">{format(LABELS.switchFailed)}</div> : null}
|
|
198
198
|
{offLabel ? row(null, offLabel) : null}
|
|
199
199
|
{tracks.map(({ id, label }) => row(id, label, 'description'))}
|
|
200
200
|
</div>
|
package/src/lib/react/labels.tsx
CHANGED
|
@@ -10,16 +10,30 @@ type Catalogue = Readonly<Record<string, string>>
|
|
|
10
10
|
|
|
11
11
|
// One chunk per language, fetched with FormatJS by the first player shown in it, so a player in English loads neither.
|
|
12
12
|
const CATALOGUES: Readonly<Record<string, () => Promise<{ default: Catalogue }>>> = {
|
|
13
|
+
'ar': () => import('../locales/ar.json'),
|
|
14
|
+
'cs': () => import('../locales/cs.json'),
|
|
13
15
|
'de': () => import('../locales/de.json'),
|
|
16
|
+
'el': () => import('../locales/el.json'),
|
|
14
17
|
'es-419': () => import('../locales/es-419.json'),
|
|
15
18
|
'fr': () => import('../locales/fr.json'),
|
|
19
|
+
'he': () => import('../locales/he.json'),
|
|
20
|
+
'hi': () => import('../locales/hi.json'),
|
|
21
|
+
'hu': () => import('../locales/hu.json'),
|
|
22
|
+
'id': () => import('../locales/id.json'),
|
|
16
23
|
'it': () => import('../locales/it.json'),
|
|
17
24
|
'ja': () => import('../locales/ja.json'),
|
|
18
25
|
'ko': () => import('../locales/ko.json'),
|
|
26
|
+
'ms': () => import('../locales/ms.json'),
|
|
27
|
+
'nl': () => import('../locales/nl.json'),
|
|
19
28
|
'pl': () => import('../locales/pl.json'),
|
|
20
29
|
'pt-BR': () => import('../locales/pt-BR.json'),
|
|
30
|
+
'ro': () => import('../locales/ro.json'),
|
|
21
31
|
'ru': () => import('../locales/ru.json'),
|
|
32
|
+
'sv': () => import('../locales/sv.json'),
|
|
33
|
+
'th': () => import('../locales/th.json'),
|
|
22
34
|
'tr': () => import('../locales/tr.json'),
|
|
35
|
+
'uk': () => import('../locales/uk.json'),
|
|
36
|
+
'vi': () => import('../locales/vi.json'),
|
|
23
37
|
'zh-Hans': () => import('../locales/zh-Hans.json'),
|
|
24
38
|
'zh-Hant': () => import('../locales/zh-Hant.json'),
|
|
25
39
|
}
|