mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
30584bfef9
commit
b2d97de513
8 changed files with 38 additions and 30 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue