fix loading locale
This commit is contained in:
parent
e57fa72b47
commit
8ed3964dc0
1 changed files with 2 additions and 2 deletions
|
@ -48,8 +48,8 @@
|
|||
urls.push(Ox.makeArray(value));
|
||||
});
|
||||
Ox.getJSON(urls, function(data) {
|
||||
urls.forEach(function(url) {
|
||||
Ox.extend(translations, data[url]);
|
||||
Ox.forEach(data, function(values, url) {
|
||||
Ox.extend(translations, values);
|
||||
});
|
||||
callback(true);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue