mirror of
https://github.com/google/blockly.git
synced 2026-01-07 17:10:11 +01:00
Dragging changes, rebased on develop (#1078)
* Add block drag surface translateSurfaceBy * Add dragged connection manager * Add gesture.js * Add GestureHandler * Implemented gesture skeleton * Most basic workspace dragging * Add dragged connection manager * cleanup * doc * more cleanup * Add gesture handler * Add translateSurfaceInternal * core/block_dragger.js * cleanup * Pull in changes to dragged connection manager * Pull in changes to dragged connection manager * comments * more annotations * Add workspace dragger * Add coordinate annotations * Start on block dragging * Limit number of concurrent gestures * Add some TODOs * start using dragged connection manager * Set origin correctly for dragging blocks * Connect or delete at the end of a block drag. * cleanup * handle field clicks and block + workspace right-clicks * move code into BlockDragger class, but still reach into Gesture internals a lot * Clean up block dragger * Call blockDragger constructor with correct arguments * Enable block dragging in a mutator workspace * Add workspace dragger * click todos * Drag flyout with background * more dragging from flyout * nit * fix dragging from flyouts * Remove unused code and rename gestureHandler to gestureDB * Rename gesture handler * Added some jsdoc in gesture.js * Update some docs * Move some code to block_svg and clean up code * Lots of coordinate annotations * Fix block dragging when zoomed. * Remove built files from branch * More dragging work (#1026) -- Drag bubbles while dragging blocks -- Use bindEventWithChecks to work in touch on Android. Not tested anywhere else yet. -- Handle dragging blocks while zoomed -- Handle dragging blocks in mutators -- Handle right-clicks (I hope) -- Removed lots of unused code * More dragging work (#1048) - Removed gestureDB - Removing uses of terminateDrag - Cleaned up disposal code * Dragging bugfixes (#1058) - Get rid of flyout.dragMode_ and blockly.dragMode_ - Make drags from the flyout start from the top block in the group - Block tooltips from being scheduled or shown during gestures - Don't resize mutator bubbles mid-drag * Fix events in new dragging (#1060) * rebuild for testing * unbuild * Fix events * rebuild * Fix up cursors * Use language files from develop * Remove handled TODOS * attempt to fix IE rerendering bug, and recalculate workspace positions on scroll * Rebuild all the things * Comment cleanup; annotations; delete unused variables.
This commit is contained in:
18
msg/js/cs.js
18
msg/js/cs.js
@@ -7,6 +7,7 @@ goog.provide('Blockly.Msg.cs');
|
||||
goog.require('Blockly.Msg');
|
||||
|
||||
Blockly.Msg.ADD_COMMENT = "Přidat komentář";
|
||||
Blockly.Msg.CANNOT_DELETE_VARIABLE_PROCEDURE = "Can't delete the variable '%1' because it's part of the definition of the function '%2'"; // untranslated
|
||||
Blockly.Msg.CHANGE_VALUE_TITLE = "Změnit hodnotu:";
|
||||
Blockly.Msg.CLEAN_UP = "Uspořádat bloky";
|
||||
Blockly.Msg.COLLAPSE_ALL = "Sbalit bloky";
|
||||
@@ -73,6 +74,19 @@ Blockly.Msg.EXPAND_BLOCK = "Rozbalit blok";
|
||||
Blockly.Msg.EXTERNAL_INPUTS = "vnější vstupy";
|
||||
Blockly.Msg.HELP = "Nápověda";
|
||||
Blockly.Msg.INLINE_INPUTS = "Vložené vstupy";
|
||||
Blockly.Msg.IOS_CANCEL = "Cancel"; // untranslated
|
||||
Blockly.Msg.IOS_ERROR = "Error"; // untranslated
|
||||
Blockly.Msg.IOS_OK = "OK"; // untranslated
|
||||
Blockly.Msg.IOS_PROCEDURES_ADD_INPUT = "+ Add Input"; // untranslated
|
||||
Blockly.Msg.IOS_PROCEDURES_ALLOW_STATEMENTS = "Allow statements"; // untranslated
|
||||
Blockly.Msg.IOS_PROCEDURES_DUPLICATE_INPUTS_ERROR = "This function has duplicate inputs."; // untranslated
|
||||
Blockly.Msg.IOS_PROCEDURES_INPUTS = "INPUTS"; // untranslated
|
||||
Blockly.Msg.IOS_VARIABLES_ADD_BUTTON = "Add"; // untranslated
|
||||
Blockly.Msg.IOS_VARIABLES_ADD_VARIABLE = "+ Add Variable"; // untranslated
|
||||
Blockly.Msg.IOS_VARIABLES_DELETE_BUTTON = "Delete"; // untranslated
|
||||
Blockly.Msg.IOS_VARIABLES_EMPTY_NAME_ERROR = "You can't use an empty variable name."; // untranslated
|
||||
Blockly.Msg.IOS_VARIABLES_RENAME_BUTTON = "Rename"; // untranslated
|
||||
Blockly.Msg.IOS_VARIABLES_VARIABLE_NAME = "Variable name"; // untranslated
|
||||
Blockly.Msg.LISTS_CREATE_EMPTY_HELPURL = "https://github.com/google/blockly/wiki/Lists#create-empty-list"; // untranslated
|
||||
Blockly.Msg.LISTS_CREATE_EMPTY_TITLE = "vytvořit prázdný seznam";
|
||||
Blockly.Msg.LISTS_CREATE_EMPTY_TOOLTIP = "Vrátí seznam nulové délky, který neobsahuje žádné datové záznamy";
|
||||
@@ -272,9 +286,9 @@ Blockly.Msg.NEW_VARIABLE_TITLE = "Nový název proměnné:";
|
||||
Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated
|
||||
Blockly.Msg.PROCEDURES_ALLOW_STATEMENTS = "povolit příkazy";
|
||||
Blockly.Msg.PROCEDURES_BEFORE_PARAMS = "s:";
|
||||
Blockly.Msg.PROCEDURES_CALLNORETURN_HELPURL = "https://cs.wikipedia.org/wiki/Funkce_(programov%C3%A1n%C3%AD)";
|
||||
Blockly.Msg.PROCEDURES_CALLNORETURN_HELPURL = "https://cs.wikipedia.org/wiki/Podprogram";
|
||||
Blockly.Msg.PROCEDURES_CALLNORETURN_TOOLTIP = "Spustí uživatelem definovanou funkci '%1'.";
|
||||
Blockly.Msg.PROCEDURES_CALLRETURN_HELPURL = "https://cs.wikipedia.org/wiki/Funkce_(programov%C3%A1n%C3%AD)";
|
||||
Blockly.Msg.PROCEDURES_CALLRETURN_HELPURL = "https://cs.wikipedia.org/wiki/Podprogram";
|
||||
Blockly.Msg.PROCEDURES_CALLRETURN_TOOLTIP = "Spustí uživatelem definovanou funkci '%1' a použije její výstup.";
|
||||
Blockly.Msg.PROCEDURES_CALL_BEFORE_PARAMS = "s:";
|
||||
Blockly.Msg.PROCEDURES_CREATE_DO = "Vytvořit '%1'";
|
||||
|
||||
Reference in New Issue
Block a user