Skip to content

Commit 6850120

Browse files
committed
Update rewind & forward strings to provide better information
1 parent c78591d commit 6850120

22 files changed

Lines changed: 44 additions & 44 deletions

‎scripts/buildplayer.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1584,9 +1584,9 @@ function addBuildplayerFunctions(AblePlayer) {
15841584
} else if (control === 'next') {
15851585
return this.translate( 'nextTrack', 'Next track' );
15861586
} else if (control === 'rewind') {
1587-
return this.translate( 'rewind', 'Rewind' );
1587+
return this.translate( 'rewind', 'Rewind %1 seconds', [ this.seekInterval ] );
15881588
} else if (control === 'forward') {
1589-
return this.translate( 'forward', 'Forward' );
1589+
return this.translate( 'forward', 'Forward %1 seconds', [ this.seekInterval ] );
15901590
} else if (control === 'captions') {
15911591
if (this.captions.length > 1) {
15921592
return this.translate( 'captions', 'Captions' );

‎scripts/preference.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -751,10 +751,10 @@
751751
kbLabels.push( this.translate( 'nextTrack', 'Next track' ) );
752752
keys.push('n');
753753
} else if (this.controls[i] === 'rewind') {
754-
kbLabels.push(this.translate( 'rewind', 'Rewind' ));
754+
kbLabels.push(this.translate( 'rewind', 'Rewind %s seconds', [ this.seekInterval ] ) );
755755
keys.push('r');
756756
} else if (this.controls[i] === 'forward') {
757-
kbLabels.push(this.translate( 'forward', 'Forward' ));
757+
kbLabels.push(this.translate( 'forward', 'Forward %s seconds', [ this.seekInterval ] ) );
758758
keys.push('f');
759759
} else if (this.controls[i] === 'volume') {
760760
kbLabels.push(this.translate( 'volume', 'Volume' ));

‎translations/ca.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"restart": "Reinicia",
1010
"prevTrack": "Pista anterior",
1111
"nextTrack": "Pista següent",
12-
"rewind": "Endarrere",
13-
"forward": "Endavant",
12+
"rewind": "Endarrere %1 seconds",
13+
"forward": "Endavant %1 seconds",
1414
"captions": "Subtítols",
1515
"showCaptions": "Mostra els subtítols",
1616
"hideCaptions": "Oculta els subtítols",

‎translations/cs.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"restart": "Přehrát od začátku",
1010
"prevTrack": "Předchozí stopa",
1111
"nextTrack": "Další stopa",
12-
"rewind": "Přetočit vzad",
13-
"forward": "Přetočit vpřed",
12+
"rewind": "Přetočit vzad %1 seconds",
13+
"forward": "Přetočit vpřed %1 seconds",
1414
"captions": "Titulky",
1515
"showCaptions": "Zobrazit titulky",
1616
"hideCaptions": "Skrýt titulky",

‎translations/da.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"restart": "Genstart",
1010
"prevTrack": "Forrige spor",
1111
"nextTrack": "Næste spor",
12-
"rewind": "Spol tilbage",
13-
"forward": "Spol frem",
12+
"rewind": "Spol tilbage %1 seconds",
13+
"forward": "Spol frem %1 seconds",
1414
"captions": "Undertekster",
1515
"showCaptions": "Vis undertekster",
1616
"hideCaptions": "Gem undertekster",

‎translations/de.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"restart": "Neustart",
1111
"prevTrack": "Vorheriger Titel",
1212
"nextTrack": "Nächster Titel",
13-
"rewind": "Zurück",
14-
"forward": "Vorwärts",
13+
"rewind": "Zurück %1 seconds",
14+
"forward": "Vorwärts %1 seconds",
1515
"captions": "Untertitel",
1616
"showCaptions": "Untertitel anzeigen",
1717
"hideCaptions": "Untertitel ausblenden",

‎translations/en.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"restart": "Restart",
1010
"prevTrack": "Previous track",
1111
"nextTrack": "Next track",
12-
"rewind": "Rewind",
13-
"forward": "Forward",
12+
"rewind": "Rewind %1 seconds",
13+
"forward": "Forward %1 seconds",
1414
"captions": "Captions",
1515
"showCaptions": "Show captions",
1616
"hideCaptions": "Hide captions",

‎translations/es.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"restart": "Reiniciar",
1010
"prevTrack": "Pista Anterior",
1111
"nextTrack": "Siguiente Pista",
12-
"rewind": "Rebobinar",
13-
"forward": "Adelantar",
12+
"rewind": "Rebobinar %1 seconds",
13+
"forward": "Adelantar %1 seconds",
1414
"captions": "Subtítulos",
1515
"showCaptions": "Mostrar subtítulos",
1616
"hideCaptions": "Ocultar subtítulos",

‎translations/fr.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"restart": "Redémarrer",
1010
"prevTrack": "Piste Précédente",
1111
"nextTrack": "Piste Suivante",
12-
"rewind": "Reculer",
13-
"forward": "Avancer",
12+
"rewind": "Reculer %1 seconds",
13+
"forward": "Avancer %1 seconds",
1414
"captions": "Sous-titres",
1515
"showCaptions": "Afficher les sous-titres",
1616
"hideCaptions": "Masquer les sous-titres",

‎translations/he.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"restart": "התחלה מחדש",
1010
"prevTrack": "המסלול הקודם",
1111
"nextTrack": "המסלול הבא",
12-
"rewind": "חזרה",
13-
"forward": "קדימה",
12+
"rewind": "חזרה %1 seconds",
13+
"forward": "קדימה %1 seconds",
1414
"captions": "כיתובים",
1515
"showCaptions": "הצגת כיתובים",
1616
"hideCaptions": "הסתרת כיתובים",

0 commit comments

Comments
 (0)