1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update web socket sharp

This commit is contained in:
Luke Pulverenti 2014-09-14 20:39:24 -04:00
parent 27038a906e
commit c6309d5001
2 changed files with 34 additions and 27 deletions

View file

@ -513,8 +513,15 @@ function ticks_to_human(str) {
window.Globalize = {
translate: function (key) {
return window.localizationGlossary[key] || key;
var val = window.localizationGlossary[key] || key;
for (var i = 1; i < arguments.length; i++) {
val = val.replace('{' + (i - 1) + '}', arguments[i]);
}
return val;
}
};