"get-i18n"
This commit is contained in:
parent
6b5cc68f6a
commit
127c628afd
2 changed files with 5 additions and 5 deletions
|
@ -125,10 +125,10 @@
|
||||||
"term.equalizer": "Equalizer",
|
"term.equalizer": "Equalizer",
|
||||||
"term.reset": "Reset",
|
"term.reset": "Reset",
|
||||||
// Example for multiple plural forms : look up the key for your language in https://github.com/prantlf/fast-plural-rules/blob/master/docs/languages.md#supported-languages
|
// Example for multiple plural forms : look up the key for your language in https://github.com/prantlf/fast-plural-rules/blob/master/docs/languages.md#supported-languages
|
||||||
"term.track": {
|
// "term.track": {
|
||||||
"one" : "track",
|
// "one" : "track",
|
||||||
"other" : "tracks"
|
// "other" : "tracks"
|
||||||
},
|
// },
|
||||||
"term.tracks": "tracks", // Assume x amount of tracks. e.g. 50 tracks
|
"term.tracks": "tracks", // Assume x amount of tracks. e.g. 50 tracks
|
||||||
"term.videos": "Videos",
|
"term.videos": "Videos",
|
||||||
"term.menu": "Menu",
|
"term.menu": "Menu",
|
||||||
|
|
|
@ -2153,7 +2153,7 @@ const app = new Vue({
|
||||||
let hours = Math.floor(time / 3600)
|
let hours = Math.floor(time / 3600)
|
||||||
let mins = Math.floor(time / 60) % 60
|
let mins = Math.floor(time / 60) % 60
|
||||||
let secs = time % 60
|
let secs = time % 60
|
||||||
return app.showingPlaylist.relationships.tracks.data.length + " " + app.getLz('term.track', options = {count : app.showingPlaylist.relationships.tracks.data.length}) + ", "
|
return app.showingPlaylist.relationships.tracks.data.length + " " + app.getLz('term.tracks', options = {count : app.showingPlaylist.relationships.tracks.data.length}) + ", "
|
||||||
+ ((hours > 0) ? (hours + (" " + (app.getLz('term.time.hour', options = {count : hours}) + ", "))) : "") +
|
+ ((hours > 0) ? (hours + (" " + (app.getLz('term.time.hour', options = {count : hours}) + ", "))) : "") +
|
||||||
((mins > 0) ? (mins + (" " + app.getLz('term.time.minute', options = {count : mins}) + ", ")) : "") +
|
((mins > 0) ? (mins + (" " + app.getLz('term.time.minute', options = {count : mins}) + ", ")) : "") +
|
||||||
secs + (" " + app.getLz('term.time.second', options = {count : secs}) + ".");
|
secs + (" " + app.getLz('term.time.second', options = {count : secs}) + ".");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue