diff options
| author | Gubolin <gubolin@fantasymail.de> | 2014-08-17 20:09:05 +0200 |
|---|---|---|
| committer | Gubolin <gubolin@fantasymail.de> | 2014-08-17 20:09:05 +0200 |
| commit | 624bcf4e3352971a77cf3e6a4266f1600f9da577 (patch) | |
| tree | 3c7b737013aab5443e2ece921912a8f156d1859c /gui.js | |
| parent | 8f7d1833f6e6b304e706bb84848dbf86a80834c8 (diff) | |
| download | snap-624bcf4e3352971a77cf3e6a4266f1600f9da577.tar.gz snap-624bcf4e3352971a77cf3e6a4266f1600f9da577.zip | |
add language blocks
Diffstat (limited to 'gui.js')
| -rw-r--r-- | gui.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 () { |
