mirror of
https://github.com/videojs/video.js.git
synced 2024-12-25 02:42:10 +02:00
feat(lang): added arabic seek button translations (#8616)
* feat(lang): added arabic seek button translations * added localization support to skipButtons controlText
This commit is contained in:
parent
4ccedc1527
commit
ee07382f91
@ -16,9 +16,8 @@ This default value is hardcoded as a default to the localize method in the SeekB
|
||||
|
||||
| Language file | Missing translations |
|
||||
| ----------------------- | ----------------------------------------------------------------------------------- |
|
||||
| ar.json (missing 3) | Playing in Picture-in-Picture |
|
||||
| | Skip backward {1} seconds |
|
||||
| | Skip forward {1} seconds |
|
||||
| ar.json (missing 1) | Playing in Picture-in-Picture |
|
||||
| az.json (Complete) | |
|
||||
| ba.json (missing 71) | Audio Player |
|
||||
| | Video Player |
|
||||
| | Replay |
|
||||
@ -169,77 +168,7 @@ This default value is hardcoded as a default to the localize method in the SeekB
|
||||
| | Playing in Picture-in-Picture |
|
||||
| | Skip backward {1} seconds |
|
||||
| | Skip forward {1} seconds |
|
||||
| ca.json (missing 71) | Audio Player |
|
||||
| | Video Player |
|
||||
| | Replay |
|
||||
| | Seek to live, currently behind live |
|
||||
| | Seek to live, currently playing live |
|
||||
| | Progress Bar |
|
||||
| | progress bar timing: currentTime={1} duration={2} |
|
||||
| | Descriptions |
|
||||
| | descriptions off |
|
||||
| | Audio Track |
|
||||
| | Volume Level |
|
||||
| | The media is encrypted and we do not have the keys to decrypt it. |
|
||||
| | Play Video |
|
||||
| | Close |
|
||||
| | Close Modal Dialog |
|
||||
| | Modal Window |
|
||||
| | This is a modal window |
|
||||
| | This modal can be closed by pressing the Escape key or activating the close button. |
|
||||
| | , opens captions settings dialog |
|
||||
| | , opens subtitles settings dialog |
|
||||
| | , opens descriptions settings dialog |
|
||||
| | , selected |
|
||||
| | captions settings |
|
||||
| | subtitles settings |
|
||||
| | descriptions settings |
|
||||
| | Text |
|
||||
| | White |
|
||||
| | Black |
|
||||
| | Red |
|
||||
| | Green |
|
||||
| | Blue |
|
||||
| | Yellow |
|
||||
| | Magenta |
|
||||
| | Cyan |
|
||||
| | Background |
|
||||
| | Window |
|
||||
| | Transparent |
|
||||
| | Semi-Transparent |
|
||||
| | Opaque |
|
||||
| | Font Size |
|
||||
| | Text Edge Style |
|
||||
| | None |
|
||||
| | Raised |
|
||||
| | Depressed |
|
||||
| | Uniform |
|
||||
| | Drop shadow |
|
||||
| | Font Family |
|
||||
| | Proportional Sans-Serif |
|
||||
| | Monospace Sans-Serif |
|
||||
| | Proportional Serif |
|
||||
| | Monospace Serif |
|
||||
| | Casual |
|
||||
| | Script |
|
||||
| | Small Caps |
|
||||
| | Reset |
|
||||
| | restore all settings to the default values |
|
||||
| | Done |
|
||||
| | Caption Settings Dialog |
|
||||
| | Beginning of dialog window. Escape will cancel and close the window. |
|
||||
| | End of dialog window. |
|
||||
| | {1} is loading. |
|
||||
| | Exit Picture-in-Picture |
|
||||
| | Picture-in-Picture |
|
||||
| | No content |
|
||||
| | Color |
|
||||
| | Opacity |
|
||||
| | Text Background |
|
||||
| | Caption Area Background |
|
||||
| | Playing in Picture-in-Picture |
|
||||
| | Skip backward {1} seconds |
|
||||
| | Skip forward {1} seconds |
|
||||
| ca.json (Complete) | |
|
||||
| cs.json (missing 12) | Seek to live, currently behind live |
|
||||
| | Seek to live, currently playing live |
|
||||
| | Exit Picture-in-Picture |
|
||||
@ -643,6 +572,15 @@ This default value is hardcoded as a default to the localize method in the SeekB
|
||||
| | Playing in Picture-in-Picture |
|
||||
| | Skip backward {1} seconds |
|
||||
| | Skip forward {1} seconds |
|
||||
| np.json (missing 9) | Drop shadow |
|
||||
| | No content |
|
||||
| | Color |
|
||||
| | Opacity |
|
||||
| | Text Background |
|
||||
| | Caption Area Background |
|
||||
| | Playing in Picture-in-Picture |
|
||||
| | Skip backward {1} seconds |
|
||||
| | Skip forward {1} seconds |
|
||||
| oc.json (missing 7) | Color |
|
||||
| | Opacity |
|
||||
| | Text Background |
|
||||
|
@ -90,5 +90,7 @@
|
||||
"Color": "اللون",
|
||||
"Opacity": "معدل الشفافية",
|
||||
"Text Background": "خلفية النص",
|
||||
"Caption Area Background": "خلفية منطقة التسمية التوضيحية"
|
||||
"Caption Area Background": "خلفية منطقة التسمية التوضيحية",
|
||||
"Skip forward {1} seconds": "التخطي للأمام {1}",
|
||||
"Skip backward {1} seconds": "الرجوع للخلف {1}"
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ class SkipBackward extends Button {
|
||||
|
||||
if (this.skipTime && this.validOptions.includes(this.skipTime)) {
|
||||
this.setIcon(`replay-${this.skipTime}`);
|
||||
this.controlText(this.localize('Skip backward {1} seconds', [this.skipTime]));
|
||||
this.controlText(this.localize('Skip backward {1} seconds', [this.skipTime.toLocaleString(player.language())]));
|
||||
this.show();
|
||||
} else {
|
||||
this.hide();
|
||||
|
@ -18,7 +18,7 @@ class SkipForward extends Button {
|
||||
|
||||
if (this.skipTime && this.validOptions.includes(this.skipTime)) {
|
||||
this.setIcon(`forward-${this.skipTime}`);
|
||||
this.controlText(this.localize('Skip forward {1} seconds', [this.skipTime]));
|
||||
this.controlText(this.localize('Skip forward {1} seconds', [this.skipTime.toLocaleString(player.language())]));
|
||||
this.show();
|
||||
} else {
|
||||
this.hide();
|
||||
|
Loading…
Reference in New Issue
Block a user