From 9e1ffc725679d6c8bc702d88b3d586c9ab45cb1a Mon Sep 17 00:00:00 2001 From: lizschwab Date: Thu, 18 Jun 2026 10:12:31 -0700 Subject: [PATCH] chore: updated messages file to improve formatting for translatewiki --- packages/blockly/msg/json/qqq.json | 2 +- packages/blockly/msg/messages.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/blockly/msg/json/qqq.json b/packages/blockly/msg/json/qqq.json index 30591ba9451..c731d169e24 100644 --- a/packages/blockly/msg/json/qqq.json +++ b/packages/blockly/msg/json/qqq.json @@ -499,7 +499,7 @@ "WORKSPACE_LABEL_1_STACK": "Aria label for a workspace with one stack of blocks.", "WORKSPACE_LABEL_MANY_STACKS": "Aria label for a workspace with 0 or >1 stacks of blocks. \n\nParameters:\n* %1 - the number of stacks of blocks. A stack of blocks is a group of connected blocks that are not connected to any other blocks. 0 stacks means there are no blocks on the workspace.", "WORKSPACE_LABEL_MUTATOR_WORKSPACE": "Aria label for a mutator workspace, which is a secondary workspace used for editing a block's structure. This type of workspace appears when a user clicks on the gear icon of a block that has a mutator, and allows the user to add, remove, or rearrange inputs to that block.", - "WORKSPACE_LABEL_FLYOUT_WORKSPACE": "Aria label for an always-open flyout's workspace. Since the flyout will have a role of list, the resulting screenreader output will be something like 'Logic blocks list, with 5 items'. Do not include the word 'list' in this message. \nParameters:\n* %1 - the category of blocks in the flyout, e.g. 'Logic' or 'Math'. This may be empty for an uncategorized flyout.", + "WORKSPACE_LABEL_FLYOUT_WORKSPACE": "Aria label for an always-open flyout's workspace. Since the flyout will have a role of list, the resulting screenreader output will be something like 'Logic blocks list, with 5 items'. Do not include the word 'list' in this message. \n\nParameters:\n* %1 - the category of blocks in the flyout, e.g. 'Logic' or 'Math'. This may be empty for an uncategorized flyout.", "WORKSPACE_CONTENTS_BLOCKS_MANY": "ARIA live region message announcing the number of stacks of blocks in the workspace, optionally including comments. \n\nParameters:\n* %1 - the number of stacks (integer greater than 1)\n* %2 - optional phrase announcing comments, including leading space \n\nExamples:\n* '5 stacks of blocks in workspace.'\n* '5 stacks of blocks and 2 comments in workspace.'", "WORKSPACE_CONTENTS_BLOCKS_ONE": "ARIA live region message announcing there is one stack of blocks in the workspace, optionally including a count of comments. \n\nParameters:\n* %2 - optional phrase announcing comments, including leading space \n\nExamples:\n* 'One stack of blocks in workspace.'\n* 'One stack of blocks and 1 comment in workspace.'", "WORKSPACE_CONTENTS_BLOCKS_ZERO": "ARIA live region message announcing there are no blocks in the workspace, optionally including a count of comments. \n\nParameters:\n* %2 - optional phrase announcing comments, including leading space \n\nExamples:\n* 'No blocks in workspace.'\n* 'No blocks and 3 comments in workspace.'", diff --git a/packages/blockly/msg/messages.js b/packages/blockly/msg/messages.js index a17e9c27b71..80f8f950bce 100644 --- a/packages/blockly/msg/messages.js +++ b/packages/blockly/msg/messages.js @@ -1931,7 +1931,7 @@ Blockly.Msg.WORKSPACE_LABEL_MUTATOR_WORKSPACE = 'Block editor workspace'; /// Aria label for an always-open flyout's workspace. Since the flyout will have a role of list, /// the resulting screenreader output will be something like "Logic blocks list, with 5 items". /// Do not include the word "list" in this message. -/// Parameters: %1 - the category of blocks in the flyout, e.g. "Logic" or "Math". This may be empty for an uncategorized flyout. +/// \n\nParameters:\n* %1 - the category of blocks in the flyout, e.g. "Logic" or "Math". This may be empty for an uncategorized flyout. Blockly.Msg.WORKSPACE_LABEL_FLYOUT_WORKSPACE = '%1 blocks'; /** @type {string} */ /// ARIA live region message announcing the number of stacks of blocks in the workspace, optionally including comments.