From e197471d08e600faf78b80e79f995b2b14d621e2 Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Sun, 21 Feb 2016 17:43:23 -0800 Subject: [PATCH] Support loading lang* files from resourceURL path --- gui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui.js b/gui.js index 6b0f7d1a..bbf56765 100644 --- a/gui.js +++ b/gui.js @@ -4114,7 +4114,7 @@ IDE_Morph.prototype.languageMenu = function () { IDE_Morph.prototype.setLanguage = function (lang, callback) { var translation = document.getElementById('language'), - src = 'lang-' + lang + '.js', + src = this.resourceURL('', 'lang-' + lang + '.js'), myself = this; SnapTranslator.unload(); if (translation) {