summaryrefslogtreecommitdiff
path: root/gui.js
diff options
context:
space:
mode:
authorGubolin <gubolin@fantasymail.de>2014-08-17 20:09:05 +0200
committerGubolin <gubolin@fantasymail.de>2014-08-17 20:09:05 +0200
commit624bcf4e3352971a77cf3e6a4266f1600f9da577 (patch)
tree3c7b737013aab5443e2ece921912a8f156d1859c /gui.js
parent8f7d1833f6e6b304e706bb84848dbf86a80834c8 (diff)
downloadsnap-624bcf4e3352971a77cf3e6a4266f1600f9da577.tar.gz
snap-624bcf4e3352971a77cf3e6a4266f1600f9da577.zip
add language blocks
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 () {