diff --git a/src/byob.js b/src/byob.js index bc91528ee0..a95926d8c3 100644 --- a/src/byob.js +++ b/src/byob.js @@ -2234,8 +2234,7 @@ BlockEditorMorph.prototype.close = function () { block.addShadow(); new DialogBoxMorph().inform( 'Local Block(s) in Global Definition', - 'This global block definition contains one or more\n' - + 'local custom blocks which must be removed first.', + localize('This global block definition contains one or more\nlocal custom blocks which must be removed first.'), myself.world(), block.fullImage() ); @@ -2251,8 +2250,8 @@ BlockEditorMorph.prototype.close = function () { block.addShadow(); new DialogBoxMorph(this, 'consolidateDoubles', this).askYesNo( 'Same Named Blocks', - 'Another custom block with this name exists.\n' - + 'Would you like to replace it?', + localize('Another custom block with this name exists.\n') + + localize('Would you like to replace it?'), myself.world(), block.fullImage() ); diff --git a/src/gui.js b/src/gui.js index 68880d0836..9e8ccea099 100644 --- a/src/gui.js +++ b/src/gui.js @@ -5412,20 +5412,16 @@ IDE_Morph.prototype.initializeCloud = function () { myself.source = 'cloud'; if (!isNil(response.days_left)) { new DialogBoxMorph().inform( - 'Unverified account: ' + - response.days_left + - ' days left', - 'You are now logged in, and your account\n' + - 'is enabled for three days.\n' + - 'Please use the verification link that\n' + - 'was sent to your email address when you\n' + - 'signed up.\n\n' + - 'If you cannot find that email, please\n' + - 'check your spam folder. If you still\n' + - 'cannot find it, please use the "Resend\n' + - 'Verification Email..." option in the cloud\n' + - 'menu.\n\n' + - 'You have ' + response.days_left + ' days left.', + localize('Unverified account: ') + + response.days_left + + localize(' days left'), + localize('You are now logged in, and your account\nis enabled for three days.\n') + + localize('Please use the verification link that\nwas sent to your email address when you\nsigned up.\n\n') + + localize('If you cannot find that email, please\ncheck your spam folder.\n') + + localize('If you still cannot find it\n, please use the "Resend\nVerification Email..." option\nin the cloud menu.\n\n') + + localize('You have ') + + response.days_left + + localize(' days left.'), world, myself.cloudIcon(null, new Color(0, 180, 0)) ); diff --git a/src/paint.js b/src/paint.js index bc7371dd26..ebf651947b 100644 --- a/src/paint.js +++ b/src/paint.js @@ -237,8 +237,8 @@ PaintEditorMorph.prototype.buildEdits = function () { function () { if (myself.paper.undoBuffer.length > 0) { myself.ide.confirm( - 'This will erase your current drawing.\n' + - 'Are you sure you want to continue?', + localize('This will erase your current drawing.\n') + + localize('Are you sure you want to continue?'), 'Switch to vector editor?', function () { myself.switchToVector(); diff --git a/src/sketch.js b/src/sketch.js index 57543acfd6..feebb2b38a 100644 --- a/src/sketch.js +++ b/src/sketch.js @@ -977,10 +977,9 @@ VectorPaintEditorMorph.prototype.buildEdits = function () { function () { if (myself.shapes.length > 0) { myself.ide.confirm( - 'This will convert your vector objects into\n' + - 'bitmaps, and you will not be able to convert\n' + - 'them back into vector drawings.\n' + - 'Are you sure you want to continue?', + localize('This will convert your vector objects into\nbitmaps,') + + localize(' and you will not be able to convert\nthem back into vector drawings.\n') + + localize('Are you sure you want to continue?'), 'Convert to bitmap?', function () { myself.convertToBitmap();