Fix syntax error, and accessing IDE bug exporting blocks

dev
Michael Ball 2015-11-16 19:41:20 -08:00
rodzic fa1a24a4bd
commit e1e73d8feb
2 zmienionych plików z 10 dodań i 30 usunięć

Wyświetl plik

@ -3369,9 +3369,8 @@ BlockExportDialogMorph.prototype.selectNone = function () {
BlockExportDialogMorph.prototype.exportBlocks = function () {
var str = this.serializer.serialize(this.blocks),
ide = this.parentThatIsA(IDE_Morph);
window.ed = this;
console.log(this.prototype);
ide = this.world().children[0];
if (this.blocks.length > 0) {
str = '<blocks app="'
+ this.serializer.app

Wyświetl plik

@ -42,7 +42,7 @@
/*global modules, contains*/
modules.locale = '2015-November-16';
modules.locale = '2015-October-07';
// Global stuff
@ -139,9 +139,13 @@ SnapTranslator.dict.en = {
'Are you sure you want to delete this\n'
+ 'custom block and all its instances?',
'download to disk text':
'This item could not be opened in a new tab.',
'This item could not be opened in a new tab.\n' +
'It has been saved to your browser\'s downloads folder.',
'unable to export text':
'This item could not be exported from Snap!.'
'This item could not be exported from Snap!.\n' +
'It\'s like that your project may contain a lot of media ' +
'(sounds and images) or that you are using an older browser.' +
'Please try using a recent version of Chrome, Firefox, or Safari.'
};
SnapTranslator.dict.de = {
@ -225,7 +229,7 @@ SnapTranslator.dict.cs = {
'translator_e-mail':
'info@iguru.eu, jan.tomsa.1976@gmail.com',
'last_changed':
'2015-11-16'
'2015-09-23'
};
SnapTranslator.dict.zh = {
@ -526,26 +530,3 @@ SnapTranslator.dict.hr = {
'last_changed':
'2015-09-15'
};
SnapTranslator.dict.bg = {
'language_name':
'Български',
'language_translator':
'Ivan Savov',
'translator_e-mail':
'ivan.savov@gmail.com',
'last_changed':
'2015-11-16'
};
SnapTranslator.dict.ro = {
'language_name':
'Român',
'language_translator':
'Cristian Macarascu',
'translator_e-mail':
'',
'last_changed':
'2015-10-24'
};