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:
parent
27038a906e
commit
c6309d5001
2 changed files with 34 additions and 27 deletions
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue