reset translations before switching to new locale

This commit is contained in:
j 2013-12-27 10:53:35 +00:00
parent 8ed3964dc0
commit fa08e25a3e

View file

@ -33,6 +33,7 @@
translations = {}; translations = {};
callback(true); callback(true);
} else { } else {
translations = {};
Ox.forEach(Ox.LOCALES, function(locales, module) { Ox.forEach(Ox.LOCALES, function(locales, module) {
if ( if (
(!module || Ox.load[module]) (!module || Ox.load[module])