Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/html/buttons.js
diff options
context:
space:
mode:
Diffstat (limited to 'html/buttons.js')
-rw-r--r--html/buttons.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/html/buttons.js b/html/buttons.js
index 049641f..e53af37 100644
--- a/html/buttons.js
+++ b/html/buttons.js
@@ -84,12 +84,12 @@ enyo.kind({
// Change current language
localEnglish: function() {
Abcd.changeVisibility(this, {switchToEnglish: false, switchToFrench: true});
- Abcd.setLocale(Abcd.enTexts);
+ Abcd.setLocale("en");
},
localFrench: function() {
Abcd.changeVisibility(this, {switchToEnglish: true, switchToFrench: false});
- Abcd.setLocale(Abcd.frTexts);
+ Abcd.setLocale("fr");
}
});