Clarify the translation comment for CONTROLS_IFELSE_TITLE, including parameter usage descriptions and more specific example link.

This commit is contained in:
Andrew n marshall
2016-11-07 15:29:27 -08:00
parent 08efd1381c
commit 9dbe4c2f53

View File

@@ -239,7 +239,11 @@ Blockly.Msg.CONTROLS_IF_ELSE_TITLE_ELSE = Blockly.Msg.CONTROLS_IF_MSG_ELSE;
/// tooltip - Describes the 'else' subblock during [https://github.com/google/blockly/wiki/IfElse#block-modification if block modification].
Blockly.Msg.CONTROLS_IF_ELSE_TOOLTIP = 'Add a final, catch-all condition to the if block.';
/// block text - See [https://github.com/google/blockly/wiki/IfElse https://github.com/google/blockly/wiki/IfElse]. The English word "otherwise" would probably be superior to "else", but the latter is used because it is traditional and shorter.
/// block text - Evaluates a boolean condition (%1), and will either execute
/// the statements in %2 if true, otherwise execute the statements in %3.
/// The English word "otherwise" would probably be superior to "else", but the
/// latter is used because it is traditional and shorter.
/// See [https://github.com/google/blockly/wiki/IfElse#if-else-blocks https://github.com/google/blockly/wiki/IfElse#if-else-blocks].
Blockly.Msg.CONTROLS_IFELSE_TITLE = 'if %1 do %2 else %3';
/// url - Information about comparisons.