From 04729b44b864efe9e3f556beaf0bc29cabbc4187 Mon Sep 17 00:00:00 2001 From: DNin01 <106490990+DNin01@users.noreply.github.com> Date: Thu, 9 Jan 2025 14:46:06 -0800 Subject: [PATCH] Change some block labels - without waiting -> and continue - broadcast to sprite -> send to sprite --- docs/CubesterYT/KeySimulation.md | 4 ++-- extensions/CubesterYT/KeySimulation.js | 8 ++++---- extensions/Lily/MoreEvents.js | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/CubesterYT/KeySimulation.md b/docs/CubesterYT/KeySimulation.md index ee132577a4..1596a951e8 100644 --- a/docs/CubesterYT/KeySimulation.md +++ b/docs/CubesterYT/KeySimulation.md @@ -5,7 +5,7 @@ This extension allows you to simulate key presses and mouse clicks on the projec ## Press key ```scratch -press (space v) for (0.1) seconds (without waiting v) :: #BF0000 +press (space v) for (0.1) seconds and (continue v) :: #BF0000 ``` This will trigger "key down?" and "when key pressed" blocks. It won't type text into text fields in the editor, for example. @@ -15,7 +15,7 @@ When `0` is used as a duration, the key will be pressed for exactly one frame. ## Click mouse ```scratch -click (left v) mouse button at x: (0) y: (0) for (0.1) seconds (without waiting v) :: #BF0000 +click (left v) mouse button at x: (0) y: (0) for (0.1) seconds and (continue v) :: #BF0000 ``` This will trigger "mouse down?" and "when this sprite clicked" blocks as well as update the "mouse x" and "mouse y" blocks. It can't be used to click on buttons in the editor, for example. diff --git a/extensions/CubesterYT/KeySimulation.js b/extensions/CubesterYT/KeySimulation.js index 7b2265b88d..3c76ed9a78 100644 --- a/extensions/CubesterYT/KeySimulation.js +++ b/extensions/CubesterYT/KeySimulation.js @@ -84,7 +84,7 @@ { opcode: "pressKey", text: Scratch.translate( - "press [KEY] for [SECONDS] seconds [AND_WAIT]" + "press [KEY] for [SECONDS] seconds and [AND_WAIT]" ), blockType: Scratch.BlockType.COMMAND, arguments: { @@ -105,7 +105,7 @@ { opcode: "clickMouse", text: Scratch.translate( - "click [BUTTON] mouse button at x: [X] y: [Y] for [SECONDS] seconds [AND_WAIT]" + "click [BUTTON] mouse button at x: [X] y: [Y] for [SECONDS] seconds and [AND_WAIT]" ), blockType: Scratch.BlockType.COMMAND, arguments: { @@ -249,11 +249,11 @@ acceptReporters: true, items: [ { - text: Scratch.translate("without waiting"), + text: Scratch.translate("continue"), value: "without waiting", }, { - text: Scratch.translate("and wait"), + text: Scratch.translate("wait"), value: "and wait", }, ], diff --git a/extensions/Lily/MoreEvents.js b/extensions/Lily/MoreEvents.js index b215802af8..5ab75a8555 100644 --- a/extensions/Lily/MoreEvents.js +++ b/extensions/Lily/MoreEvents.js @@ -342,7 +342,7 @@ { opcode: "broadcastToTarget", blockType: Scratch.BlockType.COMMAND, - text: Scratch.translate("broadcast [BROADCAST_OPTION] to [TARGET]"), + text: Scratch.translate("send [BROADCAST_OPTION] to [TARGET]"), arguments: { BROADCAST_OPTION: { type: null, @@ -359,7 +359,7 @@ opcode: "broadcastToTargetAndWait", blockType: Scratch.BlockType.COMMAND, text: Scratch.translate( - "broadcast [BROADCAST_OPTION] to [TARGET] and wait" + "send [BROADCAST_OPTION] to [TARGET] and wait" ), arguments: { BROADCAST_OPTION: { @@ -429,7 +429,7 @@ opcode: "broadcastDataToTarget", blockType: Scratch.BlockType.COMMAND, text: Scratch.translate( - "broadcast [BROADCAST_OPTION] to [TARGET] with data [DATA]" + "send [BROADCAST_OPTION] to [TARGET] with data [DATA]" ), func: "broadcastToTarget", arguments: { @@ -451,7 +451,7 @@ opcode: "broadcastDataToTargetAndWait", blockType: Scratch.BlockType.COMMAND, text: Scratch.translate( - "broadcast [BROADCAST_OPTION] to [TARGET] with data [DATA] and wait" + "send [BROADCAST_OPTION] to [TARGET] with data [DATA] and wait" ), func: "broadcastToTargetAndWait", arguments: {