Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions blocks/control.js
Original file line number Diff line number Diff line change
Expand Up @@ -563,9 +563,9 @@ export function defineControlBlocks() {
this.appendDummyInput("HEAD").appendField(
new Blockly.FieldDropdown(
[
["if", MODE.IF],
["else if", MODE.ELSEIF],
["else", MODE.ELSE],
["%{BKY_CONTROLS_IF_MSG_IF}", MODE.IF],
["%{BKY_CONTROLS_IF_MSG_ELSEIF}", MODE.ELSEIF],
["%{BKY_CONTROLS_IF_MSG_ELSE}", MODE.ELSE],
],
(newValue) => {
this.updateShape_(newValue);
Expand Down
2 changes: 1 addition & 1 deletion locale/de.js
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ export default {
CONTROLS_FOR_INPUT_DO: "",
CONTROLS_FOREACH_INPUT_DO: "",
CONTROLS_IF_MSG_THEN: "",
CONTROLS_IF_MSG_ELSE: "else\n",
CONTROLS_IF_MSG_ELSE: "sonst\n",
CONTROLS_FOR_TITLE: "für jede(n) %1 von %2 bis %3 mit Schritt %4",

// Block messages
Expand Down
2 changes: 1 addition & 1 deletion locale/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ export default {
CONTROLS_FOR_INPUT_DO: "", // human
CONTROLS_FOREACH_INPUT_DO: "", // human
CONTROLS_IF_MSG_THEN: "", // human
CONTROLS_IF_MSG_ELSE: "else\n", // human
CONTROLS_IF_MSG_ELSE: "sino\n", // human
CONTROLS_FOR_TITLE: "para cada %1 desde %2 hasta %3 por %4", // human

// Block message translations
Expand Down
2 changes: 1 addition & 1 deletion locale/pl.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ export default {
CONTROLS_FOR_INPUT_DO: "",
CONTROLS_FOREACH_INPUT_DO: "",
CONTROLS_IF_MSG_THEN: "",
CONTROLS_IF_MSG_ELSE: "else\n",
CONTROLS_IF_MSG_ELSE: "w przeciwnym razie\n",
CONTROLS_FOR_TITLE: "dla każdego %1 od %2 do %3 co %4",

// Block message translations
Expand Down