mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add comments
This commit is contained in:
parent
c144fe57d4
commit
4b6e0fa3cb
2 changed files with 5 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
|||
return new Promise(function (resolve, reject) {
|
||||
|
||||
if (getDictionary(name, culture)) {
|
||||
console.log('Globalize loadDictionary resolved: ' + name);
|
||||
resolve();
|
||||
return;
|
||||
}
|
||||
|
@ -45,6 +46,7 @@
|
|||
|
||||
xhr2.onload = function (e) {
|
||||
dictionaries[url] = JSON.parse(this.response);
|
||||
console.log('Globalize loadDictionary resolved: ' + name);
|
||||
resolve();
|
||||
};
|
||||
|
||||
|
@ -58,6 +60,7 @@
|
|||
if (this.status < 400) {
|
||||
|
||||
dictionaries[url] = JSON.parse(this.response);
|
||||
console.log('Globalize loadDictionary resolved: ' + name);
|
||||
resolve();
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue