Skip to content

Commit 9d12769

Browse files
authored
fix: Add some missing message strings. (#8908)
* fix: Add some missing message strings. * fix: Prefix messages with SHORTCUTS
1 parent cece3f6 commit 9d12769

File tree

3 files changed

+21
-4
lines changed

3 files changed

+21
-4
lines changed

msg/json/en.json

Lines changed: 5 additions & 2 deletions
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": "2025-04-21 08:25:34.842680",
4+
"lastupdated": "2025-04-21 10:42:10.549634",
55
"locale": "en",
66
"messagedocumentation" : "qqq"
77
},
@@ -425,5 +425,8 @@
425425
"CUT_SHORTCUT": "Cut (%1)",
426426
"COPY_SHORTCUT": "Copy (%1)",
427427
"PASTE_SHORTCUT": "Paste (%1)",
428-
"HELP_PROMPT": "Press %1 for help on keyboard controls"
428+
"HELP_PROMPT": "Press %1 for help on keyboard controls",
429+
"SHORTCUTS_GENERAL": "General",
430+
"SHORTCUTS_EDITING": "Editing",
431+
"SHORTCUTS_CODE_NAVIGATION": "Code navigation"
429432
}

msg/json/qqq.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,5 +431,8 @@
431431
"CUT_SHORTCUT": "menu label - Contextual menu item that cuts the focused item.",
432432
"COPY_SHORTCUT": "menu label - Contextual menu item that copies the focused item.",
433433
"PASTE_SHORTCUT": "menu label - Contextual menu item that pastes the previously copied item.",
434-
"HELP_PROMPT": "Alert message shown to prompt users to review available keyboard shortcuts."
434+
"HELP_PROMPT": "Alert message shown to prompt users to review available keyboard shortcuts.",
435+
"SHORTCUTS_GENERAL": "shortcut list section header - Label for general purpose keyboard shortcuts.",
436+
"SHORTCUTS_EDITING": "shortcut list section header - Label for keyboard shortcuts related to editing a workspace.",
437+
"SHORTCUTS_CODE_NAVIGATION": "shortcut list section header - Label for keyboard shortcuts related to moving around the workspace."
435438
}

msg/messages.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1720,4 +1720,15 @@ Blockly.Msg.COPY_SHORTCUT = 'Copy (%1)';
17201720
Blockly.Msg.PASTE_SHORTCUT = 'Paste (%1)';
17211721
/** @type {string} */
17221722
/// Alert message shown to prompt users to review available keyboard shortcuts.
1723-
Blockly.Msg.HELP_PROMPT = 'Press %1 for help on keyboard controls';
1723+
Blockly.Msg.HELP_PROMPT = 'Press %1 for help on keyboard controls';
1724+
/** @type {string} */
1725+
/// shortcut list section header - Label for general purpose keyboard shortcuts.
1726+
Blockly.Msg.SHORTCUTS_GENERAL = 'General';
1727+
/** @type {string} */
1728+
/// shortcut list section header - Label for keyboard shortcuts related to
1729+
/// editing a workspace.
1730+
Blockly.Msg.SHORTCUTS_EDITING = 'Editing'
1731+
/** @type {string} */
1732+
/// shortcut list section header - Label for keyboard shortcuts related to
1733+
/// moving around the workspace.
1734+
Blockly.Msg.SHORTCUTS_CODE_NAVIGATION = 'Code navigation';

0 commit comments

Comments
 (0)