kopia lustrzana https://github.com/backface/turtlestitch
Support loading lang* files from resourceURL path
rodzic
80a516ed7e
commit
e197471d08
2
gui.js
2
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) {
|
||||
|
|
Ładowanie…
Reference in New Issue