mirror of
https://github.com/google/blockly.git
synced 2026-01-08 09:30:06 +01:00
chore: Update messages for keyboard-experiment. (#9152)
* chore: Remove unused messages. * fix: Remove unneeded message placeholders. * feat: Add additional messages used in the keyboard experiment. * chore: Update messages.
This commit is contained in:
@@ -1618,68 +1618,13 @@ Blockly.Msg.DIALOG_OK = 'OK';
|
||||
/// button label - Pressing this button cancels a proposed action.\n{{Identical|Cancel}}
|
||||
Blockly.Msg.DIALOG_CANCEL = 'Cancel';
|
||||
|
||||
/** @type {string} */
|
||||
/// menu label - Contextual menu item that deletes the focused block.
|
||||
Blockly.Msg.DELETE_SHORTCUT = 'Delete block (%1)';
|
||||
/** @type {string} */
|
||||
/// menu label - Keyboard shortcut for the Delete key, shown at the end of a
|
||||
/// menu item that deletes the focused block.
|
||||
Blockly.Msg.DELETE_KEY = 'Del';
|
||||
/** @type {string} */
|
||||
/// menu label - Contextual menu item that moves the keyboard navigation cursor
|
||||
/// into a subitem of the focused block.
|
||||
Blockly.Msg.EDIT_BLOCK_CONTENTS = 'Edit Block contents (%1)';
|
||||
/** @type {string} */
|
||||
/// menu label - Contextual menu item that prompts the user to choose a block to
|
||||
/// insert into the program at the focused location.
|
||||
Blockly.Msg.INSERT_BLOCK = 'Insert Block (%1)';
|
||||
/** @type {string} */
|
||||
/// keyboard shortcut label - Contextual menu item that starts a keyboard-driven
|
||||
/// move of the focused block.
|
||||
Blockly.Msg.START_MOVE = 'Start move';
|
||||
/** @type {string} */
|
||||
/// keyboard shortcut label - Contextual menu item that ends a keyboard-driven
|
||||
/// move of the focused block.
|
||||
Blockly.Msg.FINISH_MOVE = 'Finish move';
|
||||
/** @type {string} */
|
||||
/// keyboard shortcut label - Contextual menu item that ends a keyboard-drive
|
||||
/// move of the focused block by returning it to its original location.
|
||||
Blockly.Msg.ABORT_MOVE = 'Abort move';
|
||||
/** @type {string} */
|
||||
/// keyboard shortcut label - Description of shortcut that moves a block to the
|
||||
/// next valid location to the left.
|
||||
Blockly.Msg.MOVE_LEFT_CONSTRAINED = 'Move left, constrained';
|
||||
/** @type {string} */
|
||||
/// keyboard shortcut label - Description of shortcut that moves a block to the
|
||||
/// next valid location to the right.
|
||||
Blockly.Msg.MOVE_RIGHT_CONSTRAINED = 'Move right constrained';
|
||||
/** @type {string} */
|
||||
/// keyboard shortcut label - Description of shortcut that moves a block to the
|
||||
/// next valid location above it.
|
||||
Blockly.Msg.MOVE_UP_CONSTRAINED = 'Move up, constrained';
|
||||
/** @type {string} */
|
||||
/// keyboard shortcut label - Description of shortcut that moves a block to the
|
||||
/// next valid location below it.
|
||||
Blockly.Msg.MOVE_DOWN_CONSTRAINED = 'Move down constrained';
|
||||
/** @type {string} */
|
||||
/// keyboard shortcut label - Description of shortcut that moves a block freely
|
||||
/// to the left.
|
||||
Blockly.Msg.MOVE_LEFT_UNCONSTRAINED = 'Move left, unconstrained';
|
||||
/** @type {string} */
|
||||
/// keyboard shortcut label - Description of shortcut that moves a block freely
|
||||
/// to the right.
|
||||
Blockly.Msg.MOVE_RIGHT_UNCONSTRAINED = 'Move right, unconstrained';
|
||||
/** @type {string} */
|
||||
/// keyboard shortcut label - Description of shortcut that moves a block freely
|
||||
/// upwards.
|
||||
Blockly.Msg.MOVE_UP_UNCONSTRAINED = 'Move up unconstrained';
|
||||
/** @type {string} */
|
||||
/// keyboard shortcut label - Description of shortcut that moves a block freely
|
||||
/// downwards.
|
||||
Blockly.Msg.MOVE_DOWN_UNCONSTRAINED = 'Move down, unconstrained';
|
||||
Blockly.Msg.EDIT_BLOCK_CONTENTS = 'Edit Block contents';
|
||||
/** @type {string} */
|
||||
/// menu label - Contextual menu item that starts a keyboard-driven block move.
|
||||
Blockly.Msg.MOVE_BLOCK = 'Move Block (%1)';
|
||||
Blockly.Msg.MOVE_BLOCK = 'Move Block';
|
||||
/** @type {string} */
|
||||
/// Name of the Microsoft Windows operating system displayed in a list of
|
||||
/// keyboard shortcuts.
|
||||
@@ -1714,13 +1659,13 @@ Blockly.Msg.OPTION_KEY = '⌥ Option';
|
||||
Blockly.Msg.ALT_KEY = 'Alt';
|
||||
/** @type {string} */
|
||||
/// menu label - Contextual menu item that cuts the focused item.
|
||||
Blockly.Msg.CUT_SHORTCUT = 'Cut (%1)';
|
||||
Blockly.Msg.CUT_SHORTCUT = 'Cut';
|
||||
/** @type {string} */
|
||||
/// menu label - Contextual menu item that copies the focused item.
|
||||
Blockly.Msg.COPY_SHORTCUT = 'Copy (%1)';
|
||||
Blockly.Msg.COPY_SHORTCUT = 'Copy';
|
||||
/** @type {string} */
|
||||
/// menu label - Contextual menu item that pastes the previously copied item.
|
||||
Blockly.Msg.PASTE_SHORTCUT = 'Paste (%1)';
|
||||
Blockly.Msg.PASTE_SHORTCUT = 'Paste';
|
||||
/** @type {string} */
|
||||
/// Alert message shown to prompt users to review available keyboard shortcuts.
|
||||
Blockly.Msg.HELP_PROMPT = 'Press %1 for help on keyboard controls';
|
||||
@@ -1735,3 +1680,16 @@ Blockly.Msg.SHORTCUTS_EDITING = 'Editing'
|
||||
/// shortcut list section header - Label for keyboard shortcuts related to
|
||||
/// moving around the workspace.
|
||||
Blockly.Msg.SHORTCUTS_CODE_NAVIGATION = 'Code navigation';
|
||||
/** @type {string} */
|
||||
/// Message shown to inform users how to move blocks to arbitrary locations
|
||||
/// with the keyboard.
|
||||
Blockly.Msg.KEYBOARD_NAV_UNCONSTRAINED_MOVE_HINT = 'Hold %1 and use arrow keys to move freely, then %2 to accept the position';
|
||||
/** @type {string} */
|
||||
/// Message shown to inform users how to move blocks with the keyboard.
|
||||
Blockly.Msg.KEYBOARD_NAV_CONSTRAINED_MOVE_HINT = 'Use the arrow keys to move, then %1 to accept the position';
|
||||
/** @type {string} */
|
||||
/// Message shown when an item is copied in keyboard navigation mode.
|
||||
Blockly.Msg.KEYBOARD_NAV_COPIED_HINT = 'Copied. Press %1 to paste.';
|
||||
/** @type {string} */
|
||||
/// Message shown when an item is cut in keyboard navigation mode.
|
||||
Blockly.Msg.KEYBOARD_NAV_CUT_HINT = 'Cut. Press %1 to paste.';
|
||||
Reference in New Issue
Block a user