fix: Add some missing message strings. (#8908)

* fix: Add some missing message strings.

* fix: Prefix messages with SHORTCUTS
This commit is contained in:
Aaron Dodson
2025-04-21 10:44:57 -07:00
committed by GitHub
parent cece3f6296
commit 9d127698d6
3 changed files with 21 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
{ {
"@metadata": { "@metadata": {
"author": "Ellen Spertus <ellen.spertus@gmail.com>", "author": "Ellen Spertus <ellen.spertus@gmail.com>",
"lastupdated": "2025-04-21 08:25:34.842680", "lastupdated": "2025-04-21 10:42:10.549634",
"locale": "en", "locale": "en",
"messagedocumentation" : "qqq" "messagedocumentation" : "qqq"
}, },
@@ -425,5 +425,8 @@
"CUT_SHORTCUT": "Cut (%1)", "CUT_SHORTCUT": "Cut (%1)",
"COPY_SHORTCUT": "Copy (%1)", "COPY_SHORTCUT": "Copy (%1)",
"PASTE_SHORTCUT": "Paste (%1)", "PASTE_SHORTCUT": "Paste (%1)",
"HELP_PROMPT": "Press %1 for help on keyboard controls" "HELP_PROMPT": "Press %1 for help on keyboard controls",
"SHORTCUTS_GENERAL": "General",
"SHORTCUTS_EDITING": "Editing",
"SHORTCUTS_CODE_NAVIGATION": "Code navigation"
} }

View File

@@ -431,5 +431,8 @@
"CUT_SHORTCUT": "menu label - Contextual menu item that cuts the focused item.", "CUT_SHORTCUT": "menu label - Contextual menu item that cuts the focused item.",
"COPY_SHORTCUT": "menu label - Contextual menu item that copies the focused item.", "COPY_SHORTCUT": "menu label - Contextual menu item that copies the focused item.",
"PASTE_SHORTCUT": "menu label - Contextual menu item that pastes the previously copied item.", "PASTE_SHORTCUT": "menu label - Contextual menu item that pastes the previously copied item.",
"HELP_PROMPT": "Alert message shown to prompt users to review available keyboard shortcuts." "HELP_PROMPT": "Alert message shown to prompt users to review available keyboard shortcuts.",
"SHORTCUTS_GENERAL": "shortcut list section header - Label for general purpose keyboard shortcuts.",
"SHORTCUTS_EDITING": "shortcut list section header - Label for keyboard shortcuts related to editing a workspace.",
"SHORTCUTS_CODE_NAVIGATION": "shortcut list section header - Label for keyboard shortcuts related to moving around the workspace."
} }

View File

@@ -1720,4 +1720,15 @@ Blockly.Msg.COPY_SHORTCUT = 'Copy (%1)';
Blockly.Msg.PASTE_SHORTCUT = 'Paste (%1)'; Blockly.Msg.PASTE_SHORTCUT = 'Paste (%1)';
/** @type {string} */ /** @type {string} */
/// Alert message shown to prompt users to review available keyboard shortcuts. /// Alert message shown to prompt users to review available keyboard shortcuts.
Blockly.Msg.HELP_PROMPT = 'Press %1 for help on keyboard controls'; Blockly.Msg.HELP_PROMPT = 'Press %1 for help on keyboard controls';
/** @type {string} */
/// shortcut list section header - Label for general purpose keyboard shortcuts.
Blockly.Msg.SHORTCUTS_GENERAL = 'General';
/** @type {string} */
/// shortcut list section header - Label for keyboard shortcuts related to
/// editing a workspace.
Blockly.Msg.SHORTCUTS_EDITING = 'Editing'
/** @type {string} */
/// shortcut list section header - Label for keyboard shortcuts related to
/// moving around the workspace.
Blockly.Msg.SHORTCUTS_CODE_NAVIGATION = 'Code navigation';