Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change some block labels #1860

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/CubesterYT/KeySimulation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions extensions/CubesterYT/KeySimulation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand All @@ -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: {
Expand Down Expand Up @@ -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",
},
],
Expand Down
8 changes: 4 additions & 4 deletions extensions/Lily/MoreEvents.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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: {
Expand Down Expand Up @@ -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: {
Expand All @@ -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: {
Expand Down
Loading