summaryrefslogtreecommitdiff
path: root/gui.js
diff options
context:
space:
mode:
authorGubolin <gubolin@fantasymail.de>2014-09-07 12:44:00 +0200
committerGubolin <gubolin@fantasymail.de>2014-09-07 12:44:00 +0200
commitf8b3ef7c27f09b6638b8d024512e8289b844e651 (patch)
tree9c3a640b49654d5f010b0ad2fc614ff85ec7252a /gui.js
parent8e14ae00f1ec4d60727702df4265bf142856cebc (diff)
parent667aa5a56564d07c05182eeae7bba7567710a844 (diff)
downloadsnap-f8b3ef7c27f09b6638b8d024512e8289b844e651.tar.gz
snap-f8b3ef7c27f09b6638b8d024512e8289b844e651.zip
Merge branch 'location' into mobileapp
Diffstat (limited to 'gui.js')
-rw-r--r--gui.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui.js b/gui.js
index 6af9137..4c9ee00 100644
--- a/gui.js
+++ b/gui.js
@@ -185,7 +185,7 @@ IDE_Morph.prototype.init = function (isAutoFill) {
MorphicPreferences.globalFontFamily = 'Helvetica, Arial';
// restore saved user preferences
- this.userLanguage = null; // user language preference for startup
+ this.userLanguage = null;
this.applySavedSettings();
// additional properties:
@@ -3417,6 +3417,7 @@ IDE_Morph.prototype.setLanguage = function (lang, callback) {
if (lang === 'en') {
return this.reflectLanguage('en', callback);
}
+ myself.userLanguage = lang;
translation = document.createElement('script');
translation.id = 'language';
translation.onload = function () {