Skip to content

Commit a9cfab0

Browse files
authored
text: fix a weird string choice (TurboWarp#2274)
Trying to be funny and put the `s` outside of the dropdown is very confusing to users and especially the people who have to try translating that into other languages
1 parent b6b03ea commit a9cfab0

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

‎extensions/text.js‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,11 @@
406406
{
407407
opcode: "posWith",
408408
blockType: Scratch.BlockType.BOOLEAN,
409-
text: Scratch.translate("[STRING] [POSITION]s with [SUBSTRING]?"),
409+
text: Scratch.translate({
410+
default: "[STRING] [POSITION] with [SUBSTRING]?",
411+
description:
412+
"[POSITION] is a dropdown with 'starts' and 'ends'. The block then takes the form '[STRING] starts with [SUBSTRING]?' or '[STRING] ends with [SUBSTRING]?'",
413+
}),
410414
arguments: {
411415
STRING: {
412416
type: Scratch.ArgumentType.STRING,
@@ -464,11 +468,11 @@
464468
acceptReporters: true,
465469
items: [
466470
{
467-
text: Scratch.translate("start"),
471+
text: Scratch.translate("starts"),
468472
value: "starts",
469473
},
470474
{
471-
text: Scratch.translate("end"),
475+
text: Scratch.translate("ends"),
472476
value: "ends",
473477
},
474478
],

0 commit comments

Comments
 (0)