Skip to content

Commit

Permalink
Fixes ordering issues with an added locale
Browse files Browse the repository at this point in the history
  • Loading branch information
tinganho committed Aug 22, 2015
1 parent 0c4e0be commit e9ddd18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interface/contents/localizations/Localizations.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ define(function(require) {

if(locale !== project.defaultLanguage) {
_this.setMeta('l10n_keys', 'Keys | ' + project.defaultLanguage);
var localizationsWithDefaultLocale = file.localizationMapToArray(localizations)[project.defaultLanguage];
var localizationsWithDefaultLocale = localizations[project.defaultLanguage];

for(var index = 0; index < localizationsWithRequestedLocale.length; index++) {
localizationsWithRequestedLocale[index].keyText =
localizationsWithRequestedLocale[index].key + ' <br><b> ' + localizationsWithDefaultLocale[index].value +'</b>';
localizationsWithRequestedLocale[index].key + ' <br><b> ' + localizationsWithDefaultLocale[localizationsWithRequestedLocale[index].key].value +'</b>';
}
}
else {
Expand Down

0 comments on commit e9ddd18

Please sign in to comment.