Support loading lang* files from resourceURL path

dev
Michael Ball 2016-02-21 17:43:23 -08:00
rodzic 80a516ed7e
commit e197471d08
1 zmienionych plików z 1 dodań i 1 usunięć

2
gui.js
Wyświetl plik

@ -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) {