Skip to content

Commit 99c7979

Browse files
authored
chore: Add more localizable messages for block-plus-minus plugin (#9985)
1 parent 7994db4 commit 99c7979

3 files changed

Lines changed: 31 additions & 1 deletion

File tree

packages/blockly/msg/json/en.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"@metadata": {
33
"author": "Ellen Spertus <ellen.spertus@gmail.com>",
4-
"lastupdated": "2026-06-12 08:24:49.493474",
4+
"lastupdated": "2026-06-12 09:20:03.058537",
55
"locale": "en",
66
"messagedocumentation" : "qqq"
77
},
@@ -618,6 +618,12 @@
618618
"SCREENREADER_HINT": "Use the arrow keys to navigate. Press %1 to toggle screenreader accessibility mode.",
619619
"ARIA_LABEL_ADD_ELSE_IF": "Add else if",
620620
"ARIA_LABEL_REMOVE_ELSE_IF": "Remove else if",
621+
"ARIA_LABEL_ADD_LIST_ITEM": "Add list item",
622+
"ARIA_LABEL_REMOVE_LIST_ITEM": "Remove list item",
623+
"ARIA_LABEL_ADD_TEXT": "Add text",
624+
"ARIA_LABEL_REMOVE_TEXT": "Remove text",
625+
"ARIA_LABEL_ADD_INPUT": "Add input",
626+
"ARIA_LABEL_REMOVE_INPUT": "Remove input",
621627
"ARIA_TYPE_FIELD_ANGLE": "angle",
622628
"ARIA_LABEL_FIELD_ANGLE": "%1 degrees",
623629
"ARIA_TYPE_FIELD_DATE": "date",

packages/blockly/msg/json/qqq.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,12 @@
612612
"SCREENREADER_HINT": "Message announced when screenreader optimization mode is turned off.",
613613
"ARIA_LABEL_ADD_ELSE_IF": "ARIA label for button that adds an else if clause to a block.",
614614
"ARIA_LABEL_REMOVE_ELSE_IF": "ARIA label for button that removes an else if clause from a block.",
615+
"ARIA_LABEL_ADD_LIST_ITEM": "ARIA label for button that adds a list item to a block.",
616+
"ARIA_LABEL_REMOVE_LIST_ITEM": "ARIA label for button that removes a list item from a block.",
617+
"ARIA_LABEL_ADD_TEXT": "ARIA label for button that adds a substring to a create text block.",
618+
"ARIA_LABEL_REMOVE_TEXT": "ARIA label for button that removes a substring from a create text block.",
619+
"ARIA_LABEL_ADD_INPUT": "ARIA label for button that adds an input/argument to a procedure block.",
620+
"ARIA_LABEL_REMOVE_INPUT": "ARIA label for button that removes an input/argument from a procedure block.",
615621
"ARIA_TYPE_FIELD_ANGLE": "ARIA type name for the angle field.",
616622
"ARIA_LABEL_FIELD_ANGLE": "ARIA label for the angle field's value.",
617623
"ARIA_TYPE_FIELD_DATE": "ARIA type name for the date field.",

packages/blockly/msg/messages.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2363,6 +2363,24 @@ Blockly.Msg.ARIA_LABEL_ADD_ELSE_IF = 'Add else if';
23632363
/// ARIA label for button that removes an else if clause from a block.
23642364
Blockly.Msg.ARIA_LABEL_REMOVE_ELSE_IF = 'Remove else if';
23652365
/** @type {string} */
2366+
/// ARIA label for button that adds a list item to a block.
2367+
Blockly.Msg.ARIA_LABEL_ADD_LIST_ITEM = 'Add list item';
2368+
/** @type {string} */
2369+
/// ARIA label for button that removes a list item from a block.
2370+
Blockly.Msg.ARIA_LABEL_REMOVE_LIST_ITEM = 'Remove list item';
2371+
/** @type {string} */
2372+
/// ARIA label for button that adds a substring to a create text block.
2373+
Blockly.Msg.ARIA_LABEL_ADD_TEXT = 'Add text';
2374+
/** @type {string} */
2375+
/// ARIA label for button that removes a substring from a create text block.
2376+
Blockly.Msg.ARIA_LABEL_REMOVE_TEXT = 'Remove text';
2377+
/** @type {string} */
2378+
/// ARIA label for button that adds an input/argument to a procedure block.
2379+
Blockly.Msg.ARIA_LABEL_ADD_INPUT = 'Add input';
2380+
/** @type {string} */
2381+
/// ARIA label for button that removes an input/argument from a procedure block.
2382+
Blockly.Msg.ARIA_LABEL_REMOVE_INPUT = 'Remove input';
2383+
/** @type {string} */
23662384
/// ARIA type name for the angle field.
23672385
Blockly.Msg.ARIA_TYPE_FIELD_ANGLE = 'angle';
23682386
/** @type {string} */

0 commit comments

Comments
 (0)