Skip to content

Commit

Permalink
fixing identation/mistakes on last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
JLouback committed Jun 15, 2014
1 parent 24f3ba4 commit b383329
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion JSCommManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ window.JSCommManager = {

/* load internationalization options */
if(JSCommSettings.i18n.translate) {
i18n.initI18n(JSCommSettings.i18n.show_menu);
i18n.initI18n(JSCommSettings.i18n.show_menu);
}


Expand Down
6 changes: 5 additions & 1 deletion available_languages.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@
<code>en</code>
</language>
<language>
<display>French</display>
<display>Français</display>
<code>fr</code>
</language>
<language>
<display>Español</display>
<code>es</code>
</language>
<language>
<display>Português</display>
<code>pt</code>
Expand Down
4 changes: 2 additions & 2 deletions i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ window.i18n = {

if(JSCommSettings.i18n.default_lang) {
try {
i18n.loadBundles(JSCommSettings.i18n.default_lang);
i18n.loadBundles(JSCommSettings.i18n.default_lang);
} catch (error) {}
}
else {
try {
i18n.loadBundles(jQuery.i18n.browserLang());
i18n.loadBundles(jQuery.i18n.browserLang());
} catch (error) {}
}

Expand Down

0 comments on commit b383329

Please sign in to comment.