We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad3eac9 commit 8552876Copy full SHA for 8552876
1 file changed
js/translator.js
@@ -217,10 +217,12 @@ var Translator = (function() {
217
// defined translation after the following line.
218
for (var first in translations) {break;}
219
220
- Log.log("Loading core translation fallback file: " + translations[first]);
221
- loadJSON(translations[first], function(translations) {
222
- self.coreTranslationsFallback = translations;
223
- });
+ if (first) {
+ Log.log("Loading core translation fallback file: " + translations[first]);
+ loadJSON(translations[first], function(translations) {
+ self.coreTranslationsFallback = translations;
224
+ });
225
+ }
226
},
227
};
228
})();
0 commit comments