mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Reintroduce multi-point arrows and add migration for it (#635)
* Revert "Revert "Feature: Multi Point Arrows (#338)" (#634)"
This reverts commit 3d2e59bfed
.
* Convert old arrow spec to new one
* Remove unnecessary failchecks and fix context transform issue in retina displays
* Remove old points failcheck from getArrowAbsoluteBounds
* Remove all failchecks for old arrow
* remove the rest of unnecessary checks
* Set default values for the arrow during import
* Add translations
* fix restore using unmigrated elements for state computation
* don't use width/height when migrating from new arrow spec
Co-authored-by: David Luzar <luzar.david@gmail.com>
Co-authored-by: Christopher Chedeau <vjeuxx@gmail.com>
This commit is contained in:
parent
4ff88ae03d
commit
1e4ce77612
25 changed files with 1241 additions and 112 deletions
80
public/locales/en/translation.json
Normal file
80
public/locales/en/translation.json
Normal file
|
@ -0,0 +1,80 @@
|
|||
{
|
||||
"labels": {
|
||||
"paste": "Paste",
|
||||
"selectAll": "Select All",
|
||||
"copy": "Copy",
|
||||
"bringForward": "Bring Forward",
|
||||
"sendToBack": "Send To Back",
|
||||
"bringToFront": "Bring To Front",
|
||||
"sendBackward": "Send Backward",
|
||||
"delete": "Delete",
|
||||
"copyStyles": "Copy Styles",
|
||||
"pasteStyles": "Paste Styles",
|
||||
"stroke": "Stroke",
|
||||
"background": "Background",
|
||||
"fill": "Fill",
|
||||
"strokeWidth": "Stroke Width",
|
||||
"sloppiness": "Sloppiness",
|
||||
"opacity": "Opacity",
|
||||
"fontSize": "Font Size",
|
||||
"fontFamily": "Font Family",
|
||||
"onlySelected": "Only selected",
|
||||
"withBackground": "With Background",
|
||||
"handDrawn": "Hand-Drawn",
|
||||
"normal": "Normal",
|
||||
"code": "Code",
|
||||
"small": "Small",
|
||||
"medium": "Medium",
|
||||
"large": "Large",
|
||||
"veryLarge": "Very Large",
|
||||
"solid": "Solid",
|
||||
"hachure": "Hachure",
|
||||
"crossHatch": "Cross-Hatch",
|
||||
"thin": "Thin",
|
||||
"bold": "Bold",
|
||||
"extraBold": "Extra Bold",
|
||||
"architect": "Architect",
|
||||
"artist": "Artist",
|
||||
"cartoonist": "Cartoonist",
|
||||
"fileTitle": "File title",
|
||||
"colorPicker": "Color picker",
|
||||
"canvasBackground": "Canvas background",
|
||||
"drawingCanvas": "Drawing Canvas"
|
||||
},
|
||||
"buttons": {
|
||||
"clearReset": "Clear the canvas & reset background color",
|
||||
"export": "Export",
|
||||
"exportToPng": "Export to PNG",
|
||||
"exportToSvg": "Export to SVG",
|
||||
"copyToClipboard": "Copy to clipboard",
|
||||
"save": "Save",
|
||||
"load": "Load",
|
||||
"getShareableLink": "Get shareable link",
|
||||
"close": "Close",
|
||||
"selectLanguage": "Select Language",
|
||||
"previouslyLoadedScenes": "Previously loaded scenes"
|
||||
},
|
||||
"alerts": {
|
||||
"clearReset": "This will clear the whole canvas. Are you sure?",
|
||||
"couldNotCreateShareableLink": "Couldn't create shareable link.",
|
||||
"importBackendFailed": "Importing from backend failed.",
|
||||
"cannotExportEmptyCanvas": "Cannot export empty canvas.",
|
||||
"couldNotCopyToClipboard": "Couldn't copy to clipboard. Try using Chrome browser.",
|
||||
"copiedToClipboard": "Copied to clipboard: {{url}}"
|
||||
},
|
||||
"toolBar": {
|
||||
"selection": "Selection",
|
||||
"rectangle": "Rectangle",
|
||||
"diamond": "Diamond",
|
||||
"ellipse": "Ellipse",
|
||||
"arrow": "Arrow",
|
||||
"line": "Line",
|
||||
"text": "Text",
|
||||
"lock": "Keep selected tool active after drawing"
|
||||
},
|
||||
"headings": {
|
||||
"canvasActions": "Canvas actions",
|
||||
"selectedShapeActions": "Selected shape actions",
|
||||
"shapes": "Shapes"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue