mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
Possible fix for #388
This commit is contained in:
parent
3d3c4ba02f
commit
18ae08de8f
@ -247,7 +247,7 @@ var Module = Class.extend({
|
||||
|
||||
// If a translation file is set, load it and then also load the fallback translation file.
|
||||
// Otherwise only load the fallback translation file.
|
||||
if (translationFile !== undefined) {
|
||||
if (translationFile !== undefined && translationFile !== translationsFallbackFile) {
|
||||
Translator.load(self, translationFile, false, function() {
|
||||
Translator.load(self, translationsFallbackFile, true, callback);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user