From 8be873d0855fb7849fb2071a68149f53341183cd Mon Sep 17 00:00:00 2001 From: Eve Martin Date: Fri, 26 Apr 2024 12:47:10 +0000 Subject: [PATCH] test removal of custom block labels --- game/static/game/js/blocklyCustomBlocks.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game/static/game/js/blocklyCustomBlocks.js b/game/static/game/js/blocklyCustomBlocks.js index 7eb4e1375..ff6b5803d 100644 --- a/game/static/game/js/blocklyCustomBlocks.js +++ b/game/static/game/js/blocklyCustomBlocks.js @@ -39,7 +39,7 @@ function initCustomBlocksDescription() { init: function () { this.setColour(160); this.appendDummyInput() - .appendField(Blockly.Msg.MOVE_FORWARDS_TITLE) + .appendField(gettext("test")) .appendField( new Blockly.FieldImage( ocargo.Drawing.imageDir + "actions/forward.svg", @@ -49,7 +49,7 @@ function initCustomBlocksDescription() { ); this.setPreviousStatement(true, "Action"); this.setNextStatement(true, "Action"); - this.setTooltip(Blockly.Msg.MOVE_FORWARDS_TOOLTIP); + this.setTooltip(gettext("test")); }, };