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

update components

This commit is contained in:
Luke Pulverenti 2016-11-29 14:11:51 -05:00
parent 30584bfef9
commit b2d97de513
8 changed files with 38 additions and 30 deletions

View file

@ -185,7 +185,13 @@ define(['connectionManager', 'userSettings', 'events'], function (connectionMana
function translateKeyFromModule(key, module) {
return getDictionary(module)[key] || key;
var dictionary = getDictionary(module);
if (!dictionary) {
return key;
}
return dictionary[key] || key;
}
function replaceAll(str, find, replace) {