Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: add translations for backpack #42

Merged
merged 1 commit into from
Jan 29, 2024
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
5 changes: 5 additions & 0 deletions msg/js/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -510,5 +510,10 @@ Blockly.Msg["VARIABLES_HUE"] = "330";
Blockly.Msg["VARIABLES_DYNAMIC_HUE"] = "310";
Blockly.Msg["PROCEDURES_HUE"] = "290";
Blockly.Msg["LEAPHY_DISPLAY_SET_TEXT_SIZE"] = "Set text size";
Blockly.Msg["EMPTY_BACKPACK"] = "Empty";
Blockly.Msg["REMOVE_FROM_BACKPACK"] = "Remove from backpack";
Blockly.Msg["COPY_TO_BACKPACK"] = "Copy to backpack";
Blockly.Msg["COPY_ALL_TO_BACKPACK"] = "Copy all blocks to backpack";
Blockly.Msg["PASTE_ALL_FROM_BACKPACK"] = "Paste all blocks from backpack";

export default Blockly.Msg;
5 changes: 5 additions & 0 deletions msg/js/nl.js
Original file line number Diff line number Diff line change
Expand Up @@ -508,5 +508,10 @@ Blockly.Msg["VARIABLES_HUE"] = "330";
Blockly.Msg["VARIABLES_DYNAMIC_HUE"] = "310";
Blockly.Msg["PROCEDURES_HUE"] = "290";
Blockly.Msg["LEAPHY_DISPLAY_SET_TEXT_SIZE"] = "Zet tekstgrootte op";
Blockly.Msg["EMPTY_BACKPACK"] = "Leeg rugzak";
Blockly.Msg["REMOVE_FROM_BACKPACK"] = "Verwijder uit rugzak";
Blockly.Msg["COPY_TO_BACKPACK"] = "Kopieer naar rugzak";
Blockly.Msg["COPY_ALL_TO_BACKPACK"] = "Kopieer alles naar rugzak";
Blockly.Msg["PASTE_ALL_FROM_BACKPACK"] = "Plak alles uit rugzak";

export default Blockly.Msg;
7 changes: 6 additions & 1 deletion msg/json/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -479,5 +479,10 @@
"WORKSPACE_ARIA_LABEL": "Blockly Workspace",
"COLLAPSED_WARNINGS_WARNING": "Collapsed blocks contain warnings.",
"DIALOG_OK": "OK",
"DIALOG_CANCEL": "Cancel"
"DIALOG_CANCEL": "Cancel",
"EMPTY_BACKPACK": "Empty",
"REMOVE_FROM_BACKPACK": "Remove from backpack",
"COPY_TO_BACKPACK": "Copy to backpack",
"COPY_ALL_TO_BACKPACK": "Copy all blocks to backpack",
"PASTE_ALL_FROM_BACKPACK": "Paste all blocks from backpack"
}
7 changes: 6 additions & 1 deletion msg/json/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -419,5 +419,10 @@
"WORKSPACE_ARIA_LABEL": "Blockly werkruimte",
"COLLAPSED_WARNINGS_WARNING": "Samengevouwen blokken bevatten waarschuwingen.",
"DIALOG_OK": "OK",
"DIALOG_CANCEL": "Annuleren"
"DIALOG_CANCEL": "Annuleren",
"EMPTY_BACKPACK": "Leeg rugzak",
"REMOVE_FROM_BACKPACK": "Verwijder van rugzak",
"COPY_TO_BACKPACK": "Kopieer naar rugzak",
"COPY_ALL_TO_BACKPACK": "Kopieer alles naar rugzak",
"PASTE_ALL_FROM_BACKPACK": "Plak alles van rugzak"
}
20 changes: 20 additions & 0 deletions msg/messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -1820,3 +1820,23 @@ Blockly.Msg.DIALOG_OK = 'OK';
/** @type {string} */
/// button label - Pressing this button cancels a proposed action.\n{{Identical|Cancel}}
Blockly.Msg.DIALOG_CANCEL = 'Cancel';

/** @type {string} */
/// empty backpack - This empties the backpack
Blockly.Msg.EMPTY_BACKPACK = 'Empty Backpack';

/** @type {string} */
/// remove from backpack - This removes the selected blocks from the backpack
Blockly.Msg.REMOVE_FROM_BACKPACK = 'Remove from Backpack';

/** @type {string} */
/// copy to backpack - This copies the selected blocks to the backpack
Blockly.Msg.COPY_TO_BACKPACK = 'Copy to Backpack';

/** @type {string} */
/// copy all to backpack - This copies all blocks to the backpack
Blockly.Msg.COPY_ALLBLOCKS_TO_BACKPACK = 'Copy All Blocks to Backpack';

/** @type {string} */
/// copy all from backpack - This copies all blocks from the backpack to the workspace
Blockly.Msg.COPY_ALL_FROM_BACKPACK = 'Copy All Blocks from Backpack';
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"msg",
"theme"
],
"version": "1.8.0",
"version": "1.8.1",
"description": "Leaphy custom Blockly blocks and arduino code generator",
"name": "@leaphy-robotics/leaphy-blocks"
}
Loading