Skip to content

Commit

Permalink
Display language settings in 2 languages
Browse files Browse the repository at this point in the history
#292: Languages in "Language settings" should be non-translated.
  • Loading branch information
llaske authored Mar 17, 2019
2 parents 17f651c + 8f09c26 commit 0cd4903
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions js/dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -580,16 +580,16 @@ enyo.kind({
this.$.message.setContent(l10n.get("ChooseLanguage"));
this.initlanguage = this.currentlanguage = preferences.getLanguage();
this.languageset = [
{code: "en", icon: null, name: l10n.get("English")},
{code: "es", icon: null, name: l10n.get("Spanish")},
{code: "fr", icon: null, name: l10n.get("French")},
{code: "de", icon: null, name: l10n.get("German")},
{code: "pt", icon: null, name: l10n.get("Portuguese")},
{code: "ar", icon: null, name: l10n.get("Arabic")},
{code: "ja", icon: null, name: l10n.get("Japanese")},
{code: "pl", icon: null, name: l10n.get("Polish")},
{code: "ibo", icon: null, name: l10n.get("Igbo")},
{code: "yor", icon: null, name: l10n.get("Yoruba")}
{code: "en", icon: null, name: "English (" + l10n.get("English") +")"},
{code: "es", icon: null, name: "Español (" + l10n.get("Spanish") +")"},
{code: "fr", icon: null, name: "Français (" + l10n.get("French") +")"},
{code: "de", icon: null, name: "Deutsch (" + l10n.get("German") +")"},
{code: "pt", icon: null, name: "Português (" + l10n.get("Portuguese") +")"},
{code: "ar", icon: null, name: "عربي (" + l10n.get("Arabic") +")"},
{code: "ja", icon: null, name: "日本語 (" + l10n.get("Japanese") +")"},
{code: "pl", icon: null, name: "Polski (" + l10n.get("Polish") +")"},
{code: "ibo", icon: null, name: "Igbo (" + l10n.get("Igbo") +")"},
{code: "yor", icon: null, name: "Yoruba (" + l10n.get("Yoruba") +")"}
];
this.$.languageselect.setItems(this.languageset);
for (var i = 0 ; i < this.languageset.length ; i++) {
Expand Down

0 comments on commit 0cd4903

Please sign in to comment.