diff --git a/app/lib/l10n/app_af.arb b/app/lib/l10n/app_af.arb
index e6dcae375670..f89e54432db0 100644
--- a/app/lib/l10n/app_af.arb
+++ b/app/lib/l10n/app_af.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Forward",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "Zoem-afhanklik",
"shapeDetection": "Vormherkenning",
"delay": "Vertraging",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Table",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Rows",
+ "columns": "Columns",
+ "row": "Row",
+ "column": "Column",
+ "insertRowBefore": "Insert row before",
+ "insertRowAfter": "Insert row after",
+ "insertColumnBefore": "Insert column before",
+ "insertColumnAfter": "Insert column after",
+ "deleteRow": "Delete row",
+ "deleteColumn": "Delete column",
+ "cellColor": "Cell color",
+ "cellBorders": "Cell borders",
+ "cellBorder": "Cell border",
+ "horizontalBorder": "Horizontal border",
+ "verticalBorder": "Vertical border",
+ "rowHeight": "Row height",
+ "columnWidth": "Column width",
+ "border": "Border",
"circle": "Sirkel",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "Bring vorentoe",
"sendBackward": "Stuur agtertoe",
"rotation": "Rotasie",
+ "rotationStep": "Rotation step",
+ "zoomStep": "Zoom step",
"direction": "Direction",
"onlyAvailableLargerScreen": "Slegs beskikbaar op groter skerms",
"toolbarPosition": "Nutsbalkposisie",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Rotate left",
+ "rotateRight": "Rotate right",
"spacer": "Spasieerder",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Show navigator previews",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Show cached preview thumbnails in the areas and pages navigators",
"highContrast": "Hoë kontras",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "Beweeg op gebaar",
"exportAllFiles": "Voer alle lêers uit",
"restoreSettingsFromFile": "Herstel instellings vanaf lêer",
+ "resetAllSettings": "Reset all settings",
"exportSettingsToFile": "Voer instellings na lêer uit",
"barcode": "Strepieskode",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "Full screen",
"doublePressAction": "Double press action",
"triplePressAction": "Triple press action",
+ "twoFingerTap": "Two-finger tap",
+ "threeFingerTap": "Three-finger tap",
"longPress": "Long press",
"toolNumber": "Tool {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_ar.arb b/app/lib/l10n/app_ar.arb
index 670f7daa2187..a159f019ebce 100644
--- a/app/lib/l10n/app_ar.arb
+++ b/app/lib/l10n/app_ar.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "إعادة",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "يتغير حسب التكبير",
"shapeDetection": "اكتشاف الشكل",
"delay": "مؤخر",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "الجدول",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "الصفوف",
+ "columns": "الأعمدة",
+ "row": "صف",
+ "column": "العمود",
+ "insertRowBefore": "إدراج صف قبل",
+ "insertRowAfter": "إدراج صف بعد",
+ "insertColumnBefore": "إدراج العمود قبل",
+ "insertColumnAfter": "إدراج العمود بعد",
+ "deleteRow": "حذف الصف",
+ "deleteColumn": "حذف العمود",
+ "cellColor": "لون الخلية",
+ "cellBorders": "حدود الخلية",
+ "cellBorder": "حدود الخلية",
+ "horizontalBorder": "الحدود الأفقية",
+ "verticalBorder": "الحدود العمودية",
+ "rowHeight": "ارتفاع الصف",
+ "columnWidth": "عرض العمود",
+ "border": "Border",
"circle": "دائرة",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "خطوة إلى الأمام",
"sendBackward": "خطوة إلى الخلف",
"rotation": "دوران",
+ "rotationStep": "خطوة التدوير",
+ "zoomStep": "تكبير خطوة",
"direction": "الاتجاه",
"onlyAvailableLargerScreen": "متوفر فقط على شاشات أكبر",
"toolbarPosition": "موضع شريط الأدوات",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "تدوير لليسار",
+ "rotateRight": "تدوير لليمين",
"spacer": "المساحة",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "إظهار معاينات التصفح",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "إظهار الصور المصغرة للمعاينة المخزنة مؤقتاً في المناطق والصفحات للملاحين",
"highContrast": "تباين عالي",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "إيماءة التحريك",
"exportAllFiles": "تصدير جميع الملفات",
"restoreSettingsFromFile": "استعادة الإعدادات من ملف",
+ "resetAllSettings": "إعادة تعيين كافة الإعدادات",
"exportSettingsToFile": "تصدير الإعدادات إلى ملف",
"barcode": "الرمز الشريطي (الباركود)",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "ملء الشاشة",
"doublePressAction": "إجراء الضغط المزدوج",
"triplePressAction": "إجراء الضغط الثلاثي",
+ "twoFingerTap": "ضغطتين على إصبعين",
+ "threeFingerTap": "ضغطة ثلاثية الأصابع",
"longPress": "ضغط مطوّل",
"toolNumber": "الأداة {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_ca.arb b/app/lib/l10n/app_ca.arb
index 9eee70ef15d6..902a55e07f38 100644
--- a/app/lib/l10n/app_ca.arb
+++ b/app/lib/l10n/app_ca.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Forward",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "Depenent del zoom",
"shapeDetection": "Detecció de formes",
"delay": "Retard",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Table",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Rows",
+ "columns": "Columns",
+ "row": "Row",
+ "column": "Column",
+ "insertRowBefore": "Insert row before",
+ "insertRowAfter": "Insert row after",
+ "insertColumnBefore": "Insert column before",
+ "insertColumnAfter": "Insert column after",
+ "deleteRow": "Delete row",
+ "deleteColumn": "Delete column",
+ "cellColor": "Cell color",
+ "cellBorders": "Cell borders",
+ "cellBorder": "Cell border",
+ "horizontalBorder": "Horizontal border",
+ "verticalBorder": "Vertical border",
+ "rowHeight": "Row height",
+ "columnWidth": "Column width",
+ "border": "Border",
"circle": "Cercle",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "Porta endavant",
"sendBackward": "Envia enrere",
"rotation": "Rotació",
+ "rotationStep": "Rotation step",
+ "zoomStep": "Zoom step",
"direction": "Direction",
"onlyAvailableLargerScreen": "Només disponible en pantalles grans",
"toolbarPosition": "Posició de la barra d'eines",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Rotate left",
+ "rotateRight": "Rotate right",
"spacer": "Separador",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Show navigator previews",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Show cached preview thumbnails in the areas and pages navigators",
"highContrast": "Alt contrast",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "Mou amb gest",
"exportAllFiles": "Exporta tots els fitxers",
"restoreSettingsFromFile": "Restaura configuració des de fitxer",
+ "resetAllSettings": "Reset all settings",
"exportSettingsToFile": "Exporta configuració a fitxer",
"barcode": "Codi de barres",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "Full screen",
"doublePressAction": "Double press action",
"triplePressAction": "Triple press action",
+ "twoFingerTap": "Two-finger tap",
+ "threeFingerTap": "Three-finger tap",
"longPress": "Long press",
"toolNumber": "Tool {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_cs.arb b/app/lib/l10n/app_cs.arb
index a4406c73c6dd..54acbe9b3ac2 100644
--- a/app/lib/l10n/app_cs.arb
+++ b/app/lib/l10n/app_cs.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Přeposlat",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "Přiblížení závislé",
"shapeDetection": "Detekce tvarů",
"delay": "Zpoždění",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Stupeň úvěrové kvality 1",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Řádky",
+ "columns": "Sloupce",
+ "row": "Řádek",
+ "column": "Sloupec",
+ "insertRowBefore": "Vložit řádek před",
+ "insertRowAfter": "Vložit řádek za",
+ "insertColumnBefore": "Vložit sloupec před",
+ "insertColumnAfter": "Vložit sloupec za",
+ "deleteRow": "Odstranit řádek",
+ "deleteColumn": "Odstranit sloupec",
+ "cellColor": "Barva buňky",
+ "cellBorders": "Ohraničení buněk",
+ "cellBorder": "Hranice buňky",
+ "horizontalBorder": "Horizontální okraj",
+ "verticalBorder": "Vertikální okraj",
+ "rowHeight": "Výška řádku",
+ "columnWidth": "Šířka sloupce",
+ "border": "Border",
"circle": "Kruh",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "Posunout vpřed",
"sendBackward": "Poslat zpět",
"rotation": "Otáčení",
+ "rotationStep": "Krok otáčení",
+ "zoomStep": "Krok přiblížení",
"direction": "Směr",
"onlyAvailableLargerScreen": "Dostupné pouze na větších obrazovkách",
"toolbarPosition": "Pozice panelu nástrojů",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Otočit vlevo",
+ "rotateRight": "Otočit vpravo",
"spacer": "Mezera",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Zobrazit náhledy navigátoru",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Zobrazit náhledy v mezipaměti v oblastech a navigátorech",
"highContrast": "Vysoký kontrast",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "Přesunout gestem",
"exportAllFiles": "Exportovat všechny soubory",
"restoreSettingsFromFile": "Obnovit nastavení ze souboru",
+ "resetAllSettings": "Obnovit všechna nastavení",
"exportSettingsToFile": "Exportovat nastavení do souboru",
"barcode": "Čárový kód",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "Celá obrazovka",
"doublePressAction": "Akce dvojím stisknutím",
"triplePressAction": "Akce trojím stisknutím",
+ "twoFingerTap": "Poklepání dvěma prsty",
+ "threeFingerTap": "Tříprstem klepněte",
"longPress": "Dlouhý stisk",
"toolNumber": "Nástroj {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_da.arb b/app/lib/l10n/app_da.arb
index 0097ec9063fd..6be657a0343c 100644
--- a/app/lib/l10n/app_da.arb
+++ b/app/lib/l10n/app_da.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Fremad",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "Zoom afhængig",
"shapeDetection": "Form- Detektering",
"delay": "Forsinkelse",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Tabel",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Rækker",
+ "columns": "Kolonner",
+ "row": "Række",
+ "column": "Kolonne",
+ "insertRowBefore": "Indsæt række før",
+ "insertRowAfter": "Indsæt række efter",
+ "insertColumnBefore": "Indsæt kolonne før",
+ "insertColumnAfter": "Indsæt kolonne efter",
+ "deleteRow": "Slet række",
+ "deleteColumn": "Slet kolonne",
+ "cellColor": "Celle farve",
+ "cellBorders": "Celle grænser",
+ "cellBorder": "Celle grænse",
+ "horizontalBorder": "Horisontal grænse",
+ "verticalBorder": "Lodret kant",
+ "rowHeight": "Række højde",
+ "columnWidth": "Kolonne bredde",
+ "border": "Border",
"circle": "Cirkel",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "Bring fremad",
"sendBackward": "Send tilbage",
"rotation": "Rotation",
+ "rotationStep": "Rotation trin",
+ "zoomStep": "Zoom trin",
"direction": "Retning",
"onlyAvailableLargerScreen": "Kun tilgængelig på større skærme",
"toolbarPosition": "Værktøjslinjens position",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Rotér til venstre",
+ "rotateRight": "Roter til højre",
"spacer": "Mellemrum",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Vis forhåndsvisninger for navigatør",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Vis miniaturer til forhåndsvisning i cachelagrede i områder og siders navigatorer",
"highContrast": "Høj kontrast",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "Flyt på bevægelse",
"exportAllFiles": "Eksporter alle filer",
"restoreSettingsFromFile": "Gendan indstillinger fra fil",
+ "resetAllSettings": "Nulstil alle indstillinger",
"exportSettingsToFile": "Eksporter indstillinger til fil",
"barcode": "Barcode",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "Fuld skærm",
"doublePressAction": "Dobbelt tryk-handling",
"triplePressAction": "Tredobbelt tryk-handling",
+ "twoFingerTap": "To-finger tryk",
+ "threeFingerTap": "Bånd med tre fingre",
"longPress": "Langt tryk",
"toolNumber": "Værktøj {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_de.arb b/app/lib/l10n/app_de.arb
index f09651f69da4..cdba41aa15c9 100644
--- a/app/lib/l10n/app_de.arb
+++ b/app/lib/l10n/app_de.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Vorwärts",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "Zoomabhängig",
"shapeDetection": "Formerkennung",
"delay": "Verzögerung",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Tisch",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Zeilen",
+ "columns": "Spalten",
+ "row": "Zeile",
+ "column": "Spalte",
+ "insertRowBefore": "Zeile vorher einfügen",
+ "insertRowAfter": "Zeile einfügen nach",
+ "insertColumnBefore": "Spalte einfügen vor",
+ "insertColumnAfter": "Spalte einfügen nach",
+ "deleteRow": "Zeile löschen",
+ "deleteColumn": "Spalte löschen",
+ "cellColor": "Zellenfarbe",
+ "cellBorders": "Zellengrenzen",
+ "cellBorder": "Zellenrand",
+ "horizontalBorder": "Horizontaler Rand",
+ "verticalBorder": "Vertikaler Rand",
+ "rowHeight": "Zeilenhöhe",
+ "columnWidth": "Spaltenbreite",
+ "border": "Border",
"circle": "Kreis",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "Vorwärts bringen",
"sendBackward": "Rückwärts senden",
"rotation": "Drehung",
+ "rotationStep": "Drehschritt",
+ "zoomStep": "Zoom-Schritt",
"direction": "Richtung",
"onlyAvailableLargerScreen": "Nur auf größeren Bildschirmen verfügbar",
"toolbarPosition": "Position der Werkzeugleiste",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Nach links drehen",
+ "rotateRight": "Rechts drehen",
"spacer": "Abstandhalter",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Navigator-Vorschau anzeigen",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Zeige zwischengespeicherte Vorschaubilder in den Bereichen und Seitennavigatoren",
"highContrast": "Hoher Kontrast",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "Verschieben bei Geste",
"exportAllFiles": "Alle Dateien exportieren",
"restoreSettingsFromFile": "Einstellungen aus Datei wiederherstellen",
+ "resetAllSettings": "Alle Einstellungen zurücksetzen",
"exportSettingsToFile": "Einstellungen in Datei exportieren",
"barcode": "Barcode",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "Vollbild",
"doublePressAction": "Doppeltes Drücken",
"triplePressAction": "Dreifach Drücken Aktion",
+ "twoFingerTap": "Zwei-Finger-Tippen",
+ "threeFingerTap": "Dreifinger tippen",
"longPress": "Lange drücken",
"toolNumber": "{number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_el.arb b/app/lib/l10n/app_el.arb
index f964585a9895..3e07ef7cf3c6 100644
--- a/app/lib/l10n/app_el.arb
+++ b/app/lib/l10n/app_el.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Μπροστά",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "Εξαρτώμενο από ζουμ",
"shapeDetection": "Ανίχνευση Σχήματος",
"delay": "Καθυστέρηση",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Πίνακας",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Γραμμές",
+ "columns": "Στήλες",
+ "row": "Γραμμή",
+ "column": "Στήλη",
+ "insertRowBefore": "Εισαγωγή γραμμής πριν",
+ "insertRowAfter": "Εισαγωγή γραμμής μετά",
+ "insertColumnBefore": "Εισαγωγή στήλης πριν",
+ "insertColumnAfter": "Εισαγωγή στήλης μετά",
+ "deleteRow": "Διαγραφή γραμμής",
+ "deleteColumn": "Διαγραφή στήλης",
+ "cellColor": "Χρώμα κελιού",
+ "cellBorders": "Περιθώριο κυψέλης",
+ "cellBorder": "Περίγραμμα κυψέλης",
+ "horizontalBorder": "Οριζόντιο περίγραμμα",
+ "verticalBorder": "Κάθετο όριο",
+ "rowHeight": "Ύψος γραμμής",
+ "columnWidth": "Πλάτος στήλης",
+ "border": "Border",
"circle": "Κύκλος",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "Φέρτε μπροστά",
"sendBackward": "Αποστολή πίσω",
"rotation": "Περιστροφή",
+ "rotationStep": "Βήμα περιστροφής",
+ "zoomStep": "Βήμα εστίασης",
"direction": "Κατεύθυνση",
"onlyAvailableLargerScreen": "Διαθέσιμο μόνο σε μεγαλύτερες οθόνες",
"toolbarPosition": "Θέση γραμμής εργαλείων",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Αριστερή περιστροφή",
+ "rotateRight": "Δεξιά περιστροφή",
"spacer": "Διάστημα",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Εμφάνιση προεπισκοπήσεων πλοήγησης",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Εμφάνιση μικρογραφιών προεπισκόπησης προσωρινά αποθηκευμένων στις περιοχές και τις σελίδες πλοήγησης",
"highContrast": "Υψηλή αντίθεση",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "Μετακίνηση στη χειρονομία",
"exportAllFiles": "Εξαγωγή όλων των αρχείων",
"restoreSettingsFromFile": "Επαναφορά ρυθμίσεων από αρχείο",
+ "resetAllSettings": "Επαναφορά όλων των ρυθμίσεων",
"exportSettingsToFile": "Εξαγωγή ρυθμίσεων σε αρχείο",
"barcode": "Barcode",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "Πλήρης οθόνη",
"doublePressAction": "Ενέργεια διπλού πατήματος",
"triplePressAction": "Ενέργεια τριπλού πατήματος",
+ "twoFingerTap": "Διπλό χτύπημα",
+ "threeFingerTap": "Πάτημα τριών δακτύλων",
"longPress": "Παρατεταμένο πάτημα",
"toolNumber": "Tool {number}",
"@toolNumber": {
@@ -1464,7 +1502,7 @@
"persistentStateCleanup": "Καθαρισμός αποθηκευμένων καταστάσεων",
"persistentStateCleanupDescription": "Διαγραφή εγγραφών παλαιότερων από τα όρια πάνω",
"persistentStateCleanupInProgress": "Εκκαθάριση ...",
- "persistentStateCleanupFeedback": "{locations, plural, =1{Καθαρίστηκε 1 θέση αποθήκευσης} other{Καθαρίστηκαν {locations} θέσεις αποθήκευσης}}; {records, plural, =1{αφαιρέθηκε 1 εγγραφή} other{αφαιρέθηκαν {records} εγγραφές}}.",
+ "persistentStateCleanupFeedback": "{locations, plural, =1{Καθαρίστηκε 1 θέση αποθήκευσης} other{Καθαρίστηκε {locations} θέσεις αποθήκευσης}}; {records, plural, =1{αφαιρέθηκε 1 εγγραφή} other{αφαιρέθηκε } other{ αφαιρέθηκε {records} καταγράφει}}.",
"@persistentStateCleanupFeedback": {
"placeholders": {
"locations": {
@@ -1517,4 +1555,4 @@
"moveOnGestureDescription": "Αφήνει τις χειρονομίες πολλαπλών αφής να μετακινήσετε τον καμβά αντί να αλληλεπιδράσετε με το περιεχόμενο σημειώσεων.",
"spreadPagesDescription": "Διαχωρίζει τις πολυσέλιδες εισαγωγές σε ξεχωριστές σελίδες σημειώσεων αντί να τα τοποθετεί όλα σε μία σελίδα.",
"shear": "Διάτμηση"
-}
+}
\ No newline at end of file
diff --git a/app/lib/l10n/app_es.arb b/app/lib/l10n/app_es.arb
index 53b71d99ae9c..44dc5572588f 100644
--- a/app/lib/l10n/app_es.arb
+++ b/app/lib/l10n/app_es.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Reenviar",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "Dependiente de zoom",
"shapeDetection": "Detección de forma",
"delay": "Retraso",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Tabla",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Filas",
+ "columns": "Columnas",
+ "row": "Fila",
+ "column": "Columna",
+ "insertRowBefore": "Insertar fila antes",
+ "insertRowAfter": "Insertar fila después de",
+ "insertColumnBefore": "Insertar columna antes",
+ "insertColumnAfter": "Insertar columna después",
+ "deleteRow": "Eliminar fila",
+ "deleteColumn": "Eliminar columna",
+ "cellColor": "Color de celda",
+ "cellBorders": "Límites de celda",
+ "cellBorder": "Borde móvil",
+ "horizontalBorder": "Borde horizontal",
+ "verticalBorder": "Borde vertical",
+ "rowHeight": "Altura de fila",
+ "columnWidth": "Ancho de columna",
+ "border": "Border",
"circle": "Círculo",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "Avanzar",
"sendBackward": "Enviar atrás",
"rotation": "Rotación",
+ "rotationStep": "Paso de rotación",
+ "zoomStep": "Paso de zoom",
"direction": "Dirección",
"onlyAvailableLargerScreen": "Sólo disponible en pantallas más grandes",
"toolbarPosition": "Posición de barra de herramientas",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Girar izquierda",
+ "rotateRight": "Rotar derecha",
"spacer": "Espaciador",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Mostrar vistas previas del navegador",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Mostrar miniaturas de vista previa en caché en las áreas y navegadores de páginas",
"highContrast": "Alto contraste",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "Mover en gesto",
"exportAllFiles": "Exportar todos los archivos",
"restoreSettingsFromFile": "Restaurar ajustes desde el archivo",
+ "resetAllSettings": "Restablecer todos los ajustes",
"exportSettingsToFile": "Exportar ajustes al archivo",
"barcode": "Barcode",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "Pantalla completa",
"doublePressAction": "Acción de doble pulsación",
"triplePressAction": "Acción de triple pulsación",
+ "twoFingerTap": "Toque dos dedos",
+ "threeFingerTap": "Tocar tres dedos",
"longPress": "Pulsación larga",
"toolNumber": "Tool {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_fi.arb b/app/lib/l10n/app_fi.arb
index 2f02bc3be6ae..11c9e846b05e 100644
--- a/app/lib/l10n/app_fi.arb
+++ b/app/lib/l10n/app_fi.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Eteenpäin",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "Lähennys riippuvainen",
"shapeDetection": "Muodon Tunnistaminen",
"delay": "Viive",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Taulukko",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Rivit",
+ "columns": "Sarakkeet",
+ "row": "Rivi",
+ "column": "Sarake",
+ "insertRowBefore": "Lisää rivi ennen",
+ "insertRowAfter": "Lisää rivi jälkeen",
+ "insertColumnBefore": "Lisää sarake ennen",
+ "insertColumnAfter": "Lisää sarake jälkeen",
+ "deleteRow": "Poista rivi",
+ "deleteColumn": "Poista sarake",
+ "cellColor": "Solun väri",
+ "cellBorders": "Solun rajat",
+ "cellBorder": "Solun raja",
+ "horizontalBorder": "Vaakasuora raja",
+ "verticalBorder": "Pystysuora raja",
+ "rowHeight": "Rivin korkeus",
+ "columnWidth": "Sarakkeen leveys",
+ "border": "Border",
"circle": "Ympyrä",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "Tuo eteenpäin",
"sendBackward": "Lähetä taaksepäin",
"rotation": "Kierto",
+ "rotationStep": "Kierron vaihe",
+ "zoomStep": "Zoomauksen vaihe",
"direction": "Suunta",
"onlyAvailableLargerScreen": "Saatavilla vain suuremmilla näytöillä",
"toolbarPosition": "Työkalupalkin sijainti",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Kierrä vasemmalle",
+ "rotateRight": "Kierrä oikealle",
"spacer": "Välilyönti",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Näytä navigaattorin esikatselut",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Näytä välimuistissa olevat esikatselukuvat alueilla ja sivuilla navigointilaitteissa",
"highContrast": "Korkea kontrasti",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "Siirrä ele",
"exportAllFiles": "Vie kaikki tiedostot",
"restoreSettingsFromFile": "Palauta asetukset tiedostosta",
+ "resetAllSettings": "Nollaa kaikki asetukset",
"exportSettingsToFile": "Vie asetukset tiedostoon",
"barcode": "Barcode",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "Koko näyttö",
"doublePressAction": "Kaksoispainalluksen tehtävä",
"triplePressAction": "Kolmen painalluksen tehtävä",
+ "twoFingerTap": "Kaksisormen napautus",
+ "threeFingerTap": "Kolmen sormen napautus",
"longPress": "Pitkä painallus",
"toolNumber": "Työkalu {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_fr.arb b/app/lib/l10n/app_fr.arb
index 029b4d68b034..8703ef82cbd1 100644
--- a/app/lib/l10n/app_fr.arb
+++ b/app/lib/l10n/app_fr.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Transférer",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "Dépendant du zoom",
"shapeDetection": "Détection de forme",
"delay": "Délai",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Tableau",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Lignes",
+ "columns": "Colonnes",
+ "row": "Ligne",
+ "column": "Colonne",
+ "insertRowBefore": "Insérer une ligne avant",
+ "insertRowAfter": "Insérer une ligne après",
+ "insertColumnBefore": "Insérer une colonne avant",
+ "insertColumnAfter": "Insérer une colonne après",
+ "deleteRow": "Supprimer la ligne",
+ "deleteColumn": "Supprimer la colonne",
+ "cellColor": "Couleur de la cellule",
+ "cellBorders": "Bordures de la cellule",
+ "cellBorder": "Bordure de la cellule",
+ "horizontalBorder": "Bordure horizontale",
+ "verticalBorder": "Frontière verticale",
+ "rowHeight": "Hauteur de ligne",
+ "columnWidth": "Largeur de la colonne",
+ "border": "Border",
"circle": "Cercle",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "Avancer",
"sendBackward": "Envoyer vers l'arrière",
"rotation": "Rotation",
+ "rotationStep": "Étape de rotation",
+ "zoomStep": "Etape de zoom",
"direction": "Orientation",
"onlyAvailableLargerScreen": "Disponible uniquement sur les écrans plus grands",
"toolbarPosition": "Position de la barre d'outils",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Rotation vers la gauche",
+ "rotateRight": "Faire pivoter à droite",
"spacer": "Espaceur",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Afficher les aperçus du navigateur",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Afficher les vignettes d'aperçu en cache dans les zones et les navigateurs de pages",
"highContrast": "Contraste élevé",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "Geste de déplacement",
"exportAllFiles": "Exporter tous les fichiers",
"restoreSettingsFromFile": "Restaurer les paramètres à partir du fichier",
+ "resetAllSettings": "Réinitialiser tous les paramètres",
"exportSettingsToFile": "Exporter les paramètres vers un fichier",
"barcode": "Barcode",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "Plein écran",
"doublePressAction": "Action par double appui",
"triplePressAction": "Action du triple appui",
+ "twoFingerTap": "Appui à deux doigts",
+ "threeFingerTap": "Appui à trois doigts",
"longPress": "Appui long",
"toolNumber": "Outil {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_he.arb b/app/lib/l10n/app_he.arb
index 1c7f8bc6b017..a6f8c19b0aeb 100644
--- a/app/lib/l10n/app_he.arb
+++ b/app/lib/l10n/app_he.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Forward",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "תלוי זום",
"shapeDetection": "זיהוי צורות",
"delay": "השהיה",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Table",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Rows",
+ "columns": "Columns",
+ "row": "Row",
+ "column": "Column",
+ "insertRowBefore": "Insert row before",
+ "insertRowAfter": "Insert row after",
+ "insertColumnBefore": "Insert column before",
+ "insertColumnAfter": "Insert column after",
+ "deleteRow": "Delete row",
+ "deleteColumn": "Delete column",
+ "cellColor": "Cell color",
+ "cellBorders": "Cell borders",
+ "cellBorder": "Cell border",
+ "horizontalBorder": "Horizontal border",
+ "verticalBorder": "Vertical border",
+ "rowHeight": "Row height",
+ "columnWidth": "Column width",
+ "border": "Border",
"circle": "עיגול",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "הבא קדימה",
"sendBackward": "שלח אחורה",
"rotation": "סיבוב",
+ "rotationStep": "Rotation step",
+ "zoomStep": "Zoom step",
"direction": "Direction",
"onlyAvailableLargerScreen": "זמין רק במסכים גדולים יותר",
"toolbarPosition": "מיקום סרגל כלים",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Rotate left",
+ "rotateRight": "Rotate right",
"spacer": "מרווח",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Show navigator previews",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Show cached preview thumbnails in the areas and pages navigators",
"highContrast": "ניגודיות גבוהה",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "הזז במחווה",
"exportAllFiles": "ייצא את כל הקבצים",
"restoreSettingsFromFile": "שחזר הגדרות מקובץ",
+ "resetAllSettings": "Reset all settings",
"exportSettingsToFile": "ייצא הגדרות לקובץ",
"barcode": "ברקוד",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "Full screen",
"doublePressAction": "Double press action",
"triplePressAction": "Triple press action",
+ "twoFingerTap": "Two-finger tap",
+ "threeFingerTap": "Three-finger tap",
"longPress": "Long press",
"toolNumber": "Tool {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_hi.arb b/app/lib/l10n/app_hi.arb
index 8af1e6e14220..79c582e11359 100644
--- a/app/lib/l10n/app_hi.arb
+++ b/app/lib/l10n/app_hi.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Forward",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "ज़ूम पर निर्भर",
"shapeDetection": "आकृति पहचान",
"delay": "देरी",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Table",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Rows",
+ "columns": "Columns",
+ "row": "Row",
+ "column": "Column",
+ "insertRowBefore": "Insert row before",
+ "insertRowAfter": "Insert row after",
+ "insertColumnBefore": "Insert column before",
+ "insertColumnAfter": "Insert column after",
+ "deleteRow": "Delete row",
+ "deleteColumn": "Delete column",
+ "cellColor": "Cell color",
+ "cellBorders": "Cell borders",
+ "cellBorder": "Cell border",
+ "horizontalBorder": "Horizontal border",
+ "verticalBorder": "Vertical border",
+ "rowHeight": "Row height",
+ "columnWidth": "Column width",
+ "border": "Border",
"circle": "वृत्त",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "आगे लाएं",
"sendBackward": "पीछे भेजें",
"rotation": "घूर्णन",
+ "rotationStep": "Rotation step",
+ "zoomStep": "Zoom step",
"direction": "Direction",
"onlyAvailableLargerScreen": "केवल बड़ी स्क्रीन पर उपलब्ध है",
"toolbarPosition": "टूलबार की स्थिति",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Rotate left",
+ "rotateRight": "Rotate right",
"spacer": "स्पेसर",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Show navigator previews",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Show cached preview thumbnails in the areas and pages navigators",
"highContrast": "उच्च कंट्रास्ट",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "जेस्चर पर ले जाएं",
"exportAllFiles": "सभी फाइलें निर्यात करें",
"restoreSettingsFromFile": "फ़ाइल से सेटिंग्स पुनर्स्थापित करें",
+ "resetAllSettings": "Reset all settings",
"exportSettingsToFile": "सेटिंग्स को फ़ाइल में निर्यात करें",
"barcode": "बारकोड",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "Full screen",
"doublePressAction": "Double press action",
"triplePressAction": "Triple press action",
+ "twoFingerTap": "Two-finger tap",
+ "threeFingerTap": "Three-finger tap",
"longPress": "Long press",
"toolNumber": "Tool {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_hu.arb b/app/lib/l10n/app_hu.arb
index cce8eb4647a9..fb6b78b5a7f1 100644
--- a/app/lib/l10n/app_hu.arb
+++ b/app/lib/l10n/app_hu.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Forward",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "Függőleges nagyítás",
"shapeDetection": "Forma felismerés",
"delay": "Késleltetés",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Table",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Rows",
+ "columns": "Columns",
+ "row": "Row",
+ "column": "Column",
+ "insertRowBefore": "Insert row before",
+ "insertRowAfter": "Insert row after",
+ "insertColumnBefore": "Insert column before",
+ "insertColumnAfter": "Insert column after",
+ "deleteRow": "Delete row",
+ "deleteColumn": "Delete column",
+ "cellColor": "Cell color",
+ "cellBorders": "Cell borders",
+ "cellBorder": "Cell border",
+ "horizontalBorder": "Horizontal border",
+ "verticalBorder": "Vertical border",
+ "rowHeight": "Row height",
+ "columnWidth": "Column width",
+ "border": "Border",
"circle": "Kör",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "Előrébb hozás",
"sendBackward": "Hátrébb hozás",
"rotation": "Elforgatás",
+ "rotationStep": "Rotation step",
+ "zoomStep": "Zoom step",
"direction": "Direction",
"onlyAvailableLargerScreen": "Csak nagyobb képernyőkön érhető el",
"toolbarPosition": "Eszköztár pozíció",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Rotate left",
+ "rotateRight": "Rotate right",
"spacer": "Helykitöltő",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Show navigator previews",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Show cached preview thumbnails in the areas and pages navigators",
"highContrast": "Magas kontraszt",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "Mozgatás gesztussal",
"exportAllFiles": "Minden fájl exportálása",
"restoreSettingsFromFile": "Beállítások visszaállítása fájlból",
+ "resetAllSettings": "Reset all settings",
"exportSettingsToFile": "Beállítások exportálása fájlba",
"barcode": "Vonalkód",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "Full screen",
"doublePressAction": "Double press action",
"triplePressAction": "Triple press action",
+ "twoFingerTap": "Two-finger tap",
+ "threeFingerTap": "Three-finger tap",
"longPress": "Long press",
"toolNumber": "Tool {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_id.arb b/app/lib/l10n/app_id.arb
index f1aee84ad90b..aa9c49172852 100644
--- a/app/lib/l10n/app_id.arb
+++ b/app/lib/l10n/app_id.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Forward",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "Bergantung pada zoom",
"shapeDetection": "Deteksi bentuk",
"delay": "Penundaan",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Table",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Rows",
+ "columns": "Columns",
+ "row": "Row",
+ "column": "Column",
+ "insertRowBefore": "Insert row before",
+ "insertRowAfter": "Insert row after",
+ "insertColumnBefore": "Insert column before",
+ "insertColumnAfter": "Insert column after",
+ "deleteRow": "Delete row",
+ "deleteColumn": "Delete column",
+ "cellColor": "Cell color",
+ "cellBorders": "Cell borders",
+ "cellBorder": "Cell border",
+ "horizontalBorder": "Horizontal border",
+ "verticalBorder": "Vertical border",
+ "rowHeight": "Row height",
+ "columnWidth": "Column width",
+ "border": "Border",
"circle": "Lingkaran",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "Bawa maju",
"sendBackward": "Kirim mundur",
"rotation": "Rotasi",
+ "rotationStep": "Rotation step",
+ "zoomStep": "Zoom step",
"direction": "Direction",
"onlyAvailableLargerScreen": "Hanya tersedia di layar yang lebih besar",
"toolbarPosition": "Posisi bilah alat",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Rotate left",
+ "rotateRight": "Rotate right",
"spacer": "Spasi",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Show navigator previews",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Show cached preview thumbnails in the areas and pages navigators",
"highContrast": "Kontras tinggi",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "Pindah saat gestur",
"exportAllFiles": "Ekspor semua berkas",
"restoreSettingsFromFile": "Pulihkan pengaturan dari berkas",
+ "resetAllSettings": "Reset all settings",
"exportSettingsToFile": "Ekspor pengaturan ke berkas",
"barcode": "Kode batang",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "Full screen",
"doublePressAction": "Tindakan tekan dua kali",
"triplePressAction": "Tindakan tekan tiga kali",
+ "twoFingerTap": "Two-finger tap",
+ "threeFingerTap": "Three-finger tap",
"longPress": "Tekan lama",
"toolNumber": "Alat {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_it.arb b/app/lib/l10n/app_it.arb
index 87c72c858207..52a75a5e024c 100644
--- a/app/lib/l10n/app_it.arb
+++ b/app/lib/l10n/app_it.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Avanti",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "Dipendente dallo zoom",
"shapeDetection": "Rilevamento Forme",
"delay": "Ritardo",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Tabella",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Riga",
+ "columns": "Colonne",
+ "row": "Riga",
+ "column": "Colonna",
+ "insertRowBefore": "Inserisci riga prima",
+ "insertRowAfter": "Inserisci riga dopo",
+ "insertColumnBefore": "Inserisci colonna prima",
+ "insertColumnAfter": "Inserisci colonna dopo",
+ "deleteRow": "Elimina riga",
+ "deleteColumn": "Elimina colonna",
+ "cellColor": "Colore cella",
+ "cellBorders": "Bordi celle",
+ "cellBorder": "Bordo cella",
+ "horizontalBorder": "Bordo orizzontale",
+ "verticalBorder": "Bordo verticale",
+ "rowHeight": "Altezza riga",
+ "columnWidth": "Larghezza colonna",
+ "border": "Border",
"circle": "Cerchio",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "Avanti",
"sendBackward": "Invia indietro",
"rotation": "Rotazione",
+ "rotationStep": "Passo di rotazione",
+ "zoomStep": "Passo zoom",
"direction": "Direzione",
"onlyAvailableLargerScreen": "Disponibile solo su schermi più grandi",
"toolbarPosition": "Posizione barra strumenti",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Ruota a sinistra",
+ "rotateRight": "Ruota a destra",
"spacer": "Spaziatore",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Mostra anteprime navigatore",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Mostra le miniature dell'anteprima nella cache nelle aree e nelle pagine di navigazione",
"highContrast": "Alto contrasto",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "Sposta al gesto",
"exportAllFiles": "Esporta tutti i file",
"restoreSettingsFromFile": "Ripristina le impostazioni dal file",
+ "resetAllSettings": "Reimposta tutte le impostazioni",
"exportSettingsToFile": "Esporta le impostazioni su file",
"barcode": "Barcode",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "Schermo intero",
"doublePressAction": "Azione doppia pressione",
"triplePressAction": "Azione tripla pressione",
+ "twoFingerTap": "Tocco a due dita",
+ "threeFingerTap": "Tocco a tre dita",
"longPress": "Pressione prolungata",
"toolNumber": "Strumento {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_ja.arb b/app/lib/l10n/app_ja.arb
index 5aadb75ca399..1f31f7661806 100644
--- a/app/lib/l10n/app_ja.arb
+++ b/app/lib/l10n/app_ja.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "転送",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "ズームに依存する",
"shapeDetection": "シェイプ検出",
"delay": "遅延",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "表",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "行",
+ "columns": "列",
+ "row": "行",
+ "column": "列",
+ "insertRowBefore": "行の前に挿入する",
+ "insertRowAfter": "行の後ろに挿入する",
+ "insertColumnBefore": "前に列を挿入",
+ "insertColumnAfter": "後ろに列を挿入",
+ "deleteRow": "行を削除",
+ "deleteColumn": "列を削除",
+ "cellColor": "セルの色",
+ "cellBorders": "セルの外枠",
+ "cellBorder": "セルの枠線",
+ "horizontalBorder": "横線",
+ "verticalBorder": "垂直枠線",
+ "rowHeight": "行の高さ",
+ "columnWidth": "列の幅",
+ "border": "Border",
"circle": "円",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "前方へ移動",
"sendBackward": "後方に送る",
"rotation": "回転",
+ "rotationStep": "回転ステップ",
+ "zoomStep": "ズームステップ",
"direction": "方向",
"onlyAvailableLargerScreen": "より大きな画面でのみ利用可能",
"toolbarPosition": "ツールバーの位置",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "左に回転",
+ "rotateRight": "右に回転",
"spacer": "スペーサー",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "ナビゲーターのプレビューを表示",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "キャッシュされたプレビューサムネイルをエリアとページナビゲーターに表示します",
"highContrast": "高コントラストformat@@0",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "ジェスチャー上に移動",
"exportAllFiles": "すべてのファイルをエクスポート",
"restoreSettingsFromFile": "設定をファイルから復元",
+ "resetAllSettings": "すべての設定をリセット",
"exportSettingsToFile": "設定をファイルにエクスポート",
"barcode": "Barcode",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "全画面",
"doublePressAction": "Double press action",
"triplePressAction": "トリプルプレスアクション",
+ "twoFingerTap": "2本指タップ",
+ "threeFingerTap": "3本指タップ",
"longPress": "長押しする",
"toolNumber": "ツール {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_ko.arb b/app/lib/l10n/app_ko.arb
index 1a16c8eea2c1..25fd09878380 100644
--- a/app/lib/l10n/app_ko.arb
+++ b/app/lib/l10n/app_ko.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Forward",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "확대/축소에 따라",
"shapeDetection": "도형 인식",
"delay": "지연",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Table",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Rows",
+ "columns": "Columns",
+ "row": "Row",
+ "column": "Column",
+ "insertRowBefore": "Insert row before",
+ "insertRowAfter": "Insert row after",
+ "insertColumnBefore": "Insert column before",
+ "insertColumnAfter": "Insert column after",
+ "deleteRow": "Delete row",
+ "deleteColumn": "Delete column",
+ "cellColor": "Cell color",
+ "cellBorders": "Cell borders",
+ "cellBorder": "Cell border",
+ "horizontalBorder": "Horizontal border",
+ "verticalBorder": "Vertical border",
+ "rowHeight": "Row height",
+ "columnWidth": "Column width",
+ "border": "Border",
"circle": "원",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "앞으로 가져오기",
"sendBackward": "뒤로 보내기",
"rotation": "회전",
+ "rotationStep": "Rotation step",
+ "zoomStep": "Zoom step",
"direction": "Direction",
"onlyAvailableLargerScreen": "더 큰 화면에서만 사용 가능",
"toolbarPosition": "도구 모음 위치",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Rotate left",
+ "rotateRight": "Rotate right",
"spacer": "간격",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Show navigator previews",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Show cached preview thumbnails in the areas and pages navigators",
"highContrast": "고대비",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "제스처로 이동",
"exportAllFiles": "모든 파일 내보내기",
"restoreSettingsFromFile": "파일에서 설정 복원",
+ "resetAllSettings": "Reset all settings",
"exportSettingsToFile": "설정을 파일로 내보내기",
"barcode": "바코드",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "Full screen",
"doublePressAction": "Double press action",
"triplePressAction": "Triple press action",
+ "twoFingerTap": "Two-finger tap",
+ "threeFingerTap": "Three-finger tap",
"longPress": "Long press",
"toolNumber": "Tool {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_nl.arb b/app/lib/l10n/app_nl.arb
index 98d733036016..a5138e343f40 100644
--- a/app/lib/l10n/app_nl.arb
+++ b/app/lib/l10n/app_nl.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Doorsturen",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "Afhankelijk zoomen",
"shapeDetection": "Vorm Detectie",
"delay": "Vertraging",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Tabel",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Rijen",
+ "columns": "Kolommen",
+ "row": "Rij",
+ "column": "Kolom",
+ "insertRowBefore": "Rij invoegen vóór",
+ "insertRowAfter": "Rij invoegen na",
+ "insertColumnBefore": "Kolom invoegen voor",
+ "insertColumnAfter": "Kolom invoegen na",
+ "deleteRow": "Rij verwijderen",
+ "deleteColumn": "Kolom verwijderen",
+ "cellColor": "Gel kleur",
+ "cellBorders": "Cel randen",
+ "cellBorder": "Cel rand",
+ "horizontalBorder": "Horizontale rand",
+ "verticalBorder": "Verticale rand",
+ "rowHeight": "Rij hoogte",
+ "columnWidth": "Kolom breedte",
+ "border": "Border",
"circle": "Cirkel",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "Breng naar voren",
"sendBackward": "Stuur achteruit",
"rotation": "Rotatie",
+ "rotationStep": "Rotatie stap",
+ "zoomStep": "Zoom stap",
"direction": "Richting",
"onlyAvailableLargerScreen": "Alleen beschikbaar op grotere schermen",
"toolbarPosition": "Werkbalk positie",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Linksom draaien",
+ "rotateRight": "Rechts draaien",
"spacer": "Afstandshouder",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Navigator voorvertoningen weergeven",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Toon miniaturen in cache en pagina navigators",
"highContrast": "Hoog contrast",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "Verplaats naar gebaar",
"exportAllFiles": "Alle bestanden exporteren",
"restoreSettingsFromFile": "Instellingen herstellen vanuit bestand",
+ "resetAllSettings": "Reset alle instellingen",
"exportSettingsToFile": "Instellingen exporteren naar bestand",
"barcode": "Barcode",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "Volledig scherm",
"doublePressAction": "Dubbel-klik actie",
"triplePressAction": "Drievoudig indrukken actie",
+ "twoFingerTap": "Tikken met twee vinger",
+ "threeFingerTap": "Drie-vinger kraan",
"longPress": "Lang indrukken",
"toolNumber": "Gereedschap {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_no.arb b/app/lib/l10n/app_no.arb
index 44ced1c5bcb4..5052186d28dd 100644
--- a/app/lib/l10n/app_no.arb
+++ b/app/lib/l10n/app_no.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Videresend",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "Zoom avhengig",
"shapeDetection": "Finn form",
"delay": "Forsinkelse",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Tabell",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Rader",
+ "columns": "Kolonner",
+ "row": "Rad",
+ "column": "Kolonne",
+ "insertRowBefore": "Sette inn rad før",
+ "insertRowAfter": "Sett inn rad etter",
+ "insertColumnBefore": "Sette inn kolonne før",
+ "insertColumnAfter": "Sette inn kolonne etter",
+ "deleteRow": "Slett rad",
+ "deleteColumn": "Slett kolonne",
+ "cellColor": "Cellefarge",
+ "cellBorders": "Celle borders",
+ "cellBorder": "Kantlinje for celle",
+ "horizontalBorder": "Horisontal kant",
+ "verticalBorder": "Vertikal kant",
+ "rowHeight": "Rad høyde",
+ "columnWidth": "Kolonne bredde",
+ "border": "Border",
"circle": "Sirkel",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "Send fremover",
"sendBackward": "Send bakover",
"rotation": "Rotasjon",
+ "rotationStep": "Rotasjon trinn",
+ "zoomStep": "Zoom trinn",
"direction": "Retning",
"onlyAvailableLargerScreen": "Bare tilgjengelig på større skjermer",
"toolbarPosition": "Plassering av verktøylinje",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Roter mot venstre",
+ "rotateRight": "Roter mot høyre",
"spacer": "Mellomrom",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Vis navigeringsoversikt",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Vis bufrede forhåndsvisningsbilder i områder og sider navigatorer",
"highContrast": "Høy kontrast",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "Flytt på bevegelse",
"exportAllFiles": "Eksporter alle filer",
"restoreSettingsFromFile": "Gjenopprett innstillinger fra fil",
+ "resetAllSettings": "Tilbakestill alle innstillinger",
"exportSettingsToFile": "Eksporter innstillinger til fil",
"barcode": "Barcode",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "Full skjerm",
"doublePressAction": "Dobbelttrykk handling",
"triplePressAction": "Trippel trykk handling",
+ "twoFingerTap": "To-finger trykk",
+ "threeFingerTap": "Trefinger trykk",
"longPress": "Langt trykk",
"toolNumber": "Verktøy {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_or.arb b/app/lib/l10n/app_or.arb
index 0a4b5613bae2..cae0450fd158 100644
--- a/app/lib/l10n/app_or.arb
+++ b/app/lib/l10n/app_or.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Forward",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "ଜୁମ୍ ନିର୍ଭର",
"shapeDetection": "ଆକୃତି ଚିହ୍ନଟ",
"delay": "ବିଳମ୍ବ",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Table",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Rows",
+ "columns": "Columns",
+ "row": "Row",
+ "column": "Column",
+ "insertRowBefore": "Insert row before",
+ "insertRowAfter": "Insert row after",
+ "insertColumnBefore": "Insert column before",
+ "insertColumnAfter": "Insert column after",
+ "deleteRow": "Delete row",
+ "deleteColumn": "Delete column",
+ "cellColor": "Cell color",
+ "cellBorders": "Cell borders",
+ "cellBorder": "Cell border",
+ "horizontalBorder": "Horizontal border",
+ "verticalBorder": "Vertical border",
+ "rowHeight": "Row height",
+ "columnWidth": "Column width",
+ "border": "Border",
"circle": "ବୃତ୍ତ",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "ଆଗକୁ ଆଣନ୍ତୁ",
"sendBackward": "ପଛକୁ ପଠାନ୍ତୁ",
"rotation": "ଘୁର୍ଣ୍ଣନ",
+ "rotationStep": "Rotation step",
+ "zoomStep": "Zoom step",
"direction": "Direction",
"onlyAvailableLargerScreen": "ମାତ୍ର ବଡ଼ ସ୍କ୍ରିନ୍ ଉପଲବ୍ଧ",
"toolbarPosition": "ଟୁଲ୍ବାର ସ୍ଥାନ",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Rotate left",
+ "rotateRight": "Rotate right",
"spacer": "ସ୍ପେସର୍",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Show navigator previews",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Show cached preview thumbnails in the areas and pages navigators",
"highContrast": "ଉଚ୍ଚ ବିପରୀତତା",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "ଇଶାରାରେ ସରାନ୍ତୁ",
"exportAllFiles": "ସମସ୍ତ ଫାଇଲ୍ ନିର୍ୟାତ",
"restoreSettingsFromFile": "ଫାଇଲ୍ରୁ ସେଟିଂସ୍ ପୁନଃସ୍ଥାପନ",
+ "resetAllSettings": "Reset all settings",
"exportSettingsToFile": "ସେଟିଂସ୍ ଫାଇଲ୍ ରେ ନିର୍ୟାତ",
"barcode": "ବାର୍କୋଡ୍",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "Full screen",
"doublePressAction": "Double press action",
"triplePressAction": "Triple press action",
+ "twoFingerTap": "Two-finger tap",
+ "threeFingerTap": "Three-finger tap",
"longPress": "Long press",
"toolNumber": "Tool {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_pl.arb b/app/lib/l10n/app_pl.arb
index ea13992d1be6..be1a2c91d5da 100644
--- a/app/lib/l10n/app_pl.arb
+++ b/app/lib/l10n/app_pl.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Przekaż",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "Zależny od powiększenia",
"shapeDetection": "Wykrywanie kształtu",
"delay": "Opóźnienie",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Tabela",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Wiersze",
+ "columns": "Kwota, którą należy zgłosić w kolumnie 060 tego wiersza: pierwotne odliczenie, art. 36 ust. 1 lit. b) CRR.",
+ "row": "Wiersz",
+ "column": "Kolumna",
+ "insertRowBefore": "Wstaw wiersz przed",
+ "insertRowAfter": "Wstaw wiersz po",
+ "insertColumnBefore": "Wstaw kolumnę przed",
+ "insertColumnAfter": "Wstaw kolumnę po",
+ "deleteRow": "Usuń wiersz",
+ "deleteColumn": "Usuń kolumnę",
+ "cellColor": "Kolor komórki",
+ "cellBorders": "Granice komórek",
+ "cellBorder": "Obramowanie komórki",
+ "horizontalBorder": "Poziome obramowanie",
+ "verticalBorder": "Granica pionowa",
+ "rowHeight": "Wysokość wiersza",
+ "columnWidth": "Szerokość kolumny",
+ "border": "Border",
"circle": "Okręg",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "Przenieś do przodu",
"sendBackward": "Wyślij do tyłu",
"rotation": "Obrót",
+ "rotationStep": "Krok obrotu",
+ "zoomStep": "Krok powiększenia",
"direction": "Kierunek",
"onlyAvailableLargerScreen": "Dostępne tylko na większych ekranach",
"toolbarPosition": "Pozycja paska narzędzi",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Obróć w lewo",
+ "rotateRight": "Obróć w prawo",
"spacer": "Odstęp",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Pokaż podgląd nawigatora",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Pokaż podgląd podglądu w strefach i nawigatorach stron",
"highContrast": "Wysoki kontrast",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "Przesuń po gestach",
"exportAllFiles": "Eksportuj wszystkie pliki",
"restoreSettingsFromFile": "Przywróć ustawienia z pliku",
+ "resetAllSettings": "Resetuj wszystkie ustawienia",
"exportSettingsToFile": "Eksportuj ustawienia do pliku",
"barcode": "Barcode",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "Pełny ekran",
"doublePressAction": "Akcja podwójnego naciśnięcia",
"triplePressAction": "Akcja potrójnego naciśnięcia",
+ "twoFingerTap": "Dotknięcie dwoma palcami",
+ "threeFingerTap": "Dotknięcie trzema palcami",
"longPress": "Długie przytrzymanie",
"toolNumber": "Narzędzie {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_pt.arb b/app/lib/l10n/app_pt.arb
index 7044ad7a8f9e..0baa6c45b9c2 100644
--- a/app/lib/l10n/app_pt.arb
+++ b/app/lib/l10n/app_pt.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Encaminhar",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "Dependente da ampliação",
"shapeDetection": "Deteção de forma",
"delay": "Atraso",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Classificações",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Linhas",
+ "columns": "Colunas",
+ "row": "Linha",
+ "column": "Coluna",
+ "insertRowBefore": "Inserir linha antes",
+ "insertRowAfter": "Inserir linha depois",
+ "insertColumnBefore": "Inserir coluna antes",
+ "insertColumnAfter": "Inserir coluna depois",
+ "deleteRow": "Excluir linha",
+ "deleteColumn": "Excluir coluna",
+ "cellColor": "Cor da célula",
+ "cellBorders": "Bordas de célula",
+ "cellBorder": "Borda da célula",
+ "horizontalBorder": "Borda horizontal",
+ "verticalBorder": "Borda vertical",
+ "rowHeight": "Altura da Linha",
+ "columnWidth": "Largura da coluna",
+ "border": "Border",
"circle": "Círculo",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "Trazer para frente",
"sendBackward": "Enviar para trás",
"rotation": "Rotação",
+ "rotationStep": "Passo de Rotação",
+ "zoomStep": "Aumento do zoom",
"direction": "Direção",
"onlyAvailableLargerScreen": "Disponível apenas em telas maiores",
"toolbarPosition": "Posição da barra",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Girar à esquerda",
+ "rotateRight": "Girar à direita",
"spacer": "Separador",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Mostrar pré-visualizações do navegador",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Mostrar miniaturas de visualização em cache nas áreas e páginas",
"highContrast": "Alto contraste",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "Mover para gesto",
"exportAllFiles": "Exportar todos os arquivos",
"restoreSettingsFromFile": "Restaurar configurações do arquivo",
+ "resetAllSettings": "Redefinir todas as configurações",
"exportSettingsToFile": "Exportar configurações para arquivo",
"barcode": "Barcode",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "Tela cheia",
"doublePressAction": "Ação de toque duplo",
"triplePressAction": "Ação de toque triplo",
+ "twoFingerTap": "Toque de dois dedos",
+ "threeFingerTap": "Toque de três dedos",
"longPress": "Toque longo",
"toolNumber": "Ferramenta {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_pt_BR.arb b/app/lib/l10n/app_pt_BR.arb
index e7b60ba4f496..d0a40d9ee284 100644
--- a/app/lib/l10n/app_pt_BR.arb
+++ b/app/lib/l10n/app_pt_BR.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Encaminhar",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "Dependendo do zoom",
"shapeDetection": "Detecção de forma",
"delay": "Atraso",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Classificações",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Linhas",
+ "columns": "Colunas",
+ "row": "Linha",
+ "column": "Coluna",
+ "insertRowBefore": "Inserir linha antes",
+ "insertRowAfter": "Inserir linha depois",
+ "insertColumnBefore": "Inserir coluna antes",
+ "insertColumnAfter": "Inserir coluna depois",
+ "deleteRow": "Excluir linha",
+ "deleteColumn": "Excluir coluna",
+ "cellColor": "Cor da célula",
+ "cellBorders": "Bordas de célula",
+ "cellBorder": "Borda da célula",
+ "horizontalBorder": "Borda horizontal",
+ "verticalBorder": "Borda vertical",
+ "rowHeight": "Altura da Linha",
+ "columnWidth": "Largura da coluna",
+ "border": "Border",
"circle": "Círculo",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "Trazer para frente",
"sendBackward": "Enviar para trás",
"rotation": "Rotação",
+ "rotationStep": "Passo de Rotação",
+ "zoomStep": "Aumento do zoom",
"direction": "Direção",
"onlyAvailableLargerScreen": "Disponível apenas em telas maiores",
"toolbarPosition": "Posição da barra",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Girar à esquerda",
+ "rotateRight": "Girar à direita",
"spacer": "Espaçador",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Mostrar pré-visualizações do navegador",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Mostrar miniaturas de visualização em cache nas áreas e páginas",
"highContrast": "Alto contraste",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "Mover para gesto",
"exportAllFiles": "Exportar todos os arquivos",
"restoreSettingsFromFile": "Restaurar configurações do arquivo",
+ "resetAllSettings": "Redefinir todas as configurações",
"exportSettingsToFile": "Exportar configurações para arquivo",
"barcode": "Barcode",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "Tela cheia",
"doublePressAction": "Ação de toque duplo",
"triplePressAction": "Ação de toque triplo",
+ "twoFingerTap": "Toque de dois dedos",
+ "threeFingerTap": "Toque de três dedos",
"longPress": "Toque longo",
"toolNumber": "Ferramenta {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_ro.arb b/app/lib/l10n/app_ro.arb
index 51713e0f4a84..e751182459f8 100644
--- a/app/lib/l10n/app_ro.arb
+++ b/app/lib/l10n/app_ro.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Redirecționare",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "Depinde de zoom",
"shapeDetection": "Detectare Formă",
"delay": "Întârziere",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Tabel",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Rânduri",
+ "columns": "Coloane",
+ "row": "Rând",
+ "column": "Coloana",
+ "insertRowBefore": "Introduceți un rând înainte de",
+ "insertRowAfter": "Introduceți un rând după",
+ "insertColumnBefore": "Introduceți coloana înainte de",
+ "insertColumnAfter": "Introduceți o coloană după",
+ "deleteRow": "Ștergere rând",
+ "deleteColumn": "Ștergeți coloana",
+ "cellColor": "Culoare celulă",
+ "cellBorders": "Frontiere celulare",
+ "cellBorder": "Frontieră celulă",
+ "horizontalBorder": "Frontieră orizontală",
+ "verticalBorder": "Frontieră verticală",
+ "rowHeight": "Înălțimea rândului",
+ "columnWidth": "Lățimea coloanei",
+ "border": "Border",
"circle": "Cerc",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "Adu înainte",
"sendBackward": "Trimite înapoi",
"rotation": "Rotație",
+ "rotationStep": "Etapa de rotație",
+ "zoomStep": "Pasul de mărire",
"direction": "Direcție",
"onlyAvailableLargerScreen": "Disponibil doar pe ecrane mai mari",
"toolbarPosition": "Poziția barei de instrumente",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Rotire la stânga",
+ "rotateRight": "Rotire la dreapta",
"spacer": "Spatier",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Arată previzualizările navigatorului",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Arată miniaturile de previzualizare în zonele şi paginile navigatoare",
"highContrast": "Contrast mare",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "Mută la gest",
"exportAllFiles": "Exportă toate fișierele",
"restoreSettingsFromFile": "Restabilește setările din fișier",
+ "resetAllSettings": "Resetează toate setările",
"exportSettingsToFile": "Exportă setările în fișier",
"barcode": "Barcode",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "Ecran complet",
"doublePressAction": "Acțiune la apăsare dublă",
"triplePressAction": "Acțiune apăsare triplă",
+ "twoFingerTap": "Atingere în două degete",
+ "threeFingerTap": "Atingere cu trei degete",
"longPress": "Apăsare lungă",
"toolNumber": "Unelte {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_ru.arb b/app/lib/l10n/app_ru.arb
index 64f64f8312d0..e211d2e23a78 100644
--- a/app/lib/l10n/app_ru.arb
+++ b/app/lib/l10n/app_ru.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Вперёд",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "Зависимость от масштаба",
"shapeDetection": "Обнаружение фигур",
"delay": "Задержка",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Таблица",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Строки",
+ "columns": "Столбцы",
+ "row": "Строка",
+ "column": "Столбец",
+ "insertRowBefore": "Вставить строку перед",
+ "insertRowAfter": "Вставить строку после",
+ "insertColumnBefore": "Вставить столбец справа",
+ "insertColumnAfter": "Вставить столбец после",
+ "deleteRow": "Удалить строку",
+ "deleteColumn": "Удалить столбец",
+ "cellColor": "Цвет ячейки",
+ "cellBorders": "Ген ячейки",
+ "cellBorder": "Граница ячейки",
+ "horizontalBorder": "Горизонтальная граница",
+ "verticalBorder": "Вертикальные границы",
+ "rowHeight": "Высота строки",
+ "columnWidth": "Ширина столбца",
+ "border": "Border",
"circle": "Круг",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "Перенос вперед",
"sendBackward": "Отправить назад",
"rotation": "Поворот",
+ "rotationStep": "Шаг поворота",
+ "zoomStep": "Шаг масштаба",
"direction": "Направление",
"onlyAvailableLargerScreen": "Доступно только на больших экранах",
"toolbarPosition": "Положение панели инструментов",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Повернуть влево",
+ "rotateRight": "Повернуть вправо",
"spacer": "Пробел",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Показать превью навигатора",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Показывать превью кэша в областях и страницах навигаторов",
"highContrast": "Высокий контраст",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "Переместить жест",
"exportAllFiles": "Экспортировать все файлы",
"restoreSettingsFromFile": "Восстановить настройки из файла",
+ "resetAllSettings": "Сбросить все настройки",
"exportSettingsToFile": "Экспорт настроек в файл",
"barcode": "Barcode",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "На весь экран",
"doublePressAction": "Действие двойного нажатия",
"triplePressAction": "Действие с тройным нажатием",
+ "twoFingerTap": "Двухпальное касание",
+ "threeFingerTap": "Касание по трем пальцам",
"longPress": "Долгое нажатие",
"toolNumber": "Инструмент {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_sr.arb b/app/lib/l10n/app_sr.arb
index 924dd0c7311c..b8b5d94956e6 100644
--- a/app/lib/l10n/app_sr.arb
+++ b/app/lib/l10n/app_sr.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Forward",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "Zavisno od zuma",
"shapeDetection": "Prepoznavanje oblika",
"delay": "Odlaganje",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Table",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Rows",
+ "columns": "Columns",
+ "row": "Row",
+ "column": "Column",
+ "insertRowBefore": "Insert row before",
+ "insertRowAfter": "Insert row after",
+ "insertColumnBefore": "Insert column before",
+ "insertColumnAfter": "Insert column after",
+ "deleteRow": "Delete row",
+ "deleteColumn": "Delete column",
+ "cellColor": "Cell color",
+ "cellBorders": "Cell borders",
+ "cellBorder": "Cell border",
+ "horizontalBorder": "Horizontal border",
+ "verticalBorder": "Vertical border",
+ "rowHeight": "Row height",
+ "columnWidth": "Column width",
+ "border": "Border",
"circle": "Krug",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "Pomeri napred",
"sendBackward": "Pomeri nazad",
"rotation": "Rotacija",
+ "rotationStep": "Rotation step",
+ "zoomStep": "Zoom step",
"direction": "Direction",
"onlyAvailableLargerScreen": "Dostupno samo na većim ekranima",
"toolbarPosition": "Pozicija trake sa alatkama",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Rotate left",
+ "rotateRight": "Rotate right",
"spacer": "Odstojnik",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Show navigator previews",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Show cached preview thumbnails in the areas and pages navigators",
"highContrast": "Visok kontrast",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "Pomeri na pokret",
"exportAllFiles": "Izvezi sve datoteke",
"restoreSettingsFromFile": "Vrati podešavanja iz datoteke",
+ "resetAllSettings": "Reset all settings",
"exportSettingsToFile": "Izvezi podešavanja u datoteku",
"barcode": "Barkod",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "Full screen",
"doublePressAction": "Double press action",
"triplePressAction": "Triple press action",
+ "twoFingerTap": "Two-finger tap",
+ "threeFingerTap": "Three-finger tap",
"longPress": "Long press",
"toolNumber": "Tool {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_sv.arb b/app/lib/l10n/app_sv.arb
index 3b504015084b..90c6e001eaa0 100644
--- a/app/lib/l10n/app_sv.arb
+++ b/app/lib/l10n/app_sv.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Framåt",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "Zooma beroende",
"shapeDetection": "Form detektion",
"delay": "Fördröjning",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Tabell",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Rader",
+ "columns": "Kolumner",
+ "row": "Rad",
+ "column": "Kolumn",
+ "insertRowBefore": "Infoga rad före",
+ "insertRowAfter": "Infoga rad efter",
+ "insertColumnBefore": "Infoga kolumn före",
+ "insertColumnAfter": "Infoga kolumn efter",
+ "deleteRow": "Ta bort rad",
+ "deleteColumn": "Ta bort kolumn",
+ "cellColor": "Cellens färg",
+ "cellBorders": "Cellens gränser",
+ "cellBorder": "Cellens gräns",
+ "horizontalBorder": "Horisontell kant",
+ "verticalBorder": "Vertikal kant",
+ "rowHeight": "Rad höjd",
+ "columnWidth": "Kolumnens bredd",
+ "border": "Border",
"circle": "Cirkel",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "Ta fram",
"sendBackward": "Skicka bakåt",
"rotation": "Rotation",
+ "rotationStep": "Steg för rotation",
+ "zoomStep": "Zooma steg",
"direction": "Riktning",
"onlyAvailableLargerScreen": "Finns endast på större skärmar",
"toolbarPosition": "Verktygsfältets position",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Rotera vänster",
+ "rotateRight": "Rotera höger",
"spacer": "Mellanslag",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Visa förhandsvisningar för navigator",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Visa cachelagrade miniatyrer i områden och sidor navigatorer",
"highContrast": "Hög kontrast",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "Flytta på gest",
"exportAllFiles": "Exportera alla filer",
"restoreSettingsFromFile": "Återställ inställningar från fil",
+ "resetAllSettings": "Återställ alla inställningar",
"exportSettingsToFile": "Exportera inställningar till fil",
"barcode": "Barcode",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "Helskärm",
"doublePressAction": "Åtgärd vid dubbeltryck",
"triplePressAction": "Trippel tryck åtgärd",
+ "twoFingerTap": "Tvåfinger-tryck",
+ "threeFingerTap": "Tre-finger tryck",
"longPress": "Långtryck",
"toolNumber": "Verktyg {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_th.arb b/app/lib/l10n/app_th.arb
index 78b2b8660b63..556f013de842 100644
--- a/app/lib/l10n/app_th.arb
+++ b/app/lib/l10n/app_th.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Forward",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "ขึ้นอยู่กับการซูม",
"shapeDetection": "ตรวจจับรูปทรง",
"delay": "หน่วงเวลา",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Table",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Rows",
+ "columns": "Columns",
+ "row": "Row",
+ "column": "Column",
+ "insertRowBefore": "Insert row before",
+ "insertRowAfter": "Insert row after",
+ "insertColumnBefore": "Insert column before",
+ "insertColumnAfter": "Insert column after",
+ "deleteRow": "Delete row",
+ "deleteColumn": "Delete column",
+ "cellColor": "Cell color",
+ "cellBorders": "Cell borders",
+ "cellBorder": "Cell border",
+ "horizontalBorder": "Horizontal border",
+ "verticalBorder": "Vertical border",
+ "rowHeight": "Row height",
+ "columnWidth": "Column width",
+ "border": "Border",
"circle": "วงกลม",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "นำขึ้นข้างหน้า",
"sendBackward": "ส่งถอยหลัง",
"rotation": "การหมุน",
+ "rotationStep": "Rotation step",
+ "zoomStep": "Zoom step",
"direction": "Direction",
"onlyAvailableLargerScreen": "ใช้ได้เฉพาะบนหน้าจอขนาดใหญ่",
"toolbarPosition": "ตำแหน่งแถบเครื่องมือ",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Rotate left",
+ "rotateRight": "Rotate right",
"spacer": "ตัวเว้นวรรค",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Show navigator previews",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Show cached preview thumbnails in the areas and pages navigators",
"highContrast": "คอนทราสต์สูง",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "เลื่อนด้วยท่าทาง",
"exportAllFiles": "ส่งออกทุกไฟล์",
"restoreSettingsFromFile": "กู้คืนการตั้งค่าจากไฟล์",
+ "resetAllSettings": "Reset all settings",
"exportSettingsToFile": "ส่งออกการตั้งค่าเป็นไฟล์",
"barcode": "บาร์โค้ด",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "เต็มหน้าจอ",
"doublePressAction": "Double press action",
"triplePressAction": "Triple press action",
+ "twoFingerTap": "Two-finger tap",
+ "threeFingerTap": "Three-finger tap",
"longPress": "Long press",
"toolNumber": "Tool {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_tr.arb b/app/lib/l10n/app_tr.arb
index c1a5705c1d70..6e09a761c230 100644
--- a/app/lib/l10n/app_tr.arb
+++ b/app/lib/l10n/app_tr.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Forward",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "Bağımlı yakınlaştırma",
"shapeDetection": "Şekil Algılama",
"delay": "Gecikme",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Table",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Rows",
+ "columns": "Columns",
+ "row": "Row",
+ "column": "Column",
+ "insertRowBefore": "Insert row before",
+ "insertRowAfter": "Insert row after",
+ "insertColumnBefore": "Insert column before",
+ "insertColumnAfter": "Insert column after",
+ "deleteRow": "Delete row",
+ "deleteColumn": "Delete column",
+ "cellColor": "Cell color",
+ "cellBorders": "Cell borders",
+ "cellBorder": "Cell border",
+ "horizontalBorder": "Horizontal border",
+ "verticalBorder": "Vertical border",
+ "rowHeight": "Row height",
+ "columnWidth": "Column width",
+ "border": "Border",
"circle": "Daire",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "Bir adım öne getir",
"sendBackward": "Bir adım geriye gönder",
"rotation": "Döndürme",
+ "rotationStep": "Rotation step",
+ "zoomStep": "Zoom step",
"direction": "Direction",
"onlyAvailableLargerScreen": "Sadece daha büyük ekranlarda kullanılabilir",
"toolbarPosition": "Araç çubuğu konumu",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Rotate left",
+ "rotateRight": "Rotate right",
"spacer": "Boşluk",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Show navigator previews",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Show cached preview thumbnails in the areas and pages navigators",
"highContrast": "Yüksek kontrast",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "Eylemle taşı",
"exportAllFiles": "Tüm dosyaları dışa aktar",
"restoreSettingsFromFile": "Ayarları dosyadan geri yükle",
+ "resetAllSettings": "Reset all settings",
"exportSettingsToFile": "Ayarları dosyaya dışa aktar",
"barcode": "Barkod",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "Tam ekran",
"doublePressAction": "Double press action",
"triplePressAction": "Triple press action",
+ "twoFingerTap": "Two-finger tap",
+ "threeFingerTap": "Three-finger tap",
"longPress": "Long press",
"toolNumber": "Tool {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_uk.arb b/app/lib/l10n/app_uk.arb
index 0e2030693e8d..cda688d0d213 100644
--- a/app/lib/l10n/app_uk.arb
+++ b/app/lib/l10n/app_uk.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Переслати",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "Залежність масштабу",
"shapeDetection": "Визначення форми",
"delay": "Затримка",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Стіл",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Рядки",
+ "columns": "Стовпці",
+ "row": "Рядок",
+ "column": "Колонка",
+ "insertRowBefore": "Вставити рядок перед",
+ "insertRowAfter": "Вставити рядок після",
+ "insertColumnBefore": "Додати стовпець перед",
+ "insertColumnAfter": "Вставити стовпець після",
+ "deleteRow": "Видалити рядок",
+ "deleteColumn": "Видалити стовпець",
+ "cellColor": "Колір клітинки",
+ "cellBorders": "Границі клітин",
+ "cellBorder": "Клітинна рамка",
+ "horizontalBorder": "Горизонтальна рамка",
+ "verticalBorder": "Вертикальна границя",
+ "rowHeight": "Висота рядка",
+ "columnWidth": "Ширина стовпця",
+ "border": "Border",
"circle": "Коло",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "Поверніть вперед",
"sendBackward": "Відправити назад",
"rotation": "Поворот екрану",
+ "rotationStep": "Крок обертання",
+ "zoomStep": "Крок масштабування",
"direction": "Напрямок",
"onlyAvailableLargerScreen": "Доступно тільки на більших екранах",
"toolbarPosition": "Позиція панелі інструментів",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Повернути ліворуч",
+ "rotateRight": "Повернути праворуч",
"spacer": "Розділювач",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Показувати превью навігації",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Показувати кешовані ескізи попереднього перегляду в області і навігатором сторінок",
"highContrast": "Високий контраст",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "Перемістити жест",
"exportAllFiles": "Експортувати всі файли",
"restoreSettingsFromFile": "Відновити налаштування з файлу",
+ "resetAllSettings": "Скинути всі налаштування",
"exportSettingsToFile": "Експорт налаштувань у файл",
"barcode": "Barcode",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "На весь екран",
"doublePressAction": "Дії подвійного натискання",
"triplePressAction": "Дія потрійного натискання",
+ "twoFingerTap": "Двопалець",
+ "threeFingerTap": "Трипалець",
"longPress": "Тривале натискання",
"toolNumber": "Інструмент {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_vi.arb b/app/lib/l10n/app_vi.arb
index 8df763aea786..3ea6e94cc336 100644
--- a/app/lib/l10n/app_vi.arb
+++ b/app/lib/l10n/app_vi.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Forward",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "Phụ thuộc thu phóng",
"shapeDetection": "Phát hiện hình dạng",
"delay": "Độ trễ",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Table",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Rows",
+ "columns": "Columns",
+ "row": "Row",
+ "column": "Column",
+ "insertRowBefore": "Insert row before",
+ "insertRowAfter": "Insert row after",
+ "insertColumnBefore": "Insert column before",
+ "insertColumnAfter": "Insert column after",
+ "deleteRow": "Delete row",
+ "deleteColumn": "Delete column",
+ "cellColor": "Cell color",
+ "cellBorders": "Cell borders",
+ "cellBorder": "Cell border",
+ "horizontalBorder": "Horizontal border",
+ "verticalBorder": "Vertical border",
+ "rowHeight": "Row height",
+ "columnWidth": "Column width",
+ "border": "Border",
"circle": "Hình tròn",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "Đưa lên trước",
"sendBackward": "Đưa xuống sau",
"rotation": "Xoay",
+ "rotationStep": "Rotation step",
+ "zoomStep": "Zoom step",
"direction": "Direction",
"onlyAvailableLargerScreen": "Chỉ khả dụng trên màn hình lớn hơn",
"toolbarPosition": "Vị trí thanh công cụ",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Rotate left",
+ "rotateRight": "Rotate right",
"spacer": "Khoảng trống",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Show navigator previews",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Show cached preview thumbnails in the areas and pages navigators",
"highContrast": "Độ tương phản cao",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "Di chuyển khi cử chỉ",
"exportAllFiles": "Xuất tất cả tệp tin",
"restoreSettingsFromFile": "Khôi phục cài đặt từ tệp tin",
+ "resetAllSettings": "Reset all settings",
"exportSettingsToFile": "Xuất cài đặt ra tệp tin",
"barcode": "Mã vạch",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "Toàn màn hình",
"doublePressAction": "Double press action",
"triplePressAction": "Triple press action",
+ "twoFingerTap": "Two-finger tap",
+ "threeFingerTap": "Three-finger tap",
"longPress": "Long press",
"toolNumber": "Tool {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_zh-Hant.arb b/app/lib/l10n/app_zh-Hant.arb
index f4cce6538f94..5054ad5f910a 100644
--- a/app/lib/l10n/app_zh-Hant.arb
+++ b/app/lib/l10n/app_zh-Hant.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "Forward",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "隨應縮放",
"shapeDetection": "形狀偵測",
"delay": "延遲",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "Table",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "Rows",
+ "columns": "Columns",
+ "row": "Row",
+ "column": "Column",
+ "insertRowBefore": "Insert row before",
+ "insertRowAfter": "Insert row after",
+ "insertColumnBefore": "Insert column before",
+ "insertColumnAfter": "Insert column after",
+ "deleteRow": "Delete row",
+ "deleteColumn": "Delete column",
+ "cellColor": "Cell color",
+ "cellBorders": "Cell borders",
+ "cellBorder": "Cell border",
+ "horizontalBorder": "Horizontal border",
+ "verticalBorder": "Vertical border",
+ "rowHeight": "Row height",
+ "columnWidth": "Column width",
+ "border": "Border",
"circle": "圓形",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "上提一層",
"sendBackward": "下推一層",
"rotation": "旋轉",
+ "rotationStep": "Rotation step",
+ "zoomStep": "Zoom step",
"direction": "Direction",
"onlyAvailableLargerScreen": "僅適用於大螢幕設備",
"toolbarPosition": "工具列位置",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "Rotate left",
+ "rotateRight": "Rotate right",
"spacer": "間隔",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "Show navigator previews",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "Show cached preview thumbnails in the areas and pages navigators",
"highContrast": "高對比",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "手勢移動",
"exportAllFiles": "匯出所有檔案",
"restoreSettingsFromFile": "從檔案還原設定",
+ "resetAllSettings": "Reset all settings",
"exportSettingsToFile": "匯出設定到檔案",
"barcode": "條碼",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "全螢幕",
"doublePressAction": "Double press action",
"triplePressAction": "Triple press action",
+ "twoFingerTap": "Two-finger tap",
+ "threeFingerTap": "Three-finger tap",
"longPress": "Long press",
"toolNumber": "Tool {number}",
"@toolNumber": {
diff --git a/app/lib/l10n/app_zh.arb b/app/lib/l10n/app_zh.arb
index 8cdf3ecd5a8d..5d468108fdda 100644
--- a/app/lib/l10n/app_zh.arb
+++ b/app/lib/l10n/app_zh.arb
@@ -289,6 +289,10 @@
"@back": {
"description": "Back action"
},
+ "forward": "转发方式",
+ "@forward": {
+ "description": "Forward action"
+ },
"zoomDependent": "依靠缩放",
"shapeDetection": "形状检测",
"delay": "延迟",
@@ -577,6 +581,28 @@
"@shape": {
"description": "Shape tool"
},
+ "table": "表",
+ "@table": {
+ "description": "Table tool and element"
+ },
+ "rows": "行",
+ "columns": "列",
+ "row": "行",
+ "column": "列",
+ "insertRowBefore": "插入行前",
+ "insertRowAfter": "插入行后",
+ "insertColumnBefore": "插入列在前",
+ "insertColumnAfter": "插入列",
+ "deleteRow": "删除行",
+ "deleteColumn": "删除列",
+ "cellColor": "单元格颜色",
+ "cellBorders": "单元格边框",
+ "cellBorder": "单元格边框",
+ "horizontalBorder": "水平边框",
+ "verticalBorder": "垂直边框",
+ "rowHeight": "行高度",
+ "columnWidth": "列宽度",
+ "border": "Border",
"circle": "圆圈",
"@circle": {
"description": "Shape type"
@@ -971,6 +997,8 @@
"bringForward": "前进中",
"sendBackward": "向后发送",
"rotation": "旋转",
+ "rotationStep": "旋转步骤",
+ "zoomStep": "缩放步骤",
"direction": "方向",
"onlyAvailableLargerScreen": "仅在大屏幕上可用",
"toolbarPosition": "工具栏位置",
@@ -981,6 +1009,8 @@
"@rotate": {
"description": "Rotate action"
},
+ "rotateLeft": "向左旋转",
+ "rotateRight": "向右旋转",
"spacer": "空格",
"@spacer": {
"description": "Spacer element"
@@ -1160,6 +1190,11 @@
"@showThumbnails": {
"description": "Show thumbnails for notes in the file list"
},
+ "showNavigatorPreviews": "显示导航器预览",
+ "@showNavigatorPreviews": {
+ "description": "Show cached preview thumbnails in the areas and pages navigators"
+ },
+ "showNavigatorPreviewsDescription": "在区域和页面导航器中显示缓存的预览缩略图",
"highContrast": "高对比度",
"@highContrast": {
"description": "Use stronger contrast in the app theme"
@@ -1324,6 +1359,7 @@
"moveOnGesture": "手势移动",
"exportAllFiles": "导出所有文件",
"restoreSettingsFromFile": "从文件恢复设置",
+ "resetAllSettings": "重置所有设置",
"exportSettingsToFile": "导出设置到文件",
"barcode": "条形码",
"@barcode": {
@@ -1438,6 +1474,8 @@
"fullScreenShortcut": "全屏",
"doublePressAction": "双击动作",
"triplePressAction": "三击动作",
+ "twoFingerTap": "双指点击",
+ "threeFingerTap": "三指点击",
"longPress": "长按",
"toolNumber": "工具 {number}",
"@toolNumber": {
diff --git a/docs/src/content/docs/af/community/embed.md b/docs/src/content/docs/af/community/embed.md
index ab488cdb51ec..7365ee3a571c 100644
--- a/docs/src/content/docs/af/community/embed.md
+++ b/docs/src/content/docs/af/community/embed.md
@@ -22,6 +22,7 @@ Add the following code to your website:
| save | Boolean (true, false) | true | Enable save. If disabled, only an exit button will be shown |
| editable | Boolean (true, false) | true | Enable editing. If disabled, the document will be read-only |
| language | String (..., system, user) | user | Language of the document. If system, the language will be detected from the browser. If user, the language will set to the users preference |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/af/docs/v2/add.md b/docs/src/content/docs/af/docs/v2/add.md
index 7f6c686dd252..81443673043c 100644
--- a/docs/src/content/docs/af/docs/v2/add.md
+++ b/docs/src/content/docs/af/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## Voer in
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## Gereedskap
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/af/docs/v2/background.mdx b/docs/src/content/docs/af/docs/v2/background.mdx
index dfb20f6b5723..f29298ba8a89 100644
--- a/docs/src/content/docs/af/docs/v2/background.mdx
+++ b/docs/src/content/docs/af/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/af/docs/v2/intro.mdx b/docs/src/content/docs/af/docs/v2/intro.mdx
index ce605347f4e5..59f429b06e7a 100644
--- a/docs/src/content/docs/af/docs/v2/intro.mdx
+++ b/docs/src/content/docs/af/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/af/docs/v2/layers.md b/docs/src/content/docs/af/docs/v2/layers.md
index 4583dcb7c0e9..611220fb5817 100644
--- a/docs/src/content/docs/af/docs/v2/layers.md
+++ b/docs/src/content/docs/af/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: Lae
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Here you can see all the layers in the project. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Here you can see all the layers in the project. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Option | Beskrywing |
+| -------------: | --------------------------------------------------------------------------------- |
+| Bring vorentoe | Renders the selection on top of the first element in front of it. |
+| Stuur agtertoe | Renders the selection under the first element behind it. |
+| Bring na voor | Renders the selection in front of everything else. |
+| Stuur na agter | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/af/docs/v2/pack.md b/docs/src/content/docs/af/docs/v2/pack.md
index f982c75a8052..26912853d95a 100644
--- a/docs/src/content/docs/af/docs/v2/pack.md
+++ b/docs/src/content/docs/af/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## Palette
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/af/docs/v2/shortcuts.md b/docs/src/content/docs/af/docs/v2/shortcuts.md
index 242dd8053370..61056ba529f5 100644
--- a/docs/src/content/docs/af/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/af/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: Kortpaaie
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## Muis
+
+### Mouse configurations
+
+| Property | Default | Beskrywing |
+| --------------------------: | :-----: | :---------------------------------------------------------------------------------------- |
+| Versteek wyser tydens teken | true | Hides the mouse pointer while you draw, so it does not cover your stroke. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## Raak
+
+### Touch configurations
+
+| Property | Default | Beskrywing |
+| ---------------: | :-----: | :---------------------------------------------------------------------------------------------------------- |
+| Invoergebare | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| Beweeg op gebaar | true | Lets multi-touch gestures move the canvas instead of interacting with note content. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## Sleutelbord
-There are a few shortcuts that you can use in the editor.
-Some of them are written below the buttons.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### Algemeen
@@ -14,44 +135,63 @@ Some of them are written below the buttons.
- `Ctrl` + `E`: Export file
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `E`: Export file as svg
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `P`: Open packs
- `Ctrl` + `Alt` + `S`: Open settings
+- `Escape`: Escape
### Project
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Undo
- `Ctrl` + `Y`: Redo
-- `Ctrl` + `Shift` + `P`: Open waypoints dialog
- `Ctrl` + `B`: Open background dialog
- `Ctrl` + `S`: Save
- `Alt` + `S`: Change path
-- `Ctrl` + (`1` - `0`): Switch to tool
- `Ctrl` + `+`: Zoom in
- `Ctrl` + `-`: Zoom out
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Switch to tool
## Pen
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Pen`: configured as pen.
-- `First` (Primary button, if supported): Change to hand tool while pressed.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Property | Values | Beskrywing |
+| -------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| Slegs peninvoer | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Show pen only toggle | true, false | Shows a quick pen-only switch in the editor after Butterfly detects a pen. |
+| Ignore pressure | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/af/docs/v2/storage.md b/docs/src/content/docs/af/docs/v2/storage.md
index 70dc2158e80d..b06adc6af5dc 100644
--- a/docs/src/content/docs/af/docs/v2/storage.md
+++ b/docs/src/content/docs/af/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## Data-gids
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ You can also change it in the settings under `Data`.
In this directory you will find a folder `Documents`, `Templates` and `Packs`.
-## Web
+## Web {#web}
The application data is stored in your browser. It is stored in a local storage.
Open the developer tools in your browser and you will see the data.
@@ -39,7 +39,59 @@ Add the URL of the remote server and the username and password. After that you c
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Offline sync {#offline}
@@ -48,7 +100,6 @@ Open the popup menu on a file or folder and click on `Sync`. This will download
There are a few limitations:
-- You can only sync the top level of a directory. For example if you have a directory `a/b/test.bfly`, this file will not be synced.
- You cannot delete a file or folder while you are offline.
- You cannot add, edit or delete templates while you are offline.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/af/docs/v2/tools/area.md b/docs/src/content/docs/af/docs/v2/tools/area.md
index 220ac49b93e4..e5d70a946414 100644
--- a/docs/src/content/docs/af/docs/v2/tools/area.md
+++ b/docs/src/content/docs/af/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Configuration
-| Property | Default | Beskrywing |
-| --------------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Wydte | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| Hoogte | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| Aspekverhouding | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| Property | Default | Beskrywing |
+| ----------------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Vra vir naam | false | Whether a name prompt will appear before creation. |
+| Voorafinstellings | none | Various presets for width and height. |
+| Wydte | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| Hoogte | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| Aspekverhouding | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
There are three aspect ratio presets:
- Square (1:1)
-- Page portrait (sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
-- Page landscape (1/sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/af/docs/v2/tools/collection.md b/docs/src/content/docs/af/docs/v2/tools/collection.md
deleted file mode 100644
index 391210b26987..000000000000
--- a/docs/src/content/docs/af/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-You can't select it and it will run the action if you click on it.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/af/docs/v2/tools/collection.mdx b/docs/src/content/docs/af/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/af/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/af/docs/v2/tools/eraser.md b/docs/src/content/docs/af/docs/v2/tools/eraser.md
index 8cfb9e47ebe9..b32246d1267e 100644
--- a/docs/src/content/docs/af/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/af/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## Configuration
-| Property | Default | Beskrywing |
-| ----------------: | :-----: | :------------------------------------------------------------------------------- |
-| Lynwydte | 5 | The width of the stroke |
-| Stroke multiplier | 1 | If you have a stylus, this is the multiplier which will be added to the pressure |
+| Property | Default | Beskrywing |
+| -----------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| Lynwydte | 5 | The width of the stroke |
+| Erase shapes | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Erase all elements | false | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | Beskrywing |
+| ---------------------------: | :------------------------------------------------------------------------------------------ |
+| Don't erase shapes | The eraser will not interact with shapes. |
+| Erase when touching edges | The shape will be erased when the eraser touches any edge. |
+| Erase when touching anywhere | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/af/docs/v2/tools/full_screen.md b/docs/src/content/docs/af/docs/v2/tools/full_screen.md
index ea23ff72ac89..e19718f8ff44 100644
--- a/docs/src/content/docs/af/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/af/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it will run the action if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/af/docs/v2/tools/grid.md b/docs/src/content/docs/af/docs/v2/tools/grid.md
index 49d3d19d81c9..4ad393c9f283 100644
--- a/docs/src/content/docs/af/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/af/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| Grootte | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| Color | Black | The color of the grid. |
+| Alfa | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| Zoem-afhanklik | false | Changes the grid stroke width based on the zoom level. |
+| Zoem-afhanklik | false | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| Posisie-afhanklik | false | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/af/docs/v2/tools/index.md b/docs/src/content/docs/af/docs/v2/tools/index.md
index ce36d0703090..9320a7316ded 100644
--- a/docs/src/content/docs/af/docs/v2/tools/index.md
+++ b/docs/src/content/docs/af/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ If you click on a selected tool you can configure it.
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/af/docs/v2/tools/pen.md b/docs/src/content/docs/af/docs/v2/tools/pen.md
index 9600bbd14a4e..eaa0153a0913 100644
--- a/docs/src/content/docs/af/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/af/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -54,12 +56,12 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
| Property | Default | Beskrywing |
| -------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| Color | Black | The color that will be drawn |
-| Lynwydte | 5 | The width of the stroke |
| Zoem-afhanklik | false | This will change the stroke width based on the zoom level. |
+| Combine paths | false | This will merge all strokes it touches into one path |
| Vormherkenning | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| Lynwydte | 5 | The width of the stroke |
| Verdunning | 0.4 | This effect of pressure on the stroke size |
| Gladmaking | 0.5 | This will smooth the edges of the stroke. |
-| Stroomlyn | 0.5 | How much the pen will follow the movement of the mouse. |
-| Color | Black | The color that will be drawn |
-| Vul | Transparent | The color that will be drawn inside the shape |
+| Stroomlyn | 0.3 | How much the pen will follow the movement of the mouse. |
+| Color | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| Vul | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/af/docs/v2/tools/polygon.md b/docs/src/content/docs/af/docs/v2/tools/polygon.md
deleted file mode 100644
index 35f3bc7e778a..000000000000
--- a/docs/src/content/docs/af/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Configuration
-
-| Property | Default | Beskrywing |
-| -------: | :---------: | :--------------------------------------------------------------- |
-| Lynwydte | 5 | The width of the stroke |
-| Color | Black | The color that will be drawn |
-| Vul | Transparent | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/af/docs/v2/tools/polygon.mdx b/docs/src/content/docs/af/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..1fc453652cb8
--- /dev/null
+++ b/docs/src/content/docs/af/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Configuration
+
+| Property | Default | Beskrywing |
+| -------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| Lynwydte | 5 | The width of the stroke |
+| Color | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| Vul | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/af/docs/v2/tools/redo.md b/docs/src/content/docs/af/docs/v2/tools/redo.md
index 8371adf3aba9..de44e24ca619 100644
--- a/docs/src/content/docs/af/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/af/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-You can't select it and it will run the action if you click on it.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/af/docs/v2/tools/select.md b/docs/src/content/docs/af/docs/v2/tools/select.md
index a005aab52547..f41f4eb4a835 100644
--- a/docs/src/content/docs/af/docs/v2/tools/select.md
+++ b/docs/src/content/docs/af/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Configuration
-| Property | Default | Beskrywing |
-| -------: | :-----: | :--------------------------------------------------------------- |
-| Mode | Reghoek | Mode of selection. Valid are Rectangle and Lasso |
+| Property | Default | Beskrywing |
+| -------: | :------------: | :--------------------------------------------------------------- |
+| Mode | Reghoek | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | Beskrywing |
+| ----------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Select when touching edges | The shape will be selected when the selected area intersects any edge. |
+| Select when touching anywhere | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/af/docs/v2/tools/shape.md b/docs/src/content/docs/af/docs/v2/tools/shape.md
index 2b49f00c38c3..23dda1847c6f 100644
--- a/docs/src/content/docs/af/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/af/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Configuration
-| Property | Default | Beskrywing |
-| --------------: | :-----: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| Color | Black | The stroke color that will be drawn |
-| Lynwydte | 5 | The width of the stroke |
-| Stroke style | Solied | The style of the stroke. Other styles can use dash and gap lengths. |
-| Dash length | 1 | The length of the dash when using a non-solid stroke style |
-| Gap length | 1 | The length of the gap when using a non-solid stroke style |
-| Zoem-afhanklik | false | This will change the stroke width based on the zoom level. |
-| Vorm | Reghoek | The shape that will be drawn |
-| Wydte | 0 | The fixed width of the area. If set to 0, the width will be calculated automatically. |
-| Hoogte | 0 | The fixed height of the area. If set to 0, the height will be calculated automatically. |
-| Aspekverhouding | 0 | The fixed aspect ratio of the area. If set to 0, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-| Middel | false | Draws the shape from the center instead of from the corner. |
-
-### Shape types
-
-#### Reghoek
-
-| Property | Default | Beskrywing |
-| ---------: | :---------: | :------------------------------------------------ |
-| Vul | Transparent | The color that will be drawn inside the rectangle |
-| Hoekradius | 0, 0, 0, 0 | The radius of the corners of the rectangle |
-
-#### Driehoek
-
-| Property | Default | Beskrywing |
-| -------: | :---------: | :----------------------------------------------- |
-| Vul | Transparent | The color that will be drawn inside the triangle |
-
-#### Sirkel
-
-| Property | Default | Beskrywing |
-| -------: | :---------: | :--------------------------------------------- |
-| Vul | Transparent | The color that will be drawn inside the circle |
-
-#### Lyn
-
-_No configuration available._
+| Property | Default | Beskrywing |
+| --------------: | :------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| Middel | false | Draws the shape from the center instead of from the corner. |
+| Wydte | 0 | The fixed width of the area. If set to 0, the width will be calculated automatically. |
+| Hoogte | 0 | The fixed height of the area. If set to 0, the height will be calculated automatically. |
+| Aspekverhouding | 0 | The fixed aspect ratio of the area. If set to 0, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
+| Lynwydte | 5 | The width of the stroke |
+| Stroke style | Solied | The style of the stroke. Other styles can use dash and gap lengths. |
+| Dash length | 1 | The length of the dash when using a non-solid stroke style |
+| Gap length | 1 | The length of the gap when using a non-solid stroke style |
+| Color | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| Vorm | Reghoek | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| Hoekradius | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| Vul | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| Zoem-afhanklik | false | This will change the stroke width based on the zoom level. |
\ No newline at end of file
diff --git a/docs/src/content/docs/af/docs/v2/tools/texture.md b/docs/src/content/docs/af/docs/v2/tools/texture.md
index decec0582825..62650592b9cf 100644
--- a/docs/src/content/docs/af/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/af/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: Tekstuur
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Configuration
-| Property | Default | Beskrywing |
-| --------------: | :-----: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Zoem-afhanklik | false | This will change the stroke width based on the zoom level. |
-| Tekstuur | Patroon | The pattern that should be added. |
-| Wydte | 0 | The fixed width of the area. If set to `0`, the width will be calculated automatically. |
-| Hoogte | 0 | The fixed height of the area. If set to `0`, the height will be calculated automatically. |
-| Aspekverhouding | 0 | The fixed aspect ratio of the area. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Property | Beskrywing |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| Tekstuur | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/af/docs/v2/tools/undo.md b/docs/src/content/docs/af/docs/v2/tools/undo.md
index a7d87d8d2c23..18fdbd192064 100644
--- a/docs/src/content/docs/af/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/af/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-You can't select it and it will run the action if you click on it.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/af/docs/v2/utilities.md b/docs/src/content/docs/af/docs/v2/utilities.md
index 3753277b6c2f..b8c2005af809 100644
--- a/docs/src/content/docs/af/docs/v2/utilities.md
+++ b/docs/src/content/docs/af/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## Kamera
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/ar/community/embed.md b/docs/src/content/docs/ar/community/embed.md
index b350c0436dd5..b9b2535c5c33 100644
--- a/docs/src/content/docs/ar/community/embed.md
+++ b/docs/src/content/docs/ar/community/embed.md
@@ -22,6 +22,7 @@ title: Embed
| حفظ | Boolean (true, false) | true | تمكين الحفظ. في حالة التعطيل، سيتم عرض زر الخروج فقط |
| editable | Boolean (true, false) | true | تمكين التحرير. في حالة التعطيل، سيكون المستند للقراءة فقط |
| اللغة | سلسلة (...، النظام، المستخدم) | user | () لغة الوثيقة. إذا كان النظام، سيتم اكتشاف اللغة من المتصفح. إذا كان المستخدم، سيتم تعيين اللغة إلى تفضيل المستخدمين |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/ar/community/faq.md b/docs/src/content/docs/ar/community/faq.md
index bae7dad304e3..443deb1efe0d 100644
--- a/docs/src/content/docs/ar/community/faq.md
+++ b/docs/src/content/docs/ar/community/faq.md
@@ -63,7 +63,7 @@ If these steps dont help, please dont hesitate to complain in Matrix (recommende
See [Stylus support](/docs/v2/stylus-support/) for current behavior, settings, and issue links.
أنا أستخدم المدخل الذي يوفره إطار التردد.
-هناك بالفعل مشاكل لتعقبها:
-لينوكس: [flutter/flutter#63209](https://github.com/flutter/flutter/issues/63209)
+There are already issues to track it:
+Linux: [flutter/flutter#63209](https://github.com/flutter/flutter/issues/63209)
وهذه المسائل قديمة إلى حد ما. يجب أن تعمل نسخة الويب بشكل جيد في الوقت الحالي.
diff --git a/docs/src/content/docs/ar/docs/v2/add.md b/docs/src/content/docs/ar/docs/v2/add.md
index 6c3d466e6669..4606c65bd28f 100644
--- a/docs/src/content/docs/ar/docs/v2/add.md
+++ b/docs/src/content/docs/ar/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## استيراد
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## أدوات
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/ar/docs/v2/background.mdx b/docs/src/content/docs/ar/docs/v2/background.mdx
index 37ea520aafa9..2ad877292fe2 100644
--- a/docs/src/content/docs/ar/docs/v2/background.mdx
+++ b/docs/src/content/docs/ar/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/ar/docs/v2/intro.mdx b/docs/src/content/docs/ar/docs/v2/intro.mdx
index d1837280bee8..2901d64989ed 100644
--- a/docs/src/content/docs/ar/docs/v2/intro.mdx
+++ b/docs/src/content/docs/ar/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/ar/docs/v2/layers.md b/docs/src/content/docs/ar/docs/v2/layers.md
index 0735d97df118..179788e5e3f0 100644
--- a/docs/src/content/docs/ar/docs/v2/layers.md
+++ b/docs/src/content/docs/ar/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: الطبقات
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-هنا يمكنك رؤية جميع الطبقات في المشروع. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+هنا يمكنك رؤية جميع الطبقات في المشروع. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| خيار | الوصف |
+| --------------: | --------------------------------------------------------------------------------- |
+| خطوة إلى الأمام | Renders the selection on top of the first element in front of it. |
+| خطوة إلى الخلف | Renders the selection under the first element behind it. |
+| إلى الأمام | Renders the selection in front of everything else. |
+| إلى الخلف | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/ar/docs/v2/pack.md b/docs/src/content/docs/ar/docs/v2/pack.md
index 26ec5561c11a..15cb355e38f6 100644
--- a/docs/src/content/docs/ar/docs/v2/pack.md
+++ b/docs/src/content/docs/ar/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## ألواح الألوان
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/ar/docs/v2/shortcuts.md b/docs/src/content/docs/ar/docs/v2/shortcuts.md
index b26d4bd32917..93d162ba7ea1 100644
--- a/docs/src/content/docs/ar/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/ar/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: الاختصارات
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+![شريط الأدوات] (toolbar_numbered.png)
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## الفأرة
+
+### Mouse configurations
+
+| الممتلكات | الافتراضي | الوصف |
+| -----------------------: | :-------: | :----------------------------------------------------------------------------------- |
+| إخفاء المؤشر أثناء الرسم | true | يخفي مؤشر الفأرة أثناء الرسم، لذلك فإنه لا يغطي جرة القلم الخاصة بك. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## اللمس
+
+### Touch configurations
+
+| الممتلكات | الافتراضي | الوصف |
+| --------------: | :-------: | :---------------------------------------------------------------------------------------------------------- |
+| إيماءات الإدخال | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| إيماءة التحريك | true | يتيح إيماءات اللمس المتعددة تحريك الكانفا بدلاً من التفاعل مع محتوى الملاحظة. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## لوحة المفاتيح
-هناك بعض الاختصارات التي يمكنك استخدامها في المحرر.
-بعضها مكتوب أسفل الأزرار.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### عام
@@ -14,44 +135,63 @@ title: الاختصارات
- `Ctrl` + `E`: تصدير الملف
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `Shift` + `E`: Export file as pdf
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `S`: فتح الإعدادات
- `Ctrl` + `Alt` + `P`: فتح الحزم
+- `Escape`: Escape
### مشروع
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: التراجع
- `Ctrl` + `Y`: إعادة
-- 'Ctrl' + 'Shift' + 'P': فتح مربع حوار إحداثيات الطريق
- `Ctrl` + `B`: فتح مربع حوار الخلفية
- `Ctrl` + `S`: حفظ
- `Alt` + `S`: تغيير المسار
-- `Ctrl` + (`1` - `0`): التبديل إلى أداة
- `Ctrl` + `+`: تكبير في
- `Ctrl` + `-`: تكبير خارجي
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): التبديل إلى أداة
## القلم
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `القضية`: تم تكوينها كقلم.
-- 'أولا\\` (الزر الأساسي، إذا كان مدعوماً): قم بتغيير الأداة اليدوية أثناء الضغط عليها.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| الممتلكات | Values | الوصف |
+| --------------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| الرسم باستخدام القلم فقط | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| إظهار زر الإدخال بالقلم فقط | true, false | يعرض تبديل سريع للقلم فقط في المحرر بعد اكتشاف الفراشة لقلم. |
+| تجاهل الضغط | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-![شريط الأدوات] (toolbar_numbered.png)
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/ar/docs/v2/storage.md b/docs/src/content/docs/ar/docs/v2/storage.md
index f414fa774d8d..fb10d6c30d7f 100644
--- a/docs/src/content/docs/ar/docs/v2/storage.md
+++ b/docs/src/content/docs/ar/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## دليل البيانات
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ On desktop you can find it in `~/Documents/Linwood/Butterfly`.
في هذا الدليل سوف تجد مجلد 'Documents' و 'Templates' و 'Packs'.
-## ويب
+## Web {#web}
بيانات التطبيق مخزنة في المتصفح الخاص بك. يتم تخزينها في مخزن محلي.
افتح أدوات المطور في المتصفح الخاص بك وسوف ترى البيانات.
@@ -39,7 +39,59 @@ The application data can be stored on a remote server. هذا مفيد إذا ك
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (يجب أن يبدو مثل هذا: `https://nextcloud.example.com/remote.php/dav/files/username/`، استبدال `username' و `nextcloud.example.com\\` بالقيم الصحيحة)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (يجب أن يبدو مثل هذا: `https://nextcloud.example.com/remote.php/dav/files/username/`، استبدال `username' و `nextcloud.example.com\\` بالقيم الصحيحة)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### المزامنة دون اتصال {#offline}
@@ -48,7 +100,6 @@ To get the WebDAV URL, please visit the documentation:
وهناك بعض القيود:
-- يمكنك فقط مزامنة المستوى الأعلى من الدليل. على سبيل المثال إذا كان لديك دليل 'a/b/test.bfly\`، لن يتم مزامنة هذا الملف.
- لا يمكنك حذف ملف أو مجلد عندما تكون غير متصل.
- لا يمكنك إضافة أو تحرير أو حذف قوالب عندما تكون غير متصل.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/ar/docs/v2/tools/area.md b/docs/src/content/docs/ar/docs/v2/tools/area.md
index 4ea7f1d06663..c4f706db3775 100644
--- a/docs/src/content/docs/ar/docs/v2/tools/area.md
+++ b/docs/src/content/docs/ar/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## الإعدادات
-| الممتلكات | الافتراضي | الوصف |
-| -----------: | :-------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| العرض | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| الارتفاع | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| نسبة الجوانب | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| الممتلكات | الافتراضي | الوصف |
+| ----------------: | :-------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| اسأل عن الاسم | خاطئ | Whether a name prompt will appear before creation. |
+| الإعدادات المسبقة | none | Various presets for width and height. |
+| العرض | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| الارتفاع | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| نسبة الجوانب | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
هناك ثلاثة عناصر مسبقة لنسبة الوضع:
- مربع (1:1)
-- صفحة عمودية (sqrt(2)) - هذه نسبة الجانب الافتراضية لصفحة A4 في الوضع العمودي.
-- الصورة الأفقية للصفحة (1/sqrt(2)) - هذه هي نسبة الجانب الافتراضية لصفحة A4 في الوضع الأفقي.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/ar/docs/v2/tools/collection.md b/docs/src/content/docs/ar/docs/v2/tools/collection.md
deleted file mode 100644
index 1be9389dcc70..000000000000
--- a/docs/src/content/docs/ar/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-لا يمكنك إختياره وستقوم بتشغيل الإجراء إذا قمت بالنقر عليه.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/ar/docs/v2/tools/collection.mdx b/docs/src/content/docs/ar/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/ar/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/ar/docs/v2/tools/eraser.md b/docs/src/content/docs/ar/docs/v2/tools/eraser.md
index 957fc2d2918e..b487091ef62a 100644
--- a/docs/src/content/docs/ar/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/ar/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## الإعدادات
-| الممتلكات | الافتراضي | الوصف |
-| ----------: | :-------: | :---------------------------------------------------------- |
-| سُمك الخط | 5 | عرض جرة القدم |
-| مضاعف القلم | 1 | إذا كان لديك سلة، هذا هو المضاعف الذي سيتم إضافته إلى الضغط |
+| الممتلكات | الافتراضي | الوصف |
+| ---------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| عرض الخط | 5 | عرض جرة القدم |
+| مسح الأشكال | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| مسح جميع العناصر | خاطئ | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | الوصف |
+| ------------------: | :------------------------------------------------------------------------------------------ |
+| لا تمح الأشكال | The eraser will not interact with shapes. |
+| محو عند لمس الحواف | The shape will be erased when the eraser touches any edge. |
+| محو عند لمس أي مكان | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/ar/docs/v2/tools/full_screen.md b/docs/src/content/docs/ar/docs/v2/tools/full_screen.md
index 182917679499..e19718f8ff44 100644
--- a/docs/src/content/docs/ar/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/ar/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-لا يمكنك إختياره وستقوم بتشغيل الإجراء إذا قمت بالنقر عليه.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/ar/docs/v2/tools/grid.md b/docs/src/content/docs/ar/docs/v2/tools/grid.md
index 7b729fc36aad..bfb434467b8a 100644
--- a/docs/src/content/docs/ar/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/ar/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| الحجم | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| اللون | أسود | The color of the grid. |
+| الشفافية | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| يتغير حسب التكبير | خاطئ | Changes the grid stroke width based on the zoom level. |
+| يتغير حسب التكبير | خاطئ | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| يعتمد على الموقع | خاطئ | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/ar/docs/v2/tools/index.md b/docs/src/content/docs/ar/docs/v2/tools/index.md
index dec761f184d1..a7e6355cecfd 100644
--- a/docs/src/content/docs/ar/docs/v2/tools/index.md
+++ b/docs/src/content/docs/ar/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ Create a new tool by clicking on the plus icon. Change the tool order by draggin
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/ar/docs/v2/tools/laser.md b/docs/src/content/docs/ar/docs/v2/tools/laser.md
index 398a45bdcca4..2b282cc94e5a 100644
--- a/docs/src/content/docs/ar/docs/v2/tools/laser.md
+++ b/docs/src/content/docs/ar/docs/v2/tools/laser.md
@@ -10,7 +10,7 @@ Add a new drawing to the paper to cancel the previous laser stroke.
| الممتلكات | الافتراضي | الوصف |
| ----------: | :-----------------: | :-------------------------------------------------------------------------------------------------------------------- |
| اللون | أحمر | The color that will be drawn. |
-| سُمك الخط | 5 | The width of the stroke. |
+| عرض الخط | 5 | The width of the stroke. |
| الترقيق | 0.4 | The effect of pressure on the stroke size. Set it to `0` for a constant stroke width. |
| المدة | 5 | The duration in seconds that the drawing will stay visible. |
| مدة الإخفاء | 0.5 | How long the laser stroke takes to disappear. |
diff --git a/docs/src/content/docs/ar/docs/v2/tools/pen.md b/docs/src/content/docs/ar/docs/v2/tools/pen.md
index d5098aa95594..957a3bcc24db 100644
--- a/docs/src/content/docs/ar/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/ar/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -54,12 +56,12 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
| الممتلكات | الافتراضي | الوصف |
| ----------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| اللون | أسود | اللون الذي سيتم رسمه |
-| سُمك الخط | 5 | عرض جرة القدم |
| يتغير حسب التكبير | خاطئ | هذا سيغير عرض السكتة الدماغية بناءً على مستوى التكبير. |
+| دمج المسارات | خاطئ | This will merge all strokes it touches into one path |
| اكتشاف الشكل | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| عرض الخط | 5 | عرض جرة القدم |
| الترقيق | 0.4 | This effect of pressure on the stroke size |
| التنعيم | 0.5 | This will smooth the edges of the stroke. |
-| التبسيط | 0.5 | How much the pen will follow the movement of the mouse. |
-| اللون | أسود | اللون الذي سيتم رسمه |
-| تعبئة | شفاف | The color that will be drawn inside the shape |
+| التبسيط | 0.3 | How much the pen will follow the movement of the mouse. |
+| اللون | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| تعبئة | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/ar/docs/v2/tools/polygon.md b/docs/src/content/docs/ar/docs/v2/tools/polygon.md
deleted file mode 100644
index 42ae5e8a42e7..000000000000
--- a/docs/src/content/docs/ar/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## الإعدادات
-
-| الممتلكات | الافتراضي | الوصف |
-| --------: | :-------: | :--------------------------------------------------------------- |
-| سُمك الخط | 5 | عرض جرة القدم |
-| اللون | أسود | اللون الذي سيتم رسمه |
-| تعبئة | شفاف | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/ar/docs/v2/tools/polygon.mdx b/docs/src/content/docs/ar/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..b66800d5473e
--- /dev/null
+++ b/docs/src/content/docs/ar/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## الإعدادات
+
+| الممتلكات | الافتراضي | الوصف |
+| --------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| عرض الخط | 5 | عرض جرة القدم |
+| اللون | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| تعبئة | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/ar/docs/v2/tools/redo.md b/docs/src/content/docs/ar/docs/v2/tools/redo.md
index 303c0a90f9b8..de44e24ca619 100644
--- a/docs/src/content/docs/ar/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/ar/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-لا يمكنك إختياره وستقوم بتشغيل الإجراء إذا قمت بالنقر عليه.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/ar/docs/v2/tools/select.md b/docs/src/content/docs/ar/docs/v2/tools/select.md
index 692245e964d3..10a82a15694f 100644
--- a/docs/src/content/docs/ar/docs/v2/tools/select.md
+++ b/docs/src/content/docs/ar/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## الإعدادات
-| الممتلكات | الافتراضي | الوصف |
-| --------: | :-------: | :--------------------------------------------------------------- |
-| Mode | مستطيل | Mode of selection. Valid are Rectangle and Lasso |
+| الممتلكات | الافتراضي | الوصف |
+| --------: | :------------: | :--------------------------------------------------------------- |
+| Mode | مستطيل | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | الوصف |
+| -----------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| حدد عند لمس الحواف | The shape will be selected when the selected area intersects any edge. |
+| حدد عند اللمس في أي مكان | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/ar/docs/v2/tools/shape.md b/docs/src/content/docs/ar/docs/v2/tools/shape.md
index 9d02029f4c14..690409033170 100644
--- a/docs/src/content/docs/ar/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/ar/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## الإعدادات
-| الممتلكات | الافتراضي | الوصف |
-| ----------------: | :-------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| اللون | أسود | The stroke color that will be drawn |
-| سُمك الخط | 5 | عرض جرة القدم |
-| نمط الخط | صلب | The style of the stroke. Other styles can use dash and gap lengths. |
-| طول الخط | 1 | The length of the dash when using a non-solid stroke style |
-| طول الفاصل | 1 | The length of the gap when using a non-solid stroke style |
-| يتغير حسب التكبير | خاطئ | هذا سيغير عرض السكتة الدماغية بناءً على مستوى التكبير. |
-| شكل | مستطيل | الشكل الذي سيتم رسمه |
-| العرض | 0 | 2 - الارتفاع الثابت للمنطقة. إذا تم تعيين إلى 0، سيتم حساب الارتفاع تلقائياً. |
-| الارتفاع | 0 | 2 - الارتفاع الثابت للمنطقة. العرض الثابت للمنطقة إذا تم تعيين إلى 0، سيتم حساب العرض تلقائياً. |
-| نسبة الجوانب | 0 | نسبة الجانب الثابت في المنطقة. إذا تم تعيين إلى 0، سيتم حساب نسبة العرض تلقائياً. An aspect ratio is defined as width / height. |
-| الوسط | خاطئ | Draws the shape from the center instead of from the corner. |
-
-### أنواع الشكل
-
-#### مستطيل
-
-| الممتلكات | الافتراضي | الوصف |
-| -------------: | :--------: | :--------------------------------- |
-| تعبئة | شفاف | اللون الذي سيتم رسمه داخل المستطيل |
-| انحناء الزاوية | 0, 0, 0, 0 | نصف قطر زوايا المستطيل |
-
-#### مثلث
-
-| الممتلكات | الافتراضي | الوصف |
-| --------: | :-------: | :----------------------------------------------- |
-| تعبئة | شفاف | The color that will be drawn inside the triangle |
-
-#### دائرة
-
-| الممتلكات | الافتراضي | الوصف |
-| --------: | :-------: | :--------------------------------------------- |
-| تعبئة | شفاف | The color that will be drawn inside the circle |
-
-#### سطر
-
-_لا يوجد اعدادات متاحة._
+| الممتلكات | الافتراضي | الوصف |
+| ----------------: | :------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| الوسط | خاطئ | Draws the shape from the center instead of from the corner. |
+| العرض | 0 | 2 - الارتفاع الثابت للمنطقة. إذا تم تعيين إلى 0، سيتم حساب الارتفاع تلقائياً. |
+| الارتفاع | 0 | 2 - الارتفاع الثابت للمنطقة. العرض الثابت للمنطقة إذا تم تعيين إلى 0، سيتم حساب العرض تلقائياً. |
+| نسبة الجوانب | 0 | نسبة الجانب الثابت في المنطقة. إذا تم تعيين إلى 0، سيتم حساب نسبة العرض تلقائياً. An aspect ratio is defined as width / height. |
+| عرض الخط | 5 | عرض جرة القدم |
+| نمط الخط | صلب | The style of the stroke. Other styles can use dash and gap lengths. |
+| طول الشَّرْطة | 1 | The length of the dash when using a non-solid stroke style |
+| طول الفجوة | 1 | The length of the gap when using a non-solid stroke style |
+| اللون | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| شكل | مستطيل | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| انحناء الزاوية | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| تعبئة | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| يتغير حسب التكبير | خاطئ | هذا سيغير عرض السكتة الدماغية بناءً على مستوى التكبير. |
\ No newline at end of file
diff --git a/docs/src/content/docs/ar/docs/v2/tools/texture.md b/docs/src/content/docs/ar/docs/v2/tools/texture.md
index 1509fdb053a9..5b3b39a0c301 100644
--- a/docs/src/content/docs/ar/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/ar/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: نسيج
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## الإعدادات
-| الممتلكات | الافتراضي | الوصف |
-| ----------------: | :-------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| يتغير حسب التكبير | خاطئ | هذا سيغير عرض السكتة الدماغية بناءً على مستوى التكبير. |
-| نسيج | النمط | The pattern that should be added. |
-| العرض | 0 | 2 - الارتفاع الثابت للمنطقة. If set to `0`, the width will be calculated automatically. |
-| الارتفاع | 0 | 2 - الارتفاع الثابت للمنطقة. If set to `0`, the height will be calculated automatically. |
-| نسبة الجوانب | 0 | نسبة الجانب الثابت في المنطقة. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| الممتلكات | الوصف |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| نسيج | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/ar/docs/v2/tools/undo.md b/docs/src/content/docs/ar/docs/v2/tools/undo.md
index 2bf9637e5949..18fdbd192064 100644
--- a/docs/src/content/docs/ar/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/ar/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-لا يمكنك إختياره وستقوم بتشغيل الإجراء إذا قمت بالنقر عليه.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/ar/docs/v2/utilities.md b/docs/src/content/docs/ar/docs/v2/utilities.md
index 18d0e830889c..4ad0d4d86f34 100644
--- a/docs/src/content/docs/ar/docs/v2/utilities.md
+++ b/docs/src/content/docs/ar/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## الكاميرا
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/ca/community/embed.md b/docs/src/content/docs/ca/community/embed.md
index 440b66cbe7f4..410dd248c295 100644
--- a/docs/src/content/docs/ca/community/embed.md
+++ b/docs/src/content/docs/ca/community/embed.md
@@ -22,6 +22,7 @@ Add the following code to your website:
| guardar | Boolean (true, false) | true | Enable save. If disabled, only an exit button will be shown |
| editable | Boolean (true, false) | true | Enable editing. If disabled, the document will be read-only |
| language | String (..., system, user) | user | Language of the document. If system, the language will be detected from the browser. If user, the language will set to the users preference |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/ca/docs/v2/add.md b/docs/src/content/docs/ca/docs/v2/add.md
index 42a7d902fc01..e3f376db8394 100644
--- a/docs/src/content/docs/ca/docs/v2/add.md
+++ b/docs/src/content/docs/ca/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## Importa
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## Eines
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/ca/docs/v2/background.mdx b/docs/src/content/docs/ca/docs/v2/background.mdx
index ee203322c0f3..8293b613d0dd 100644
--- a/docs/src/content/docs/ca/docs/v2/background.mdx
+++ b/docs/src/content/docs/ca/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/ca/docs/v2/intro.mdx b/docs/src/content/docs/ca/docs/v2/intro.mdx
index f42bb039a599..b8459399609e 100644
--- a/docs/src/content/docs/ca/docs/v2/intro.mdx
+++ b/docs/src/content/docs/ca/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/ca/docs/v2/layers.md b/docs/src/content/docs/ca/docs/v2/layers.md
index e5f234e71069..46557ea07185 100644
--- a/docs/src/content/docs/ca/docs/v2/layers.md
+++ b/docs/src/content/docs/ca/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: Capes
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Here you can see all the layers in the project. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Here you can see all the layers in the project. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Option | Descripció |
+| --------------: | --------------------------------------------------------------------------------- |
+| Porta endavant | Renders the selection on top of the first element in front of it. |
+| Envia enrere | Renders the selection under the first element behind it. |
+| Porta al davant | Renders the selection in front of everything else. |
+| Envia enrere | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/ca/docs/v2/pack.md b/docs/src/content/docs/ca/docs/v2/pack.md
index 0964fec4d8f5..6ce1b5544c72 100644
--- a/docs/src/content/docs/ca/docs/v2/pack.md
+++ b/docs/src/content/docs/ca/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## Paletes
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/ca/docs/v2/shortcuts.md b/docs/src/content/docs/ca/docs/v2/shortcuts.md
index 107ffd04c997..6784f9621f20 100644
--- a/docs/src/content/docs/ca/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/ca/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: Dreceres
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## Ratolí
+
+### Mouse configurations
+
+| Property | Default | Descripció |
+| ------------------------------: | :-----: | :---------------------------------------------------------------------------------------- |
+| Amaga el cursor mentre dibuixes | true | Hides the mouse pointer while you draw, so it does not cover your stroke. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## Tacte
+
+### Touch configurations
+
+| Property | Default | Descripció |
+| ---------------: | :-----: | :---------------------------------------------------------------------------------------------------------- |
+| Gestos d'entrada | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| Mou amb gest | true | Lets multi-touch gestures move the canvas instead of interacting with note content. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## Teclat
-There are a few shortcuts that you can use in the editor.
-Some of them are written below the buttons.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### General
@@ -14,44 +135,63 @@ Some of them are written below the buttons.
- `Ctrl` + `E`: Export file
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `E`: Export file as svg
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `P`: Open packs
- `Ctrl` + `Alt` + `S`: Open settings
+- `Escape`: Escape
### Project
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Undo
- `Ctrl` + `Y`: Redo
-- `Ctrl` + `Shift` + `P`: Open waypoints dialog
- `Ctrl` + `B`: Open background dialog
- `Ctrl` + `S`: Save
- `Alt` + `S`: Change path
-- `Ctrl` + (`1` - `0`): Switch to tool
- `Ctrl` + `+`: Zoom in
- `Ctrl` + `-`: Zoom out
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Switch to tool
## Bolígraf
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Pen`: configured as pen.
-- `First` (Primary button, if supported): Change to hand tool while pressed.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Property | Values | Descripció |
+| ---------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| Entrada només bolígraf | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Show pen only toggle | true, false | Shows a quick pen-only switch in the editor after Butterfly detects a pen. |
+| Ignore pressure | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/ca/docs/v2/storage.md b/docs/src/content/docs/ca/docs/v2/storage.md
index db6327f9ad0d..b06adc6af5dc 100644
--- a/docs/src/content/docs/ca/docs/v2/storage.md
+++ b/docs/src/content/docs/ca/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## Directori de dades
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ You can also change it in the settings under `Data`.
In this directory you will find a folder `Documents`, `Templates` and `Packs`.
-## Web
+## Web {#web}
The application data is stored in your browser. It is stored in a local storage.
Open the developer tools in your browser and you will see the data.
@@ -39,7 +39,59 @@ Add the URL of the remote server and the username and password. After that you c
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Offline sync {#offline}
@@ -48,7 +100,6 @@ Open the popup menu on a file or folder and click on `Sync`. This will download
There are a few limitations:
-- You can only sync the top level of a directory. For example if you have a directory `a/b/test.bfly`, this file will not be synced.
- You cannot delete a file or folder while you are offline.
- You cannot add, edit or delete templates while you are offline.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/ca/docs/v2/tools/area.md b/docs/src/content/docs/ca/docs/v2/tools/area.md
index 796a63c7bf45..6ee992b3971a 100644
--- a/docs/src/content/docs/ca/docs/v2/tools/area.md
+++ b/docs/src/content/docs/ca/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Configuration
-| Property | Default | Descripció |
-| ----------------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Amplada | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| Alçada | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| Relació d'aspecte | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| Property | Default | Descripció |
+| ----------------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Demana nom | false | Whether a name prompt will appear before creation. |
+| Predefinits | none | Various presets for width and height. |
+| Amplada | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| Alçada | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| Relació d'aspecte | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
There are three aspect ratio presets:
- Square (1:1)
-- Page portrait (sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
-- Page landscape (1/sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/ca/docs/v2/tools/collection.md b/docs/src/content/docs/ca/docs/v2/tools/collection.md
deleted file mode 100644
index 391210b26987..000000000000
--- a/docs/src/content/docs/ca/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-You can't select it and it will run the action if you click on it.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/ca/docs/v2/tools/collection.mdx b/docs/src/content/docs/ca/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/ca/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/ca/docs/v2/tools/eraser.md b/docs/src/content/docs/ca/docs/v2/tools/eraser.md
index 482b1e734138..8c70a18bbfc3 100644
--- a/docs/src/content/docs/ca/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/ca/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## Configuration
-| Property | Default | Descripció |
-| ----------------: | :-----: | :------------------------------------------------------------------------------- |
-| Amplada del traç | 5 | The width of the stroke |
-| Stroke multiplier | 1 | If you have a stylus, this is the multiplier which will be added to the pressure |
+| Property | Default | Descripció |
+| -----------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| Amplada del traç | 5 | The width of the stroke |
+| Erase shapes | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Erase all elements | false | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | Descripció |
+| ---------------------------: | :------------------------------------------------------------------------------------------ |
+| Don't erase shapes | The eraser will not interact with shapes. |
+| Erase when touching edges | The shape will be erased when the eraser touches any edge. |
+| Erase when touching anywhere | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/ca/docs/v2/tools/full_screen.md b/docs/src/content/docs/ca/docs/v2/tools/full_screen.md
index ea23ff72ac89..e19718f8ff44 100644
--- a/docs/src/content/docs/ca/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/ca/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it will run the action if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/ca/docs/v2/tools/grid.md b/docs/src/content/docs/ca/docs/v2/tools/grid.md
index 049bec38c225..af189099f24b 100644
--- a/docs/src/content/docs/ca/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/ca/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| Mida | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| Color | Black | The color of the grid. |
+| Alfa | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| Depenent del zoom | false | Changes the grid stroke width based on the zoom level. |
+| Depenent del zoom | false | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| Depend de la posició | false | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/ca/docs/v2/tools/index.md b/docs/src/content/docs/ca/docs/v2/tools/index.md
index 8dacfd64c815..07ce7ed694d4 100644
--- a/docs/src/content/docs/ca/docs/v2/tools/index.md
+++ b/docs/src/content/docs/ca/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ If you click on a selected tool you can configure it.
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/ca/docs/v2/tools/pen.md b/docs/src/content/docs/ca/docs/v2/tools/pen.md
index 9891a86d190a..241f5d144732 100644
--- a/docs/src/content/docs/ca/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/ca/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -54,12 +56,12 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
| Property | Default | Descripció |
| -----------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| Color | Black | The color that will be drawn |
-| Amplada del traç | 5 | The width of the stroke |
| Depenent del zoom | false | This will change the stroke width based on the zoom level. |
+| Combine paths | false | This will merge all strokes it touches into one path |
| Detecció de formes | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| Amplada del traç | 5 | The width of the stroke |
| Afinament | 0.4 | This effect of pressure on the stroke size |
| Suavització | 0.5 | This will smooth the edges of the stroke. |
-| Suavitzat | 0.5 | How much the pen will follow the movement of the mouse. |
-| Color | Black | The color that will be drawn |
-| Omplir | Transparent | The color that will be drawn inside the shape |
+| Suavitzat | 0.3 | How much the pen will follow the movement of the mouse. |
+| Color | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| Omplir | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/ca/docs/v2/tools/polygon.md b/docs/src/content/docs/ca/docs/v2/tools/polygon.md
deleted file mode 100644
index 284f124cdfbf..000000000000
--- a/docs/src/content/docs/ca/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Configuration
-
-| Property | Default | Descripció |
-| ---------------: | :---------: | :--------------------------------------------------------------- |
-| Amplada del traç | 5 | The width of the stroke |
-| Color | Black | The color that will be drawn |
-| Omplir | Transparent | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/ca/docs/v2/tools/polygon.mdx b/docs/src/content/docs/ca/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..5aaa514e52e9
--- /dev/null
+++ b/docs/src/content/docs/ca/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Configuration
+
+| Property | Default | Descripció |
+| ---------------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| Amplada del traç | 5 | The width of the stroke |
+| Color | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| Omplir | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/ca/docs/v2/tools/redo.md b/docs/src/content/docs/ca/docs/v2/tools/redo.md
index 8371adf3aba9..de44e24ca619 100644
--- a/docs/src/content/docs/ca/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/ca/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-You can't select it and it will run the action if you click on it.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/ca/docs/v2/tools/select.md b/docs/src/content/docs/ca/docs/v2/tools/select.md
index 65e48f8821cb..73a12dbe791b 100644
--- a/docs/src/content/docs/ca/docs/v2/tools/select.md
+++ b/docs/src/content/docs/ca/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Seleccioneu l'eina
---
-Amb aquesta eina pot seleccionar elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Configuration
-| Property | Default | Descripció |
-| -------: | :-------: | :-------------------------------------------------------------- |
-| Mode | Rectangle | Mode de selecció. Valid are Rectangle and Lasso |
+| Property | Default | Descripció |
+| -------: | :------------: | :-------------------------------------------------------------- |
+| Mode | Rectangle | Mode de selecció. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | Descripció |
+| ----------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Select when touching edges | The shape will be selected when the selected area intersects any edge. |
+| Select when touching anywhere | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/ca/docs/v2/tools/shape.md b/docs/src/content/docs/ca/docs/v2/tools/shape.md
index 0892a4be9ee1..abf3f0d382a4 100644
--- a/docs/src/content/docs/ca/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/ca/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Configuration
-| Property | Default | Descripció |
-| ----------------: | :-------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| Color | Black | The stroke color that will be drawn |
-| Amplada del traç | 5 | The width of the stroke |
-| Stroke style | Sòlid | The style of the stroke. Other styles can use dash and gap lengths. |
-| Dash length | 1 | The length of the dash when using a non-solid stroke style |
-| Gap length | 1 | The length of the gap when using a non-solid stroke style |
-| Depenent del zoom | false | This will change the stroke width based on the zoom level. |
-| Forma | Rectangle | The shape that will be drawn |
-| Amplada | 0 | The fixed width of the area. If set to 0, the width will be calculated automatically. |
-| Alçada | 0 | The fixed height of the area. If set to 0, the height will be calculated automatically. |
-| Relació d'aspecte | 0 | The fixed aspect ratio of the area. If set to 0, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-| Centre | false | Draws the shape from the center instead of from the corner. |
-
-### Shape types
-
-#### Rectangle
-
-| Property | Default | Descripció |
-| ----------------: | :---------: | :------------------------------------------------ |
-| Omplir | Transparent | The color that will be drawn inside the rectangle |
-| Radi de cantonada | 0, 0, 0, 0 | The radius of the corners of the rectangle |
-
-#### Triangle
-
-| Property | Default | Descripció |
-| -------: | :---------: | :----------------------------------------------- |
-| Omplir | Transparent | The color that will be drawn inside the triangle |
-
-#### Cercle
-
-| Property | Default | Descripció |
-| -------: | :---------: | :--------------------------------------------- |
-| Omplir | Transparent | The color that will be drawn inside the circle |
-
-#### Línia
-
-_No configuration available._
+| Property | Default | Descripció |
+| ----------------: | :------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| Centre | false | Draws the shape from the center instead of from the corner. |
+| Amplada | 0 | The fixed width of the area. If set to 0, the width will be calculated automatically. |
+| Alçada | 0 | The fixed height of the area. If set to 0, the height will be calculated automatically. |
+| Relació d'aspecte | 0 | The fixed aspect ratio of the area. If set to 0, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
+| Amplada del traç | 5 | The width of the stroke |
+| Stroke style | Sòlid | The style of the stroke. Other styles can use dash and gap lengths. |
+| Dash length | 1 | The length of the dash when using a non-solid stroke style |
+| Gap length | 1 | The length of the gap when using a non-solid stroke style |
+| Color | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| Forma | Rectangle | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| Radi de cantonada | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| Omplir | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| Depenent del zoom | false | This will change the stroke width based on the zoom level. |
\ No newline at end of file
diff --git a/docs/src/content/docs/ca/docs/v2/tools/texture.md b/docs/src/content/docs/ca/docs/v2/tools/texture.md
index 86a77e72d4aa..e76032849a70 100644
--- a/docs/src/content/docs/ca/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/ca/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: Textura
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Configuration
-| Property | Default | Descripció |
-| ----------------: | :-----: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Depenent del zoom | false | This will change the stroke width based on the zoom level. |
-| Textura | Patró | The pattern that should be added. |
-| Amplada | 0 | The fixed width of the area. If set to `0`, the width will be calculated automatically. |
-| Alçada | 0 | The fixed height of the area. If set to `0`, the height will be calculated automatically. |
-| Relació d'aspecte | 0 | The fixed aspect ratio of the area. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Property | Descripció |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| Textura | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/ca/docs/v2/tools/undo.md b/docs/src/content/docs/ca/docs/v2/tools/undo.md
index a7d87d8d2c23..18fdbd192064 100644
--- a/docs/src/content/docs/ca/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/ca/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-You can't select it and it will run the action if you click on it.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/ca/docs/v2/utilities.md b/docs/src/content/docs/ca/docs/v2/utilities.md
index d57f2f84ebe9..36941335944b 100644
--- a/docs/src/content/docs/ca/docs/v2/utilities.md
+++ b/docs/src/content/docs/ca/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## Càmera
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/cs/community/embed.md b/docs/src/content/docs/cs/community/embed.md
index bcd346bf3429..22f58e6c1336 100644
--- a/docs/src/content/docs/cs/community/embed.md
+++ b/docs/src/content/docs/cs/community/embed.md
@@ -22,6 +22,7 @@ Add the following code to your website:
| uložit | Boolean (true, false) | true | Enable save. If disabled, only an exit button will be shown |
| editable | Boolean (true, false) | true | Enable editing. If disabled, the document will be read-only |
| jazyk | Řetězec (..., systém, uživatel) | user | Language of the document. If system, the language will be detected from the browser. If user, the language will set to the users preference |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/cs/docs/v2/add.md b/docs/src/content/docs/cs/docs/v2/add.md
index 276bd85024ed..f0d0ec231e4a 100644
--- a/docs/src/content/docs/cs/docs/v2/add.md
+++ b/docs/src/content/docs/cs/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## Importovat
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## Nástroje a nářadí
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/cs/docs/v2/background.mdx b/docs/src/content/docs/cs/docs/v2/background.mdx
index c79909cd6ac0..fc23465f490b 100644
--- a/docs/src/content/docs/cs/docs/v2/background.mdx
+++ b/docs/src/content/docs/cs/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/cs/docs/v2/intro.mdx b/docs/src/content/docs/cs/docs/v2/intro.mdx
index 1f37bd4114db..4c6d231c716c 100644
--- a/docs/src/content/docs/cs/docs/v2/intro.mdx
+++ b/docs/src/content/docs/cs/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/cs/docs/v2/layers.md b/docs/src/content/docs/cs/docs/v2/layers.md
index a8442454f87e..ee4d99e1886d 100644
--- a/docs/src/content/docs/cs/docs/v2/layers.md
+++ b/docs/src/content/docs/cs/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: Vrstvy
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Zde můžete vidět všechny vrstvy v projektu. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Zde můžete vidět všechny vrstvy v projektu. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Možnost | Popis |
+| -----------------: | --------------------------------------------------------------------------------- |
+| Posunout vpřed | Renders the selection on top of the first element in front of it. |
+| Poslat zpět | Renders the selection under the first element behind it. |
+| Přivést do popředí | Renders the selection in front of everything else. |
+| Poslat zpět | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/cs/docs/v2/pack.md b/docs/src/content/docs/cs/docs/v2/pack.md
index a2b4094678d8..63934812bd8c 100644
--- a/docs/src/content/docs/cs/docs/v2/pack.md
+++ b/docs/src/content/docs/cs/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## Palety
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/cs/docs/v2/shortcuts.md b/docs/src/content/docs/cs/docs/v2/shortcuts.md
index 454be510a7c1..e9f9cb6e3895 100644
--- a/docs/src/content/docs/cs/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/cs/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: Zkratky
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## Myš
+
+### Mouse configurations
+
+| Majetek | Výchozí | Popis |
+| ------------------------: | :-----: | :------------------------------------------------------------------------- |
+| Skrýt kurzor při kreslení | true | Při kreslení skryje kurzor myši, takže nepokrývá tvůj tah. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## Dotkněte se
+
+### Touch configurations
+
+| Majetek | Výchozí | Popis |
+| ---------------: | :-----: | :---------------------------------------------------------------------------------------------------------- |
+| Gesta | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| Přesunout gestem | true | Umožňuje vícenásobné dotykové gesta přesunout plátno místo interakce s obsahem poznámek. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## Klávesnice
-Existuje několik zkratek, které můžete použít v editoru.
-Některé z nich jsou zapsány pod tlačítky.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### Obecná ustanovení
@@ -14,44 +135,63 @@ Některé z nich jsou zapsány pod tlačítky.
- `Ctrl` + `E`: Exportovat soubor
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `Shift` + `E`: Export file as pdf
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `S`: Otevřít nastavení
- `Ctrl` + `Alt` + `S`: Otevřít nastavení
+- `Escape`: Escape
### Projekt
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Vrátit zpět
- `Ctrl` + `Y`: Znovu
-- `Ctrl` + `Shift` + `P`: Otevřete dialog trasových bodů
- `Ctrl` + `B`: Otevřít dialog na pozadí
- `Ctrl` + `S`: Uložit
- `Alt` + `S`: Změna cesty
-- `Ctrl` + (`1` - `0`): Přepnout na nástroj
- `Ctrl` + `+`: Přiblížení
- `Ctrl` + `-`: Oddálit
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Přepnout na nástroj
## Pec
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Pen`: nakonfigurován jako pen.
-- `First` (Primární tlačítko, pokud je podporováno): Přepnout na ruční nástroj při stisknutí.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Majetek | Values | Popis |
+| ---------------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| Používat pouze tužku | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Zobrazit pouze přepínač pera | true, false | Zobrazí rychlý přepnutí v editoru poté, co Butterfly detekuje per. |
+| Ignorovat sílu stisku | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/cs/docs/v2/storage.md b/docs/src/content/docs/cs/docs/v2/storage.md
index 17c945915228..0c06e39d97c5 100644
--- a/docs/src/content/docs/cs/docs/v2/storage.md
+++ b/docs/src/content/docs/cs/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## Datový adresář
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ Můžete to také změnit v nastavení pod `Data`.
V tomto adresáři najdete složku `Documents`, `Templates` a `Packs`.
-## Webová
+## Web {#web}
Data aplikace jsou uložena ve vašem prohlížeči. Je uložen v místním úložišti.
Otevřete nástroje vývojáře ve vašem prohlížeči a uvidíte data.
@@ -39,7 +39,59 @@ Přidejte URL vzdáleného serveru a uživatelské jméno a heslo. Poté můžet
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (mělo by to vypadat takto: `https://nextcloud.example.com/remote.php/dav/files/username/`, nahraďte `username` a `nextcloud.example.com` správnými hodnotami)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Offline synchronizace {#offline}
@@ -48,7 +100,6 @@ Otevřete vyskakovací menu v souboru nebo složce a klikněte na "Synchronizova
Existuje několik omezení:
-- Můžete synchronizovat pouze nejvyšší úroveň složky. Například pokud máte adresář `a/b/test.bfly`, tento soubor nebude synchronizován.
- Nelze odstranit soubor nebo složku, pokud jste v režimu offline.
- Nemůžete přidávat, upravovat nebo odstraňovat šablony, když jste offline.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/cs/docs/v2/tools/area.md b/docs/src/content/docs/cs/docs/v2/tools/area.md
index 98b61f098010..201350fca8d4 100644
--- a/docs/src/content/docs/cs/docs/v2/tools/area.md
+++ b/docs/src/content/docs/cs/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Konfigurace
-| Majetek | Výchozí | L 343, 22.12.2009, s. 1). |
-| ----------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Šířka | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| Výška | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| Poměr stran | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| Majetek | Výchozí | L 343, 22.12.2009, s. 1). |
+| --------------: | :------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Požádat o název | nepravda | Whether a name prompt will appear before creation. |
+| Předvolby | none | Various presets for width and height. |
+| Šířka | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| Výška | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| Poměr stran | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
Jsou zde tři předvolby poměru:
- Čtverce (1:1)
-- Stránka na výšku (sqrt(2)) - Toto je výchozí poměr stran na stránce A4 v režimu na výšku.
-- Stránka na šířku (1/sqrt(2)) - Toto je výchozí poměr stran stránky A4 v režimu na šířku.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/cs/docs/v2/tools/collection.md b/docs/src/content/docs/cs/docs/v2/tools/collection.md
deleted file mode 100644
index ac29106b023a..000000000000
--- a/docs/src/content/docs/cs/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-Nemůžete ji vybrat a po kliknutí na ni spustí akci.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/cs/docs/v2/tools/collection.mdx b/docs/src/content/docs/cs/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/cs/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/cs/docs/v2/tools/eraser.md b/docs/src/content/docs/cs/docs/v2/tools/eraser.md
index b4510aa7cd05..827cece36ae9 100644
--- a/docs/src/content/docs/cs/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/cs/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## Konfigurace
-| Majetek | Výchozí | Popis |
-| -----------------: | :-----: | :------------------------------------------------------------- |
-| Šířka | 5 | Šířka zdvihu |
-| Multiplikátor tahů | 1 | Máte-li stylus, je to multiplikátor, který bude přidán k tlaku |
+| Majetek | Výchozí | Popis |
+| --------------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| Šířka | 5 | Šířka zdvihu |
+| Vymazat tvary | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Vymazat všechny prvky | nepravda | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | Popis |
+| --------------------------: | :------------------------------------------------------------------------------------------ |
+| Nesmazat tvary | The eraser will not interact with shapes. |
+| Vymazat při dotyku na hrany | The shape will be erased when the eraser touches any edge. |
+| Vymazat při dotyku kdekoliv | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/cs/docs/v2/tools/full_screen.md b/docs/src/content/docs/cs/docs/v2/tools/full_screen.md
index b77e53b47b25..e19718f8ff44 100644
--- a/docs/src/content/docs/cs/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/cs/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-Nemůžete ji vybrat a po kliknutí na ni spustí akci.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/cs/docs/v2/tools/grid.md b/docs/src/content/docs/cs/docs/v2/tools/grid.md
index 5b9a54a5c57d..2d13cf37e4b5 100644
--- a/docs/src/content/docs/cs/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/cs/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| Velikost | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| Barva | Černý | The color of the grid. |
+| Alfa | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| Přiblížení závislé | nepravda | Changes the grid stroke width based on the zoom level. |
+| Přiblížení závislé | nepravda | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| Závislost na poloze | nepravda | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/cs/docs/v2/tools/index.md b/docs/src/content/docs/cs/docs/v2/tools/index.md
index 57a95cfb67eb..2b9ba6cfdb2d 100644
--- a/docs/src/content/docs/cs/docs/v2/tools/index.md
+++ b/docs/src/content/docs/cs/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ Pokud klepnete na vybraný nástroj, můžete jej nakonfigurovat.
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/cs/docs/v2/tools/pen.md b/docs/src/content/docs/cs/docs/v2/tools/pen.md
index 23102a62802c..3b8b81ccfdf2 100644
--- a/docs/src/content/docs/cs/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/cs/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -54,12 +56,12 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
| Majetek | Výchozí | Popis |
| -----------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| Barva | Černý | Barva, která bude kreslena |
-| Šířka | 5 | Šířka zdvihu |
| Přiblížení závislé | nepravda | To změní šířku tahu v závislosti na úrovni přiblížení. |
+| Kombinovat cesty | nepravda | This will merge all strokes it touches into one path |
| Detekce tvarů | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| Šířka | 5 | Šířka zdvihu |
| Ztenčování | 0.4 | This effect of pressure on the stroke size |
| Vyhlazování | 0.5 | This will smooth the edges of the stroke. |
-| Streamline | 0.5 | How much the pen will follow the movement of the mouse. |
-| Barva | Černý | Barva, která bude kreslena |
-| Vyplnit | Průhledný | The color that will be drawn inside the shape |
+| Streamline | 0.3 | How much the pen will follow the movement of the mouse. |
+| Barva | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| Vyplnit | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/cs/docs/v2/tools/polygon.md b/docs/src/content/docs/cs/docs/v2/tools/polygon.md
deleted file mode 100644
index bc7e73e3f854..000000000000
--- a/docs/src/content/docs/cs/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Konfigurace
-
-| Majetek | Výchozí | Popis |
-| ------: | :-------: | :--------------------------------------------------------------- |
-| Šířka | 5 | Šířka zdvihu |
-| Barva | Černý | Barva, která bude kreslena |
-| Vyplnit | Průhledný | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/cs/docs/v2/tools/polygon.mdx b/docs/src/content/docs/cs/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..3c84e8c3a60d
--- /dev/null
+++ b/docs/src/content/docs/cs/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Konfigurace
+
+| Majetek | Výchozí | Popis |
+| ------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| Šířka | 5 | Šířka zdvihu |
+| Barva | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| Vyplnit | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/cs/docs/v2/tools/redo.md b/docs/src/content/docs/cs/docs/v2/tools/redo.md
index 3456e0b30661..de44e24ca619 100644
--- a/docs/src/content/docs/cs/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/cs/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-Nemůžete ji vybrat a po kliknutí na ni spustí akci.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/cs/docs/v2/tools/select.md b/docs/src/content/docs/cs/docs/v2/tools/select.md
index 9674b9a7cb77..b670fd9045f3 100644
--- a/docs/src/content/docs/cs/docs/v2/tools/select.md
+++ b/docs/src/content/docs/cs/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Konfigurace
-| Majetek | Výchozí | L 343, 22.12.2009, s. 1). |
-| ------: | :------: | :---------------------------------------------------------------------------------------- |
-| Mode | Obdélník | Mode of selection. Valid are Rectangle and Lasso |
+| Majetek | Výchozí | L 343, 22.12.2009, s. 1). |
+| -------: | :------------: | :---------------------------------------------------------------------------------------- |
+| Mode | Obdélník | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | Popis |
+| ---------------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Vybrat při dotyku hrany | The shape will be selected when the selected area intersects any edge. |
+| Vyberte, když se dotknete kdekoliv | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/cs/docs/v2/tools/shape.md b/docs/src/content/docs/cs/docs/v2/tools/shape.md
index ace41299ace3..3a36a33b94cc 100644
--- a/docs/src/content/docs/cs/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/cs/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Konfigurace
-| Majetek | Výchozí | Popis |
-| -----------------: | :------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Barva | Černý | The stroke color that will be drawn |
-| Šířka | 5 | Šířka zdvihu |
-| Styl tahů | Pevný | The style of the stroke. Other styles can use dash and gap lengths. |
-| Délka pomlčky | 1 | The length of the dash when using a non-solid stroke style |
-| Délka mezery | 1 | The length of the gap when using a non-solid stroke style |
-| Přiblížení závislé | nepravda | To změní šířku tahu v závislosti na úrovni přiblížení. |
-| Tvar | Obdélník | Tvar, který bude nakreslen |
-| Šířka | 0 | Pevná šířka plochy. Je-li nastaveno na 0, šířka se vypočítá automaticky. |
-| Výška | 0 | Pevná výška plochy. Je-li nastaveno na 0, bude výška vypočtena automaticky. |
-| Poměr stran | 0 | Pevný poměr stran plochy. Je-li nastaveno na 0, poměr stran se vypočítá automaticky. An aspect ratio is defined as width / height. |
-| Uprostřed | nepravda | Draws the shape from the center instead of from the corner. |
-
-### Typy tvarů
-
-#### Obdélník
-
-| Majetek | Výchozí | Popis |
-| ------------: | :--------: | :-------------------------------------------- |
-| Vyplnit | Průhledný | Barva, která bude vykreslena uvnitř obdélníku |
-| Zaoblení rohů | 0, 0, 0, 0 | Poloměr rohů obdélníku |
-
-#### Trojúhelník
-
-| Majetek | Výchozí | Popis |
-| ------: | :-------: | :----------------------------------------------- |
-| Vyplnit | Průhledný | The color that will be drawn inside the triangle |
-
-#### Kruh
-
-| Majetek | Výchozí | Popis |
-| ------: | :-------: | :--------------------------------------------- |
-| Vyplnit | Průhledný | The color that will be drawn inside the circle |
-
-#### Řádek
-
-_Žádná konfigurace není k dispozici._
+| Majetek | Výchozí | Popis |
+| -----------------: | :------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Uprostřed | nepravda | Draws the shape from the center instead of from the corner. |
+| Šířka | 0 | Pevná šířka plochy. Je-li nastaveno na 0, šířka se vypočítá automaticky. |
+| Výška | 0 | Pevná výška plochy. Je-li nastaveno na 0, bude výška vypočtena automaticky. |
+| Poměr stran | 0 | Pevný poměr stran plochy. Je-li nastaveno na 0, poměr stran se vypočítá automaticky. An aspect ratio is defined as width / height. |
+| Šířka | 5 | Šířka zdvihu |
+| Styl tahů | Pevný | The style of the stroke. Other styles can use dash and gap lengths. |
+| Délka pomlčky | 1 | The length of the dash when using a non-solid stroke style |
+| Délka mezery | 1 | The length of the gap when using a non-solid stroke style |
+| Barva | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| Tvar | Obdélník | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| Zaoblení rohů | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| Vyplnit | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| Přiblížení závislé | nepravda | To změní šířku tahu v závislosti na úrovni přiblížení. |
\ No newline at end of file
diff --git a/docs/src/content/docs/cs/docs/v2/tools/texture.md b/docs/src/content/docs/cs/docs/v2/tools/texture.md
index fdf16de4351f..66b8ee1c71be 100644
--- a/docs/src/content/docs/cs/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/cs/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: Textilie
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Konfigurace
-| Majetek | Výchozí | L 343, 22.12.2009, s. 1). |
-| -----------------: | :------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Přiblížení závislé | nepravda | To změní šířku tahu v závislosti na úrovni přiblížení. |
-| Textilie | Vzor | The pattern that should be added. |
-| Šířka | 0 | Pevná šířka plochy. If set to `0`, the width will be calculated automatically. |
-| Výška | 0 | Pevná výška plochy. If set to `0`, the height will be calculated automatically. |
-| Poměr stran | 0 | Pevný poměr stran plochy. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Majetek | L 343, 22.12.2009, s. 1). |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| Textilie | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/cs/docs/v2/tools/undo.md b/docs/src/content/docs/cs/docs/v2/tools/undo.md
index aa48b9f0ef36..18fdbd192064 100644
--- a/docs/src/content/docs/cs/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/cs/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-Nemůžete ji vybrat a po kliknutí na ni spustí akci.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/cs/docs/v2/utilities.md b/docs/src/content/docs/cs/docs/v2/utilities.md
index c9a1a6849d66..c9a4ae777755 100644
--- a/docs/src/content/docs/cs/docs/v2/utilities.md
+++ b/docs/src/content/docs/cs/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## Fotoaparát
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/da/community/embed.md b/docs/src/content/docs/da/community/embed.md
index c920f143d6c4..3b1cfad3b506 100644
--- a/docs/src/content/docs/da/community/embed.md
+++ b/docs/src/content/docs/da/community/embed.md
@@ -22,6 +22,7 @@ Add the following code to your website:
| gem | Boolean (true, false) | true | Enable save. If disabled, only an exit button will be shown |
| editable | Boolean (true, false) | true | Enable editing. If disabled, the document will be read-only |
| sprog | Streng (..., system, bruger) | user | Language of the document. If system, the language will be detected from the browser. If user, the language will set to the users preference |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/da/docs/v2/add.md b/docs/src/content/docs/da/docs/v2/add.md
index 68241f70f880..354502623943 100644
--- a/docs/src/content/docs/da/docs/v2/add.md
+++ b/docs/src/content/docs/da/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## Importér
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## Værktøjer
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/da/docs/v2/background.mdx b/docs/src/content/docs/da/docs/v2/background.mdx
index 9a6a32bd3310..ce5b310b370c 100644
--- a/docs/src/content/docs/da/docs/v2/background.mdx
+++ b/docs/src/content/docs/da/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/da/docs/v2/intro.mdx b/docs/src/content/docs/da/docs/v2/intro.mdx
index e8dbf6c88a95..dc314600b800 100644
--- a/docs/src/content/docs/da/docs/v2/intro.mdx
+++ b/docs/src/content/docs/da/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/da/docs/v2/layers.md b/docs/src/content/docs/da/docs/v2/layers.md
index 2fcc440f7fac..9f071ab1bd52 100644
--- a/docs/src/content/docs/da/docs/v2/layers.md
+++ b/docs/src/content/docs/da/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: Lag
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Her kan du se alle lag i projektet. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Her kan du se alle lag i projektet. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Valgmulighed | Varebeskrivelse |
+| -----------------: | --------------------------------------------------------------------------------- |
+| Bring fremad | Renders the selection on top of the first element in front of it. |
+| Send tilbage | Renders the selection under the first element behind it. |
+| Bring til forsiden | Renders the selection in front of everything else. |
+| Send til tilbage | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/da/docs/v2/pack.md b/docs/src/content/docs/da/docs/v2/pack.md
index c37f80213c35..6e5c7e9f7a4b 100644
--- a/docs/src/content/docs/da/docs/v2/pack.md
+++ b/docs/src/content/docs/da/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## Palettes
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/da/docs/v2/shortcuts.md b/docs/src/content/docs/da/docs/v2/shortcuts.md
index 96305e13d8cb..debe398b889c 100644
--- a/docs/src/content/docs/da/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/da/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: Genveje
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## Mus
+
+### Mouse configurations
+
+| Egenskab | Standard | Varebeskrivelse |
+| -------------------------: | :------: | :-------------------------------------------------------------------------------- |
+| Skjul markør under tegning | true | Skjuler musemarkøren mens du tegner, så det ikke dækker dit slag. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## Berøring
+
+### Touch configurations
+
+| Egenskab | Standard | Varebeskrivelse |
+| ----------------: | :------: | :---------------------------------------------------------------------------------------------------------- |
+| Input gestures | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| Flyt på bevægelse | true | Lader multi-touch fagter flytte lærred i stedet for at interagere med nodeindhold. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## Keyboard
-Der er et par genveje, som du kan bruge i editoren.
-Nogle af dem er skrevet under knapperne.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### Generelt
@@ -14,44 +135,63 @@ Nogle af dem er skrevet under knapperne.
- `Ctrl` + `E`: Eksporter fil
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `Shift` + `E`: Export file as pdf
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `S`: Åbn indstillinger
- `Ctrl` + `Alt` + `S`: Åbn indstillinger
+- `Escape`: Escape
### Projekt
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Fortryd
- `Ctrl` + `Y`: Fortryd
-- `Ctrl` + `Shift` + `P`: Åbn waypoints dialog
- `Ctrl` + `B`: Åbn baggrundsdialog
- `Ctrl` + `S`: Gem
- `Alt` + `S`: Skift sti
-- `Ctrl` + (`1` - `0`): Skift til værktøj
- `Ctrl` + `+`: Zoom ind
- `Ctrl` + `-`: Zoom ud
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Skift til værktøj
## Pen
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Pen`: konfigureret som pen.
-- `Først` (Primær knap, hvis understøttet): Skift til håndværktøj under tryk.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Egenskab | Values | Varebeskrivelse |
+| --------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| Kun pen input | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Vis kun pen skiftende | true, false | Viser en hurtig kontakt til kun en pen i editoren efter Butterfly registrerer en pen. |
+| Ignorér tryk | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/da/docs/v2/storage.md b/docs/src/content/docs/da/docs/v2/storage.md
index fe2e387a75a0..5485e5bfa3b8 100644
--- a/docs/src/content/docs/da/docs/v2/storage.md
+++ b/docs/src/content/docs/da/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## Data mappe
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ Du kan også ændre det i indstillingerne under `Data`.
I denne mappe finder du en mappe `Documents`, `Templates` og `Packs`.
-## Web
+## Web {#web}
Applikationsdataene er gemt i din browser. Det opbevares på et lokalt lager.
Åbn udviklerværktøjerne i din browser, og du vil se data.
@@ -39,7 +39,59 @@ Tilføj webadressen på den eksterne server og brugernavn og adgangskode. Dereft
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (det skal se sådan ud: `https://nextcloud.example.com/remote.php/dav/files/username/`, erstat `username` og `nextcloud.example.com` med de korrekte værdier)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Offline synkronisering {#offline}
@@ -48,7 +100,6 @@ Denne funktion giver dig mulighed for at redigere dine filer på eksterne server
Der er et par begrænsninger:
-- Du kan kun synkronisere det øverste niveau i en mappe. For eksempel hvis du har en mappe `a/b/test.bfly`, vil denne fil ikke blive synkroniseret.
- Du kan ikke slette en fil eller mappe, mens du er offline.
- Du kan ikke tilføje, redigere eller slette skabeloner, mens du er offline.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/da/docs/v2/tools/area.md b/docs/src/content/docs/da/docs/v2/tools/area.md
index eb0a76820554..fec0da918cbf 100644
--- a/docs/src/content/docs/da/docs/v2/tools/area.md
+++ b/docs/src/content/docs/da/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Konfiguration
-| Egenskab | Standard | Varebeskrivelse |
-| -------------: | :------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Width | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| Højde | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| Aspekt forhold | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| Egenskab | Standard | Varebeskrivelse |
+| -----------------: | :------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Bed om navn | falsk | Whether a name prompt will appear before creation. |
+| Forudindstillinger | none | Various presets for width and height. |
+| Width | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| Højde | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| Aspekt forhold | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
Der er tre aspektforhold forudindstillinger:
- Kvadrat (1:1)
-- Side portræt (sqrt(2)) - Dette er standardformatforholdet for en A4 side i portrættilstand.
-- Side liggende (1/sqrt(2)) - Dette er standardformatforholdet for en A4 side i liggende tilstand.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/da/docs/v2/tools/collection.md b/docs/src/content/docs/da/docs/v2/tools/collection.md
deleted file mode 100644
index a267704c69aa..000000000000
--- a/docs/src/content/docs/da/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-Du kan ikke vælge det, og det vil køre handlingen, hvis du klikker på det.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/da/docs/v2/tools/collection.mdx b/docs/src/content/docs/da/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/da/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/da/docs/v2/tools/eraser.md b/docs/src/content/docs/da/docs/v2/tools/eraser.md
index 6ff7fd71ef51..52e124999cca 100644
--- a/docs/src/content/docs/da/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/da/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## Konfiguration
-| Egenskab | Standard | Varebeskrivelse |
-| -----------------: | :------: | :---------------------------------------------------------------------------------- |
-| Slaglængde | 5 | Bredden af stregen |
-| Slag multiplikator | 1 | Hvis du har en stylus, dette er multiplikatoren, som vil blive tilføjet til trykket |
+| Egenskab | Standard | Varebeskrivelse |
+| ------------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| Slaglængde | 5 | Bredden af stregen |
+| Slet figurer | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Slet alle elementer | falsk | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | Varebeskrivelse |
+| --------------------------: | :------------------------------------------------------------------------------------------ |
+| Ikke slette figurer | The eraser will not interact with shapes. |
+| Slet ved berøring af kanter | The shape will be erased when the eraser touches any edge. |
+| Slet ved berøring overalt | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/da/docs/v2/tools/full_screen.md b/docs/src/content/docs/da/docs/v2/tools/full_screen.md
index 553e647633b1..e19718f8ff44 100644
--- a/docs/src/content/docs/da/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/da/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-Du kan ikke vælge det, og det vil køre handlingen, hvis du klikker på det.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/da/docs/v2/tools/grid.md b/docs/src/content/docs/da/docs/v2/tools/grid.md
index d366ca14a5ac..7cf4acbfe0ca 100644
--- a/docs/src/content/docs/da/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/da/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| Størrelse | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| Farve | Sort | The color of the grid. |
+| Alfa | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| Zoom afhængig | falsk | Changes the grid stroke width based on the zoom level. |
+| Zoom afhængig | falsk | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| Placering afhængig | falsk | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/da/docs/v2/tools/index.md b/docs/src/content/docs/da/docs/v2/tools/index.md
index 96170705c121..52c83505309e 100644
--- a/docs/src/content/docs/da/docs/v2/tools/index.md
+++ b/docs/src/content/docs/da/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ Hvis du klikker på et valgt værktøj, kan du konfigurere det.
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/da/docs/v2/tools/pen.md b/docs/src/content/docs/da/docs/v2/tools/pen.md
index e5af3d4986de..3bd2630be2a6 100644
--- a/docs/src/content/docs/da/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/da/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -54,12 +56,12 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
| Egenskab | Standard | Varebeskrivelse |
| ----------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| Farve | Sort | Farven der vil blive tegnet |
-| Slaglængde | 5 | Bredden af stregen |
| Zoom afhængig | falsk | Dette vil ændre slagbredden baseret på zoomniveauet. |
+| Kombiner stier | falsk | This will merge all strokes it touches into one path |
| Form- Detektering | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| Slaglængde | 5 | Bredden af stregen |
| Udtynding | 0.4 | This effect of pressure on the stroke size |
| Udglatning | 0.5 | This will smooth the edges of the stroke. |
-| Strømlinet | 0.5 | How much the pen will follow the movement of the mouse. |
-| Farve | Sort | Farven der vil blive tegnet |
-| Udfyld | Gennemsigtig | The color that will be drawn inside the shape |
+| Strømlinet | 0.3 | How much the pen will follow the movement of the mouse. |
+| Farve | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| Udfyld | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/da/docs/v2/tools/polygon.md b/docs/src/content/docs/da/docs/v2/tools/polygon.md
deleted file mode 100644
index 9872f1eab646..000000000000
--- a/docs/src/content/docs/da/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Konfiguration
-
-| Egenskab | Standard | Varebeskrivelse |
-| ---------: | :----------: | :--------------------------------------------------------------- |
-| Slaglængde | 5 | Bredden af stregen |
-| Farve | Sort | Farven der vil blive tegnet |
-| Udfyld | Gennemsigtig | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/da/docs/v2/tools/polygon.mdx b/docs/src/content/docs/da/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..e224dd7bc6af
--- /dev/null
+++ b/docs/src/content/docs/da/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Konfiguration
+
+| Egenskab | Standard | Varebeskrivelse |
+| ---------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| Slaglængde | 5 | Bredden af stregen |
+| Farve | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| Udfyld | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/da/docs/v2/tools/redo.md b/docs/src/content/docs/da/docs/v2/tools/redo.md
index f3e591442dad..de44e24ca619 100644
--- a/docs/src/content/docs/da/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/da/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-Du kan ikke vælge det, og det vil køre handlingen, hvis du klikker på det.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/da/docs/v2/tools/select.md b/docs/src/content/docs/da/docs/v2/tools/select.md
index 88d877285805..cec3c7a5dbfc 100644
--- a/docs/src/content/docs/da/docs/v2/tools/select.md
+++ b/docs/src/content/docs/da/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Konfiguration
-| Egenskab | Standard | Varebeskrivelse |
-| -------: | :-------: | :--------------------------------------------------------------- |
-| Mode | Rektangel | Mode of selection. Valid are Rectangle and Lasso |
+| Egenskab | Standard | Varebeskrivelse |
+| -------: | :------------: | :--------------------------------------------------------------- |
+| Mode | Rektangel | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | Varebeskrivelse |
+| -------------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Vælg ved berøring af kanter | The shape will be selected when the selected area intersects any edge. |
+| Vælg ved berøring hvor som helst | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/da/docs/v2/tools/shape.md b/docs/src/content/docs/da/docs/v2/tools/shape.md
index 2396b8de0000..834b8e6a51c4 100644
--- a/docs/src/content/docs/da/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/da/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Konfiguration
-| Egenskab | Standard | Varebeskrivelse |
-| -------------: | :-------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Farve | Sort | The stroke color that will be drawn |
-| Slaglængde | 5 | Bredden af stregen |
-| Slagstil | Solid | The style of the stroke. Other styles can use dash and gap lengths. |
-| Dash længde | 1 | The length of the dash when using a non-solid stroke style |
-| Afstand længde | 1 | The length of the gap when using a non-solid stroke style |
-| Zoom afhængig | falsk | Dette vil ændre slagbredden baseret på zoomniveauet. |
-| Form | Rektangel | Den form, der vil blive trukket |
-| Width | 0 | Den faste bredde af området. Hvis sat til 0, beregnes bredden automatisk. |
-| Højde | 0 | Den faste højde af området. Hvis sat til 0, beregnes højden automatisk. |
-| Aspekt forhold | 0 | Det faste aspektforhold for området. Hvis sat til 0, beregnes aspektforholdet automatisk. An aspect ratio is defined as width / height. |
-| Centreret | falsk | Draws the shape from the center instead of from the corner. |
-
-### Form typer
-
-#### Rektangel
-
-| Egenskab | Standard | Varebeskrivelse |
-| ------------: | :----------: | :-------------------------------------------- |
-| Udfyld | Gennemsigtig | Farven som vil blive tegnet inde i rektanglet |
-| Corner radius | 0, 0, 0, 0 | Radius af hjørnerne af rektanglet |
-
-#### Trekant
-
-| Egenskab | Standard | Varebeskrivelse |
-| -------: | :----------: | :----------------------------------------------- |
-| Udfyld | Gennemsigtig | The color that will be drawn inside the triangle |
-
-#### Cirkel
-
-| Egenskab | Standard | Varebeskrivelse |
-| -------: | :----------: | :--------------------------------------------- |
-| Udfyld | Gennemsigtig | The color that will be drawn inside the circle |
-
-#### Linje
-
-_Ingen tilgængelig konfiguration._
+| Egenskab | Standard | Varebeskrivelse |
+| -------------: | :------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Centreret | falsk | Draws the shape from the center instead of from the corner. |
+| Width | 0 | Den faste bredde af området. Hvis sat til 0, beregnes bredden automatisk. |
+| Højde | 0 | Den faste højde af området. Hvis sat til 0, beregnes højden automatisk. |
+| Aspekt forhold | 0 | Det faste aspektforhold for området. Hvis sat til 0, beregnes aspektforholdet automatisk. An aspect ratio is defined as width / height. |
+| Slaglængde | 5 | Bredden af stregen |
+| Slagstil | Solid | The style of the stroke. Other styles can use dash and gap lengths. |
+| Dash længde | 1 | The length of the dash when using a non-solid stroke style |
+| Afstand længde | 1 | The length of the gap when using a non-solid stroke style |
+| Farve | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| Form | Rektangel | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| Corner radius | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| Udfyld | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| Zoom afhængig | falsk | Dette vil ændre slagbredden baseret på zoomniveauet. |
\ No newline at end of file
diff --git a/docs/src/content/docs/da/docs/v2/tools/texture.md b/docs/src/content/docs/da/docs/v2/tools/texture.md
index be298dd91ba7..c11a59d5523f 100644
--- a/docs/src/content/docs/da/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/da/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: Tekstur
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Konfiguration
-| Egenskab | Standard | Varebeskrivelse |
-| -------------: | :------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Zoom afhængig | falsk | Dette vil ændre slagbredden baseret på zoomniveauet. |
-| Tekstur | Mønster | The pattern that should be added. |
-| Width | 0 | Den faste bredde af området. If set to `0`, the width will be calculated automatically. |
-| Højde | 0 | Den faste højde af området. If set to `0`, the height will be calculated automatically. |
-| Aspekt forhold | 0 | Det faste aspektforhold for området. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Egenskab | Varebeskrivelse |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| Tekstur | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/da/docs/v2/tools/undo.md b/docs/src/content/docs/da/docs/v2/tools/undo.md
index 5bbaf1103f7a..18fdbd192064 100644
--- a/docs/src/content/docs/da/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/da/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-Du kan ikke vælge det, og det vil køre handlingen, hvis du klikker på det.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/da/docs/v2/utilities.md b/docs/src/content/docs/da/docs/v2/utilities.md
index 2dc2695c11aa..a3c38f0b8ef8 100644
--- a/docs/src/content/docs/da/docs/v2/utilities.md
+++ b/docs/src/content/docs/da/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## Kamera
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/de/community/embed.md b/docs/src/content/docs/de/community/embed.md
index 4498e67efcca..ba45b82b1613 100644
--- a/docs/src/content/docs/de/community/embed.md
+++ b/docs/src/content/docs/de/community/embed.md
@@ -22,6 +22,7 @@ Fügen Sie den folgenden Code Ihrer Webseite hinzu:
| speichern | Boolean (true, false) | true | Speichern aktivieren. Wenn deaktiviert, wird nur eine Beenden-Schaltfläche angezeigt |
| bearbeitbar | Boolean (true, false) | true | Bearbeiten aktivieren. Wenn deaktiviert, wird das Dokument schreibgeschützt |
| Sprache | String (..., System, Benutzer) | user | Sprache des Dokuments. Wenn System wird die Sprache vom Browser erkannt. Wenn Benutzer, wird die Sprache auf die Benutzereinstellungen gesetzt |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/de/community/faq.md b/docs/src/content/docs/de/community/faq.md
index 6ad7da5af49b..c5f74aa7287b 100644
--- a/docs/src/content/docs/de/community/faq.md
+++ b/docs/src/content/docs/de/community/faq.md
@@ -23,7 +23,7 @@ Versuchen Sie, Ihren Browser auf die neueste Version zu aktualisieren.
> [#270](https://github.com/LinwoodDev/Butterfly/issues/270)
-Siehe [Stiftunterstützung](/docs/v2/stylus-support/) für aktuelles Verhalten und Umgehungslösungen.
+See [Stylus support](/docs/v2/stylus-support/) for current behavior and workarounds.
Ich benutze die Eingabe des Flutter-Frameworks.
Dies ist das Issue zum Nachverfolgen: [flutter/flutter#42846](https://github.com/flutter/flutter/issues/42846).
@@ -60,10 +60,10 @@ Butterfly ist auf iOS als Vorschau verfügbar. Klicken Sie [hier](https://butter
> [#238](https://github.com/LinwoodDev/Butterfly/issues/238)
-Siehe [Stiftunterstützung](/docs/v2/stylus-support/) für aktuelles Verhalten, Einstellungen und Issue-Links.
+See [Stylus support](/docs/v2/stylus-support/) for current behavior, settings, and issue links.
Ich benutze die Eingabe des Flutter-Frameworks.
-Es gibt bereits Issues zum Nachverfolgen:
+There are already issues to track it:
Linux: [flutter/flutter#63209](https://github.com/flutter/flutter/issues/63209)
Diese Probleme sind etwas älter. Die Web-Version sollte im Moment gut funktionieren.
diff --git a/docs/src/content/docs/de/docs/v2/add.md b/docs/src/content/docs/de/docs/v2/add.md
index 70749fd68abe..bc6da6c2caa5 100644
--- a/docs/src/content/docs/de/docs/v2/add.md
+++ b/docs/src/content/docs/de/docs/v2/add.md
@@ -7,14 +7,14 @@ Hier können Sie Inhalte zu Ihren Notizen hinzufügen.
## Importieren
Hier können Sie vorhandene Dateien in Ihre Dokumente importieren.
-Unterstützt werden Butterfly-Dokumente, Markdown, PNG, SVG und PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## Werkzeuge
Klicken Sie auf Werkzeuge, um sie Ihrer Symbolleiste hinzuzufügen.
Lesen Sie [hier](../tools) mehr darüber.
-## Oberflächen
+## Surfaces {#surfaces}
Dies sind spezielle Werkzeuge zum Erstellen von Oberflächen.
diff --git a/docs/src/content/docs/de/docs/v2/background.mdx b/docs/src/content/docs/de/docs/v2/background.mdx
index c6cb1e45f759..e4c8ce4d3701 100644
--- a/docs/src/content/docs/de/docs/v2/background.mdx
+++ b/docs/src/content/docs/de/docs/v2/background.mdx
@@ -33,7 +33,7 @@ Verwende die Schaltflächen und `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/de/docs/v2/intro.mdx b/docs/src/content/docs/de/docs/v2/intro.mdx
index f53352b5b00b..72dac3c7d58f 100644
--- a/docs/src/content/docs/de/docs/v2/intro.mdx
+++ b/docs/src/content/docs/de/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ Sie können von der Dokumentenansicht mit der Zurück-Taste Ihres Geräts in die
* Das [ Lasso-Auswahlwerkzeug](../tools/select)
* Das [ Stiftwerkzeug](../tools/pen)
- * Das [ Pfadradierer-Werkzeug](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* Die Schaltflächen [ Rückgängig](../tools/undo) und [ Wiederholen](../tools/redo)
* Das [ Handwerkzeug](../tools/hand).
@@ -148,7 +148,7 @@ Sie können von der Dokumentenansicht mit der Zurück-Taste Ihres Geräts in die
* Das [ Lasso-Auswahlwerkzeug](../tools/select)
* Das [ Stiftwerkzeug](../tools/pen)
- * Das [ Pfadradierer-Werkzeug](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* Die Schaltflächen [ Rückgängig](../tools/undo) und [ Wiederholen](../tools/redo)
* Das [ Handwerkzeug](../tools/hand).
@@ -157,14 +157,14 @@ Sie können von der Dokumentenansicht mit der Zurück-Taste Ihres Geräts in die
-#### Symbolleiste anpassen
+#### Customizing the Toolbar {#customizing-the-toolbar}
Um weitere Werkzeuge zur Symbolleiste hinzuzufügen, klicken Sie auf die Schaltfläche Hinzufügen. Im Menü „Hinzufügen“ können Sie die Suchleiste oder Filter verwenden, um das gewünschte Werkzeug zu finden. Weitere Informationen, see [Hinzufügen](../add).
- Um die Werkzeuge in Ihrer Symbolleiste neu anzuordnen, wählen Sie zuerst ein Werkzeug aus und ziehen Sie es dann an eine neue Position. Einige Eingabemethoden haben Tastenkürzel, um anhand der Position in der Symbolleiste schnell zu Werkzeugen zu wechseln; dies kann [konfiguriert](../shortcuts#configure) werden.
+ Um die Werkzeuge in Ihrer Symbolleiste neu anzuordnen, wählen Sie zuerst ein Werkzeug aus und ziehen Sie es dann an eine neue Position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Viele Werkzeuge haben ein Konfigurationsmenü, in dem Sie Einstellungen zum Verhalten des Werkzeugs ändern können. Um dieses Menü zu öffnen, wählen Sie zuerst ein Werkzeug in der Symbolleiste aus und klicken Sie es dann erneut an.
@@ -173,7 +173,7 @@ Sie können von der Dokumentenansicht mit der Zurück-Taste Ihres Geräts in die
Um weitere Werkzeuge zur Symbolleiste hinzuzufügen, tippen Sie auf die Schaltfläche Hinzufügen. Im Menü „Hinzufügen“ können Sie die Suchleiste oder Filter verwenden, um das gewünschte Werkzeug zu finden. Weitere Informationen, see [Hinzufügen](../add).
- Um die Werkzeuge in Ihrer Symbolleiste neu anzuordnen, wählen Sie zuerst ein Werkzeug aus und halten Sie es dann gedrückt, um es an eine neue Position zu ziehen. Einige Eingabemethoden haben Tastenkürzel, um anhand der Position in der Symbolleiste schnell zu Werkzeugen zu wechseln; dies kann [konfiguriert](../shortcuts#configure) werden.
+ Um die Werkzeuge in Ihrer Symbolleiste neu anzuordnen, wählen Sie zuerst ein Werkzeug aus und halten Sie es dann gedrückt, um es an eine neue Position zu ziehen. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Viele Werkzeuge haben ein Konfigurationsmenü, in dem Sie Einstellungen zum Verhalten des Werkzeugs ändern können. Um dieses Menü zu öffnen, wählen Sie zuerst ein Werkzeug in der Symbolleiste aus und tippen Sie es dann erneut an.
diff --git a/docs/src/content/docs/de/docs/v2/layers.md b/docs/src/content/docs/de/docs/v2/layers.md
index 00c738657aa3..6cd2af438148 100644
--- a/docs/src/content/docs/de/docs/v2/layers.md
+++ b/docs/src/content/docs/de/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: Ebenen
---
-Mit Ebenen können Sie Elemente voneinander trennen und auswählen, welche Ebenen oberhalb der anderen gerendert werden.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Die Ebenen werden von unten nach oben gezeichnet, so dass die obere Ebene vor allen anderen Ebenen angezeigt wird.
:::note\[Note]
-[Collections](../tools/collection) ist nicht dasselbe wie Ebenen. Sammlungen sind eine einfache Möglichkeit, Elemente zu gruppieren, beeinflussen aber nicht die Reihenfolge, in der sie gerendert werden.
+[Collections](../tools/collection) ist nicht dasselbe wie Ebenen. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## Der Ebenendialog
-Öffnen Sie den Ebenendialog, indem Sie auf die Butterfly-Schaltfläche klicken und „Ebenen“ auswählen, oder wählen Sie das Ebenensymbol in der Navigationsleiste, wenn es aktiviert ist.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Hier sehen Sie alle Ebenen im Projekt. Um eine neue Ebene zu erstellen, benutzen Sie die Schaltfläche Erstellen. Um eine Ebene anzuzeigen oder auszublenden, verwenden Sie die Augenschaltfläche. Um die Ebenen neu zu ordnen, klicken Sie und ziehen Sie den Griff auf der rechten Seite. Sie können auch eine Ebene löschen, umbenennen oder duplizieren, indem Sie mit der rechten Maustaste auf die Ebene oder die drei Punkte auswählen.
\ No newline at end of file
+Hier sehen Sie alle Ebenen im Projekt. Um eine neue Ebene zu erstellen, benutzen Sie die Schaltfläche Erstellen. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Option | Beschreibung |
+| -----------------: | --------------------------------------------------------------------------------- |
+| Vorwärts bringen | Renders the selection on top of the first element in front of it. |
+| Rückwärts senden | Renders the selection under the first element behind it. |
+| Nach vorne bringen | Renders the selection in front of everything else. |
+| An zurück senden | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/de/docs/v2/pack.md b/docs/src/content/docs/de/docs/v2/pack.md
index b585ba107961..851e6604fac7 100644
--- a/docs/src/content/docs/de/docs/v2/pack.md
+++ b/docs/src/content/docs/de/docs/v2/pack.md
@@ -21,7 +21,7 @@ Komponenten sind eine Möglichkeit, Elemente zu speichern, die Sie oft verwenden
Verwenden Sie die Komponentennavigator-Seite, um Komponenten in Ihre Notizen einzufügen.
-### Komponente zu einem Pack hinzufügen
+### Adding a component into a pack {#adding-a-component-into-a-pack}
So fügen Sie eine Komponente hinzu:
@@ -39,4 +39,4 @@ Stile werden verwendet, um das Aussehen des Textes anzupassen. Absatzstile könn
## Paletten
-Mit Farbpaletten können Sie schnell Farben für einfärbbare Werkzeuge auswählen. Wenn Sie eine Farbe bearbeiten, sehen Sie ein Farbauswahl-Overlay (wie in der [Farbauswahl-Dokumentation](../color_picker) erwähnt).
+Mit Farbpaletten können Sie schnell Farben für einfärbbare Werkzeuge auswählen. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/de/docs/v2/shortcuts.md b/docs/src/content/docs/de/docs/v2/shortcuts.md
index 69f868e8eda1..7b6d51dc87ab 100644
--- a/docs/src/content/docs/de/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/de/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: Verknüpfungen
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+Sie können Ihre Steuerelemente anpassen, indem Sie ändern, welchen Werkzeugen Ihre Eingaben zugeordnet sind.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Aktives Werkzeug`: Die Eingabe verhält sich wie das aktuell ausgewählte Werkzeug in der Symbolleiste.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. Im Screenshot unten sehen Sie ein Beispiel dafür, wie Positionsnummern gezählt werden. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## Maus
+
+### Mouse configurations
+
+| Objekt | Standard | Beschreibung |
+| ----------------------------------: | :------: | :----------------------------------------------------------------------------------------------------- |
+| Cursor während Zeichnung ausblenden | true | Versteckt den Mauszeiger während des Zeichnens, so dass er den Strich nicht überdeckt. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## Berühren
+
+### Touch configurations
+
+| Objekt | Standard | Beschreibung |
+| --------------------: | :------: | :--------------------------------------------------------------------------------------------------------------- |
+| Eingabegesten | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| Verschieben bei Geste | true | Lassen Sie uns Multi-Touch-Gesten die Leinwand bewegen, anstatt mit Notizinhalt zu interagieren. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## Tastatur
-Es gibt ein paar Verknüpfungen, die Sie im Editor verwenden können.
-Einige davon stehen unter den Schaltflächen.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### Allgemein
@@ -14,44 +135,63 @@ Einige davon stehen unter den Schaltflächen.
- `Strg` + `E`: Datei exportieren
- `Ctrl` + `Shift` + `E`: Exportieren Datei (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Exportieren Datei as image
-- `Ctrl` + `Alt` + `Shift` + `E`: Export file as pdf
-- `Ctrl` + `Shift` + `P`: Exportieren Datei as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Strg` + `Alt` + `S`: Einstellungen öffnen
- `Strg` + `Alt` + `P`: Open Packs
+- `Escape`: Escape
### Projekt
- `Strg` + `K`: Suche öffnen
- `Strg` + `Z`: Rückgängig
- `Strg` + `Y`: Redo
-- `Strg` + `Shift` + `P`: Öffnen Sie Wegpunkte Dialog
- `Strg` + `B`: Hintergrunddialog öffnen
- `Strg` + `S`: Speichern
- `Alt` + `S`: Pfad ändern
-- `Ctrl` + (`1` - `0`): Wechsele zum Werkzeug
- `Strg` + `+`: Zoom in
- `Strg` + `-`: Verkleinern
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Wechsele zum Werkzeug
## Stift
-Standardmäßig ist der Stift wie folgt konfiguriert:
+### Pen configurations
-- `Pen`: als Stift konfiguriert.
-- `First` (Primärer Knopf, falls unterstützt): Ändern Sie das Handwerkzeug während Sie gedrückt werden.
-- (Sekundärer Knopf, falls unterstützt): Wechseln Sie zum zweiten Werkzeug (siehe [Konfigurieren] (#configure) Sektion unten) während Sie ihn gedrückt halten.
+| Objekt | Values | Beschreibung |
+| -----------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| Nur-Pen-Eingabe | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Nur Stift anzeigen | true, false | Zeigt einen schnellen Pen-Only Schalter im Editor, nachdem Butterfly einen Stift erkennt. |
+| Ignoriere Druck | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Konfigurieren {#configure}
+### Pen shortcuts
-Sie können Ihre Steuerelemente anpassen, indem Sie ändern, welchen Werkzeugen Ihre Eingaben zugeordnet sind.
-
-**Hinweis:** Eingabekonfigurationen werden ignoriert, während bestimmte Werkzeuge ausgewählt sind, etwa das Lasso-Auswahlwerkzeug, das Rechteck-Auswahlwerkzeug, das Beschriftungswerkzeug und das Bereichswerkzeug.
+By default, the pen is configured to function with the
+following **tool activators**:
-Gehen Sie zunächst zu `Einstellungen` → `Eingaben` und wählen Sie dann die Eingabemethode aus, die Sie konfigurieren möchten, zum Beispiel `Maus`, `Touch` oder `Stift`. Ihnen wird eine Liste konfigurierbarer Eingaben und der Werkzeuge angezeigt, denen sie aktuell zugeordnet sind.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-Nach Auswahl einer Eingabe haben Sie 3 Optionen:
+_By default, the pen **document actions** are all set to `None`._
-- `Aktives Werkzeug`: Die Eingabe verhält sich wie das aktuell ausgewählte Werkzeug in der Symbolleiste.
-- `Handwerkzeug`: Die Eingabe wechselt vorübergehend zum Handwerkzeug, mit dem Sie sich auf der Leinwand bewegen können.
-- `Bestimmtes Werkzeug in der Symbolleiste`: Die Eingabe wechselt vorübergehend zu einem Werkzeug in Ihrer Symbolleiste, basierend auf der angegebenen Positionsnummer. Positionen werden von links gezählt. Wenn Sie also Position `1` angeben, wird das erste Werkzeug links ausgewählt. Im Screenshot unten sehen Sie ein Beispiel dafür, wie Positionsnummern gezählt werden. Informationen zum Neuanordnen Ihrer Werkzeuge finden Sie unter [Symbolleiste anpassen](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/de/docs/v2/storage.md b/docs/src/content/docs/de/docs/v2/storage.md
index fab04a7f76c0..2ca6a4ce0d2b 100644
--- a/docs/src/content/docs/de/docs/v2/storage.md
+++ b/docs/src/content/docs/de/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
Es gibt mehrere Möglichkeiten, Notizen in Butterfly zu speichern.
Entweder über den Speicher Ihres Geräts oder über Cloud-Speicher (WebDAV).
-## Datenverzeichnis
+## Data directory {#data-directory}
Das Datenverzeichnis ist das Verzeichnis, in dem Dokumente, Vorlagen und Packs gespeichert werden.
Auf dem Desktop finden Sie es unter `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ Sie können es auch in den Einstellungen unter "Data" ändern.
In diesem Verzeichnis finden Sie einen Ordner `Documents`, `Templates` und `Packs`.
-## Web
+## Web {#web}
Die Anwendungsdaten werden in Ihrem Browser gespeichert. Es wird in einem lokalen Speicher gespeichert.
Öffnen Sie die Entwicklerwerkzeuge in Ihrem Browser und Sie werden die Daten sehen.
@@ -39,7 +39,59 @@ Fügen Sie die URL des entfernten Servers und den Benutzernamen und das Passwort
Um die WebDAV-URL zu erhalten, besuche bitte die Dokumentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (es sollte so aussehen: `https://nextcloud.example.com/remote.php/dav/files/username/`, ersetzen Sie `username` und `nextcloud.example.com` mit den korrekten Werten)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (es sollte so aussehen: `https://nextcloud.example.com/remote.php/dav/files/username/`, ersetzen Sie `username` und `nextcloud.example.com` mit den korrekten Werten)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Offline-Sync {#offline}
@@ -48,7 +100,6 @@ Mit dieser Funktion können Sie Ihre Dateien auf entfernten Servern bearbeiten,
Es gibt ein paar Einschränkungen:
-- Sie können nur die obere Ebene eines Verzeichnisses synchronisieren. Wenn Sie zum Beispiel ein Verzeichnis `a/b/test.bfly` haben, wird diese Datei nicht synchronisiert.
- Sie können keine Datei oder einen Ordner löschen, wenn Sie offline sind.
- Sie können Vorlagen nicht hinzufügen, bearbeiten oder löschen, solange Sie offline sind.
@@ -67,7 +118,7 @@ Butterfly unterstützt den Import von SVG, Butterfly-Notiz (.bfly) und Butterfly
Dieser Dateityp ist das empfohlene Format zum Speichern von Notizen.
Es ist ein ZIP-Archiv, das Informationen über die Notiz enthält, größtenteils in JSON-Dateien.
-Diese enthaltenen JSON-Dateien sind nicht für gute Lesbarkeit durch Menschen optimiert.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly-Rohnotiz (.tbfly)
diff --git a/docs/src/content/docs/de/docs/v2/tools/area.md b/docs/src/content/docs/de/docs/v2/tools/area.md
index 7019bd9b898f..e5669e6ef413 100644
--- a/docs/src/content/docs/de/docs/v2/tools/area.md
+++ b/docs/src/content/docs/de/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ Eine Übersicht über die Funktionsweise von Bereichen finden Sie unter [Bereich
## Konfiguration
-| Objekt | Standard | Beschreibung |
-| ---------------: | :------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Breite | `0` | Die feste Breite für neue Bereiche. Wenn der Wert auf `0` gesetzt ist, wird diese Einstellung ignoriert. |
-| Höhe | `0` | Die feste Höhe für neue Bereiche. Wenn der Wert auf `0` gesetzt ist, wird diese Einstellung ignoriert. |
-| Seitenverhältnis | `0` | Das feste Seitenverhältnis für neue Bereiche. Drücke die Schaltfläche , um auf einige gängige Voreinstellungen zuzugreifen. Ein Seitenverhältnis ist als Breite / Höhe definiert. Werte kleiner als `1` sind daher höher als breit, Werte größer als `1` breiter als hoch. Wenn der Wert auf `0` gesetzt ist, wird diese Einstellung ignoriert. |
+| Objekt | Standard | Beschreibung |
+| ----------------: | :------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Nach Namen fragen | falsch | Whether a name prompt will appear before creation. |
+| Vorlagen | none | Various presets for width and height. |
+| Breite | `0` | Die feste Breite für neue Bereiche. Wenn der Wert auf `0` gesetzt ist, wird diese Einstellung ignoriert. |
+| Höhe | `0` | Die feste Höhe für neue Bereiche. Wenn der Wert auf `0` gesetzt ist, wird diese Einstellung ignoriert. |
+| Seitenverhältnis | `0` | Das feste Seitenverhältnis für neue Bereiche. Select a preset from the segmented control or enter a custom value in the input field. Ein Seitenverhältnis ist als Breite / Höhe definiert. Werte kleiner als `1` sind daher höher als breit, Werte größer als `1` breiter als hoch. Wenn der Wert auf `0` gesetzt ist, wird diese Einstellung ignoriert. |
Es gibt drei Aspekte Verhältnis Voreinstellungen:
- Quadrat (1:1)
-- Seitenportrait (sqrt(2)) - Dies ist das Standard-Seitenverhältnis einer A4-Seite im Hochformat.
-- Seitenlandschaft (1/sqrt(2)) - Dies ist das Standard-Seitenverhältnis einer A4-Seite im Querformat.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/de/docs/v2/tools/collection.md b/docs/src/content/docs/de/docs/v2/tools/collection.md
deleted file mode 100644
index 13e89c2f6ba9..000000000000
--- a/docs/src/content/docs/de/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Sammlungstool
----
-
-:::note[⚡ Aktionswerkzeug]
-
-Dies ist ein spezielles Werkzeug.
-Sie können es nicht auswählen und es wird die Aktion ausführen, wenn Sie darauf klicken.
-
-:::
-
-Mit diesem Werkzeug gruppieren Sie mehrere Elemente zusammen. Für komplexere Gruppierung siehe [Ebenen](../../layers).
-
-Wenn Sie auf ein Objekt klicken, wird die Sammlung des Objekts auf die in der Konfiguration festgelegte Sammlung geändert. Wenn Sie das Sammlungsfeld leer lassen, wird die Sammlung auf die Standardsammlung gesetzt.
diff --git a/docs/src/content/docs/de/docs/v2/tools/collection.mdx b/docs/src/content/docs/de/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..fe9f488a7711
--- /dev/null
+++ b/docs/src/content/docs/de/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Sammlungstool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+Mit diesem Werkzeug gruppieren Sie mehrere Elemente zusammen. Für komplexere Gruppierung siehe [Ebenen](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Wenn Sie das Sammlungsfeld leer lassen, wird die Sammlung auf die Standardsammlung gesetzt.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/de/docs/v2/tools/eraser.md b/docs/src/content/docs/de/docs/v2/tools/eraser.md
index d195d4e90124..4ad960e98eb9 100644
--- a/docs/src/content/docs/de/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/de/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ Mit diesem Werkzeug können Sie Elemente auf Ihrer Arbeitsfläche radieren.
## Konfiguration
-| Objekt | Standard | Beschreibung |
-| ------------------: | :------: | :------------------------------------------------------------------------------------ |
-| Strichbreite | 5 | Die Breite des Strichs |
-| Strichmultiplikator | 1 | Wenn Sie einen Stil haben, ist dies der Multiplikator, der dem Druck hinzugefügt wird |
+| Objekt | Standard | Beschreibung |
+| --------------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Modus | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| Strichbreite | 5 | Die Breite des Strichs |
+| Formen löschen | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Alle Elemente löschen | falsch | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Modus | Beschreibung |
+| -------------------------------: | :------------------------------------------------------------------------------------------ |
+| Formen nicht löschen | The eraser will not interact with shapes. |
+| Beim Berühren von Kanten löschen | The shape will be erased when the eraser touches any edge. |
+| Beim Berühren irgendwo löschen | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/de/docs/v2/tools/full_screen.md b/docs/src/content/docs/de/docs/v2/tools/full_screen.md
index bd5b2deee7ce..45690eb31966 100644
--- a/docs/src/content/docs/de/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/de/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Vollbildwerkzeug
---
-:::note[⚡ Aktionswerkzeug]
+:::note[🔘 Toggleable Werkzeug]
Dies ist ein spezielles Werkzeug.
-Sie können es nicht auswählen und es wird die Aktion ausführen, wenn Sie darauf klicken.
+It can't be selected and will run the action immediately when you click on it.
:::
-Wenn Sie es anklicken, können Sie den Vollbild-Modus aktivieren bzw. deaktivieren.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/de/docs/v2/tools/grid.md b/docs/src/content/docs/de/docs/v2/tools/grid.md
index 01e83e623738..40a51366399d 100644
--- a/docs/src/content/docs/de/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/de/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Rasterwerkzeug
:::note[🔘 Toggleable Werkzeug]
Dies ist ein spezielles Werkzeug.
-Sie können es nicht auswählen; durch Anklicken wird es ein- oder ausgeschaltet.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Eingaben werden am Raster ausgerichtet.
| Größe | (20, 20) | The size of the grid cells on the x and y axis. |
| Versatz | (0, 0) | The offset of the grid on the x and y axis. |
| Farbe | Schwarz | The color of the grid. |
+| Alpha | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| Zoomabhängig | falsch | Changes the grid stroke width based on the zoom level. |
+| Zoomabhängig | falsch | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| Positionsabhängig | falsch | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/de/docs/v2/tools/index.md b/docs/src/content/docs/de/docs/v2/tools/index.md
index 10d219bfd37f..af5f723b64d2 100644
--- a/docs/src/content/docs/de/docs/v2/tools/index.md
+++ b/docs/src/content/docs/de/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ Wenn Sie auf ein ausgewähltes Werkzeug klicken, können Sie es konfigurieren.
Der Name des Werkzeugs wird als Hinweis beim Bewegen des Zeigers auf das Symbol angezeigt.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/de/docs/v2/tools/pen.md b/docs/src/content/docs/de/docs/v2/tools/pen.md
index 10fa63e464b0..b1dd6e3294e1 100644
--- a/docs/src/content/docs/de/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/de/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ Fügen Sie zuerst ein neues Stiftwerkzeug zur Symbolleiste hinzu
1. Drücke die +-Schaltfläche in der Symbolleiste!
2. Stift hinzufügen
3. Halte das neue Stiftsymbol gedrückt, um es zu verschieben
- - Hinweis: Wenn Sie ein Werkzeug verschiebst, passe die Einstellungen im Tab „Verhalten“ an, damit für jede Eingabe das richtige Werkzeug aktiviert wird.
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Ändern Sie anschließend den neuen Stift
1. Öffnen Sie das Eigenschaftenfeld des neuen Stifts, indem Sie erneut darauf drücken
2. Benennen Sie den Stift um, indem Sie doppelt auf den Werkzeugnamen tippen.
-3. Nachdem Sie den Stift in Textmarker umbenannt haben, ändern Sie das Symbol passend zum Textmarker, indem Sie auf das Symbol drücken
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Schließlich, nachdem Sie das Aussehen des Werkzeugs angepasst haben. Jetzt ist es Zeit, die Eigenschaften anzupassen!
@@ -52,14 +54,14 @@ Schließlich, nachdem Sie das Aussehen des Werkzeugs angepasst haben. Jetzt ist
## Konfiguration
-| Objekt | Standard | Beschreibung |
-| ------------: | :-----------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Farbe | Schwarz | Die Farbe, die gezeichnet wird |
-| Strichbreite | 5 | Die Breite des Strichs |
-| Zoomabhängig | falsch | Dies ändert die Pinselbreite basierend auf der Zoomstufe. |
-| Formerkennung | false (Verzögerung: 0,5 s) | Dadurch wird versucht, Formen während des Zeichnens zu erkennen. Wenn eine Form erkannt wird, wird sie durch die Form ersetzt. |
-| Ausdünnung | 0.4 | Dies ist der Einfluss des Drucks auf die Strichgröße |
-| Glättung | 0.5 | Dadurch werden die Kanten des Strichs geglättet. |
-| Glätten | 0.5 | Wie stark der Stift der Mausbewegung folgt. |
-| Farbe | Schwarz | Die Farbe, die gezeichnet wird |
-| Füllen | Transparent | Die Farbe, die innerhalb der Form gezeichnet wird. |
+| Objekt | Standard | Beschreibung |
+| ----------------: | :-----------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Zoomabhängig | falsch | Dies ändert die Pinselbreite basierend auf der Zoomstufe. |
+| Pfade kombinieren | falsch | This will merge all strokes it touches into one path |
+| Formerkennung | false (Verzögerung: 0,5 s) | Dadurch wird versucht, Formen während des Zeichnens zu erkennen. Wenn eine Form erkannt wird, wird sie durch die Form ersetzt. |
+| Strichbreite | 5 | Die Breite des Strichs |
+| Ausdünnung | 0.4 | Dies ist der Einfluss des Drucks auf die Strichgröße |
+| Glättung | 0.5 | Dadurch werden die Kanten des Strichs geglättet. |
+| Glätten | 0.3 | Wie stark der Stift der Mausbewegung folgt. |
+| Farbe | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| Füllen | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/de/docs/v2/tools/polygon.md b/docs/src/content/docs/de/docs/v2/tools/polygon.md
deleted file mode 100644
index ced039032853..000000000000
--- a/docs/src/content/docs/de/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon Werkzeug
----
-
-Mit diesem Werkzeug können Sie eigene Formen erstellen.
-
-## Verwendung
-
-1. Klicken Sie auf die Leinwand, um den ersten Punkt des Polygons hinzuzufügen.
-2. Klicken Sie erneut, um weitere Punkte hinzuzufügen.
-3. Nun haben Sie drei Möglichkeiten, das Polygon abzuschließen:
- 1. Klicken Sie in der Symbolleiste auf die Schaltfläche `Fertigstellen`. Dadurch wird der letzte Punkt mit dem ersten Punkt verbunden.
- 2. Klicken Sie in der Symbolleiste auf die Schaltfläche `Übernehmen`. Dadurch wird das Polygon erstellt, ohne den letzten Punkt mit dem ersten zu verbinden.
- 3. Wechsle das Werkzeug. Auch dadurch wird das Polygon erstellt, ohne den letzten Punkt mit dem ersten zu verbinden.
-4. Wenn Sie den ausgewählten Punkt entfernen möchten, klicken Sie in der Symbolleiste auf die Schaltfläche `Löschen`.
-5. Um den letzten Punkt zu bearbeiten, klicken Sie in der Symbolleiste auf die Schaltfläche `Bearbeiten`. Dadurch können Sie auf einen Punkt klicken und ihn ziehen, um ihn abzurunden.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Symbolleiste
-
-Die Symbolleiste enthält die folgenden Schaltflächen:
-
-- `Bearbeiten`: Ermöglicht Ihnen, den ausgewählten Punkt des Polygons zu ändern.
-- `Löschen`: Ermöglicht Ihnen, den ausgewählten Punkt des Polygons zu löschen.
-- `Fertigstellen`: Verbindet den letzten Punkt mit dem ersten Punkt und schließt das Polygon ab.
-- `Absenden`: Schließt das Polygon ab, ohne den letzten Punkt mit dem ersten zu verbinden.
-- Strichbreite: Passt die Breite des Polygon-Strichs an.
-- Farben zum Ändern der Strichfarbe des Polygons.
-
-## Konfiguration
-
-| Objekt | Standard | Beschreibung |
-| -----------: | :---------: | :--------------------------------------------------------------------- |
-| Strichbreite | 5 | Die Breite des Strichs |
-| Farbe | Schwarz | Die Farbe, die gezeichnet wird |
-| Füllen | Transparent | Die Farbe, die innerhalb des Polygons gezeichnet wird. |
diff --git a/docs/src/content/docs/de/docs/v2/tools/polygon.mdx b/docs/src/content/docs/de/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..e2c590063708
--- /dev/null
+++ b/docs/src/content/docs/de/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon Werkzeug
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+Mit diesem Werkzeug können Sie eigene Formen erstellen.
+
+## Verwendung
+
+1. Klicken Sie auf die Leinwand, um den ersten Punkt des Polygons hinzuzufügen.
+2. Klicken Sie erneut, um weitere Punkte hinzuzufügen.
+3. Nun haben Sie drei Möglichkeiten, das Polygon abzuschließen:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Wechsle das Werkzeug. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Symbolleiste
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Konfiguration
+
+| Objekt | Standard | Beschreibung |
+| -----------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| Strichbreite | 5 | Die Breite des Strichs |
+| Farbe | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| Füllen | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/de/docs/v2/tools/redo.md b/docs/src/content/docs/de/docs/v2/tools/redo.md
index 3aaee631a93f..da7da5bec4b8 100644
--- a/docs/src/content/docs/de/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/de/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Wiederholen-Werkzeug
:::note[⚡ Aktionswerkzeug]
-Dies ist ein spezielles Werkzeug.
-Sie können es nicht auswählen und es wird die Aktion ausführen, wenn Sie darauf klicken.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/de/docs/v2/tools/select.md b/docs/src/content/docs/de/docs/v2/tools/select.md
index ef9950b78ba2..92003c943453 100644
--- a/docs/src/content/docs/de/docs/v2/tools/select.md
+++ b/docs/src/content/docs/de/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Auswahlwerkzeug
---
-Mit diesem Werkzeug können Sie Elemente auswählen.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Konfiguration
-| Objekt | Standard | Beschreibung |
-| -----: | :------: | :------------------------------------------------------------ |
-| Modus | Rechteck | Auswahlmodus. Erlaubt sind Rechteck und Lasso |
+| Objekt | Standard | Beschreibung |
+| -------: | :------------: | :------------------------------------------------------------ |
+| Modus | Rechteck | Auswahlmodus. Erlaubt sind Rechteck und Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Modus | Beschreibung |
+| ---------------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Beim Berühren von Kanten auswählen | The shape will be selected when the selected area intersects any edge. |
+| Beim Berühren irgendwo auswählen | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/de/docs/v2/tools/shape.md b/docs/src/content/docs/de/docs/v2/tools/shape.md
index 7ce88e08f470..ebb6aed6bab6 100644
--- a/docs/src/content/docs/de/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/de/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Benutzen Sie `Strg` um die Breite und Höhe gleichzusetzen und `Shift` um von de
## Konfiguration
-| Objekt | Standard | Beschreibung |
-| ---------------: | :---------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Farbe | Schwarz | The stroke color that will be drawn |
-| Strichbreite | 5 | Die Breite des Strichs |
-| Strichstil | Durchgehend | The style of the stroke. Other styles can use dash and gap lengths. |
-| Strichlänge | 1 | The length of the dash when using a non-solid stroke style |
-| Lückenlänge | 1 | The length of the gap when using a non-solid stroke style |
-| Zoomabhängig | falsch | Dies ändert die Pinselbreite basierend auf der Zoomstufe. |
-| Form | Rechteck | Die Form, die gezeichnet wird |
-| Breite | 0 | Die feste Breite des Bereichs. Wenn auf 0 gesetzt, wird die Breite automatisch berechnet. |
-| Höhe | 0 | Die feste Höhe der Fläche. Wenn auf 0 gesetzt, wird die Höhe automatisch berechnet. |
-| Seitenverhältnis | 0 | Das fixe Seitenverhältnis des Bereichs. Wenn 0 gesetzt wird, wird das Seitenverhältnis automatisch berechnet. An aspect ratio is defined as width / height. |
-| Zentriert | falsch | Draws the shape from the center instead of from the corner. |
-
-### Formtypen
-
-#### Rechteck
-
-| Objekt | Standard | Beschreibung |
-| ----------: | :---------: | :----------------------------------------------------- |
-| Füllen | Transparent | Die Farbe, die innerhalb des Rechtecks gezeichnet wird |
-| Eckenradius | 0, 0, 0, 0 | Der Radius der Ecken des Rechtecks |
-
-#### Dreieck
-
-| Objekt | Standard | Beschreibung |
-| -----: | :---------: | :----------------------------------------------- |
-| Füllen | Transparent | The color that will be drawn inside the triangle |
-
-#### Kreis
-
-| Objekt | Standard | Beschreibung |
-| -----: | :---------: | :--------------------------------------------- |
-| Füllen | Transparent | The color that will be drawn inside the circle |
-
-#### Linie
-
-_Keine Konfiguration verfügbar._
+| Objekt | Standard | Beschreibung |
+| ---------------: | :------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Zentriert | falsch | Draws the shape from the center instead of from the corner. |
+| Breite | 0 | Die feste Breite des Bereichs. Wenn auf 0 gesetzt, wird die Breite automatisch berechnet. |
+| Höhe | 0 | Die feste Höhe der Fläche. Wenn auf 0 gesetzt, wird die Höhe automatisch berechnet. |
+| Seitenverhältnis | 0 | Das fixe Seitenverhältnis des Bereichs. Wenn 0 gesetzt wird, wird das Seitenverhältnis automatisch berechnet. An aspect ratio is defined as width / height. |
+| Strichbreite | 5 | Die Breite des Strichs |
+| Strichstil | Durchgehend | The style of the stroke. Other styles can use dash and gap lengths. |
+| Strichlänge | 1 | The length of the dash when using a non-solid stroke style |
+| Lückenlänge | 1 | The length of the gap when using a non-solid stroke style |
+| Farbe | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| Form | Rechteck | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| Eckenradius | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| Füllen | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| Zoomabhängig | falsch | Dies ändert die Pinselbreite basierend auf der Zoomstufe. |
\ No newline at end of file
diff --git a/docs/src/content/docs/de/docs/v2/tools/texture.md b/docs/src/content/docs/de/docs/v2/tools/texture.md
index 221425b92866..c8401609332f 100644
--- a/docs/src/content/docs/de/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/de/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: Textur
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Verwendung
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Konfiguration
-| Objekt | Standard | Beschreibung |
-| ---------------: | :------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| Zoomabhängig | falsch | Dies ändert die Pinselbreite basierend auf der Zoomstufe. |
-| Textur | Muster | The pattern that should be added. |
-| Breite | 0 | Die feste Breite des Bereichs. If set to `0`, the width will be calculated automatically. |
-| Höhe | 0 | Die feste Höhe der Fläche. If set to `0`, the height will be calculated automatically. |
-| Seitenverhältnis | 0 | Das fixe Seitenverhältnis des Bereichs. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Gültige Typen für Texturen sind:
-
-- [Muster](../../background#pattern)
+| Objekt | Beschreibung |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| Textur | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/de/docs/v2/tools/undo.md b/docs/src/content/docs/de/docs/v2/tools/undo.md
index 3eb71c3a038c..a05c443f43a5 100644
--- a/docs/src/content/docs/de/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/de/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Rückgängig-Werkzeug
:::note[⚡ Aktionswerkzeug]
-Dies ist ein spezielles Werkzeug.
-Sie können es nicht auswählen und es wird die Aktion ausführen, wenn Sie darauf klicken.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/de/docs/v2/utilities.md b/docs/src/content/docs/de/docs/v2/utilities.md
index e43ce5a4dc5b..dada0b827835 100644
--- a/docs/src/content/docs/de/docs/v2/utilities.md
+++ b/docs/src/content/docs/de/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Außerdem können Sie ein Vorschaubild aus dem aktuellen Viewport erfassen, um e
## Kamera
-Mit diesem Tab können Sie zu einer bestimmten Position springen oder auf eine bestimmte Stufe zoomen.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/el/community/embed.md b/docs/src/content/docs/el/community/embed.md
index c5f2504fbd73..2f68dde9368e 100644
--- a/docs/src/content/docs/el/community/embed.md
+++ b/docs/src/content/docs/el/community/embed.md
@@ -22,6 +22,7 @@ Add the following code to your website:
| αποθήκευση | Boolean (true, false) | true | Enable save. If disabled, only an exit button will be shown |
| editable | Boolean (true, false) | true | Enable editing. If disabled, the document will be read-only |
| γλώσσα | Συμβολοσειρά (..., σύστημα, χρήστης) | user | Language of the document. If system, the language will be detected from the browser. If user, the language will set to the users preference |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/el/docs/v2/add.md b/docs/src/content/docs/el/docs/v2/add.md
index f5b81065c06c..7f3ca4fd4e0a 100644
--- a/docs/src/content/docs/el/docs/v2/add.md
+++ b/docs/src/content/docs/el/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## Εισαγωγή
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## Εργαλεία
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/el/docs/v2/background.mdx b/docs/src/content/docs/el/docs/v2/background.mdx
index 81b9d10391ef..702ffaec36d8 100644
--- a/docs/src/content/docs/el/docs/v2/background.mdx
+++ b/docs/src/content/docs/el/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/el/docs/v2/intro.mdx b/docs/src/content/docs/el/docs/v2/intro.mdx
index 150fbb332bc7..f3f94b1a0f70 100644
--- a/docs/src/content/docs/el/docs/v2/intro.mdx
+++ b/docs/src/content/docs/el/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/el/docs/v2/layers.md b/docs/src/content/docs/el/docs/v2/layers.md
index 667ae4071ebb..dcf1c385bd60 100644
--- a/docs/src/content/docs/el/docs/v2/layers.md
+++ b/docs/src/content/docs/el/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: Επίπεδα
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Εδώ μπορείτε να δείτε όλα τα στρώματα του έργου. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Εδώ μπορείτε να δείτε όλα τα στρώματα του έργου. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Επιλογή | Περιγραφή |
+| ------------: | --------------------------------------------------------------------------------- |
+| Φέρτε μπροστά | Renders the selection on top of the first element in front of it. |
+| Αποστολή πίσω | Renders the selection under the first element behind it. |
+| Φέρτε μπροστά | Renders the selection in front of everything else. |
+| Αποστολή πίσω | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/el/docs/v2/pack.md b/docs/src/content/docs/el/docs/v2/pack.md
index 23690fde334b..5871cd3a24ce 100644
--- a/docs/src/content/docs/el/docs/v2/pack.md
+++ b/docs/src/content/docs/el/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## Palettes
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/el/docs/v2/shortcuts.md b/docs/src/content/docs/el/docs/v2/shortcuts.md
index 1650a69ef703..d4432951f9a8 100644
--- a/docs/src/content/docs/el/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/el/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: Συντομεύσεις
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## Ποντίκι
+
+### Mouse configurations
+
+| Ιδιότητα | Προεπιλογή | Περιγραφή |
+| -----------------------------: | :--------: | :-------------------------------------------------------------------------------------------------------------------- |
+| Απόκρυψη δρομέα κατά το σχέδιο | true | Κρύβει το δείκτη του ποντικιού ενώ σχεδιάζετε, έτσι ώστε να μην καλύπτει το εγκεφαλικό επεισόδιο σας. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## Άγγιγμα
+
+### Touch configurations
+
+| Ιδιότητα | Προεπιλογή | Περιγραφή |
+| ------------------------: | :--------: | :------------------------------------------------------------------------------------------------------------------------------------ |
+| Input gestures | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| Μετακίνηση στη χειρονομία | true | Αφήνει τις χειρονομίες πολλαπλών αφής να μετακινήσετε τον καμβά αντί να αλληλεπιδράσετε με το περιεχόμενο σημειώσεων. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## Keyboard
-Υπάρχουν μερικές συντομεύσεις που μπορείτε να χρησιμοποιήσετε στον επεξεργαστή.
-Μερικά από αυτά είναι γραμμένα κάτω από τα κουμπιά.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### Γενικά
@@ -14,44 +135,63 @@ title: Συντομεύσεις
- `Ctrl` + `E`: Εξαγωγή αρχείου
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `Shift` + `E`: Export file as pdf
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `S`: Άνοιγμα ρυθμίσεων
- `Ctrl` + `Alt` + `S`: Άνοιγμα ρυθμίσεων
+- `Escape`: Escape
### Έργο
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Αναίρεση
- `Ctrl` + `Y`: Redo
-- `Ctrl` + `Shift` + `P`: Διάλογος ανοιχτών σημείων
- `Ctrl` + `B`: Άνοιγμα διαλόγου φόντου
- `Ctrl` + `S`: Αποθήκευση
- `Alt` + `S`: Αλλαγή διαδρομής
-- `Ctrl` + (`1` - `0`): Εναλλαγή στο εργαλείο
- `Ctrl` + `+`: Μεγέθυνση
- `Ctrl` + `-`: Μεγέθυνση
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Εναλλαγή στο εργαλείο
## Πένα
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Pen`: έχει ρυθμιστεί ως στυλό.
-- `First` (Πρωτεύον κουμπί, αν υποστηρίζεται): Αλλαγή σε εργαλείο χεριού ενώ πιέζεται.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Ιδιότητα | Values | Περιγραφή |
+| ----------------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| Είσοδος μόνο πένας | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Εμφάνιση εναλλαγής μόνο πένας | true, false | Εμφανίζει έναν γρήγορο διακόπτη στυλό μόνο στον επεξεργαστή αφού η πεταλούδα ανιχνεύσει μια πένα. |
+| Παράβλεψη πίεσης | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/el/docs/v2/storage.md b/docs/src/content/docs/el/docs/v2/storage.md
index 7589a8404cac..8aedaa87a071 100644
--- a/docs/src/content/docs/el/docs/v2/storage.md
+++ b/docs/src/content/docs/el/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## Κατάλογος δεδομένων
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ On desktop you can find it in `~/Documents/Linwood/Butterfly`.
Σε αυτόν τον κατάλογο θα βρείτε έναν φάκελο `Documents`, `Templates` και `Packs`.
-## Ιστός
+## Web {#web}
Τα δεδομένα εφαρμογής αποθηκεύονται στον περιηγητή σας. Αποθηκεύεται σε τοπικό χώρο αποθήκευσης.
Ανοίξτε τα εργαλεία προγραμματιστή στο πρόγραμμα περιήγησης και θα δείτε τα δεδομένα.
@@ -39,7 +39,59 @@ The application data can be stored on a remote server. Αυτό είναι χρ
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (θα πρέπει να μοιάζει κάπως έτσι: `https://nextcloud.example.com/remote.php/dav/files/username/`, αντικαταστήστε το `username` και το `nextcloud.example.com` με τις σωστές τιμές)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Συγχρονισμός εκτός σύνδεσης {#offline}
@@ -48,7 +100,6 @@ To get the WebDAV URL, please visit the documentation:
Υπάρχουν μερικοί περιορισμοί:
-- Μπορείτε να συγχρονίσετε μόνο το ανώτερο επίπεδο ενός καταλόγου. Για παράδειγμα, αν έχετε έναν κατάλογο `a/b/test.bfly`, αυτό το αρχείο δεν θα συγχρονιστεί.
- Δεν μπορείτε να διαγράψετε ένα αρχείο ή φάκελο όσο είστε εκτός σύνδεσης.
- Δεν μπορείτε να προσθέσετε, να επεξεργαστείτε ή να διαγράψετε πρότυπα όσο είστε εκτός σύνδεσης.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/el/docs/v2/tools/area.md b/docs/src/content/docs/el/docs/v2/tools/area.md
index a05e534fd017..454b2fdf0921 100644
--- a/docs/src/content/docs/el/docs/v2/tools/area.md
+++ b/docs/src/content/docs/el/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Διαμόρφωση
-| Ιδιότητα | Προεπιλογή | Περιγραφή |
-| ------------------: | :--------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Width | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| Ύψος | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| Αναλογία διαστάσεων | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| Ιδιότητα | Προεπιλογή | Περιγραφή |
+| ------------------: | :--------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Ερώτηση ονόματος | ψευδές | Whether a name prompt will appear before creation. |
+| Προεπιλογές | none | Various presets for width and height. |
+| Width | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| Ύψος | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| Αναλογία διαστάσεων | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
Υπάρχουν προεπιλογές αναλογίας τριών διαστάσεων:
- Τετράγωνο (1:1)
-- Πορτρέτο σελίδας (sqrt(2)) - Αυτή είναι η προεπιλεγμένη αναλογία διαστάσεων μιας σελίδας Α4 σε λειτουργία πορτρέτου.
-- Τοπίο σελίδας (1/sqrt(2)) - Αυτή είναι η προεπιλεγμένη αναλογία διαστάσεων μιας σελίδας Α4 σε οριζόντια λειτουργία.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/el/docs/v2/tools/collection.md b/docs/src/content/docs/el/docs/v2/tools/collection.md
deleted file mode 100644
index f38317f214e7..000000000000
--- a/docs/src/content/docs/el/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-Δεν μπορείτε να την επιλέξετε και θα εκτελέσει την ενέργεια αν κάνετε κλικ σε αυτήν.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/el/docs/v2/tools/collection.mdx b/docs/src/content/docs/el/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/el/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/el/docs/v2/tools/eraser.md b/docs/src/content/docs/el/docs/v2/tools/eraser.md
index 762100644b8c..dd3f8b183a9e 100644
--- a/docs/src/content/docs/el/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/el/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## Διαμόρφωση
-| Ιδιότητα | Προεπιλογή | Περιγραφή |
-| -------------------------------------: | :--------: | :--------------------------------------------------------------------------- |
-| Πλάτος περιγράμματος | 5 | Το πλάτος της διαδρομής |
-| Πολλαπλασιαστής εγκεφαλικών επεισοδίων | 1 | Εάν έχετε γραφίδα, αυτός είναι ο πολλαπλασιαστής που θα προστεθεί στην πίεση |
+| Ιδιότητα | Προεπιλογή | Περιγραφή |
+| --------------------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| Πλάτος περιγράμματος | 5 | Το πλάτος της διαδρομής |
+| Διαγραφή σχημάτων | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Διαγραφή όλων των στοιχείων | ψευδές | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | Περιγραφή |
+| --------------------------------: | :------------------------------------------------------------------------------------------ |
+| Να μην διαγράφονται σχήματα | The eraser will not interact with shapes. |
+| Διαγραφή κατά την αφή ακμών | The shape will be erased when the eraser touches any edge. |
+| Διαγραφή όταν αγγίζετε οπουδήποτε | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/el/docs/v2/tools/full_screen.md b/docs/src/content/docs/el/docs/v2/tools/full_screen.md
index f7b411bf42b2..e19718f8ff44 100644
--- a/docs/src/content/docs/el/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/el/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-Δεν μπορείτε να την επιλέξετε και θα εκτελέσει την ενέργεια αν κάνετε κλικ σε αυτήν.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/el/docs/v2/tools/grid.md b/docs/src/content/docs/el/docs/v2/tools/grid.md
index 5ebed727a017..9b4e76b94e1f 100644
--- a/docs/src/content/docs/el/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/el/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| Μέγεθος | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| Χρώμα | Μαύρο | The color of the grid. |
+| Άλφα | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| Εξαρτώμενο από ζουμ | ψευδές | Changes the grid stroke width based on the zoom level. |
+| Εξαρτώμενο από ζουμ | ψευδές | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| Εξάρτηση από τη θέση | ψευδές | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/el/docs/v2/tools/index.md b/docs/src/content/docs/el/docs/v2/tools/index.md
index 78538e17cebb..a2b1e58cd9f5 100644
--- a/docs/src/content/docs/el/docs/v2/tools/index.md
+++ b/docs/src/content/docs/el/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ Create a new tool by clicking on the plus icon. Change the tool order by draggin
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/el/docs/v2/tools/pen.md b/docs/src/content/docs/el/docs/v2/tools/pen.md
index e90eae3664f3..ac7e3be54212 100644
--- a/docs/src/content/docs/el/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/el/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -54,12 +56,12 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
| Ιδιότητα | Προεπιλογή | Περιγραφή |
| -------------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| Χρώμα | Μαύρο | Το χρώμα που θα σχεδιαστεί |
-| Πλάτος περιγράμματος | 5 | Το πλάτος της διαδρομής |
| Εξαρτώμενο από ζουμ | ψευδές | Αυτό θα αλλάξει το πλάτος της διαδρομής με βάση το επίπεδο εστίασης. |
+| Συνδυάστε διαδρομές | ψευδές | This will merge all strokes it touches into one path |
| Ανίχνευση Σχήματος | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| Πλάτος περιγράμματος | 5 | Το πλάτος της διαδρομής |
| Λέπτυνση | 0.4 | This effect of pressure on the stroke size |
| Εξομάλυνση | 0.5 | This will smooth the edges of the stroke. |
-| Ροή | 0.5 | How much the pen will follow the movement of the mouse. |
-| Χρώμα | Μαύρο | Το χρώμα που θα σχεδιαστεί |
-| Γέμισμα | Διαφανές | The color that will be drawn inside the shape |
+| Ροή | 0.3 | How much the pen will follow the movement of the mouse. |
+| Χρώμα | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| Γέμισμα | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/el/docs/v2/tools/polygon.md b/docs/src/content/docs/el/docs/v2/tools/polygon.md
deleted file mode 100644
index cd9baa508b31..000000000000
--- a/docs/src/content/docs/el/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Διαμόρφωση
-
-| Ιδιότητα | Προεπιλογή | Περιγραφή |
-| -------------------: | :--------: | :--------------------------------------------------------------- |
-| Πλάτος περιγράμματος | 5 | Το πλάτος της διαδρομής |
-| Χρώμα | Μαύρο | Το χρώμα που θα σχεδιαστεί |
-| Γέμισμα | Διαφανές | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/el/docs/v2/tools/polygon.mdx b/docs/src/content/docs/el/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..53aec4eeb2c8
--- /dev/null
+++ b/docs/src/content/docs/el/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Διαμόρφωση
+
+| Ιδιότητα | Προεπιλογή | Περιγραφή |
+| -------------------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| Πλάτος περιγράμματος | 5 | Το πλάτος της διαδρομής |
+| Χρώμα | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| Γέμισμα | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/el/docs/v2/tools/redo.md b/docs/src/content/docs/el/docs/v2/tools/redo.md
index ee4b6ceb9dc1..de44e24ca619 100644
--- a/docs/src/content/docs/el/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/el/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-Δεν μπορείτε να την επιλέξετε και θα εκτελέσει την ενέργεια αν κάνετε κλικ σε αυτήν.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/el/docs/v2/tools/select.md b/docs/src/content/docs/el/docs/v2/tools/select.md
index b755cd855e66..74d810a13f40 100644
--- a/docs/src/content/docs/el/docs/v2/tools/select.md
+++ b/docs/src/content/docs/el/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Διαμόρφωση
-| Ιδιότητα | Προεπιλογή | Περιγραφή |
-| -------: | :--------: | :--------------------------------------------------------------- |
-| Mode | Ορθογώνιο | Mode of selection. Valid are Rectangle and Lasso |
+| Ιδιότητα | Προεπιλογή | Περιγραφή |
+| -------: | :------------: | :--------------------------------------------------------------- |
+| Mode | Ορθογώνιο | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | Περιγραφή |
+| --------------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Επιλέξτε όταν αγγίζετε τις ακμές | The shape will be selected when the selected area intersects any edge. |
+| Επιλέξτε όταν αγγίζετε οπουδήποτε | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/el/docs/v2/tools/shape.md b/docs/src/content/docs/el/docs/v2/tools/shape.md
index a1f7a079e9ad..f2f4975203a7 100644
--- a/docs/src/content/docs/el/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/el/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Διαμόρφωση
-| Ιδιότητα | Προεπιλογή | Περιγραφή |
-| -------------------: | :--------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Χρώμα | Μαύρο | The stroke color that will be drawn |
-| Πλάτος περιγράμματος | 5 | Το πλάτος της διαδρομής |
-| Στυλ πινελιάς | Solid | The style of the stroke. Other styles can use dash and gap lengths. |
-| Μήκος παύλας | 1 | The length of the dash when using a non-solid stroke style |
-| Μήκος κενού | 1 | The length of the gap when using a non-solid stroke style |
-| Εξαρτώμενο από ζουμ | ψευδές | Αυτό θα αλλάξει το πλάτος της διαδρομής με βάση το επίπεδο εστίασης. |
-| Σχήμα | Ορθογώνιο | Το σχήμα που θα σχεδιαστεί |
-| Width | 0 | Το σταθερό πλάτος της περιοχής. Εάν οριστεί σε 0, το πλάτος θα υπολογιστεί αυτόματα. |
-| Ύψος | 0 | Το σταθερό ύψος της περιοχής. Εάν οριστεί σε 0, το ύψος θα υπολογίζεται αυτόματα. |
-| Αναλογία διαστάσεων | 0 | Η καθορισμένη αναλογία διαστάσεων της περιοχής. Εάν οριστεί σε 0, η αναλογία διαστάσεων θα υπολογίζεται αυτόματα. An aspect ratio is defined as width / height. |
-| Κέντρο | ψευδές | Draws the shape from the center instead of from the corner. |
-
-### Τύποι σχήματος
-
-#### Ορθογώνιο
-
-| Ιδιότητα | Προεπιλογή | Περιγραφή |
-| ------------: | :--------: | :-------------------------------------------- |
-| Γέμισμα | Διαφανές | Το χρώμα που θα σχεδιαστεί μέσα στο ορθογώνιο |
-| Corner radius | 0, 0, 0, 0 | Η ακτίνα των γωνιών του ορθογωνίου |
-
-#### Τρίγωνο
-
-| Ιδιότητα | Προεπιλογή | Περιγραφή |
-| -------: | :--------: | :----------------------------------------------- |
-| Γέμισμα | Διαφανές | The color that will be drawn inside the triangle |
-
-#### Κύκλος
-
-| Ιδιότητα | Προεπιλογή | Περιγραφή |
-| -------: | :--------: | :--------------------------------------------- |
-| Γέμισμα | Διαφανές | The color that will be drawn inside the circle |
-
-#### Γραμμή
-
-_Δεν υπάρχουν διαθέσιμες ρυθμίσεις._
+| Ιδιότητα | Προεπιλογή | Περιγραφή |
+| -------------------: | :------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Κέντρο | ψευδές | Draws the shape from the center instead of from the corner. |
+| Width | 0 | Το σταθερό πλάτος της περιοχής. Εάν οριστεί σε 0, το πλάτος θα υπολογιστεί αυτόματα. |
+| Ύψος | 0 | Το σταθερό ύψος της περιοχής. Εάν οριστεί σε 0, το ύψος θα υπολογίζεται αυτόματα. |
+| Αναλογία διαστάσεων | 0 | Η καθορισμένη αναλογία διαστάσεων της περιοχής. Εάν οριστεί σε 0, η αναλογία διαστάσεων θα υπολογίζεται αυτόματα. An aspect ratio is defined as width / height. |
+| Πλάτος περιγράμματος | 5 | Το πλάτος της διαδρομής |
+| Στυλ πινελιάς | Solid | The style of the stroke. Other styles can use dash and gap lengths. |
+| Μήκος παύλας | 1 | The length of the dash when using a non-solid stroke style |
+| Μήκος κενού | 1 | The length of the gap when using a non-solid stroke style |
+| Χρώμα | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| Σχήμα | Ορθογώνιο | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| Corner radius | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| Γέμισμα | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| Εξαρτώμενο από ζουμ | ψευδές | Αυτό θα αλλάξει το πλάτος της διαδρομής με βάση το επίπεδο εστίασης. |
\ No newline at end of file
diff --git a/docs/src/content/docs/el/docs/v2/tools/texture.md b/docs/src/content/docs/el/docs/v2/tools/texture.md
index c566f9fa0990..8acf175ba0a6 100644
--- a/docs/src/content/docs/el/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/el/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: Υφή
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Διαμόρφωση
-| Ιδιότητα | Προεπιλογή | Περιγραφή |
-| ------------------: | :--------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Εξαρτώμενο από ζουμ | ψευδές | Αυτό θα αλλάξει το πλάτος της διαδρομής με βάση το επίπεδο εστίασης. |
-| Υφή | Μοτίβο | The pattern that should be added. |
-| Width | 0 | Το σταθερό πλάτος της περιοχής. If set to `0`, the width will be calculated automatically. |
-| Ύψος | 0 | Το σταθερό ύψος της περιοχής. If set to `0`, the height will be calculated automatically. |
-| Αναλογία διαστάσεων | 0 | Η καθορισμένη αναλογία διαστάσεων της περιοχής. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Ιδιότητα | Περιγραφή |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| Υφή | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/el/docs/v2/tools/undo.md b/docs/src/content/docs/el/docs/v2/tools/undo.md
index 1737c0526bf8..18fdbd192064 100644
--- a/docs/src/content/docs/el/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/el/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-Δεν μπορείτε να την επιλέξετε και θα εκτελέσει την ενέργεια αν κάνετε κλικ σε αυτήν.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/el/docs/v2/utilities.md b/docs/src/content/docs/el/docs/v2/utilities.md
index c5635381d7e4..c989e82e8f68 100644
--- a/docs/src/content/docs/el/docs/v2/utilities.md
+++ b/docs/src/content/docs/el/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## Κάμερα
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/es/community/embed.md b/docs/src/content/docs/es/community/embed.md
index 5b8532c86ec3..630a4cdbf477 100644
--- a/docs/src/content/docs/es/community/embed.md
+++ b/docs/src/content/docs/es/community/embed.md
@@ -22,6 +22,7 @@ Añade el siguiente código a tu sitio web:
| guardar | Boolean (true, false) | true | Activar guardar. Si está desactivado, sólo se mostrará un botón de salida |
| editable | Boolean (true, false) | true | Activar la edición. Si está deshabilitado, el documento será de sólo lectura |
| idioma | Cadena (..., sistema, usuario) | user | Idioma del documento. Si el sistema, el idioma se detectará desde el navegador. Si el usuario, el idioma se ajustará a las preferencias de los usuarios |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/es/docs/v2/add.md b/docs/src/content/docs/es/docs/v2/add.md
index 8a98e0aa63e7..f8e8e6370704 100644
--- a/docs/src/content/docs/es/docs/v2/add.md
+++ b/docs/src/content/docs/es/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## Importar
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## Herramientas
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/es/docs/v2/background.mdx b/docs/src/content/docs/es/docs/v2/background.mdx
index 7d28403380ce..cc12d267b03b 100644
--- a/docs/src/content/docs/es/docs/v2/background.mdx
+++ b/docs/src/content/docs/es/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/es/docs/v2/intro.mdx b/docs/src/content/docs/es/docs/v2/intro.mdx
index 39af507c291d..7a02b81921d1 100644
--- a/docs/src/content/docs/es/docs/v2/intro.mdx
+++ b/docs/src/content/docs/es/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/es/docs/v2/layers.md b/docs/src/content/docs/es/docs/v2/layers.md
index 8d61c9f59c0a..418c6571fd43 100644
--- a/docs/src/content/docs/es/docs/v2/layers.md
+++ b/docs/src/content/docs/es/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: Capas
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Aquí puedes ver todas las capas del proyecto. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Aquí puedes ver todas las capas del proyecto. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Opción | Descripción |
+| ----------------: | --------------------------------------------------------------------------------- |
+| Avanzar | Renders the selection on top of the first element in front of it. |
+| Enviar atrás | Renders the selection under the first element behind it. |
+| Traer al frente | Renders the selection in front of everything else. |
+| Enviar al reverso | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/es/docs/v2/pack.md b/docs/src/content/docs/es/docs/v2/pack.md
index 28a7989a4c88..3aeec34f388d 100644
--- a/docs/src/content/docs/es/docs/v2/pack.md
+++ b/docs/src/content/docs/es/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## Palettes
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/es/docs/v2/shortcuts.md b/docs/src/content/docs/es/docs/v2/shortcuts.md
index 6a27a8afaca4..75d42a4b05b3 100644
--- a/docs/src/content/docs/es/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/es/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: Atajos
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## Ratón
+
+### Mouse configurations
+
+| Propiedad | Por defecto | Descripción |
+| ------------------------: | :---------: | :------------------------------------------------------------------------------------------ |
+| Ocultar cursor al dibujar | true | Oculta el puntero del ratón mientras dibujas, por lo que no cubre el trazo. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## Pulsar
+
+### Touch configurations
+
+| Propiedad | Por defecto | Descripción |
+| -------------: | :---------: | :--------------------------------------------------------------------------------------------------------------------------- |
+| Input gestures | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| Mover en gesto | true | Permite que los gestos multitáctiles muevan el lienzo en lugar de interactuar con el contenido de las notas. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## Keyboard
-Hay algunos atajos que puedes usar en el editor.
-Algunos de ellos se escriben debajo de los botones.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### General
@@ -14,44 +135,63 @@ Algunos de ellos se escriben debajo de los botones.
- `Ctrl` + `E`: Exportar archivo
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `Shift` + `E`: Export file as pdf
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `S`: Abrir ajustes
- `Ctrl` + `Alt` + `P`: Abrir paquetes
+- `Escape`: Escape
### Projekt
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Deshacer
- `Ctrl` + `Y`: Rehacer
-- `Ctrl` + `Shift` + `P`: Abrir diálogo de waypoints
- `Ctrl` + `B`: Abrir diálogo de fondo
- `Ctrl` + `S`: Guarda
- `Alt` + `S`: Cambia la ruta
-- `Ctrl` + (`1` - `0`): Cambia a herramienta
- `Ctrl` + `+`: Acercar en
- `Ctrl` + `-`: Alejar el zoom
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Cambia a herramienta
## Pen
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Pen`: configurado como pluma.
-- `Primero` (botón primario, si es soportado): Cambia a la herramienta de mano mientras se presiona.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Propiedad | Values | Descripción |
+| --------------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| Entrada de Pen sólo | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Mostrar sólo alternar lápiz | true, false | Muestra un interruptor rápido de sólo pluma en el editor después de que Butterfly detecte una pluma. |
+| Presión de ignorancia | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/es/docs/v2/storage.md b/docs/src/content/docs/es/docs/v2/storage.md
index b3aedd10ab1e..a660b527d000 100644
--- a/docs/src/content/docs/es/docs/v2/storage.md
+++ b/docs/src/content/docs/es/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## Directorio de datos
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ También puedes cambiarlo en la configuración bajo `Data`.
En este directorio encontrarás una carpeta `Documents`, `Templates` y `Packs`.
-## Web
+## Web {#web}
Los datos de la aplicación se almacenan en su navegador. Se almacena en un almacenamiento local.
Abre las herramientas del desarrollador en tu navegador y verás los datos.
@@ -39,7 +39,59 @@ Añadir la URL del servidor remoto y el nombre de usuario y contraseña. Despué
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/es/files/access_webdav.html) (debería verse así: `https://nextcloud.example.com/remote.php/dav/files/username/`, reemplazar `username` y `nextcloud.example.com` con los valores correctos)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Sincronización sin conexión {#offline}
@@ -48,7 +100,6 @@ Abre el menú emergente en un archivo o carpeta y haz clic en `Sync`. Esto desca
Hay algunas limitaciones:
-- Solo puedes sincronizar el nivel superior de un directorio. Por ejemplo, si tienes un directorio `a/b/test.bfly`, este archivo no será sincronizado.
- No puede eliminar un archivo o carpeta mientras esté desconectado.
- No puede añadir, editar o eliminar plantillas mientras esté desconectado.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/es/docs/v2/tools/area.md b/docs/src/content/docs/es/docs/v2/tools/area.md
index eea64e7eb26a..7c60b78a1506 100644
--- a/docs/src/content/docs/es/docs/v2/tools/area.md
+++ b/docs/src/content/docs/es/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Configuración
-| Propiedad | Por defecto | Descripción |
-| ------------------: | :---------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| Ancho | 0 | El ancho fijo de nuevas áreas. Si puesto en 0, esta configuración será ignorada. |
-| Altura | 0 | La altura fija para nuevas áreas. Si puesto en 0, esta configuración será ignorada. |
-| Relación de aspecto | 0 | La relación de aspecto fija para nuevas áreas. Presiona el botón de para acceder a algunos ajustes predeterminados comunes. Una relación de aspecto está definida cómo ancho / altura, así que valores menores que 1 serán más altos que anchos, y valores mayores que 1 serán más anchos que altos. Si puesto en 0, esta configuración será ignorada. |
+| Propiedad | Por defecto | Descripción |
+| ------------------: | :---------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Solicitar nombre | falso | Whether a name prompt will appear before creation. |
+| Preajustes | none | Various presets for width and height. |
+| Ancho | 0 | El ancho fijo de nuevas áreas. Si puesto en 0, esta configuración será ignorada. |
+| Altura | 0 | La altura fija para nuevas áreas. Si puesto en 0, esta configuración será ignorada. |
+| Relación de aspecto | 0 | La relación de aspecto fija para nuevas áreas. Select a preset from the segmented control or enter a custom value in the input field. Una relación de aspecto está definida cómo ancho / altura, así que valores menores que 1 serán más altos que anchos, y valores mayores que 1 serán más anchos que altos. Si puesto en 0, esta configuración será ignorada. |
Hay tres ajustes predeterminados de relación de aspecto:
- Cuadrado (1:1)
-- Retrato de página (sqrt(2)) - Esta es la relación de aspecto predeterminada de una página A4 en modo vertical.
-- Paisaje de página (1/sqrt(2)) - Esta es la relación de aspecto predeterminada de una página A4 en modo horizontal.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/es/docs/v2/tools/collection.md b/docs/src/content/docs/es/docs/v2/tools/collection.md
deleted file mode 100644
index 40e54e836bb6..000000000000
--- a/docs/src/content/docs/es/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Herramienta de colección
----
-
-:::note[⚡ Herramienta de acción
-
-Esta es una herramienta especial.
-No puedes seleccionarlo y se ejecutará la acción si haces clic en él.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-Cuando haces clic en un objeto, la colección del objeto será cambiada a la colección puesta en la configuración. Dejar el campo de colección vacío pondrá la colección a la colección por defecto.
diff --git a/docs/src/content/docs/es/docs/v2/tools/collection.mdx b/docs/src/content/docs/es/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..2929509e9490
--- /dev/null
+++ b/docs/src/content/docs/es/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Herramienta de colección
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Dejar el campo de colección vacío pondrá la colección a la colección por defecto.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/es/docs/v2/tools/eraser.md b/docs/src/content/docs/es/docs/v2/tools/eraser.md
index 607a849f3ec1..8245be69d817 100644
--- a/docs/src/content/docs/es/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/es/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ Con esta herramienta puedes borrar los elementos en el papel.
## Configuración
-| Propiedad | Por defecto | Descripción |
-| ---------------------: | :---------: | :------------------------------------------------------------------------ |
-| Ancho del trazo | 5 | El ancho del trazo |
-| Multiplicador de trazo | 1 | Si tienes un estilo, este es el multiplicador que se añadirá a la presión |
+| Propiedad | Por defecto | Descripción |
+| -------------------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| Ancho del trazo | 5 | El ancho del trazo |
+| Borrar formas | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Borrar todos los elementos | falso | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | Descripción |
+| ---------------------------------: | :------------------------------------------------------------------------------------------ |
+| No borrar formas | The eraser will not interact with shapes. |
+| Borrar al tocar bordes | The shape will be erased when the eraser touches any edge. |
+| Borrar al tocar en cualquier lugar | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/es/docs/v2/tools/full_screen.md b/docs/src/content/docs/es/docs/v2/tools/full_screen.md
index de263f9120b4..9c2beb6ba7b3 100644
--- a/docs/src/content/docs/es/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/es/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Herramienta de pantalla completa
---
-:::note[⚡ Herramienta de acción
+:::note[🔘 Herramienta conmutable
Esta es una herramienta especial.
-No puedes seleccionarlo y se ejecutará la acción si haces clic en él.
+It can't be selected and will run the action immediately when you click on it.
:::
-Al hacer clic en esta herramienta puedes habilitar la pantalla completa.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/es/docs/v2/tools/grid.md b/docs/src/content/docs/es/docs/v2/tools/grid.md
index 0b007700d741..c3e7425b2859 100644
--- a/docs/src/content/docs/es/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/es/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Herramienta de cuadrícula
:::note[🔘 Herramienta conmutable
Esta es una herramienta especial.
-No puedes seleccionarla y se activa al presionarse.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| Tamaño | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| Color | Negro | The color of the grid. |
+| Alfa | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| Dependiente de zoom | falso | Changes the grid stroke width based on the zoom level. |
+| Dependiente de zoom | falso | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| Dependiendo de posición | falso | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/es/docs/v2/tools/index.md b/docs/src/content/docs/es/docs/v2/tools/index.md
index d1650b3a93e0..0f4f6c49cf80 100644
--- a/docs/src/content/docs/es/docs/v2/tools/index.md
+++ b/docs/src/content/docs/es/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ Si hace clic en una herramienta seleccionada puede configurarla.
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/es/docs/v2/tools/pen.md b/docs/src/content/docs/es/docs/v2/tools/pen.md
index 09a4075a7c36..469bf81769b0 100644
--- a/docs/src/content/docs/es/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/es/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -54,12 +56,12 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
| Propiedad | Por defecto | Descripción |
| ------------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| Color | Negro | El color que se dibujará |
-| Ancho del trazo | 5 | El ancho del trazo |
| Dependiente de zoom | falso | Esto cambiará el ancho del trazo basado en el nivel de acercamiento. |
+| Combinar rutas | falso | This will merge all strokes it touches into one path |
| Detección de forma | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| Ancho del trazo | 5 | El ancho del trazo |
| Lanzamiento | 0.4 | This effect of pressure on the stroke size |
| Suavizado | 0.5 | This will smooth the edges of the stroke. |
-| Streamline | 0.5 | How much the pen will follow the movement of the mouse. |
-| Color | Negro | El color que se dibujará |
-| Rellenar | Transparente | The color that will be drawn inside the shape |
+| Streamline | 0.3 | How much the pen will follow the movement of the mouse. |
+| Color | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| Rellenar | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/es/docs/v2/tools/polygon.md b/docs/src/content/docs/es/docs/v2/tools/polygon.md
deleted file mode 100644
index 293d05d0a1ac..000000000000
--- a/docs/src/content/docs/es/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Configuración
-
-| Propiedad | Por defecto | Descripción |
-| --------------: | :----------: | :--------------------------------------------------------------- |
-| Ancho del trazo | 5 | El ancho del trazo |
-| Color | Negro | El color que se dibujará |
-| Rellenar | Transparente | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/es/docs/v2/tools/polygon.mdx b/docs/src/content/docs/es/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..73d226f9554d
--- /dev/null
+++ b/docs/src/content/docs/es/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Configuración
+
+| Propiedad | Por defecto | Descripción |
+| --------------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| Ancho del trazo | 5 | El ancho del trazo |
+| Color | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| Rellenar | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/es/docs/v2/tools/redo.md b/docs/src/content/docs/es/docs/v2/tools/redo.md
index e546b0253b2e..f7e7a0905274 100644
--- a/docs/src/content/docs/es/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/es/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Herramienta de acción
-Esta es una herramienta especial.
-No puedes seleccionarlo y se ejecutará la acción si haces clic en él.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/es/docs/v2/tools/select.md b/docs/src/content/docs/es/docs/v2/tools/select.md
index bd62aa4c9a30..df50f737f228 100644
--- a/docs/src/content/docs/es/docs/v2/tools/select.md
+++ b/docs/src/content/docs/es/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Configuración
-| Propiedad | Por defecto | Descripción |
-| --------: | :---------: | :--------------------------------------------------------------- |
-| Mode | Rectángulo | Mode of selection. Valid are Rectangle and Lasso |
+| Propiedad | Por defecto | Descripción |
+| --------: | :------------: | :--------------------------------------------------------------- |
+| Mode | Rectángulo | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | Descripción |
+| --------------------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Seleccionar al tocar los bordes | The shape will be selected when the selected area intersects any edge. |
+| Seleccionar al tocar en cualquier lugar | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/es/docs/v2/tools/shape.md b/docs/src/content/docs/es/docs/v2/tools/shape.md
index d3a282030487..da9899e1a16d 100644
--- a/docs/src/content/docs/es/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/es/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Configuración
-| Propiedad | Por defecto | Descripción |
-| ------------------: | :---------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Color | Negro | The stroke color that will be drawn |
-| Ancho del trazo | 5 | El ancho del trazo |
-| Estilo de trazo | Solid | The style of the stroke. Other styles can use dash and gap lengths. |
-| Longitud del guión | 1 | The length of the dash when using a non-solid stroke style |
-| Longitud del hueco | 1 | The length of the gap when using a non-solid stroke style |
-| Dependiente de zoom | falso | Esto cambiará el ancho del trazo basado en el nivel de acercamiento. |
-| Forma | rectángulo | La forma que se dibujará |
-| Width | 0 | Relación de aspecto Si se establece en 0, el ancho se calculará automáticamente. |
-| Altura | 0 | La altura fija del área. Si se establece en 0, la altura se calculará automáticamente. |
-| Relación de aspecto | 0 | El ancho fijo del área. Si se establece en 0, la relación de aspecto se calculará automáticamente. An aspect ratio is defined as width / height. |
-| Centrar | falso | Draws the shape from the center instead of from the corner. |
-
-### Tipos de forma
-
-#### Rectángulo
-
-| Propiedad | Por defecto | Descripción |
-| ---------------: | :----------: | :--------------------------------------------- |
-| Rellenar | Transparente | El color que se dibujará dentro del rectángulo |
-| Radio de esquina | 0, 0, 0, 0 | El radio de las esquinas del rectángulo |
-
-#### Triángulo
-
-| Propiedad | Por defecto | Descripción |
-| --------: | :----------: | :----------------------------------------------- |
-| Rellenar | Transparente | The color that will be drawn inside the triangle |
-
-#### Círculo
-
-| Propiedad | Por defecto | Descripción |
-| --------: | :----------: | :--------------------------------------------- |
-| Rellenar | Transparente | The color that will be drawn inside the circle |
-
-#### Línea
-
-_No hay configuración disponible._
+| Propiedad | Por defecto | Descripción |
+| ------------------: | :------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Centrar | falso | Draws the shape from the center instead of from the corner. |
+| Width | 0 | Relación de aspecto Si se establece en 0, el ancho se calculará automáticamente. |
+| Altura | 0 | La altura fija del área. Si se establece en 0, la altura se calculará automáticamente. |
+| Relación de aspecto | 0 | El ancho fijo del área. Si se establece en 0, la relación de aspecto se calculará automáticamente. An aspect ratio is defined as width / height. |
+| Ancho del trazo | 5 | El ancho del trazo |
+| Estilo de trazo | Solid | The style of the stroke. Other styles can use dash and gap lengths. |
+| Longitud del guión | 1 | The length of the dash when using a non-solid stroke style |
+| Longitud del hueco | 1 | The length of the gap when using a non-solid stroke style |
+| Color | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| Forma | rectángulo | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| Radio de esquina | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| Rellenar | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| Dependiente de zoom | falso | Esto cambiará el ancho del trazo basado en el nivel de acercamiento. |
\ No newline at end of file
diff --git a/docs/src/content/docs/es/docs/v2/tools/texture.md b/docs/src/content/docs/es/docs/v2/tools/texture.md
index a817143eba49..aefc974e328e 100644
--- a/docs/src/content/docs/es/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/es/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: Textura
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Configuración
-| Propiedad | Por defecto | Descripción |
-| ------------------: | :---------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Dependiente de zoom | falso | Esto cambiará el ancho del trazo basado en el nivel de acercamiento. |
-| Textura | Patrón | The pattern that should be added. |
-| Width | 0 | El ancho fijo del área. If set to `0`, the width will be calculated automatically. |
-| Altura | 0 | La altura fija del área. If set to `0`, the height will be calculated automatically. |
-| Relación de aspecto | 0 | La relación de aspecto fijo del área. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Propiedad | Descripción |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| Textura | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/es/docs/v2/tools/undo.md b/docs/src/content/docs/es/docs/v2/tools/undo.md
index 59b20953e794..5391332eece3 100644
--- a/docs/src/content/docs/es/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/es/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Herramienta de acción
-Esta es una herramienta especial.
-No puedes seleccionarlo y se ejecutará la acción si haces clic en él.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/es/docs/v2/utilities.md b/docs/src/content/docs/es/docs/v2/utilities.md
index db4f371141ce..f6033027f2ff 100644
--- a/docs/src/content/docs/es/docs/v2/utilities.md
+++ b/docs/src/content/docs/es/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## Cámara
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/fi/community/embed.md b/docs/src/content/docs/fi/community/embed.md
index 1e99f45b41ba..77b292ba252a 100644
--- a/docs/src/content/docs/fi/community/embed.md
+++ b/docs/src/content/docs/fi/community/embed.md
@@ -22,6 +22,7 @@ Add the following code to your website:
| tallenna | Boolean (true, false) | true | Enable save. If disabled, only an exit button will be shown |
| editable | Boolean (true, false) | true | Enable editing. If disabled, the document will be read-only |
| kieli | Merkkijono (..., järjestelmä, käyttäjä) | user | Language of the document. If system, the language will be detected from the browser. If user, the language will set to the users preference |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/fi/docs/v2/add.md b/docs/src/content/docs/fi/docs/v2/add.md
index 04719138b9ae..f2f53bc0488b 100644
--- a/docs/src/content/docs/fi/docs/v2/add.md
+++ b/docs/src/content/docs/fi/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## Tuo
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## Työkalut
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/fi/docs/v2/background.mdx b/docs/src/content/docs/fi/docs/v2/background.mdx
index e0c8851ba084..377d60d2dc9a 100644
--- a/docs/src/content/docs/fi/docs/v2/background.mdx
+++ b/docs/src/content/docs/fi/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/fi/docs/v2/intro.mdx b/docs/src/content/docs/fi/docs/v2/intro.mdx
index 687b971551a2..38e4d1eda9bb 100644
--- a/docs/src/content/docs/fi/docs/v2/intro.mdx
+++ b/docs/src/content/docs/fi/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/fi/docs/v2/layers.md b/docs/src/content/docs/fi/docs/v2/layers.md
index d71f4b6599a2..7dcef395b727 100644
--- a/docs/src/content/docs/fi/docs/v2/layers.md
+++ b/docs/src/content/docs/fi/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: Kerrokset
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Täällä voit nähdä kaikki kerrokset projektissa. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Täällä voit nähdä kaikki kerrokset projektissa. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Valinta | Kuvaus |
+| ----------------: | --------------------------------------------------------------------------------- |
+| Tuo eteenpäin | Renders the selection on top of the first element in front of it. |
+| Lähetä taaksepäin | Renders the selection under the first element behind it. |
+| Tuo eteen | Renders the selection in front of everything else. |
+| Lähetä takaisin | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/fi/docs/v2/pack.md b/docs/src/content/docs/fi/docs/v2/pack.md
index 9c30e4bbb290..d20eb812fbcb 100644
--- a/docs/src/content/docs/fi/docs/v2/pack.md
+++ b/docs/src/content/docs/fi/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## Palettes
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/fi/docs/v2/shortcuts.md b/docs/src/content/docs/fi/docs/v2/shortcuts.md
index 51215bb7e9e0..0188d6d2d36d 100644
--- a/docs/src/content/docs/fi/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/fi/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: Pikanäppäimet
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## Hiiri
+
+### Mouse configurations
+
+| Ominaisuus | Oletus | Kuvaus |
+| ----------------------------------: | :----: | :--------------------------------------------------------------------------------------- |
+| Piilota kohdistin piirroksen aikana | true | Piilottaa hiiren osoitin piirtäessäsi, joten se ei kata aivohalvaustasi. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## Kosketa
+
+### Touch configurations
+
+| Ominaisuus | Oletus | Kuvaus |
+| -------------: | :----: | :------------------------------------------------------------------------------------------------------------------------- |
+| Input gestures | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| Siirrä ele | true | Lets multi-touch eleet siirtää kankaalle sen sijaan, että vuorovaikutuksessa huomautuksen sisällön kanssa. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## Keyboard
-On olemassa muutamia pikakuvakkeita, joita voit käyttää editorissa.
-Osa niistä on kirjoitettu painikkeiden alle.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### Yleiset
@@ -14,44 +135,63 @@ Osa niistä on kirjoitettu painikkeiden alle.
- `Ctrl` + `E`: Vie tiedosto
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `Shift` + `E`: Export file as pdf
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `S`: Avaa asetukset
- `Ctrl` + `Alt` + `S`: Avaa asetukset
+- `Escape`: Escape
### Projekti
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Kumoa
- `Ctrl` + `Y`: Redo
-- `Ctrl` + `Shift` + `P`: Avoimet reittipisteet -valintaikkuna
- `Ctrl` + `B`: Avaa taustaikkuna
- `Ctrl` + `S`: Tallenna
- `Alt` + `S`: Muuta polkua
-- `Ctrl` + (`1` - `0`): Vaihda työkaluun
- `Ctrl` + `+`: Lähennä
- `Ctrl` + `-`: Lähennä
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Vaihda työkaluun
## Kynä
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Pen`: määritetty kynäksi.
-- `First` (Valinnainen painike, jos tuettu): Vaihda käsityökalua painettuna.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Ominaisuus | Values | Kuvaus |
+| ----------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| Vain kynä syöttö | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Näytä vain kynän vaihto | true, false | Näyttää nopean vain kynällä -kytkimen editorissa, kun Butterfly tunnistaa kynän. |
+| Ohita paine | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/fi/docs/v2/storage.md b/docs/src/content/docs/fi/docs/v2/storage.md
index 0e00df861502..68b28ba70864 100644
--- a/docs/src/content/docs/fi/docs/v2/storage.md
+++ b/docs/src/content/docs/fi/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## Datakansio
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ Voit myös muuttaa sitä asetuksissa kohdassa `Data`.
Tästä hakemistosta löydät kansion `Dokumentit`, `Templates` ja `Packs`.
-## Verkko
+## Web {#web}
Sovelluksen tiedot on tallennettu selaimeesi. Se on tallennettu paikalliseen tallennustilaan.
Avaa kehittäjän työkalut selaimessasi ja näet niiden tiedot.
@@ -39,7 +39,59 @@ Lisää etäpalvelimen URL ja käyttäjätunnus ja salasana. Sen jälkeen voit m
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (sen pitäisi näyttää tältä: `https://nextcloud.example.com/remote.php/dav/files/username/`, korvaa `username` ja `nextcloud.example.com` oikeilla arvoilla)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Offline sync {#offline}
@@ -48,7 +100,6 @@ Avaa ponnahdusikkunavalikko tiedostossa tai kansiossa ja napsauta `Sync`. Tämä
On olemassa muutamia rajoituksia:
-- Voit synkronoida vain hakemiston ylätason arvon. Jos sinulla on esimerkiksi hakemisto `a/b/test.bfly`, tätä tiedostoa ei synkronoida.
- Et voi poistaa tiedostoa tai kansiota offline-tilassa.
- Et voi lisätä, muokata tai poistaa malleja ollessasi offline-tilassa.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/fi/docs/v2/tools/area.md b/docs/src/content/docs/fi/docs/v2/tools/area.md
index e2e02887cef2..d2581543f03b 100644
--- a/docs/src/content/docs/fi/docs/v2/tools/area.md
+++ b/docs/src/content/docs/fi/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Asetukset
-| Ominaisuus | Oletus | Kuvaus |
-| ---------: | :----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Width | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| Korkeus | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| Kuvasuhde | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| Ominaisuus | Oletus | Kuvaus |
+| -----------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Pyydä nimeä | epätosi | Whether a name prompt will appear before creation. |
+| Esiasetukset | none | Various presets for width and height. |
+| Width | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| Korkeus | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| Kuvasuhde | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
On olemassa kolme kuvasuhteen esiasetuksia:
- Neliö (1:1)
-- Sivun muotokuva (sqrt(2)) - Tämä on A4-sivun oletuskuvasuhde pystytilassa.
-- Sivun vaakakuva (1/sqrt(2)) - Tämä on A4-sivun oletuskuvasuhde vaakatilassa.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/fi/docs/v2/tools/collection.md b/docs/src/content/docs/fi/docs/v2/tools/collection.md
deleted file mode 100644
index 8448af329ab9..000000000000
--- a/docs/src/content/docs/fi/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-Et voi valita sitä, ja se suorittaa toiminnon, jos klikkaat sitä.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/fi/docs/v2/tools/collection.mdx b/docs/src/content/docs/fi/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/fi/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/fi/docs/v2/tools/eraser.md b/docs/src/content/docs/fi/docs/v2/tools/eraser.md
index 3c83956742f7..92eddf784e26 100644
--- a/docs/src/content/docs/fi/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/fi/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## Asetukset
-| Ominaisuus | Oletus | Kuvaus |
-| ---------------------: | :----: | :----------------------------------------------------------- |
-| Aivojen leveys | 5 | Aivohalvauksen leveys |
-| Aivohalvauksen kerroin | 1 | Jos sinulla on tyyli, tämä on kerroin, joka lisätään paineen |
+| Ominaisuus | Oletus | Kuvaus |
+| ----------------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| Aivojen leveys | 5 | Aivohalvauksen leveys |
+| Pyyhi muodot | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Poista kaikki elementit | epätosi | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | Kuvaus |
+| -------------------------------: | :------------------------------------------------------------------------------------------ |
+| Älä poista muotoja | The eraser will not interact with shapes. |
+| Pyyhi kun koskettaa reunoja | The shape will be erased when the eraser touches any edge. |
+| Pyyhi koskettaessa minne tahansa | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/fi/docs/v2/tools/full_screen.md b/docs/src/content/docs/fi/docs/v2/tools/full_screen.md
index 112a502c8573..e19718f8ff44 100644
--- a/docs/src/content/docs/fi/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/fi/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-Et voi valita sitä, ja se suorittaa toiminnon, jos klikkaat sitä.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/fi/docs/v2/tools/grid.md b/docs/src/content/docs/fi/docs/v2/tools/grid.md
index 2174806d31c1..af82c2b77848 100644
--- a/docs/src/content/docs/fi/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/fi/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| Koko | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| Väri | Musta | The color of the grid. |
+| Alfa | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| Lähennys riippuvainen | epätosi | Changes the grid stroke width based on the zoom level. |
+| Lähennys riippuvainen | epätosi | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| Asema riippuu | epätosi | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/fi/docs/v2/tools/index.md b/docs/src/content/docs/fi/docs/v2/tools/index.md
index 51c49a9ff02a..d8d1d89ad953 100644
--- a/docs/src/content/docs/fi/docs/v2/tools/index.md
+++ b/docs/src/content/docs/fi/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ Jos klikkaat valittua työkalua, voit määrittää sen.
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/fi/docs/v2/tools/pen.md b/docs/src/content/docs/fi/docs/v2/tools/pen.md
index e386f2f63b3b..f7035939899a 100644
--- a/docs/src/content/docs/fi/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/fi/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -54,12 +56,12 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
| Ominaisuus | Oletus | Kuvaus |
| --------------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| Väri | Musta | Väri, joka piirretään |
-| Aivojen leveys | 5 | Aivohalvauksen leveys |
| Lähennys riippuvainen | epätosi | Tämä muuttaa aivohalvauksen leveyttä, joka perustuu zoomaustasoon. |
+| Yhdistä polut | epätosi | This will merge all strokes it touches into one path |
| Muodon Tunnistaminen | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| Aivojen leveys | 5 | Aivohalvauksen leveys |
| Hehkuminen | 0.4 | This effect of pressure on the stroke size |
| Pehmennys | 0.5 | This will smooth the edges of the stroke. |
-| Streamline | 0.5 | How much the pen will follow the movement of the mouse. |
-| Väri | Musta | Väri, joka piirretään |
-| Täytä | Läpikuultava | The color that will be drawn inside the shape |
+| Streamline | 0.3 | How much the pen will follow the movement of the mouse. |
+| Väri | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| Täytä | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/fi/docs/v2/tools/polygon.md b/docs/src/content/docs/fi/docs/v2/tools/polygon.md
deleted file mode 100644
index 933a638bd7d9..000000000000
--- a/docs/src/content/docs/fi/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Asetukset
-
-| Ominaisuus | Oletus | Kuvaus |
-| -------------: | :----------: | :--------------------------------------------------------------- |
-| Aivojen leveys | 5 | Aivohalvauksen leveys |
-| Väri | Musta | Väri, joka piirretään |
-| Täytä | Läpikuultava | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/fi/docs/v2/tools/polygon.mdx b/docs/src/content/docs/fi/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..be0ab55aa891
--- /dev/null
+++ b/docs/src/content/docs/fi/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Asetukset
+
+| Ominaisuus | Oletus | Kuvaus |
+| -------------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| Aivojen leveys | 5 | Aivohalvauksen leveys |
+| Väri | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| Täytä | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/fi/docs/v2/tools/redo.md b/docs/src/content/docs/fi/docs/v2/tools/redo.md
index 32358b0db5e6..de44e24ca619 100644
--- a/docs/src/content/docs/fi/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/fi/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-Et voi valita sitä, ja se suorittaa toiminnon, jos klikkaat sitä.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/fi/docs/v2/tools/select.md b/docs/src/content/docs/fi/docs/v2/tools/select.md
index 8d9e27ea7f3a..cb35d83aadd6 100644
--- a/docs/src/content/docs/fi/docs/v2/tools/select.md
+++ b/docs/src/content/docs/fi/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Asetukset
-| Ominaisuus | Oletus | Kuvaus |
-| ---------: | :---------: | :--------------------------------------------------------------- |
-| Mode | Suorakulmio | Mode of selection. Valid are Rectangle and Lasso |
+| Ominaisuus | Oletus | Kuvaus |
+| ---------: | :------------: | :--------------------------------------------------------------- |
+| Mode | Suorakulmio | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | Kuvaus |
+| -----------------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Valitse kun koskettaa reunoja | The shape will be selected when the selected area intersects any edge. |
+| Valitse koskettaessasi mihin tahansa | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/fi/docs/v2/tools/shape.md b/docs/src/content/docs/fi/docs/v2/tools/shape.md
index f26d4cdbebf6..4a575d494d9f 100644
--- a/docs/src/content/docs/fi/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/fi/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Asetukset
-| Ominaisuus | Oletus | Kuvaus |
-| --------------------: | :---------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Väri | Musta | The stroke color that will be drawn |
-| Aivojen leveys | 5 | Aivohalvauksen leveys |
-| Stroke tyyli | Solid | The style of the stroke. Other styles can use dash and gap lengths. |
-| Dash pituus | 1 | The length of the dash when using a non-solid stroke style |
-| Vaaran pituus | 1 | The length of the gap when using a non-solid stroke style |
-| Lähennys riippuvainen | epätosi | Tämä muuttaa aivohalvauksen leveyttä, joka perustuu zoomaustasoon. |
-| Muoto | Suorakulmio | Se muoto, joka piirretään |
-| Width | 0 | Alueen kiinteä leveys. Jos arvo on 0, leveys lasketaan automaattisesti. |
-| Korkeus | 0 | Alueen kiinteä korkeus. Jos arvo on 0, korkeus lasketaan automaattisesti. |
-| Kuvasuhde | 0 | Alueen kiinteä kuvasuhde on sama. Jos arvo on 0, kuvasuhde lasketaan automaattisesti. An aspect ratio is defined as width / height. |
-| Keskitetty | epätosi | Draws the shape from the center instead of from the corner. |
-
-### Muototyypit
-
-#### Suorakulmio
-
-| Ominaisuus | Oletus | Kuvaus |
-| ------------: | :----------: | :----------------------------------------- |
-| Täytä | Läpikuultava | Väri, joka piirretään suorakulmion sisälle |
-| Corner radius | 0, 0, 0, 0 | The radius of the corners of the rectangle |
-
-#### Kolmio
-
-| Ominaisuus | Oletus | Kuvaus |
-| ---------: | :----------: | :----------------------------------------------- |
-| Täytä | Läpikuultava | The color that will be drawn inside the triangle |
-
-#### Ympyrä
-
-| Ominaisuus | Oletus | Kuvaus |
-| ---------: | :----------: | :--------------------------------------------- |
-| Täytä | Läpikuultava | The color that will be drawn inside the circle |
-
-#### Viiva
-
-_Ei konfiguraatiota saatavilla._
+| Ominaisuus | Oletus | Kuvaus |
+| --------------------: | :------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Keskitetty | epätosi | Draws the shape from the center instead of from the corner. |
+| Width | 0 | Alueen kiinteä leveys. Jos arvo on 0, leveys lasketaan automaattisesti. |
+| Korkeus | 0 | Alueen kiinteä korkeus. Jos arvo on 0, korkeus lasketaan automaattisesti. |
+| Kuvasuhde | 0 | Alueen kiinteä kuvasuhde on sama. Jos arvo on 0, kuvasuhde lasketaan automaattisesti. An aspect ratio is defined as width / height. |
+| Aivojen leveys | 5 | Aivohalvauksen leveys |
+| Stroke tyyli | Solid | The style of the stroke. Other styles can use dash and gap lengths. |
+| Dash pituus | 1 | The length of the dash when using a non-solid stroke style |
+| Vaaran pituus | 1 | The length of the gap when using a non-solid stroke style |
+| Väri | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| Muoto | Suorakulmio | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| Corner radius | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| Täytä | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| Lähennys riippuvainen | epätosi | Tämä muuttaa aivohalvauksen leveyttä, joka perustuu zoomaustasoon. |
\ No newline at end of file
diff --git a/docs/src/content/docs/fi/docs/v2/tools/texture.md b/docs/src/content/docs/fi/docs/v2/tools/texture.md
index 4ba3cf697985..4d02e7b730b7 100644
--- a/docs/src/content/docs/fi/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/fi/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: Tekstuuri
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Asetukset
-| Ominaisuus | Oletus | Kuvaus |
-| --------------------: | :-----: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| Lähennys riippuvainen | epätosi | Tämä muuttaa aivohalvauksen leveyttä, joka perustuu zoomaustasoon. |
-| Tekstuuri | Kuvio | The pattern that should be added. |
-| Width | 0 | Alueen kiinteä leveys. If set to `0`, the width will be calculated automatically. |
-| Korkeus | 0 | Alueen kiinteä korkeus. If set to `0`, the height will be calculated automatically. |
-| Kuvasuhde | 0 | Alueen kiinteä kuvasuhde on sama. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Ominaisuus | Kuvaus |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| Tekstuuri | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/fi/docs/v2/tools/undo.md b/docs/src/content/docs/fi/docs/v2/tools/undo.md
index 7c03ecb30987..18fdbd192064 100644
--- a/docs/src/content/docs/fi/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/fi/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-Et voi valita sitä, ja se suorittaa toiminnon, jos klikkaat sitä.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/fi/docs/v2/utilities.md b/docs/src/content/docs/fi/docs/v2/utilities.md
index e2744863be9a..d980d40846ee 100644
--- a/docs/src/content/docs/fi/docs/v2/utilities.md
+++ b/docs/src/content/docs/fi/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## Kamera
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/fr/community/embed.md b/docs/src/content/docs/fr/community/embed.md
index 691bf62954a7..755a378bfb59 100644
--- a/docs/src/content/docs/fr/community/embed.md
+++ b/docs/src/content/docs/fr/community/embed.md
@@ -22,6 +22,7 @@ Ajoute le code suivant à ton site web :
| enregistrer | Booléen (true, false) | true | Activer la sauvegarde. Si désactivé, seul un bouton de sortie sera affiché |
| editable | Booléen (true, false) | true | Activer l'édition. Si désactivé, le document sera en lecture seule |
| langue | Chaîne de caractères (..., système, utilisateur) | user | Langue du document. Si le système, la langue sera détectée à partir du navigateur. Si l'utilisateur, la langue sera définie à la préférence des utilisateurs |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/fr/docs/v2/add.md b/docs/src/content/docs/fr/docs/v2/add.md
index 79f797165b8b..f98465bd7a44 100644
--- a/docs/src/content/docs/fr/docs/v2/add.md
+++ b/docs/src/content/docs/fr/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## Importation
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## Outils
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/fr/docs/v2/background.mdx b/docs/src/content/docs/fr/docs/v2/background.mdx
index acaa4b81adfb..faaadd4edc73 100644
--- a/docs/src/content/docs/fr/docs/v2/background.mdx
+++ b/docs/src/content/docs/fr/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/fr/docs/v2/intro.mdx b/docs/src/content/docs/fr/docs/v2/intro.mdx
index 728f7be5dbec..0ab805c74ae6 100644
--- a/docs/src/content/docs/fr/docs/v2/intro.mdx
+++ b/docs/src/content/docs/fr/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/fr/docs/v2/layers.md b/docs/src/content/docs/fr/docs/v2/layers.md
index 57b9690a3233..faf1113396d5 100644
--- a/docs/src/content/docs/fr/docs/v2/layers.md
+++ b/docs/src/content/docs/fr/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: Couches
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Ici vous pouvez voir toutes les couches du projet. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Ici vous pouvez voir toutes les couches du projet. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Option | Libellé |
+| ---------------------: | --------------------------------------------------------------------------------- |
+| Avancer | Renders the selection on top of the first element in front of it. |
+| Envoyer vers l'arrière | Renders the selection under the first element behind it. |
+| Amener au premier plan | Renders the selection in front of everything else. |
+| Envoyer à l'arrière | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/fr/docs/v2/pack.md b/docs/src/content/docs/fr/docs/v2/pack.md
index 4fbacccb688e..ef66e9cade15 100644
--- a/docs/src/content/docs/fr/docs/v2/pack.md
+++ b/docs/src/content/docs/fr/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## Palettes
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/fr/docs/v2/shortcuts.md b/docs/src/content/docs/fr/docs/v2/shortcuts.md
index e2783d7f3a76..113c6115c5ab 100644
--- a/docs/src/content/docs/fr/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/fr/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: Raccourcis
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## Souris
+
+### Mouse configurations
+
+| Propriété | Par défaut | Libellé |
+| -----------------------------------: | :--------: | :------------------------------------------------------------------------------------------------------------ |
+| Masquer le curseur pendant le dessin | true | Masque le pointeur de la souris pendant que vous dessinez, donc il ne couvre pas votre tracé. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## Toucher
+
+### Touch configurations
+
+| Propriété | Par défaut | Libellé |
+| -------------------: | :--------: | :-------------------------------------------------------------------------------------------------------------- |
+| Input gestures | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| Geste de déplacement | true | Permet aux gestes tactiles de déplacer la toile au lieu d'interagir avec le contenu de la note. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## Keyboard
-Il y a quelques raccourcis que vous pouvez utiliser dans l'éditeur.
-Certaines d'entre elles sont écrites sous les boutons.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### Généraux
@@ -14,44 +135,63 @@ Certaines d'entre elles sont écrites sous les boutons.
- `Ctrl` + `E` : Exporter le fichier
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `Shift` + `E`: Export file as pdf
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `S` : Ouvrir les paramètres
- `Ctrl` + `Alt` + `P` : Ouvrir les packs
+- `Escape`: Escape
### Projet
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z` : Annuler
- `Ctrl` + `Y` : Refaire
-- `Ctrl` + `Shift` + `P` : Dialogue des waypoints ouverts
- `Ctrl` + `B` : Ouvrir la boîte de dialogue d'arrière-plan
- `Ctrl` + `S` : Enregistrer
- `Alt` + `S` : Changer le chemin d'accès
-- `Ctrl` + (`1` - `0`) : Basculer vers l'outil
- `Ctrl` + `+`: Zoom avant
- `Ctrl` + `-`: Zoom arrière
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`) : Basculer vers l'outil
## Stylo
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Stylo`: configuré comme stylo.
-- `Premier` (Bouton primaire, si supporté) : Changer pour l'outil main pendant qu'il est pressé.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Propriété | Values | Libellé |
+| --------------------------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| Seules les entrées du stylet | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Afficher uniquement le bouton du stylet | true, false | Affiche un changement rapide de stylo seulement dans l'éditeur après que Butterfly ait détecté un stylo. |
+| Ignorer la pression | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/fr/docs/v2/storage.md b/docs/src/content/docs/fr/docs/v2/storage.md
index e761213b2c0f..6df56b5ceee1 100644
--- a/docs/src/content/docs/fr/docs/v2/storage.md
+++ b/docs/src/content/docs/fr/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## Répertoire des données
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ Vous pouvez également le modifier dans les paramètres sous `Data`.
Dans ce répertoire, vous trouverez un dossier `Documents`, `Templates` et `Packs`.
-## Web
+## Web {#web}
Les données de l'application sont stockées dans votre navigateur. Il est stocké dans un stockage local.
Ouvrez les outils de développement dans votre navigateur et vous verrez les données.
@@ -39,7 +39,59 @@ Ajoute l'URL du serveur distant et le nom d'utilisateur et le mot de passe. Ensu
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (il devrait ressembler à ceci: `https://nextcloud.example.com/remote.php/dav/files/username/`, remplacez `username` et `nextcloud.example.com` par les valeurs correctes)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Synchronisation hors ligne {#offline}
@@ -48,7 +100,6 @@ Ouvrez le menu contextuel sur un fichier ou un dossier et cliquez sur `Sync`. Ce
Il y a quelques limitations :
-- Vous ne pouvez synchroniser que le niveau supérieur d'un répertoire. Par exemple, si vous avez un répertoire `a/b/test.bfly`, ce fichier ne sera pas synchronisé.
- Vous ne pouvez pas supprimer un fichier ou un dossier lorsque vous êtes hors ligne.
- Vous ne pouvez pas ajouter, modifier ou supprimer des modèles lorsque vous êtes hors ligne.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/fr/docs/v2/tools/area.md b/docs/src/content/docs/fr/docs/v2/tools/area.md
index 6f11b59abf62..95ce5b5fbdd7 100644
--- a/docs/src/content/docs/fr/docs/v2/tools/area.md
+++ b/docs/src/content/docs/fr/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Configuration
-| Propriété | Par défaut | Libellé |
-| -------------: | :--------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Largeur | '0' | La largeur fixe d'une nouvelle zone. Si définie à '0', cette option sera ignorée. |
-| Hauteur | '0' | La hauteur fixe d'une nouvelle zone. Si définie à '0', cette option sera ignorée. |
-| Ratio d'aspect | '0' | Le ratio fixe pour la nouvelle zone. Appuyer sur le bouton pour accéder aux paramètres communs. Un ratio d'aspect est défini comme la largeur divisée par la hauteur. Donc les valeurs de ratio inférieures à '1' seront plus hautes que larges, et les valeurs de ratio supérieures à '1' seront plus large que hautes. Si définie à '0', cette option sera ignorée. |
+| Propriété | Par défaut | Libellé |
+| --------------: | :--------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Demander le nom | Désactivé | Whether a name prompt will appear before creation. |
+| Préréglages | none | Various presets for width and height. |
+| Largeur | '0' | La largeur fixe d'une nouvelle zone. Si définie à '0', cette option sera ignorée. |
+| Hauteur | '0' | La hauteur fixe d'une nouvelle zone. Si définie à '0', cette option sera ignorée. |
+| Ratio d'aspect | '0' | Le ratio fixe pour la nouvelle zone. Select a preset from the segmented control or enter a custom value in the input field. Un ratio d'aspect est défini comme la largeur divisée par la hauteur. Donc les valeurs de ratio inférieures à '1' seront plus hautes que larges, et les valeurs de ratio supérieures à '1' seront plus large que hautes. Si définie à '0', cette option sera ignorée. |
Il y a trois préréglages de ratio :
- Carré (1:1)
-- Page portrait (sqrt(2)) - Ceci est le ratio d'aspect par défaut d'une page A4 en mode portrait.
-- Page landscape (1/sqrt(2)) - C'est le ratio d'aspect par défaut d'une page A4 en mode paysage.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/fr/docs/v2/tools/collection.md b/docs/src/content/docs/fr/docs/v2/tools/collection.md
deleted file mode 100644
index 232965fd5d61..000000000000
--- a/docs/src/content/docs/fr/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-C'est un outil spécial.
-Vous ne pouvez pas le sélectionner et il exécutera l'action si vous cliquez dessus.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/fr/docs/v2/tools/collection.mdx b/docs/src/content/docs/fr/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/fr/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/fr/docs/v2/tools/eraser.md b/docs/src/content/docs/fr/docs/v2/tools/eraser.md
index ba01e763353b..d494ac38c2fc 100644
--- a/docs/src/content/docs/fr/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/fr/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ Avec cet outil vous pouvez effacer des éléments du document.
## Configuration
-| Propriété | Par défaut | Libellé |
-| -----------------------: | :--------: | :---------------------------------------------------------------------------- |
-| Largeur du trait | 5 | La largeur du trait |
-| Multiplicateur de traits | 1 | Si vous avez un stylet, c'est le multiplicateur qui sera ajouté à la pression |
+| Propriété | Par défaut | Libellé |
+| ------------------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| Largeur du trait | 5 | La largeur du trait |
+| Effacer les formes | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Effacer tous les éléments | Désactivé | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | Libellé |
+| ----------------------------------------: | :------------------------------------------------------------------------------------------ |
+| Ne pas effacer les formes | The eraser will not interact with shapes. |
+| Effacer lorsque vous touchez les bords | The shape will be erased when the eraser touches any edge. |
+| Effacer lorsque vous touchez n'importe où | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/fr/docs/v2/tools/full_screen.md b/docs/src/content/docs/fr/docs/v2/tools/full_screen.md
index fc541bbe5ffa..b7a17daf79f8 100644
--- a/docs/src/content/docs/fr/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/fr/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Outil plein écran
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
C'est un outil spécial.
-Vous ne pouvez pas le sélectionner et il exécutera l'action si vous cliquez dessus.
+It can't be selected and will run the action immediately when you click on it.
:::
-Lorsque cet outil et cliqué il active le mode plein écran.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/fr/docs/v2/tools/grid.md b/docs/src/content/docs/fr/docs/v2/tools/grid.md
index d8dca0df2cd0..c5049eaedeae 100644
--- a/docs/src/content/docs/fr/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/fr/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Outil grille
:::note[🔘 Toggleable tool]
C'est un outil spécial.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Les entrées sont alignées sur la grille.
| Taille | (20, 20) | The size of the grid cells on the x and y axis. |
| Décalage | (0, 0) | The offset of the grid on the x and y axis. |
| Couleur | Noir | The color of the grid. |
+| Alphabétisation | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| Dépendant du zoom | Faux | Changes the grid stroke width based on the zoom level. |
-| Dépendant de la position | Faux | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
+| Dépendant du zoom | Désactivé | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
+| Dépendant de la position | Désactivé | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/fr/docs/v2/tools/index.md b/docs/src/content/docs/fr/docs/v2/tools/index.md
index c579e46bbd5c..db9979003388 100644
--- a/docs/src/content/docs/fr/docs/v2/tools/index.md
+++ b/docs/src/content/docs/fr/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ Si vous cliquez sur un outil sélectionné, vous pouvez le configurer.
Le nom de l'outil s'affichera sous forme d'info-bulle lors du survol de l'outil.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/fr/docs/v2/tools/label.md b/docs/src/content/docs/fr/docs/v2/tools/label.md
index 9f8e509b0c19..c50ad220f325 100644
--- a/docs/src/content/docs/fr/docs/v2/tools/label.md
+++ b/docs/src/content/docs/fr/docs/v2/tools/label.md
@@ -69,5 +69,5 @@ $$
| Mode | Texte du texte | The label mode. Available modes are Text and Markdown. |
| Premier plan | Noir | The text color. |
| Échelle | 2 | The scale of the label. |
-| Dépendant du zoom | Faux | Changes the label size based on the zoom level. |
+| Dépendant du zoom | Désactivé | Changes the label size based on the zoom level. |
| Style sheet | Aucun | The style sheet used for the label. |
diff --git a/docs/src/content/docs/fr/docs/v2/tools/pen.md b/docs/src/content/docs/fr/docs/v2/tools/pen.md
index 98e15c3030c2..0883ac71e531 100644
--- a/docs/src/content/docs/fr/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/fr/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -52,14 +54,14 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
## Configuration
-| Propriété | Par défaut | Libellé |
-| -----------------: | :----------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Couleur | Noir | La couleur qui sera dessinée |
-| Largeur du trait | 5 | La largeur du trait |
-| Dépendant du zoom | Désactivé | Cela changera la largeur du trait en fonction du niveau de zoom. |
-| Détection de forme | Désactivé (Délai : 0,5 s) | Cela va essayer de détecter les formes pendant le dessin. Si une forme est détectée, il sera remplacé par la forme. |
-| Amincissement | 0,4 | This effect of pressure on the stroke size |
-| Lissage | 0,5 | Cela permettra d'adoucir les contours du trait. |
-| Streamline | 0,5 | Dans quelle mesure le stylo suivra le mouvement de la souris. |
-| Couleur | Noir | La couleur qui sera dessinée |
-| Remplir | Transparence | The color that will be drawn inside the shape |
+| Propriété | Par défaut | Libellé |
+| -------------------: | :----------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Dépendant du zoom | Désactivé | Cela changera la largeur du trait en fonction du niveau de zoom. |
+| Combiner les chemins | Désactivé | This will merge all strokes it touches into one path |
+| Détection de forme | Désactivé (Délai : 0,5 s) | Cela va essayer de détecter les formes pendant le dessin. Si une forme est détectée, il sera remplacé par la forme. |
+| Largeur du trait | 5 | La largeur du trait |
+| Amincissement | 0,4 | This effect of pressure on the stroke size |
+| Lissage | 0,5 | Cela permettra d'adoucir les contours du trait. |
+| Streamline | 0.3 | Dans quelle mesure le stylo suivra le mouvement de la souris. |
+| Couleur | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| Remplir | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/fr/docs/v2/tools/polygon.md b/docs/src/content/docs/fr/docs/v2/tools/polygon.md
deleted file mode 100644
index 105095f9787f..000000000000
--- a/docs/src/content/docs/fr/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Outil polygone
----
-
-Avec cet outil, vous pouvez créer des formes personnalisées.
-
-## Utilisation
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Configuration
-
-| Propriété | Par défaut | Libellé |
-| ---------------: | :----------: | :--------------------------------------------------------------- |
-| Largeur du trait | 5 | La largeur du trait |
-| Couleur | Noir | La couleur qui sera dessinée |
-| Remplir | Transparence | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/fr/docs/v2/tools/polygon.mdx b/docs/src/content/docs/fr/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..33820aebad1c
--- /dev/null
+++ b/docs/src/content/docs/fr/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Outil polygone
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+Avec cet outil, vous pouvez créer des formes personnalisées.
+
+## Utilisation
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Configuration
+
+| Propriété | Par défaut | Libellé |
+| ---------------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| Largeur du trait | 5 | La largeur du trait |
+| Couleur | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| Remplir | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/fr/docs/v2/tools/redo.md b/docs/src/content/docs/fr/docs/v2/tools/redo.md
index 870d575a2388..1d830d97fc16 100644
--- a/docs/src/content/docs/fr/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/fr/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-C'est un outil spécial.
-Vous ne pouvez pas le sélectionner et il exécutera l'action si vous cliquez dessus.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/fr/docs/v2/tools/select.md b/docs/src/content/docs/fr/docs/v2/tools/select.md
index b0e771f67ca2..a4fde1bde460 100644
--- a/docs/src/content/docs/fr/docs/v2/tools/select.md
+++ b/docs/src/content/docs/fr/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Outil sélection
---
-Avec cet outil vous pouvez sélectionner des éléments.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Configuration
-| Propriété | Par défaut | Libellé |
-| --------: | :--------: | :----------------------------------------------------------------------------------------------------- |
-| Mode | Rectangle | Mode de sélection. Les éléments valides sont le rectangle et le lasso. |
+| Propriété | Par défaut | Libellé |
+| --------: | :------------: | :----------------------------------------------------------------------------------------------------- |
+| Mode | Rectangle | Mode de sélection. Les éléments valides sont le rectangle et le lasso. |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | Libellé |
+| ---------------------------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Sélectionner lorsque vous touchez les bords | The shape will be selected when the selected area intersects any edge. |
+| Sélectionner lorsque vous touchez n'importe où | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/fr/docs/v2/tools/shape.md b/docs/src/content/docs/fr/docs/v2/tools/shape.md
index fd3d15752c65..763d0e71c287 100644
--- a/docs/src/content/docs/fr/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/fr/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Utilisez 'ctrl' pour avoir la même hauteur et largeur, st 'shift' pour dessiner
## Configuration
-| Propriété | Par défaut | Libellé |
-| -----------------------: | :--------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Couleur | Noir | The stroke color that will be drawn |
-| Largeur du trait | 5 | La largeur du trait |
-| Style de trait | Solid | The style of the stroke. Other styles can use dash and gap lengths. |
-| Longueur du tiret | 1 | The length of the dash when using a non-solid stroke style |
-| Longueur de l'écartement | 1 | The length of the gap when using a non-solid stroke style |
-| Dépendant du zoom | faux | Cela changera la largeur du trait en fonction du niveau de zoom. |
-| Forme | Rectangle | La forme qui sera dessinée |
-| Largeur | 0 | Remplir Si défini à 0, la largeur sera calculée automatiquement. |
-| Hauteur | 0 | La hauteur fixe de la zone. Si défini à 0, la hauteur sera calculée automatiquement. |
-| Ratio d'aspect | 0 | La largeur fixe de la zone. Si défini à 0, le ratio d'aspect sera calculé automatiquement. An aspect ratio is defined as width / height. |
-| Centrer | Faux | Draws the shape from the center instead of from the corner. |
-
-### Types de forme
-
-#### Rectangle
-
-| Propriété | Par défaut | Libellé |
-| ------------: | :----------: | :------------------------------------------------------ |
-| Remplir | Transparence | La couleur qui sera dessinée à l'intérieur du rectangle |
-| Rayon du coin | 0, 0, 0, 0 | Le rayon des coins du rectangle |
-
-#### Triangle
-
-| Propriété | Par défaut | Libellé |
-| --------: | :----------: | :----------------------------------------------- |
-| Remplir | Transparence | The color that will be drawn inside the triangle |
-
-#### Cercle
-
-| Propriété | Par défaut | Libellé |
-| --------: | :----------: | :--------------------------------------------- |
-| Remplir | Transparence | The color that will be drawn inside the circle |
-
-#### Lignes
-
-_Aucune configuration disponible._
+| Propriété | Par défaut | Libellé |
+| -----------------------: | :------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Centrer | faux | Draws the shape from the center instead of from the corner. |
+| Largeur | 0 | Remplir Si défini à 0, la largeur sera calculée automatiquement. |
+| Hauteur | 0 | La hauteur fixe de la zone. Si défini à 0, la hauteur sera calculée automatiquement. |
+| Ratio d'aspect | 0 | La largeur fixe de la zone. Si défini à 0, le ratio d'aspect sera calculé automatiquement. An aspect ratio is defined as width / height. |
+| Largeur du trait | 5 | La largeur du trait |
+| Style de trait | Solid | The style of the stroke. Other styles can use dash and gap lengths. |
+| Longueur du tiret | 1 | The length of the dash when using a non-solid stroke style |
+| Longueur de l'écartement | 1 | The length of the gap when using a non-solid stroke style |
+| Couleur | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| Forme | Rectangle | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| Rayon du coin | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| Remplir | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| Dépendant du zoom | Désactivé | Cela changera la largeur du trait en fonction du niveau de zoom. |
\ No newline at end of file
diff --git a/docs/src/content/docs/fr/docs/v2/tools/texture.md b/docs/src/content/docs/fr/docs/v2/tools/texture.md
index 84b970af1b4d..06684ee4696c 100644
--- a/docs/src/content/docs/fr/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/fr/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: Texture
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Utilisation
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Configuration
-| Propriété | Par défaut | Libellé |
-| ----------------: | :--------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Dépendant du zoom | Faux | Cela changera la largeur du trait en fonction du niveau de zoom. |
-| Texture | Schéma | The pattern that should be added. |
-| Largeur | 0 | La largeur fixe de la zone. If set to `0`, the width will be calculated automatically. |
-| Hauteur | 0 | La hauteur fixe de la zone. If set to `0`, the height will be calculated automatically. |
-| Ratio d'aspect | 0 | Le rapport d'aspect fixe de la zone. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Motif](../../background#pattern)
+| Propriété | Libellé |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| Texture | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/fr/docs/v2/tools/undo.md b/docs/src/content/docs/fr/docs/v2/tools/undo.md
index 1105dc19151d..dcd740e48b60 100644
--- a/docs/src/content/docs/fr/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/fr/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-C'est un outil spécial.
-Vous ne pouvez pas le sélectionner et il exécutera l'action si vous cliquez dessus.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/fr/docs/v2/utilities.md b/docs/src/content/docs/fr/docs/v2/utilities.md
index 0b23ebfff4e9..97c4c9f2366c 100644
--- a/docs/src/content/docs/fr/docs/v2/utilities.md
+++ b/docs/src/content/docs/fr/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## Appareil photo
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/he/community/embed.md b/docs/src/content/docs/he/community/embed.md
index 3a02e7c987c1..419762436144 100644
--- a/docs/src/content/docs/he/community/embed.md
+++ b/docs/src/content/docs/he/community/embed.md
@@ -22,6 +22,7 @@ Add the following code to your website:
| save | Boolean (true, false) | true | Enable save. If disabled, only an exit button will be shown |
| editable | Boolean (true, false) | true | Enable editing. If disabled, the document will be read-only |
| language | String (..., system, user) | user | Language of the document. If system, the language will be detected from the browser. If user, the language will set to the users preference |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/he/docs/v2/add.md b/docs/src/content/docs/he/docs/v2/add.md
index 97eecc2591a1..b3ccb070be2a 100644
--- a/docs/src/content/docs/he/docs/v2/add.md
+++ b/docs/src/content/docs/he/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## ייבוא
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## כלים
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/he/docs/v2/background.mdx b/docs/src/content/docs/he/docs/v2/background.mdx
index 6b0652d38867..97ffb207ef96 100644
--- a/docs/src/content/docs/he/docs/v2/background.mdx
+++ b/docs/src/content/docs/he/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/he/docs/v2/intro.mdx b/docs/src/content/docs/he/docs/v2/intro.mdx
index 75af4ee4faa4..aff3b9fbd5c3 100644
--- a/docs/src/content/docs/he/docs/v2/intro.mdx
+++ b/docs/src/content/docs/he/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/he/docs/v2/layers.md b/docs/src/content/docs/he/docs/v2/layers.md
index 044f81995b16..df27a760c641 100644
--- a/docs/src/content/docs/he/docs/v2/layers.md
+++ b/docs/src/content/docs/he/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: שכבות
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Here you can see all the layers in the project. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Here you can see all the layers in the project. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Option | תיאור |
+| --------: | --------------------------------------------------------------------------------- |
+| הבא קדימה | Renders the selection on top of the first element in front of it. |
+| שלח אחורה | Renders the selection under the first element behind it. |
+| הבא לקדמה | Renders the selection in front of everything else. |
+| העבר לרקע | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/he/docs/v2/pack.md b/docs/src/content/docs/he/docs/v2/pack.md
index 06685f8d9297..447959ccb849 100644
--- a/docs/src/content/docs/he/docs/v2/pack.md
+++ b/docs/src/content/docs/he/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## פלטות צבעים
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/he/docs/v2/shortcuts.md b/docs/src/content/docs/he/docs/v2/shortcuts.md
index 13b2de3114a1..eb1aaad45ee7 100644
--- a/docs/src/content/docs/he/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/he/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: קיצורי דרך
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## עכבר
+
+### Mouse configurations
+
+| Property | Default | תיאור |
+| -----------------: | :-----: | :---------------------------------------------------------------------------------------- |
+| הסתר סמן בזמן ציור | true | Hides the mouse pointer while you draw, so it does not cover your stroke. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## מגע
+
+### Touch configurations
+
+| Property | Default | תיאור |
+| ---------: | :-----: | :---------------------------------------------------------------------------------------------------------- |
+| מחוות קלט | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| הזז במחווה | true | Lets multi-touch gestures move the canvas instead of interacting with note content. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## מקלדת
-There are a few shortcuts that you can use in the editor.
-Some of them are written below the buttons.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### כללי
@@ -14,44 +135,63 @@ Some of them are written below the buttons.
- `Ctrl` + `E`: Export file
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `E`: Export file as svg
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `P`: Open packs
- `Ctrl` + `Alt` + `S`: Open settings
+- `Escape`: Escape
### Project
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Undo
- `Ctrl` + `Y`: Redo
-- `Ctrl` + `Shift` + `P`: Open waypoints dialog
- `Ctrl` + `B`: Open background dialog
- `Ctrl` + `S`: Save
- `Alt` + `S`: Change path
-- `Ctrl` + (`1` - `0`): Switch to tool
- `Ctrl` + `+`: Zoom in
- `Ctrl` + `-`: Zoom out
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Switch to tool
## עט
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Pen`: configured as pen.
-- `First` (Primary button, if supported): Change to hand tool while pressed.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Property | Values | תיאור |
+| -------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| קלט עט בלבד | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Show pen only toggle | true, false | Shows a quick pen-only switch in the editor after Butterfly detects a pen. |
+| Ignore pressure | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/he/docs/v2/storage.md b/docs/src/content/docs/he/docs/v2/storage.md
index 8e2e54b7e511..b06adc6af5dc 100644
--- a/docs/src/content/docs/he/docs/v2/storage.md
+++ b/docs/src/content/docs/he/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## ספריית נתונים
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ You can also change it in the settings under `Data`.
In this directory you will find a folder `Documents`, `Templates` and `Packs`.
-## Web
+## Web {#web}
The application data is stored in your browser. It is stored in a local storage.
Open the developer tools in your browser and you will see the data.
@@ -39,7 +39,59 @@ Add the URL of the remote server and the username and password. After that you c
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Offline sync {#offline}
@@ -48,7 +100,6 @@ Open the popup menu on a file or folder and click on `Sync`. This will download
There are a few limitations:
-- You can only sync the top level of a directory. For example if you have a directory `a/b/test.bfly`, this file will not be synced.
- You cannot delete a file or folder while you are offline.
- You cannot add, edit or delete templates while you are offline.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/he/docs/v2/tools/area.md b/docs/src/content/docs/he/docs/v2/tools/area.md
index 57b2382c0cf7..4a847ba752a8 100644
--- a/docs/src/content/docs/he/docs/v2/tools/area.md
+++ b/docs/src/content/docs/he/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Configuration
-| Property | Default | תיאור |
-| ------------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| רוחב | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| גובה | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| יחס גובה-רוחב | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| Property | Default | תיאור |
+| -----------------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| בקש שם | false | Whether a name prompt will appear before creation. |
+| הגדרות קבועות מראש | none | Various presets for width and height. |
+| רוחב | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| גובה | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| יחס גובה-רוחב | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
There are three aspect ratio presets:
- Square (1:1)
-- Page portrait (sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
-- Page landscape (1/sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/he/docs/v2/tools/collection.md b/docs/src/content/docs/he/docs/v2/tools/collection.md
deleted file mode 100644
index 391210b26987..000000000000
--- a/docs/src/content/docs/he/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-You can't select it and it will run the action if you click on it.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/he/docs/v2/tools/collection.mdx b/docs/src/content/docs/he/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/he/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/he/docs/v2/tools/eraser.md b/docs/src/content/docs/he/docs/v2/tools/eraser.md
index 993d0cae4133..2d6be977a70a 100644
--- a/docs/src/content/docs/he/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/he/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## Configuration
-| Property | Default | תיאור |
-| ----------------: | :-----: | :------------------------------------------------------------------------------- |
-| עובי קו | 5 | The width of the stroke |
-| Stroke multiplier | 1 | If you have a stylus, this is the multiplier which will be added to the pressure |
+| Property | Default | תיאור |
+| -----------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| עובי קו | 5 | The width of the stroke |
+| Erase shapes | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Erase all elements | false | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | תיאור |
+| ---------------------------: | :------------------------------------------------------------------------------------------ |
+| Don't erase shapes | The eraser will not interact with shapes. |
+| Erase when touching edges | The shape will be erased when the eraser touches any edge. |
+| Erase when touching anywhere | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/he/docs/v2/tools/full_screen.md b/docs/src/content/docs/he/docs/v2/tools/full_screen.md
index ea23ff72ac89..e19718f8ff44 100644
--- a/docs/src/content/docs/he/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/he/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it will run the action if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/he/docs/v2/tools/grid.md b/docs/src/content/docs/he/docs/v2/tools/grid.md
index fe4ca0f18ce8..e53d13bc2b3d 100644
--- a/docs/src/content/docs/he/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/he/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| גודל | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| Color | Black | The color of the grid. |
+| אלפא | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| תלוי זום | false | Changes the grid stroke width based on the zoom level. |
+| תלוי זום | false | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| תלוי מיקום | false | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/he/docs/v2/tools/index.md b/docs/src/content/docs/he/docs/v2/tools/index.md
index e811b2f24cd4..0b372d42e97c 100644
--- a/docs/src/content/docs/he/docs/v2/tools/index.md
+++ b/docs/src/content/docs/he/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ If you click on a selected tool you can configure it.
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/he/docs/v2/tools/pen.md b/docs/src/content/docs/he/docs/v2/tools/pen.md
index 38c0a60287a7..bb1ac1cd1f03 100644
--- a/docs/src/content/docs/he/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/he/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -52,14 +54,14 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
## Configuration
-| Property | Default | תיאור |
-| ----------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| Color | Black | The color that will be drawn |
-| עובי קו | 5 | The width of the stroke |
-| תלוי זום | false | This will change the stroke width based on the zoom level. |
-| זיהוי צורות | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
-| הידקקות | 0.4 | This effect of pressure on the stroke size |
-| החלקה | 0.5 | This will smooth the edges of the stroke. |
-| ייעול | 0.5 | How much the pen will follow the movement of the mouse. |
-| Color | Black | The color that will be drawn |
-| מילוי | Transparent | The color that will be drawn inside the shape |
+| Property | Default | תיאור |
+| ------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
+| תלוי זום | false | This will change the stroke width based on the zoom level. |
+| Combine paths | false | This will merge all strokes it touches into one path |
+| זיהוי צורות | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| עובי קו | 5 | The width of the stroke |
+| הידקקות | 0.4 | This effect of pressure on the stroke size |
+| החלקה | 0.5 | This will smooth the edges of the stroke. |
+| ייעול | 0.3 | How much the pen will follow the movement of the mouse. |
+| Color | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| מילוי | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/he/docs/v2/tools/polygon.md b/docs/src/content/docs/he/docs/v2/tools/polygon.md
deleted file mode 100644
index 283986e420a0..000000000000
--- a/docs/src/content/docs/he/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Configuration
-
-| Property | Default | תיאור |
-| -------: | :---------: | :--------------------------------------------------------------- |
-| עובי קו | 5 | The width of the stroke |
-| Color | Black | The color that will be drawn |
-| מילוי | Transparent | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/he/docs/v2/tools/polygon.mdx b/docs/src/content/docs/he/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..258807635818
--- /dev/null
+++ b/docs/src/content/docs/he/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Configuration
+
+| Property | Default | תיאור |
+| -------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| עובי קו | 5 | The width of the stroke |
+| Color | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| מילוי | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/he/docs/v2/tools/redo.md b/docs/src/content/docs/he/docs/v2/tools/redo.md
index 8371adf3aba9..de44e24ca619 100644
--- a/docs/src/content/docs/he/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/he/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-You can't select it and it will run the action if you click on it.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/he/docs/v2/tools/select.md b/docs/src/content/docs/he/docs/v2/tools/select.md
index fad15e31bb3f..b747051bbf59 100644
--- a/docs/src/content/docs/he/docs/v2/tools/select.md
+++ b/docs/src/content/docs/he/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Configuration
-| Property | Default | תיאור |
-| -------: | :-----: | :--------------------------------------------------------------- |
-| Mode | מלבן | Mode of selection. Valid are Rectangle and Lasso |
+| Property | Default | תיאור |
+| -------: | :------------: | :--------------------------------------------------------------- |
+| Mode | מלבן | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | תיאור |
+| ----------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Select when touching edges | The shape will be selected when the selected area intersects any edge. |
+| Select when touching anywhere | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/he/docs/v2/tools/shape.md b/docs/src/content/docs/he/docs/v2/tools/shape.md
index fbe5cbe4f8b9..181d0fa76f21 100644
--- a/docs/src/content/docs/he/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/he/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Configuration
-| Property | Default | תיאור |
-| ------------: | :-----: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| Color | Black | The stroke color that will be drawn |
-| עובי קו | 5 | The width of the stroke |
-| Stroke style | אחיד | The style of the stroke. Other styles can use dash and gap lengths. |
-| Dash length | 1 | The length of the dash when using a non-solid stroke style |
-| Gap length | 1 | The length of the gap when using a non-solid stroke style |
-| תלוי זום | false | This will change the stroke width based on the zoom level. |
-| צורה | מלבן | The shape that will be drawn |
-| רוחב | 0 | The fixed width of the area. If set to 0, the width will be calculated automatically. |
-| גובה | 0 | The fixed height of the area. If set to 0, the height will be calculated automatically. |
-| יחס גובה-רוחב | 0 | The fixed aspect ratio of the area. If set to 0, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-| מרכז | false | Draws the shape from the center instead of from the corner. |
-
-### Shape types
-
-#### מלבן
-
-| Property | Default | תיאור |
-| ---------: | :---------: | :------------------------------------------------ |
-| מילוי | Transparent | The color that will be drawn inside the rectangle |
-| רדיוס פינה | 0, 0, 0, 0 | The radius of the corners of the rectangle |
-
-#### משולש
-
-| Property | Default | תיאור |
-| -------: | :---------: | :----------------------------------------------- |
-| מילוי | Transparent | The color that will be drawn inside the triangle |
-
-#### עיגול
-
-| Property | Default | תיאור |
-| -------: | :---------: | :--------------------------------------------- |
-| מילוי | Transparent | The color that will be drawn inside the circle |
-
-#### קו
-
-_No configuration available._
+| Property | Default | תיאור |
+| ------------: | :------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| מרכז | false | Draws the shape from the center instead of from the corner. |
+| רוחב | 0 | The fixed width of the area. If set to 0, the width will be calculated automatically. |
+| גובה | 0 | The fixed height of the area. If set to 0, the height will be calculated automatically. |
+| יחס גובה-רוחב | 0 | The fixed aspect ratio of the area. If set to 0, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
+| עובי קו | 5 | The width of the stroke |
+| Stroke style | אחיד | The style of the stroke. Other styles can use dash and gap lengths. |
+| Dash length | 1 | The length of the dash when using a non-solid stroke style |
+| Gap length | 1 | The length of the gap when using a non-solid stroke style |
+| Color | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| צורה | מלבן | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| רדיוס פינה | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| מילוי | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| תלוי זום | false | This will change the stroke width based on the zoom level. |
\ No newline at end of file
diff --git a/docs/src/content/docs/he/docs/v2/tools/texture.md b/docs/src/content/docs/he/docs/v2/tools/texture.md
index 6fd66643b972..27af056d5903 100644
--- a/docs/src/content/docs/he/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/he/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: מרקם
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Configuration
-| Property | Default | תיאור |
-| ------------: | :-----: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| תלוי זום | false | This will change the stroke width based on the zoom level. |
-| מרקם | תבנית | The pattern that should be added. |
-| רוחב | 0 | The fixed width of the area. If set to `0`, the width will be calculated automatically. |
-| גובה | 0 | The fixed height of the area. If set to `0`, the height will be calculated automatically. |
-| יחס גובה-רוחב | 0 | The fixed aspect ratio of the area. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Property | תיאור |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| מרקם | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/he/docs/v2/tools/undo.md b/docs/src/content/docs/he/docs/v2/tools/undo.md
index a7d87d8d2c23..18fdbd192064 100644
--- a/docs/src/content/docs/he/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/he/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-You can't select it and it will run the action if you click on it.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/he/docs/v2/utilities.md b/docs/src/content/docs/he/docs/v2/utilities.md
index 1872d05588d9..42d3c838bf3c 100644
--- a/docs/src/content/docs/he/docs/v2/utilities.md
+++ b/docs/src/content/docs/he/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## מצלמה
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/hi/community/embed.md b/docs/src/content/docs/hi/community/embed.md
index 076e7c6360be..7560fbeef86a 100644
--- a/docs/src/content/docs/hi/community/embed.md
+++ b/docs/src/content/docs/hi/community/embed.md
@@ -22,6 +22,7 @@ Add the following code to your website:
| save | Boolean (true, false) | true | Enable save. If disabled, only an exit button will be shown |
| editable | Boolean (true, false) | true | Enable editing. If disabled, the document will be read-only |
| language | String (..., system, user) | user | Language of the document. If system, the language will be detected from the browser. If user, the language will set to the users preference |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/hi/docs/v2/add.md b/docs/src/content/docs/hi/docs/v2/add.md
index de923df84d96..9188b9f8b4ac 100644
--- a/docs/src/content/docs/hi/docs/v2/add.md
+++ b/docs/src/content/docs/hi/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## आयात करें
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## टूल्स
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/hi/docs/v2/background.mdx b/docs/src/content/docs/hi/docs/v2/background.mdx
index 3e33245bb2cb..01bf7b0d8d78 100644
--- a/docs/src/content/docs/hi/docs/v2/background.mdx
+++ b/docs/src/content/docs/hi/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/hi/docs/v2/intro.mdx b/docs/src/content/docs/hi/docs/v2/intro.mdx
index 17036c4a768d..3b423d2d279d 100644
--- a/docs/src/content/docs/hi/docs/v2/intro.mdx
+++ b/docs/src/content/docs/hi/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/hi/docs/v2/layers.md b/docs/src/content/docs/hi/docs/v2/layers.md
index a81f71d69fb9..bf56b2abedfd 100644
--- a/docs/src/content/docs/hi/docs/v2/layers.md
+++ b/docs/src/content/docs/hi/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: लेयर्स
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Here you can see all the layers in the project. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Here you can see all the layers in the project. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Option | विवरण |
+| ---------: | --------------------------------------------------------------------------------- |
+| आगे लाएं | Renders the selection on top of the first element in front of it. |
+| पीछे भेजें | Renders the selection under the first element behind it. |
+| सामने लाएं | Renders the selection in front of everything else. |
+| पीछे भेजें | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/hi/docs/v2/pack.md b/docs/src/content/docs/hi/docs/v2/pack.md
index 52d2f0d361c2..e7cf3eda865a 100644
--- a/docs/src/content/docs/hi/docs/v2/pack.md
+++ b/docs/src/content/docs/hi/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## पैलेट
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/hi/docs/v2/shortcuts.md b/docs/src/content/docs/hi/docs/v2/shortcuts.md
index 958ac94df63d..4f468f0bcff8 100644
--- a/docs/src/content/docs/hi/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/hi/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: शॉर्टकट
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## माउस
+
+### Mouse configurations
+
+| Property | Default | विवरण |
+| ----------------------------: | :-----: | :---------------------------------------------------------------------------------------- |
+| ड्राइंग करते समय कर्सर छिपाएं | true | Hides the mouse pointer while you draw, so it does not cover your stroke. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## टच
+
+### Touch configurations
+
+| Property | Default | विवरण |
+| ----------------: | :-----: | :---------------------------------------------------------------------------------------------------------- |
+| इनपुट जेस्चर | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| जेस्चर पर ले जाएं | true | Lets multi-touch gestures move the canvas instead of interacting with note content. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## कीबोर्ड
-There are a few shortcuts that you can use in the editor.
-Some of them are written below the buttons.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### सामान्य
@@ -14,44 +135,63 @@ Some of them are written below the buttons.
- `Ctrl` + `E`: Export file
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `E`: Export file as svg
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `P`: Open packs
- `Ctrl` + `Alt` + `S`: Open settings
+- `Escape`: Escape
### Project
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Undo
- `Ctrl` + `Y`: Redo
-- `Ctrl` + `Shift` + `P`: Open waypoints dialog
- `Ctrl` + `B`: Open background dialog
- `Ctrl` + `S`: Save
- `Alt` + `S`: Change path
-- `Ctrl` + (`1` - `0`): Switch to tool
- `Ctrl` + `+`: Zoom in
- `Ctrl` + `-`: Zoom out
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Switch to tool
## पेन
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Pen`: configured as pen.
-- `First` (Primary button, if supported): Change to hand tool while pressed.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Property | Values | विवरण |
+| -------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| केवल पेन इनपुट | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Show pen only toggle | true, false | Shows a quick pen-only switch in the editor after Butterfly detects a pen. |
+| Ignore pressure | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/hi/docs/v2/storage.md b/docs/src/content/docs/hi/docs/v2/storage.md
index fac71d24da80..b06adc6af5dc 100644
--- a/docs/src/content/docs/hi/docs/v2/storage.md
+++ b/docs/src/content/docs/hi/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## डेटा डायरेक्टरी
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ You can also change it in the settings under `Data`.
In this directory you will find a folder `Documents`, `Templates` and `Packs`.
-## Web
+## Web {#web}
The application data is stored in your browser. It is stored in a local storage.
Open the developer tools in your browser and you will see the data.
@@ -39,7 +39,59 @@ Add the URL of the remote server and the username and password. After that you c
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Offline sync {#offline}
@@ -48,7 +100,6 @@ Open the popup menu on a file or folder and click on `Sync`. This will download
There are a few limitations:
-- You can only sync the top level of a directory. For example if you have a directory `a/b/test.bfly`, this file will not be synced.
- You cannot delete a file or folder while you are offline.
- You cannot add, edit or delete templates while you are offline.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/hi/docs/v2/tools/area.md b/docs/src/content/docs/hi/docs/v2/tools/area.md
index 16d55c469f2d..606665bade47 100644
--- a/docs/src/content/docs/hi/docs/v2/tools/area.md
+++ b/docs/src/content/docs/hi/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Configuration
-| Property | Default | विवरण |
-| ----------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| चौड़ाई | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| ऊंचाई | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| पहलू अनुपात | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| Property | Default | विवरण |
+| ----------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| नाम पूछें | false | Whether a name prompt will appear before creation. |
+| प्रीसेट | none | Various presets for width and height. |
+| चौड़ाई | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| ऊंचाई | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| पहलू अनुपात | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
There are three aspect ratio presets:
- Square (1:1)
-- Page portrait (sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
-- Page landscape (1/sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/hi/docs/v2/tools/collection.md b/docs/src/content/docs/hi/docs/v2/tools/collection.md
deleted file mode 100644
index 391210b26987..000000000000
--- a/docs/src/content/docs/hi/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-You can't select it and it will run the action if you click on it.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/hi/docs/v2/tools/collection.mdx b/docs/src/content/docs/hi/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/hi/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/hi/docs/v2/tools/eraser.md b/docs/src/content/docs/hi/docs/v2/tools/eraser.md
index a8bef6b6587c..da68c912b3ea 100644
--- a/docs/src/content/docs/hi/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/hi/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## Configuration
-| Property | Default | विवरण |
-| ----------------: | :-----: | :------------------------------------------------------------------------------- |
-| स्ट्रोक की चौड़ाई | 5 | The width of the stroke |
-| Stroke multiplier | 1 | If you have a stylus, this is the multiplier which will be added to the pressure |
+| Property | Default | विवरण |
+| -----------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| स्ट्रोक की चौड़ाई | 5 | The width of the stroke |
+| Erase shapes | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Erase all elements | false | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | विवरण |
+| ---------------------------: | :------------------------------------------------------------------------------------------ |
+| Don't erase shapes | The eraser will not interact with shapes. |
+| Erase when touching edges | The shape will be erased when the eraser touches any edge. |
+| Erase when touching anywhere | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/hi/docs/v2/tools/full_screen.md b/docs/src/content/docs/hi/docs/v2/tools/full_screen.md
index ea23ff72ac89..e19718f8ff44 100644
--- a/docs/src/content/docs/hi/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/hi/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it will run the action if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/hi/docs/v2/tools/grid.md b/docs/src/content/docs/hi/docs/v2/tools/grid.md
index 70f45dc5af6a..8d7aaebf5058 100644
--- a/docs/src/content/docs/hi/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/hi/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| आकार | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| Color | Black | The color of the grid. |
+| अल्फ़ा | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| ज़ूम पर निर्भर | false | Changes the grid stroke width based on the zoom level. |
+| ज़ूम पर निर्भर | false | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| स्थिति पर निर्भर | false | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/hi/docs/v2/tools/index.md b/docs/src/content/docs/hi/docs/v2/tools/index.md
index ce934b64b87a..3bc905d98f80 100644
--- a/docs/src/content/docs/hi/docs/v2/tools/index.md
+++ b/docs/src/content/docs/hi/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ If you click on a selected tool you can configure it.
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/hi/docs/v2/tools/pen.md b/docs/src/content/docs/hi/docs/v2/tools/pen.md
index e9fadcd15b10..e4c1f1a193b7 100644
--- a/docs/src/content/docs/hi/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/hi/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -54,12 +56,12 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
| Property | Default | विवरण |
| ----------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| Color | Black | The color that will be drawn |
-| स्ट्रोक की चौड़ाई | 5 | The width of the stroke |
| ज़ूम पर निर्भर | false | This will change the stroke width based on the zoom level. |
+| Combine paths | false | This will merge all strokes it touches into one path |
| आकृति पहचान | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| स्ट्रोक की चौड़ाई | 5 | The width of the stroke |
| पतलापन | 0.4 | This effect of pressure on the stroke size |
| स्मूथिंग | 0.5 | This will smooth the edges of the stroke. |
-| स्ट्रीमलाइन | 0.5 | How much the pen will follow the movement of the mouse. |
-| Color | Black | The color that will be drawn |
-| भरें | Transparent | The color that will be drawn inside the shape |
+| स्ट्रीमलाइन | 0.3 | How much the pen will follow the movement of the mouse. |
+| Color | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| भरें | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/hi/docs/v2/tools/polygon.md b/docs/src/content/docs/hi/docs/v2/tools/polygon.md
deleted file mode 100644
index bf79c71f61f1..000000000000
--- a/docs/src/content/docs/hi/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Configuration
-
-| Property | Default | विवरण |
-| ----------------: | :---------: | :--------------------------------------------------------------- |
-| स्ट्रोक की चौड़ाई | 5 | The width of the stroke |
-| Color | Black | The color that will be drawn |
-| भरें | Transparent | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/hi/docs/v2/tools/polygon.mdx b/docs/src/content/docs/hi/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..04dbb4dca7c7
--- /dev/null
+++ b/docs/src/content/docs/hi/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Configuration
+
+| Property | Default | विवरण |
+| ----------------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| स्ट्रोक की चौड़ाई | 5 | The width of the stroke |
+| Color | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| भरें | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/hi/docs/v2/tools/redo.md b/docs/src/content/docs/hi/docs/v2/tools/redo.md
index 8371adf3aba9..de44e24ca619 100644
--- a/docs/src/content/docs/hi/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/hi/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-You can't select it and it will run the action if you click on it.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/hi/docs/v2/tools/select.md b/docs/src/content/docs/hi/docs/v2/tools/select.md
index b7b0b1217287..c6d737b99092 100644
--- a/docs/src/content/docs/hi/docs/v2/tools/select.md
+++ b/docs/src/content/docs/hi/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Configuration
-| Property | Default | विवरण |
-| -------: | :-----: | :--------------------------------------------------------------- |
-| Mode | आयत | Mode of selection. Valid are Rectangle and Lasso |
+| Property | Default | विवरण |
+| -------: | :------------: | :--------------------------------------------------------------- |
+| Mode | आयत | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | विवरण |
+| ----------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Select when touching edges | The shape will be selected when the selected area intersects any edge. |
+| Select when touching anywhere | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/hi/docs/v2/tools/shape.md b/docs/src/content/docs/hi/docs/v2/tools/shape.md
index ba5591982d14..96260dbc8869 100644
--- a/docs/src/content/docs/hi/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/hi/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Configuration
-| Property | Default | विवरण |
-| ----------------: | :-----: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| Color | Black | The stroke color that will be drawn |
-| स्ट्रोक की चौड़ाई | 5 | The width of the stroke |
-| Stroke style | ठोस | The style of the stroke. Other styles can use dash and gap lengths. |
-| Dash length | 1 | The length of the dash when using a non-solid stroke style |
-| Gap length | 1 | The length of the gap when using a non-solid stroke style |
-| ज़ूम पर निर्भर | false | This will change the stroke width based on the zoom level. |
-| आकृति | आयत | The shape that will be drawn |
-| चौड़ाई | 0 | The fixed width of the area. If set to 0, the width will be calculated automatically. |
-| ऊंचाई | 0 | The fixed height of the area. If set to 0, the height will be calculated automatically. |
-| पहलू अनुपात | 0 | The fixed aspect ratio of the area. If set to 0, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-| केंद्र | false | Draws the shape from the center instead of from the corner. |
-
-### Shape types
-
-#### आयत
-
-| Property | Default | विवरण |
-| ---------------: | :---------: | :------------------------------------------------ |
-| भरें | Transparent | The color that will be drawn inside the rectangle |
-| कोने की त्रिज्या | 0, 0, 0, 0 | The radius of the corners of the rectangle |
-
-#### त्रिकोण
-
-| Property | Default | विवरण |
-| -------: | :---------: | :----------------------------------------------- |
-| भरें | Transparent | The color that will be drawn inside the triangle |
-
-#### वृत्त
-
-| Property | Default | विवरण |
-| -------: | :---------: | :--------------------------------------------- |
-| भरें | Transparent | The color that will be drawn inside the circle |
-
-#### रेखा
-
-_No configuration available._
+| Property | Default | विवरण |
+| ----------------: | :------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| केंद्र | false | Draws the shape from the center instead of from the corner. |
+| चौड़ाई | 0 | The fixed width of the area. If set to 0, the width will be calculated automatically. |
+| ऊंचाई | 0 | The fixed height of the area. If set to 0, the height will be calculated automatically. |
+| पहलू अनुपात | 0 | The fixed aspect ratio of the area. If set to 0, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
+| स्ट्रोक की चौड़ाई | 5 | The width of the stroke |
+| Stroke style | ठोस | The style of the stroke. Other styles can use dash and gap lengths. |
+| Dash length | 1 | The length of the dash when using a non-solid stroke style |
+| Gap length | 1 | The length of the gap when using a non-solid stroke style |
+| Color | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| आकृति | आयत | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| कोने की त्रिज्या | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| भरें | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| ज़ूम पर निर्भर | false | This will change the stroke width based on the zoom level. |
\ No newline at end of file
diff --git a/docs/src/content/docs/hi/docs/v2/tools/texture.md b/docs/src/content/docs/hi/docs/v2/tools/texture.md
index 9df876bf1a6c..f60a614d0439 100644
--- a/docs/src/content/docs/hi/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/hi/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: बनावट
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Configuration
-| Property | Default | विवरण |
-| -------------: | :-----: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| ज़ूम पर निर्भर | false | This will change the stroke width based on the zoom level. |
-| बनावट | पैटर्न | The pattern that should be added. |
-| चौड़ाई | 0 | The fixed width of the area. If set to `0`, the width will be calculated automatically. |
-| ऊंचाई | 0 | The fixed height of the area. If set to `0`, the height will be calculated automatically. |
-| पहलू अनुपात | 0 | The fixed aspect ratio of the area. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Property | विवरण |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| बनावट | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/hi/docs/v2/tools/undo.md b/docs/src/content/docs/hi/docs/v2/tools/undo.md
index a7d87d8d2c23..18fdbd192064 100644
--- a/docs/src/content/docs/hi/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/hi/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-You can't select it and it will run the action if you click on it.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/hi/docs/v2/utilities.md b/docs/src/content/docs/hi/docs/v2/utilities.md
index 5bdb491162ff..513b549105d0 100644
--- a/docs/src/content/docs/hi/docs/v2/utilities.md
+++ b/docs/src/content/docs/hi/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## कैमरा
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/hu/community/embed.md b/docs/src/content/docs/hu/community/embed.md
index a9c7739b6cc5..315c7ae530e8 100644
--- a/docs/src/content/docs/hu/community/embed.md
+++ b/docs/src/content/docs/hu/community/embed.md
@@ -22,6 +22,7 @@ Add the following code to your website:
| mentés | Boolean (true, false) | true | Enable save. If disabled, only an exit button will be shown |
| editable | Boolean (true, false) | true | Enable editing. If disabled, the document will be read-only |
| language | String (..., system, user) | user | Language of the document. If system, the language will be detected from the browser. If user, the language will set to the users preference |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/hu/docs/v2/add.md b/docs/src/content/docs/hu/docs/v2/add.md
index c1f1f4862bdd..5b220fef5618 100644
--- a/docs/src/content/docs/hu/docs/v2/add.md
+++ b/docs/src/content/docs/hu/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## Importálás
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## Eszközök
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/hu/docs/v2/background.mdx b/docs/src/content/docs/hu/docs/v2/background.mdx
index 932483114e9a..9af110825885 100644
--- a/docs/src/content/docs/hu/docs/v2/background.mdx
+++ b/docs/src/content/docs/hu/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/hu/docs/v2/intro.mdx b/docs/src/content/docs/hu/docs/v2/intro.mdx
index fac9c765143e..b3e92cfecc0b 100644
--- a/docs/src/content/docs/hu/docs/v2/intro.mdx
+++ b/docs/src/content/docs/hu/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/hu/docs/v2/layers.md b/docs/src/content/docs/hu/docs/v2/layers.md
index a0dbcbf90b89..cc12e5eb5e3d 100644
--- a/docs/src/content/docs/hu/docs/v2/layers.md
+++ b/docs/src/content/docs/hu/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: Rétegek
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Here you can see all the layers in the project. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Here you can see all the layers in the project. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Option | Leírás |
+| --------------: | --------------------------------------------------------------------------------- |
+| Előrébb hozás | Renders the selection on top of the first element in front of it. |
+| Hátrébb hozás | Renders the selection under the first element behind it. |
+| Előtérbe hozás | Renders the selection in front of everything else. |
+| Háttérbe küldés | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/hu/docs/v2/pack.md b/docs/src/content/docs/hu/docs/v2/pack.md
index 74b457939e3a..d23e50dc6251 100644
--- a/docs/src/content/docs/hu/docs/v2/pack.md
+++ b/docs/src/content/docs/hu/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## Paletták
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/hu/docs/v2/shortcuts.md b/docs/src/content/docs/hu/docs/v2/shortcuts.md
index c0148aa9b8bb..87645b33477e 100644
--- a/docs/src/content/docs/hu/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/hu/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: Billentyűparancsok
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## Egér
+
+### Mouse configurations
+
+| Property | Default | Leírás |
+| ---------------------------------: | :-----: | :---------------------------------------------------------------------------------------- |
+| Rajzolás közben a kurzor elrejtése | true | Hides the mouse pointer while you draw, so it does not cover your stroke. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## Érintés
+
+### Touch configurations
+
+| Property | Default | Leírás |
+| ------------------: | :-----: | :---------------------------------------------------------------------------------------------------------- |
+| Beviteli gesztusok | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| Mozgatás gesztussal | true | Lets multi-touch gestures move the canvas instead of interacting with note content. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## Billentyűzet
-There are a few shortcuts that you can use in the editor.
-Some of them are written below the buttons.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### Általános
@@ -14,44 +135,63 @@ Some of them are written below the buttons.
- `Ctrl` + `E`: Export file
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `E`: Export file as svg
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `P`: Open packs
- `Ctrl` + `Alt` + `S`: Open settings
+- `Escape`: Escape
### Projekt
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Undo
- `Ctrl` + `Y`: Redo
-- `Ctrl` + `Shift` + `P`: Open waypoints dialog
- `Ctrl` + `B`: Open background dialog
- `Ctrl` + `S`: Save
- `Alt` + `S`: Change path
-- `Ctrl` + (`1` - `0`): Switch to tool
- `Ctrl` + `+`: Zoom in
- `Ctrl` + `-`: Zoom out
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Switch to tool
## Toll
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Pen`: configured as pen.
-- `First` (Primary button, if supported): Change to hand tool while pressed.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Property | Values | Leírás |
+| ---------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| Tollal történő bevitel | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Show pen only toggle | true, false | Shows a quick pen-only switch in the editor after Butterfly detects a pen. |
+| Ignore pressure | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/hu/docs/v2/storage.md b/docs/src/content/docs/hu/docs/v2/storage.md
index 004c2153e07a..b06adc6af5dc 100644
--- a/docs/src/content/docs/hu/docs/v2/storage.md
+++ b/docs/src/content/docs/hu/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## Adatmappa
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ You can also change it in the settings under `Data`.
In this directory you will find a folder `Documents`, `Templates` and `Packs`.
-## Web
+## Web {#web}
The application data is stored in your browser. It is stored in a local storage.
Open the developer tools in your browser and you will see the data.
@@ -39,7 +39,59 @@ Add the URL of the remote server and the username and password. After that you c
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Offline sync {#offline}
@@ -48,7 +100,6 @@ Open the popup menu on a file or folder and click on `Sync`. This will download
There are a few limitations:
-- You can only sync the top level of a directory. For example if you have a directory `a/b/test.bfly`, this file will not be synced.
- You cannot delete a file or folder while you are offline.
- You cannot add, edit or delete templates while you are offline.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/hu/docs/v2/tools/area.md b/docs/src/content/docs/hu/docs/v2/tools/area.md
index 1c20dd5de5e4..febf65315d45 100644
--- a/docs/src/content/docs/hu/docs/v2/tools/area.md
+++ b/docs/src/content/docs/hu/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Configuration
-| Property | Default | Leírás |
-| ---------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Szélesség | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| Magasság | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| Oldalarány | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| Property | Default | Leírás |
+| -------------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Név bekérése | false | Whether a name prompt will appear before creation. |
+| Előbeállítások | none | Various presets for width and height. |
+| Szélesség | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| Magasság | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| Oldalarány | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
There are three aspect ratio presets:
- Square (1:1)
-- Page portrait (sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
-- Page landscape (1/sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/hu/docs/v2/tools/collection.md b/docs/src/content/docs/hu/docs/v2/tools/collection.md
deleted file mode 100644
index 391210b26987..000000000000
--- a/docs/src/content/docs/hu/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-You can't select it and it will run the action if you click on it.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/hu/docs/v2/tools/collection.mdx b/docs/src/content/docs/hu/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/hu/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/hu/docs/v2/tools/eraser.md b/docs/src/content/docs/hu/docs/v2/tools/eraser.md
index 9ce115852029..2924d24d8bc7 100644
--- a/docs/src/content/docs/hu/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/hu/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## Configuration
-| Property | Default | Leírás |
-| ----------------: | :-----: | :------------------------------------------------------------------------------- |
-| Vastagság | 5 | The width of the stroke |
-| Stroke multiplier | 1 | If you have a stylus, this is the multiplier which will be added to the pressure |
+| Property | Default | Leírás |
+| -----------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| Vastagság | 5 | The width of the stroke |
+| Erase shapes | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Erase all elements | false | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | Leírás |
+| ---------------------------: | :------------------------------------------------------------------------------------------ |
+| Don't erase shapes | The eraser will not interact with shapes. |
+| Erase when touching edges | The shape will be erased when the eraser touches any edge. |
+| Erase when touching anywhere | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/hu/docs/v2/tools/full_screen.md b/docs/src/content/docs/hu/docs/v2/tools/full_screen.md
index ea23ff72ac89..e19718f8ff44 100644
--- a/docs/src/content/docs/hu/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/hu/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it will run the action if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/hu/docs/v2/tools/grid.md b/docs/src/content/docs/hu/docs/v2/tools/grid.md
index 51cb79fd0903..b6744f2236dd 100644
--- a/docs/src/content/docs/hu/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/hu/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| Méret | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| Szín | Black | The color of the grid. |
+| Áttetszőség | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| Függőleges nagyítás | false | Changes the grid stroke width based on the zoom level. |
+| Függőleges nagyítás | false | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| Pozíciófüggő | false | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/hu/docs/v2/tools/index.md b/docs/src/content/docs/hu/docs/v2/tools/index.md
index d753568f291d..c1df97023e41 100644
--- a/docs/src/content/docs/hu/docs/v2/tools/index.md
+++ b/docs/src/content/docs/hu/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ If you click on a selected tool you can configure it.
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/hu/docs/v2/tools/pen.md b/docs/src/content/docs/hu/docs/v2/tools/pen.md
index 4e1026f3ca10..7eab9493d6c9 100644
--- a/docs/src/content/docs/hu/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/hu/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -54,12 +56,12 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
| Property | Default | Leírás |
| ------------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| Szín | Black | The color that will be drawn |
-| Vastagság | 5 | The width of the stroke |
| Függőleges nagyítás | false | This will change the stroke width based on the zoom level. |
+| Combine paths | false | This will merge all strokes it touches into one path |
| Forma felismerés | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| Vastagság | 5 | The width of the stroke |
| Vékonyítás | 0.4 | This effect of pressure on the stroke size |
| Simítás | 0.5 | This will smooth the edges of the stroke. |
-| Letisztítás | 0.5 | How much the pen will follow the movement of the mouse. |
-| Szín | Black | The color that will be drawn |
-| Kitöltés | Transparent | The color that will be drawn inside the shape |
+| Letisztítás | 0.3 | How much the pen will follow the movement of the mouse. |
+| Szín | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| Kitöltés | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/hu/docs/v2/tools/polygon.md b/docs/src/content/docs/hu/docs/v2/tools/polygon.md
deleted file mode 100644
index e4caf86218ed..000000000000
--- a/docs/src/content/docs/hu/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Configuration
-
-| Property | Default | Leírás |
-| --------: | :---------: | :--------------------------------------------------------------- |
-| Vastagság | 5 | The width of the stroke |
-| Szín | Black | The color that will be drawn |
-| Kitöltés | Transparent | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/hu/docs/v2/tools/polygon.mdx b/docs/src/content/docs/hu/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..56332990ca04
--- /dev/null
+++ b/docs/src/content/docs/hu/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Configuration
+
+| Property | Default | Leírás |
+| --------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| Vastagság | 5 | The width of the stroke |
+| Szín | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| Kitöltés | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/hu/docs/v2/tools/redo.md b/docs/src/content/docs/hu/docs/v2/tools/redo.md
index 8371adf3aba9..de44e24ca619 100644
--- a/docs/src/content/docs/hu/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/hu/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-You can't select it and it will run the action if you click on it.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/hu/docs/v2/tools/select.md b/docs/src/content/docs/hu/docs/v2/tools/select.md
index fa0ea0995b55..6cdd12f4bba9 100644
--- a/docs/src/content/docs/hu/docs/v2/tools/select.md
+++ b/docs/src/content/docs/hu/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Configuration
-| Property | Default | Leírás |
-| -------: | :------: | :--------------------------------------------------------------- |
-| Mode | Téglalap | Mode of selection. Valid are Rectangle and Lasso |
+| Property | Default | Leírás |
+| -------: | :------------: | :--------------------------------------------------------------- |
+| Mode | Téglalap | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | Leírás |
+| ----------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Select when touching edges | The shape will be selected when the selected area intersects any edge. |
+| Select when touching anywhere | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/hu/docs/v2/tools/shape.md b/docs/src/content/docs/hu/docs/v2/tools/shape.md
index b4762361e418..17e24476be2d 100644
--- a/docs/src/content/docs/hu/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/hu/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Configuration
-| Property | Default | Leírás |
-| ------------------: | :------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| Szín | Black | The stroke color that will be drawn |
-| Vastagság | 5 | The width of the stroke |
-| Stroke style | Szilárd | The style of the stroke. Other styles can use dash and gap lengths. |
-| Dash length | 1 | The length of the dash when using a non-solid stroke style |
-| Gap length | 1 | The length of the gap when using a non-solid stroke style |
-| Függőleges nagyítás | false | This will change the stroke width based on the zoom level. |
-| Forma | Téglalap | The shape that will be drawn |
-| Szélesség | 0 | The fixed width of the area. If set to 0, the width will be calculated automatically. |
-| Magasság | 0 | The fixed height of the area. If set to 0, the height will be calculated automatically. |
-| Oldalarány | 0 | The fixed aspect ratio of the area. If set to 0, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-| Közép | false | Draws the shape from the center instead of from the corner. |
-
-### Shape types
-
-#### Téglalap
-
-| Property | Default | Leírás |
-| -----------: | :---------: | :------------------------------------------------ |
-| Kitöltés | Transparent | The color that will be drawn inside the rectangle |
-| Sarok sugara | 0, 0, 0, 0 | The radius of the corners of the rectangle |
-
-#### Háromszög
-
-| Property | Default | Leírás |
-| -------: | :---------: | :----------------------------------------------- |
-| Kitöltés | Transparent | The color that will be drawn inside the triangle |
-
-#### Kör
-
-| Property | Default | Leírás |
-| -------: | :---------: | :--------------------------------------------- |
-| Kitöltés | Transparent | The color that will be drawn inside the circle |
-
-#### Vonal
-
-_No configuration available._
+| Property | Default | Leírás |
+| ------------------: | :------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| Közép | false | Draws the shape from the center instead of from the corner. |
+| Szélesség | 0 | The fixed width of the area. If set to 0, the width will be calculated automatically. |
+| Magasság | 0 | The fixed height of the area. If set to 0, the height will be calculated automatically. |
+| Oldalarány | 0 | The fixed aspect ratio of the area. If set to 0, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
+| Vastagság | 5 | The width of the stroke |
+| Stroke style | Szilárd | The style of the stroke. Other styles can use dash and gap lengths. |
+| Dash length | 1 | The length of the dash when using a non-solid stroke style |
+| Gap length | 1 | The length of the gap when using a non-solid stroke style |
+| Szín | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| Forma | Téglalap | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| Sarok sugara | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| Kitöltés | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| Függőleges nagyítás | false | This will change the stroke width based on the zoom level. |
\ No newline at end of file
diff --git a/docs/src/content/docs/hu/docs/v2/tools/texture.md b/docs/src/content/docs/hu/docs/v2/tools/texture.md
index db2774b2dce9..a205d52c9dd0 100644
--- a/docs/src/content/docs/hu/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/hu/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: Textúra
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Configuration
-| Property | Default | Leírás |
-| ------------------: | :-----: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Függőleges nagyítás | false | This will change the stroke width based on the zoom level. |
-| Textúra | Minta | The pattern that should be added. |
-| Szélesség | 0 | The fixed width of the area. If set to `0`, the width will be calculated automatically. |
-| Magasság | 0 | The fixed height of the area. If set to `0`, the height will be calculated automatically. |
-| Oldalarány | 0 | The fixed aspect ratio of the area. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Property | Leírás |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| Textúra | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/hu/docs/v2/tools/undo.md b/docs/src/content/docs/hu/docs/v2/tools/undo.md
index a7d87d8d2c23..18fdbd192064 100644
--- a/docs/src/content/docs/hu/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/hu/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-You can't select it and it will run the action if you click on it.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/hu/docs/v2/utilities.md b/docs/src/content/docs/hu/docs/v2/utilities.md
index e072cc62c2a3..40c35f336045 100644
--- a/docs/src/content/docs/hu/docs/v2/utilities.md
+++ b/docs/src/content/docs/hu/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## Kamera
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/id/community/embed.md b/docs/src/content/docs/id/community/embed.md
index 93fbe2b0e684..cb3c1254df68 100644
--- a/docs/src/content/docs/id/community/embed.md
+++ b/docs/src/content/docs/id/community/embed.md
@@ -22,6 +22,7 @@ Add the following code to your website:
| save | Boolean (true, false) | true | Enable save. If disabled, only an exit button will be shown |
| editable | Boolean (true, false) | true | Enable editing. If disabled, the document will be read-only |
| language | String (..., system, user) | user | Language of the document. If system, the language will be detected from the browser. If user, the language will set to the users preference |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/id/docs/v2/add.md b/docs/src/content/docs/id/docs/v2/add.md
index 29a972d9cb1c..da8858e19b18 100644
--- a/docs/src/content/docs/id/docs/v2/add.md
+++ b/docs/src/content/docs/id/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## Impor
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## Alat
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/id/docs/v2/background.mdx b/docs/src/content/docs/id/docs/v2/background.mdx
index b70ac420dd19..74462a344e38 100644
--- a/docs/src/content/docs/id/docs/v2/background.mdx
+++ b/docs/src/content/docs/id/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/id/docs/v2/intro.mdx b/docs/src/content/docs/id/docs/v2/intro.mdx
index e62f1570363a..ddb0f2a45ebc 100644
--- a/docs/src/content/docs/id/docs/v2/intro.mdx
+++ b/docs/src/content/docs/id/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/id/docs/v2/layers.md b/docs/src/content/docs/id/docs/v2/layers.md
index 3f45a6e6fcc6..09a36148424d 100644
--- a/docs/src/content/docs/id/docs/v2/layers.md
+++ b/docs/src/content/docs/id/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: Lapisan
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Here you can see all the layers in the project. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Here you can see all the layers in the project. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Option | Deskripsi |
+| ----------------: | --------------------------------------------------------------------------------- |
+| Bawa maju | Renders the selection on top of the first element in front of it. |
+| Kirim mundur | Renders the selection under the first element behind it. |
+| Bawa ke depan | Renders the selection in front of everything else. |
+| Kirim ke belakang | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/id/docs/v2/pack.md b/docs/src/content/docs/id/docs/v2/pack.md
index 0b750366eb74..627fdc8a9d97 100644
--- a/docs/src/content/docs/id/docs/v2/pack.md
+++ b/docs/src/content/docs/id/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## Palet
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/id/docs/v2/shortcuts.md b/docs/src/content/docs/id/docs/v2/shortcuts.md
index c2f0866a26ca..1eb2c6d13ffe 100644
--- a/docs/src/content/docs/id/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/id/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: Pintasan
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## Mouse
+
+### Mouse configurations
+
+| Property | Default | Deskripsi |
+| ---------------------------------: | :-----: | :---------------------------------------------------------------------------------------- |
+| Sembunyikan kursor saat menggambar | true | Hides the mouse pointer while you draw, so it does not cover your stroke. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## Sentuh
+
+### Touch configurations
+
+| Property | Default | Deskripsi |
+| -----------------: | :-----: | :---------------------------------------------------------------------------------------------------------- |
+| Gestur masukan | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| Pindah saat gestur | true | Lets multi-touch gestures move the canvas instead of interacting with note content. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## Keyboard
-There are a few shortcuts that you can use in the editor.
-Some of them are written below the buttons.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### Umum
@@ -14,44 +135,63 @@ Some of them are written below the buttons.
- `Ctrl` + `E`: Export file
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `E`: Export file as svg
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `P`: Open packs
- `Ctrl` + `Alt` + `S`: Open settings
+- `Escape`: Escape
### Project
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Undo
- `Ctrl` + `Y`: Redo
-- `Ctrl` + `Shift` + `P`: Open waypoints dialog
- `Ctrl` + `B`: Open background dialog
- `Ctrl` + `S`: Save
- `Alt` + `S`: Change path
-- `Ctrl` + (`1` - `0`): Switch to tool
- `Ctrl` + `+`: Zoom in
- `Ctrl` + `-`: Zoom out
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Switch to tool
## Pena
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Pen`: configured as pen.
-- `First` (Primary button, if supported): Change to hand tool while pressed.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Property | Values | Deskripsi |
+| -------------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| Masukan pena saja | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Tampilkan tombol pena saja | true, false | Shows a quick pen-only switch in the editor after Butterfly detects a pen. |
+| Abaikan tekanan | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/id/docs/v2/storage.md b/docs/src/content/docs/id/docs/v2/storage.md
index 8b08e9dee7ee..b06adc6af5dc 100644
--- a/docs/src/content/docs/id/docs/v2/storage.md
+++ b/docs/src/content/docs/id/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## Direktori data
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ You can also change it in the settings under `Data`.
In this directory you will find a folder `Documents`, `Templates` and `Packs`.
-## Web
+## Web {#web}
The application data is stored in your browser. It is stored in a local storage.
Open the developer tools in your browser and you will see the data.
@@ -39,7 +39,59 @@ Add the URL of the remote server and the username and password. After that you c
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Offline sync {#offline}
@@ -48,7 +100,6 @@ Open the popup menu on a file or folder and click on `Sync`. This will download
There are a few limitations:
-- You can only sync the top level of a directory. For example if you have a directory `a/b/test.bfly`, this file will not be synced.
- You cannot delete a file or folder while you are offline.
- You cannot add, edit or delete templates while you are offline.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/id/docs/v2/tools/area.md b/docs/src/content/docs/id/docs/v2/tools/area.md
index f96b481a4701..7dee2ee60593 100644
--- a/docs/src/content/docs/id/docs/v2/tools/area.md
+++ b/docs/src/content/docs/id/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Configuration
-| Property | Default | Deskripsi |
-| ----------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Lebar | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| Tinggi | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| Rasio aspek | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| Property | Default | Deskripsi |
+| ----------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Minta nama | false | Whether a name prompt will appear before creation. |
+| Preset | none | Various presets for width and height. |
+| Lebar | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| Tinggi | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| Rasio aspek | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
There are three aspect ratio presets:
- Square (1:1)
-- Page portrait (sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
-- Page landscape (1/sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/id/docs/v2/tools/collection.md b/docs/src/content/docs/id/docs/v2/tools/collection.md
deleted file mode 100644
index 391210b26987..000000000000
--- a/docs/src/content/docs/id/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-You can't select it and it will run the action if you click on it.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/id/docs/v2/tools/collection.mdx b/docs/src/content/docs/id/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/id/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/id/docs/v2/tools/eraser.md b/docs/src/content/docs/id/docs/v2/tools/eraser.md
index 44819e848827..404473917d2a 100644
--- a/docs/src/content/docs/id/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/id/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## Configuration
-| Property | Default | Deskripsi |
-| ----------------: | :-----: | :------------------------------------------------------------------------------- |
-| Lebar goresan | 5 | The width of the stroke |
-| Stroke multiplier | 1 | If you have a stylus, this is the multiplier which will be added to the pressure |
+| Property | Default | Deskripsi |
+| -----------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| Lebar goresan | 5 | The width of the stroke |
+| Erase shapes | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Erase all elements | false | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | Deskripsi |
+| ---------------------------: | :------------------------------------------------------------------------------------------ |
+| Don't erase shapes | The eraser will not interact with shapes. |
+| Erase when touching edges | The shape will be erased when the eraser touches any edge. |
+| Erase when touching anywhere | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/id/docs/v2/tools/full_screen.md b/docs/src/content/docs/id/docs/v2/tools/full_screen.md
index ea23ff72ac89..e19718f8ff44 100644
--- a/docs/src/content/docs/id/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/id/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it will run the action if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/id/docs/v2/tools/grid.md b/docs/src/content/docs/id/docs/v2/tools/grid.md
index 1ba969b0a734..e364ed9de666 100644
--- a/docs/src/content/docs/id/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/id/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| Ukuran | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| Color | Black | The color of the grid. |
+| Alfa | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| Bergantung pada zoom | false | Changes the grid stroke width based on the zoom level. |
+| Bergantung pada zoom | false | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| Bergantung pada posisi | false | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/id/docs/v2/tools/index.md b/docs/src/content/docs/id/docs/v2/tools/index.md
index a07030627679..8c2cdde520a9 100644
--- a/docs/src/content/docs/id/docs/v2/tools/index.md
+++ b/docs/src/content/docs/id/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ If you click on a selected tool you can configure it.
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/id/docs/v2/tools/pen.md b/docs/src/content/docs/id/docs/v2/tools/pen.md
index 2e5ad1250f19..89ad52e95b45 100644
--- a/docs/src/content/docs/id/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/id/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -54,12 +56,12 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
| Property | Default | Deskripsi |
| -------------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| Color | Black | The color that will be drawn |
-| Lebar goresan | 5 | The width of the stroke |
| Bergantung pada zoom | false | This will change the stroke width based on the zoom level. |
+| Combine paths | false | This will merge all strokes it touches into one path |
| Deteksi bentuk | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| Lebar goresan | 5 | The width of the stroke |
| Penipisan | 0.4 | This effect of pressure on the stroke size |
| Penghalusan | 0.5 | This will smooth the edges of the stroke. |
-| Streamline | 0.5 | How much the pen will follow the movement of the mouse. |
-| Color | Black | The color that will be drawn |
-| Isi | Transparent | The color that will be drawn inside the shape |
+| Streamline | 0.3 | How much the pen will follow the movement of the mouse. |
+| Color | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| Isi | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/id/docs/v2/tools/polygon.md b/docs/src/content/docs/id/docs/v2/tools/polygon.md
deleted file mode 100644
index 7b719e41e759..000000000000
--- a/docs/src/content/docs/id/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Configuration
-
-| Property | Default | Deskripsi |
-| ------------: | :---------: | :--------------------------------------------------------------- |
-| Lebar goresan | 5 | The width of the stroke |
-| Color | Black | The color that will be drawn |
-| Isi | Transparent | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/id/docs/v2/tools/polygon.mdx b/docs/src/content/docs/id/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..27566d562018
--- /dev/null
+++ b/docs/src/content/docs/id/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Configuration
+
+| Property | Default | Deskripsi |
+| ------------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| Lebar goresan | 5 | The width of the stroke |
+| Color | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| Isi | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/id/docs/v2/tools/redo.md b/docs/src/content/docs/id/docs/v2/tools/redo.md
index 8371adf3aba9..de44e24ca619 100644
--- a/docs/src/content/docs/id/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/id/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-You can't select it and it will run the action if you click on it.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/id/docs/v2/tools/select.md b/docs/src/content/docs/id/docs/v2/tools/select.md
index 7cf7120c77a9..63a4fe121a18 100644
--- a/docs/src/content/docs/id/docs/v2/tools/select.md
+++ b/docs/src/content/docs/id/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Configuration
| Property | Default | Deskripsi |
| -------: | :-------------: | :--------------------------------------------------------------- |
| Mode | Persegi panjang | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | Deskripsi |
+| ----------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Select when touching edges | The shape will be selected when the selected area intersects any edge. |
+| Select when touching anywhere | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/id/docs/v2/tools/shape.md b/docs/src/content/docs/id/docs/v2/tools/shape.md
index e46191c1f217..9b24683d951d 100644
--- a/docs/src/content/docs/id/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/id/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Configuration
-| Property | Default | Deskripsi |
-| -------------------: | :-------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| Color | Black | The stroke color that will be drawn |
-| Lebar goresan | 5 | The width of the stroke |
-| Gaya goresan | Padat | The style of the stroke. Other styles can use dash and gap lengths. |
-| Panjang garis putus | 1 | The length of the dash when using a non-solid stroke style |
-| Panjang celah | 1 | The length of the gap when using a non-solid stroke style |
-| Bergantung pada zoom | false | This will change the stroke width based on the zoom level. |
-| Bentuk | Persegi panjang | The shape that will be drawn |
-| Lebar | 0 | The fixed width of the area. If set to 0, the width will be calculated automatically. |
-| Tinggi | 0 | The fixed height of the area. If set to 0, the height will be calculated automatically. |
-| Rasio aspek | 0 | The fixed aspect ratio of the area. If set to 0, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-| Tengah | false | Draws the shape from the center instead of from the corner. |
-
-### Shape types
-
-#### Persegi panjang
-
-| Property | Default | Deskripsi |
-| -----------: | :---------: | :------------------------------------------------ |
-| Isi | Transparent | The color that will be drawn inside the rectangle |
-| Radius sudut | 0, 0, 0, 0 | The radius of the corners of the rectangle |
-
-#### Segitiga
-
-| Property | Default | Deskripsi |
-| -------: | :---------: | :----------------------------------------------- |
-| Isi | Transparent | The color that will be drawn inside the triangle |
-
-#### Lingkaran
-
-| Property | Default | Deskripsi |
-| -------: | :---------: | :--------------------------------------------- |
-| Isi | Transparent | The color that will be drawn inside the circle |
-
-#### Garis
-
-_No configuration available._
+| Property | Default | Deskripsi |
+| -------------------: | :------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| Tengah | false | Draws the shape from the center instead of from the corner. |
+| Lebar | 0 | The fixed width of the area. If set to 0, the width will be calculated automatically. |
+| Tinggi | 0 | The fixed height of the area. If set to 0, the height will be calculated automatically. |
+| Rasio aspek | 0 | The fixed aspect ratio of the area. If set to 0, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
+| Lebar goresan | 5 | The width of the stroke |
+| Gaya goresan | Padat | The style of the stroke. Other styles can use dash and gap lengths. |
+| Panjang garis putus | 1 | The length of the dash when using a non-solid stroke style |
+| Panjang celah | 1 | The length of the gap when using a non-solid stroke style |
+| Color | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| Bentuk | Persegi panjang | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| Radius sudut | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| Isi | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| Bergantung pada zoom | false | This will change the stroke width based on the zoom level. |
\ No newline at end of file
diff --git a/docs/src/content/docs/id/docs/v2/tools/texture.md b/docs/src/content/docs/id/docs/v2/tools/texture.md
index e8c50298fe56..d014a068f0b1 100644
--- a/docs/src/content/docs/id/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/id/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: Tekstur
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Configuration
-| Property | Default | Deskripsi |
-| -------------------: | :-----: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Bergantung pada zoom | false | This will change the stroke width based on the zoom level. |
-| Tekstur | Pola | The pattern that should be added. |
-| Lebar | 0 | The fixed width of the area. If set to `0`, the width will be calculated automatically. |
-| Tinggi | 0 | The fixed height of the area. If set to `0`, the height will be calculated automatically. |
-| Rasio aspek | 0 | The fixed aspect ratio of the area. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Property | Deskripsi |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| Tekstur | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/id/docs/v2/tools/undo.md b/docs/src/content/docs/id/docs/v2/tools/undo.md
index a7d87d8d2c23..18fdbd192064 100644
--- a/docs/src/content/docs/id/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/id/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-You can't select it and it will run the action if you click on it.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/id/docs/v2/utilities.md b/docs/src/content/docs/id/docs/v2/utilities.md
index 0dc32872034f..c53836b2961f 100644
--- a/docs/src/content/docs/id/docs/v2/utilities.md
+++ b/docs/src/content/docs/id/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## Kamera
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/it/community/embed.md b/docs/src/content/docs/it/community/embed.md
index 7b476209d81f..2ddfa2dcef18 100644
--- a/docs/src/content/docs/it/community/embed.md
+++ b/docs/src/content/docs/it/community/embed.md
@@ -22,6 +22,7 @@ Aggiungi il seguente codice al tuo sito web:
| salva | Boolean (true, false) | true | Abilita il salvataggio. Se disabilitato, verrà mostrato solo un pulsante di uscita |
| editable | Boolean (true, false) | true | Abilita le modifiche. Se disabilitato, il documento sarà in sola lettura |
| lingua | Stringa (..., sistema, utente) | user | Lingua del documento. Se il sistema, la lingua verrà rilevata dal browser. Se l'utente, la lingua imposterà la preferenza dell'utente |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/it/docs/v2/add.md b/docs/src/content/docs/it/docs/v2/add.md
index 41ea7d140384..eb6396f20f8d 100644
--- a/docs/src/content/docs/it/docs/v2/add.md
+++ b/docs/src/content/docs/it/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## Importa
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## Strumenti
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/it/docs/v2/background.mdx b/docs/src/content/docs/it/docs/v2/background.mdx
index bc6e6df8eab1..af179357b32f 100644
--- a/docs/src/content/docs/it/docs/v2/background.mdx
+++ b/docs/src/content/docs/it/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/it/docs/v2/intro.mdx b/docs/src/content/docs/it/docs/v2/intro.mdx
index 5b919cf40f65..3962f6f5a975 100644
--- a/docs/src/content/docs/it/docs/v2/intro.mdx
+++ b/docs/src/content/docs/it/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/it/docs/v2/layers.md b/docs/src/content/docs/it/docs/v2/layers.md
index 2fb899afa3b9..c5751f02982c 100644
--- a/docs/src/content/docs/it/docs/v2/layers.md
+++ b/docs/src/content/docs/it/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: Layers
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Qui puoi vedere tutti i livelli nel progetto. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Qui puoi vedere tutti i livelli nel progetto. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Opzione | Descrizione |
+| -------------: | --------------------------------------------------------------------------------- |
+| Avanti | Renders the selection on top of the first element in front of it. |
+| Invia indietro | Renders the selection under the first element behind it. |
+| Porta avanti | Renders the selection in front of everything else. |
+| Invia al retro | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/it/docs/v2/pack.md b/docs/src/content/docs/it/docs/v2/pack.md
index 37160184bdb9..8d6756ceec16 100644
--- a/docs/src/content/docs/it/docs/v2/pack.md
+++ b/docs/src/content/docs/it/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## Palettes
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/it/docs/v2/shortcuts.md b/docs/src/content/docs/it/docs/v2/shortcuts.md
index 0485d7a4a77e..2f7fe3975e63 100644
--- a/docs/src/content/docs/it/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/it/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: Scorciatoie
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## Mouse
+
+### Mouse configurations
+
+| Proprietà | Predefinito | Descrizione |
+| -------------------------------------: | :---------: | :---------------------------------------------------------------------------------------------- |
+| Nascondi il cursore durante il disegno | true | Nasconde il puntatore del mouse mentre disegni, quindi non copre il tuo tratto. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## Tocco
+
+### Touch configurations
+
+| Proprietà | Predefinito | Descrizione |
+| ----------------: | :---------: | :------------------------------------------------------------------------------------------------------------------ |
+| Gestures di input | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| Sposta al gesto | true | Permette ai gesti multi-touch di spostare la tela invece di interagire con il contenuto delle note. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## Tastiera
-Ci sono alcune scorciatoie che puoi usare nell'editor.
-Alcuni di loro sono scritti sotto i pulsanti.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### Generale
@@ -14,44 +135,63 @@ Alcuni di loro sono scritti sotto i pulsanti.
- `Ctrl` + `E`: Esporta file
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `Shift` + `E`: Export file as pdf
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `S`: Apri le impostazioni
- `Ctrl` + `Alt` + `P`: Apri pacchetti
+- `Escape`: Escape
### Progetto
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Annulla
- `Ctrl` + `Y`: Ripeti
-- `Ctrl` + `Shift` + `P`: Apri waypoints finestra
- `Ctrl` + `B`: Apri finestra di sfondo
- `Ctrl` + `S`: Salva
- `Alt` + `S`: Cambia percorso
-- `Ctrl` + (`1` - `0`): Passa allo strumento
- `Ctrl` + `+`: Zoom avanti
- `Ctrl` + `-`: Zoom indietro
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Passa allo strumento
## Penna
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Penna`: configurato come penna.
-- `First` (pulsante primario, se supportato): Cambia a mano mentre premuto lo strumento.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Proprietà | Values | Descrizione |
+| ---------------------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| Input solo penna | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Mostra solo penna attiva/disattiva | true, false | Mostra un rapido interruttore di sola penna nell'editor dopo che Butterfly rileva una penna. |
+| Ignora pressione | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/it/docs/v2/storage.md b/docs/src/content/docs/it/docs/v2/storage.md
index 936c7b994140..f4def89a52cf 100644
--- a/docs/src/content/docs/it/docs/v2/storage.md
+++ b/docs/src/content/docs/it/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## Cartella dati
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ Puoi anche modificarlo nelle impostazioni in `Dati`.
In questa directory troverai una cartella `Documenti`, `Templates` e `Packs`.
-## Web
+## Web {#web}
I dati dell'applicazione sono memorizzati nel browser. È conservato in un deposito locale.
Apri gli strumenti di sviluppo nel tuo browser e vedrai i dati.
@@ -39,7 +39,59 @@ Aggiunge l'URL del server remoto e il nome utente e la password. Dopo di che è
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (dovrebbe assomigliare a questo: `https://nextcloud.example.com/remote.php/dav/files/username/`, sostituisci `username` e `nextcloud.example.com` con i valori corretti)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Sincronizzazione offline {#offline}
@@ -48,7 +100,6 @@ Aprire il menu a comparsa su un file o una cartella e fare clic su `Sync`. Quest
Ci sono alcune limitazioni:
-- È possibile sincronizzare solo il livello superiore di una directory. Per esempio, se si dispone di una directory `a/b/test.bfly`, questo file non verrà sincronizzato.
- Non è possibile eliminare un file o una cartella mentre si è offline.
- Non puoi aggiungere, modificare o eliminare i modelli mentre sei offline.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/it/docs/v2/tools/area.md b/docs/src/content/docs/it/docs/v2/tools/area.md
index d0fea09b68f2..c2e8991eaef6 100644
--- a/docs/src/content/docs/it/docs/v2/tools/area.md
+++ b/docs/src/content/docs/it/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Configurazione
-| Proprietà | Predefinito | Descrizione |
-| ------------------: | :---------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Larghezza | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| Altezza | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| Rapporto dimensioni | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| Proprietà | Predefinito | Descrizione |
+| ------------------: | :---------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Chiedi nome | falso | Whether a name prompt will appear before creation. |
+| Predefiniti | none | Various presets for width and height. |
+| Larghezza | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| Altezza | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| Rapporto dimensioni | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
Ci sono tre preimpostazioni del rapporto di aspetto:
- Quadrato (1:1)
-- Ritratto pagina (sqrt(2)) - Questo è il rapporto di aspetto predefinito di una pagina A4 in modalità verticale.
-- Paesaggio pagina (1/sqrt(2)) - Questo è il rapporto di aspetto predefinito di una pagina A4 in modalità orizzontale.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/it/docs/v2/tools/collection.md b/docs/src/content/docs/it/docs/v2/tools/collection.md
deleted file mode 100644
index b756a91e50ef..000000000000
--- a/docs/src/content/docs/it/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-Non è possibile selezionarlo e verrà eseguita l'azione se si fa clic su di esso.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/it/docs/v2/tools/collection.mdx b/docs/src/content/docs/it/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/it/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/it/docs/v2/tools/eraser.md b/docs/src/content/docs/it/docs/v2/tools/eraser.md
index 3baaed4b27dc..7799c409c633 100644
--- a/docs/src/content/docs/it/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/it/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## Configurazione
-| Proprietà | Predefinito | Descrizione |
-| --------------------: | :---------: | :----------------------------------------------------------------------------- |
-| Spessore tratto | 5 | La larghezza del tratto |
-| Moltiplicatore tratto | 1 | Se hai uno stilo, questo è il moltiplicatore che verrà aggiunto alla pressione |
+| Proprietà | Predefinito | Descrizione |
+| --------------------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| Spessore tratto | 5 | La larghezza del tratto |
+| Cancella forme | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Cancella tutti gli elementi | falso | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | Descrizione |
+| ---------------------------------: | :------------------------------------------------------------------------------------------ |
+| Non cancellare forme | The eraser will not interact with shapes. |
+| Cancella quando si toccano i bordi | The shape will be erased when the eraser touches any edge. |
+| Cancella quando si tocca ovunque | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/it/docs/v2/tools/full_screen.md b/docs/src/content/docs/it/docs/v2/tools/full_screen.md
index b08385964961..e19718f8ff44 100644
--- a/docs/src/content/docs/it/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/it/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-Non è possibile selezionarlo e verrà eseguita l'azione se si fa clic su di esso.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/it/docs/v2/tools/grid.md b/docs/src/content/docs/it/docs/v2/tools/grid.md
index ce33dbd8b533..77c612f78aef 100644
--- a/docs/src/content/docs/it/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/it/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| Dimensione | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| Colore | Nero | The color of the grid. |
+| Alfa | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| Dipendente dallo zoom | falso | Changes the grid stroke width based on the zoom level. |
+| Dipendente dallo zoom | falso | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| Dipendente dalla posizione | falso | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/it/docs/v2/tools/index.md b/docs/src/content/docs/it/docs/v2/tools/index.md
index cd35cfcf0abc..455670237a3f 100644
--- a/docs/src/content/docs/it/docs/v2/tools/index.md
+++ b/docs/src/content/docs/it/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ Se si fa clic su uno strumento selezionato è possibile configurarlo.
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/it/docs/v2/tools/pen.md b/docs/src/content/docs/it/docs/v2/tools/pen.md
index c7cb659f808e..4b9cb1d0b580 100644
--- a/docs/src/content/docs/it/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/it/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -54,12 +56,12 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
| Proprietà | Predefinito | Descrizione |
| --------------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| Colore | Nero | Il colore che verrà disegnato |
-| Spessore tratto | 5 | La larghezza del tratto |
| Dipendente dallo zoom | falso | Questo cambierà la larghezza del tratto in base al livello di zoom. |
+| Combina percorsi | falso | This will merge all strokes it touches into one path |
| Rilevamento Forme | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| Spessore tratto | 5 | La larghezza del tratto |
| Sottigliezza | 0.4 | This effect of pressure on the stroke size |
| Smussatura | 0.5 | This will smooth the edges of the stroke. |
-| Flusso d' inchiostro | 0.5 | How much the pen will follow the movement of the mouse. |
-| Colore | Nero | Il colore che verrà disegnato |
-| Riempi | Trasparente | The color that will be drawn inside the shape |
+| Flusso d' inchiostro | 0.3 | How much the pen will follow the movement of the mouse. |
+| Colore | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| Riempi | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/it/docs/v2/tools/polygon.md b/docs/src/content/docs/it/docs/v2/tools/polygon.md
deleted file mode 100644
index 83cae747a866..000000000000
--- a/docs/src/content/docs/it/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Configurazione
-
-| Proprietà | Predefinito | Descrizione |
-| --------------: | :---------: | :--------------------------------------------------------------- |
-| Spessore tratto | 5 | La larghezza del tratto |
-| Colore | Nero | Il colore che verrà disegnato |
-| Riempi | Trasparente | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/it/docs/v2/tools/polygon.mdx b/docs/src/content/docs/it/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..60be7e406c87
--- /dev/null
+++ b/docs/src/content/docs/it/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Configurazione
+
+| Proprietà | Predefinito | Descrizione |
+| --------------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| Spessore tratto | 5 | La larghezza del tratto |
+| Colore | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| Riempi | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/it/docs/v2/tools/redo.md b/docs/src/content/docs/it/docs/v2/tools/redo.md
index afb887ddd010..de44e24ca619 100644
--- a/docs/src/content/docs/it/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/it/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-Non è possibile selezionarlo e verrà eseguita l'azione se si fa clic su di esso.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/it/docs/v2/tools/select.md b/docs/src/content/docs/it/docs/v2/tools/select.md
index 48aa76a210bd..76810d695bbc 100644
--- a/docs/src/content/docs/it/docs/v2/tools/select.md
+++ b/docs/src/content/docs/it/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Configurazione
-| Proprietà | Predefinito | Descrizione |
-| --------: | :---------: | :--------------------------------------------------------------- |
-| Mode | Rettangolo | Mode of selection. Valid are Rectangle and Lasso |
+| Proprietà | Predefinito | Descrizione |
+| --------: | :------------: | :--------------------------------------------------------------- |
+| Mode | Rettangolo | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | Descrizione |
+| ------------------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Selezionare quando si toccano i bordi | The shape will be selected when the selected area intersects any edge. |
+| Selezionare quando si tocca ovunque | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/it/docs/v2/tools/shape.md b/docs/src/content/docs/it/docs/v2/tools/shape.md
index ef4e928462cb..5639dcfebed7 100644
--- a/docs/src/content/docs/it/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/it/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Configurazione
-| Proprietà | Predefinito | Descrizione |
-| -----------------------: | :---------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Colore | Nero | The stroke color that will be drawn |
-| Spessore tratto | 5 | La larghezza del tratto |
-| Stile tratto | Solido | The style of the stroke. Other styles can use dash and gap lengths. |
-| Lunghezza tratteggiatura | 1 | The length of the dash when using a non-solid stroke style |
-| Lunghezza del gap | 1 | The length of the gap when using a non-solid stroke style |
-| Dipendente dallo zoom | falso | Questo cambierà la larghezza del tratto in base al livello di zoom. |
-| Forma | Rettangolo | La forma che sarà disegnata |
-| Larghezza | 0 | Rapporto dimensioni Se impostato a 0, la larghezza verrà calcolata automaticamente. |
-| Altezza | 0 | L'altezza fissa dell'area. Se impostata a 0, l'altezza verrà calcolata automaticamente. |
-| Rapporto dimensioni | 0 | Il rapporto di aspetto fisso dell'area. Se impostato a 0, le proporzioni saranno calcolate automaticamente. An aspect ratio is defined as width / height. |
-| Centro | falso | Draws the shape from the center instead of from the corner. |
-
-### Tipi di forma
-
-#### Rettangolo
-
-| Proprietà | Predefinito | Descrizione |
-| ---------------: | :---------: | :------------------------------------------------------- |
-| Riempi | Trasparente | Il colore che verrà disegnato all'interno del rettangolo |
-| Raggio del bordo | 0, 0, 0, 0 | Il raggio degli angoli del rettangolo |
-
-#### Triangolo
-
-| Proprietà | Predefinito | Descrizione |
-| --------: | :---------: | :----------------------------------------------- |
-| Riempi | Trasparente | The color that will be drawn inside the triangle |
-
-#### Cerchio
-
-| Proprietà | Predefinito | Descrizione |
-| --------: | :---------: | :--------------------------------------------- |
-| Riempi | Trasparente | The color that will be drawn inside the circle |
-
-#### Linea
-
-_Nessuna configurazione disponibile._
+| Proprietà | Predefinito | Descrizione |
+| -----------------------: | :------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Centro | falso | Draws the shape from the center instead of from the corner. |
+| Larghezza | 0 | Rapporto dimensioni Se impostato a 0, la larghezza verrà calcolata automaticamente. |
+| Altezza | 0 | L'altezza fissa dell'area. Se impostata a 0, l'altezza verrà calcolata automaticamente. |
+| Rapporto dimensioni | 0 | Il rapporto di aspetto fisso dell'area. Se impostato a 0, le proporzioni saranno calcolate automaticamente. An aspect ratio is defined as width / height. |
+| Spessore tratto | 5 | La larghezza del tratto |
+| Stile tratto | Solido | The style of the stroke. Other styles can use dash and gap lengths. |
+| Lunghezza tratteggiatura | 1 | The length of the dash when using a non-solid stroke style |
+| Lunghezza del gap | 1 | The length of the gap when using a non-solid stroke style |
+| Colore | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| Forma | Rettangolo | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| Raggio del bordo | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| Riempi | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| Dipendente dallo zoom | falso | Questo cambierà la larghezza del tratto in base al livello di zoom. |
\ No newline at end of file
diff --git a/docs/src/content/docs/it/docs/v2/tools/texture.md b/docs/src/content/docs/it/docs/v2/tools/texture.md
index 750d8d487019..a9556139fea2 100644
--- a/docs/src/content/docs/it/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/it/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: Texture
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Configurazione
-| Proprietà | Predefinito | Descrizione |
-| --------------------: | :---------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| Dipendente dallo zoom | falso | Questo cambierà la larghezza del tratto in base al livello di zoom. |
-| Texture | Sequenza | The pattern that should be added. |
-| Larghezza | 0 | La larghezza fissa dell'area. If set to `0`, the width will be calculated automatically. |
-| Altezza | 0 | L'altezza fissa dell'area. If set to `0`, the height will be calculated automatically. |
-| Rapporto dimensioni | 0 | Il rapporto di aspetto fisso dell'area. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Proprietà | Descrizione |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| Texture | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/it/docs/v2/tools/undo.md b/docs/src/content/docs/it/docs/v2/tools/undo.md
index 0961d6e61eb1..18fdbd192064 100644
--- a/docs/src/content/docs/it/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/it/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-Non è possibile selezionarlo e verrà eseguita l'azione se si fa clic su di esso.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/it/docs/v2/utilities.md b/docs/src/content/docs/it/docs/v2/utilities.md
index b86a06491d9b..ef9a100bc9e1 100644
--- a/docs/src/content/docs/it/docs/v2/utilities.md
+++ b/docs/src/content/docs/it/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## Fotocamera
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/ja/community/embed.md b/docs/src/content/docs/ja/community/embed.md
index ca537dc301cb..e8e2b63da652 100644
--- a/docs/src/content/docs/ja/community/embed.md
+++ b/docs/src/content/docs/ja/community/embed.md
@@ -17,11 +17,12 @@ title: Embed
## オプション
-| Option | タイプ | デフォルト | 説明 |
-| -------- | -------------------------------------------------------------------------------------- | ----- | -------------------------------------------------------------------------------------------- |
-| 保存 | Boolean (true, false) | true | Enable save. If disabled, only an exit button will be shown |
-| editable | Boolean (true, false) | true | Enable editing. 無効にすると、ドキュメントは読み取り専用になります |
-| 言語 | 文字列 (...、システム、ユーザー) | user | Language of the document. システムの場合、言語はブラウザから検出されます。 ユーザーの場合、言語はユーザーの好みに設定されます |
+| Option | タイプ | デフォルト | 説明 |
+| -------- | -------------------------------------------------------------------------------------- | ----- | ---------------------------------------------------------------------------------------------------------------------- |
+| 保存 | Boolean (true, false) | true | Enable save. If disabled, only an exit button will be shown |
+| editable | Boolean (true, false) | true | Enable editing. 無効にすると、ドキュメントは読み取り専用になります |
+| 言語 | 文字列 (...、システム、ユーザー) | user | Language of the document. システムの場合、言語はブラウザから検出されます。 ユーザーの場合、言語はユーザーの好みに設定されます |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/ja/docs/v2/add.md b/docs/src/content/docs/ja/docs/v2/add.md
index c1f30cec6820..7bf3c41b4615 100644
--- a/docs/src/content/docs/ja/docs/v2/add.md
+++ b/docs/src/content/docs/ja/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## インポート
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## ツール
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/ja/docs/v2/background.mdx b/docs/src/content/docs/ja/docs/v2/background.mdx
index 580a4a70479a..69d85b3c6869 100644
--- a/docs/src/content/docs/ja/docs/v2/background.mdx
+++ b/docs/src/content/docs/ja/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/ja/docs/v2/intro.mdx b/docs/src/content/docs/ja/docs/v2/intro.mdx
index daddb25cef1a..5aa22380d5b6 100644
--- a/docs/src/content/docs/ja/docs/v2/intro.mdx
+++ b/docs/src/content/docs/ja/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/ja/docs/v2/layers.md b/docs/src/content/docs/ja/docs/v2/layers.md
index 3ab2744eb9bc..a372696f1103 100644
--- a/docs/src/content/docs/ja/docs/v2/layers.md
+++ b/docs/src/content/docs/ja/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: レイヤー
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-ここでは、プロジェクト内のすべてのレイヤーを見ることができます。 To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+ここでは、プロジェクト内のすべてのレイヤーを見ることができます。 To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Option | 説明 |
+| -----: | --------------------------------------------------------------------------------- |
+| 前方へ移動 | Renders the selection on top of the first element in front of it. |
+| 後方に送る | Renders the selection under the first element behind it. |
+| 前面へ移動 | Renders the selection in front of everything else. |
+| 背面へ送る | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/ja/docs/v2/pack.md b/docs/src/content/docs/ja/docs/v2/pack.md
index 2fc6a1736c0e..e00c01a93957 100644
--- a/docs/src/content/docs/ja/docs/v2/pack.md
+++ b/docs/src/content/docs/ja/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## Palettes
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/ja/docs/v2/shortcuts.md b/docs/src/content/docs/ja/docs/v2/shortcuts.md
index 77183e0e9924..52fb3faa37c3 100644
--- a/docs/src/content/docs/ja/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/ja/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: ショートカット
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+format@@0(toolbar_numbered.png)
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## マウス
+
+### Mouse configurations
+
+| 属性 | デフォルト | 説明 |
+| ----------: | :---: | :------------------------------ |
+| 描画中にカーソルを隠す | true | 描画中にマウスポインタを隠すので、ストロークをカバーしません。 |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## タッチ
+
+### Touch configurations
+
+| 属性 | デフォルト | 説明 |
+| -------------: | :---: | :---------------------------------------------------------------------------------------------------------- |
+| Input gestures | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| ジェスチャー上に移動 | true | マルチタッチジェスチャーでノートコンテンツを操作する代わりにキャンバスを移動できます。 |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## Keyboard
-エディタで使用できるショートカットがいくつかあります。
-いくつかはボタンの下に書かれています。
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### 全般
@@ -14,44 +135,63 @@ title: ショートカット
- `Ctrl` + `E`: ファイルをエクスポート
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `E`: ファイルを svg としてエクスポート
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `P`: パックを開く
- `Ctrl` + `Alt` + `S`: 設定を開く
+- `Escape`: Escape
### プロジェクト
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: 元に戻す
- `Ctrl` + `Y`: やり直します
-- `Ctrl` + `Shift` + `P`: ウェイポイントダイアログを開く
- `Ctrl` + `B`: 背景ダイアログを開く
- `Ctrl` + `S`: 保存
- `Alt` + `S`: パスを変更
-- `Ctrl` + (`1` - `0`): ツールに切り替える
- `Ctrl` + `+`: 拡大
- `Ctrl` + `-`: 縮小
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): ツールに切り替える
## ペン
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Pen`: ペンとして設定されています。
-- `First` (サポートされている場合はプライマリボタン): 押したまま手動ツールに変更します。
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| 属性 | Values | 説明 |
+| ---------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| ペンのみ入力 | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| ペンのみのトグル表示 | true, false | Butterflyがペンを検出した後に、エディタにクイックペンのみのスイッチを表示します。 |
+| プレッシャーを無視 | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-format@@0(toolbar_numbered.png)
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/ja/docs/v2/storage.md b/docs/src/content/docs/ja/docs/v2/storage.md
index b832ba90a8a6..d0ec4b3b9988 100644
--- a/docs/src/content/docs/ja/docs/v2/storage.md
+++ b/docs/src/content/docs/ja/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## データディレクトリ
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ On desktop you can find it in `~/Documents/Linwood/Butterfly`.
このディレクトリには、`Documents`、`Templates`、`Packs`フォルダがあります。
-## ウェブ
+## Web {#web}
アプリケーションデータはブラウザに保存されます。 ローカルストレージに保存されます。
ブラウザで開発者ツールを開くと、データが表示されます。
@@ -39,7 +39,59 @@ The application data can be stored on a remote server. これは、データを
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (`https://nextcloud.example.com/remote.php/dav/files/username/`、`username` と `nextcloud.example.com` は正しい値に置き換えてください)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### オフライン同期 {#offline}
@@ -48,7 +100,6 @@ To get the WebDAV URL, please visit the documentation:
いくつかの制限があります。
-- ディレクトリのトップレベルのみ同期できます。 例えば、`a/b/test.bfly`ディレクトリがある場合、このファイルは同期されません。
- オフライン中はファイルやフォルダを削除できません。
- オフライン中はテンプレートの追加、編集、削除はできません。
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/ja/docs/v2/tools/area.md b/docs/src/content/docs/ja/docs/v2/tools/area.md
index a758963db14c..10dedbfd46cd 100644
--- a/docs/src/content/docs/ja/docs/v2/tools/area.md
+++ b/docs/src/content/docs/ja/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## 設定
-| 属性 | デフォルト | 説明 |
-| -----: | :---: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Width | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| 高さ | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| アスペクト比 | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| 属性 | デフォルト | 説明 |
+| -----: | :---: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| 名前を求める | false | Whether a name prompt will appear before creation. |
+| プリセット | none | Various presets for width and height. |
+| Width | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| 高さ | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| アスペクト比 | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
アスペクト比のプリセットは3つあります:
- 正方形(1:1)
-- Page portrait (sqrt(2)) - 縦向きモードの A4 ページのデフォルトのアスペクト比です。
-- 横画面(1/sqrt(2)) - 横画面モードのA4ページの縦横比です。
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/ja/docs/v2/tools/collection.md b/docs/src/content/docs/ja/docs/v2/tools/collection.md
deleted file mode 100644
index a7d1e7f6d500..000000000000
--- a/docs/src/content/docs/ja/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-あなたはそれを選択することはできませんし、それをクリックするとアクションを実行します。
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/ja/docs/v2/tools/collection.mdx b/docs/src/content/docs/ja/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/ja/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/ja/docs/v2/tools/eraser.md b/docs/src/content/docs/ja/docs/v2/tools/eraser.md
index 697abb8afb8f..9e99072b4da1 100644
--- a/docs/src/content/docs/ja/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/ja/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## 設定
-| 属性 | デフォルト | 説明 |
-| ------: | :---: | :------------------------- |
-| ストロークの幅 | 5 | ストロークの幅 |
-| ストローク乗数 | 1 | スタイラスを持っている場合、これは加算される乗数です |
+| 属性 | デフォルト | 説明 |
+| --------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| ストロークの幅 | 5 | ストロークの幅 |
+| 図形を消去 | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| すべての要素を消去 | false | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | 説明 |
+| -------------: | :------------------------------------------------------------------------------------------ |
+| シェイプを消去しない | The eraser will not interact with shapes. |
+| エッジに触れたときに消去する | The shape will be erased when the eraser touches any edge. |
+| どこに触れても消去する | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/ja/docs/v2/tools/full_screen.md b/docs/src/content/docs/ja/docs/v2/tools/full_screen.md
index 4622c36c7e74..e19718f8ff44 100644
--- a/docs/src/content/docs/ja/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/ja/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-あなたはそれを選択することはできませんし、それをクリックするとアクションを実行します。
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/ja/docs/v2/tools/grid.md b/docs/src/content/docs/ja/docs/v2/tools/grid.md
index 8f01aff4ac96..84039bd2ac61 100644
--- a/docs/src/content/docs/ja/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/ja/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| サイズ | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| 色 | ブラック | The color of the grid. |
+| アルファ | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| ズームに依存する | false | Changes the grid stroke width based on the zoom level. |
+| ズームに依存する | false | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| 依存する位置 | false | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/ja/docs/v2/tools/index.md b/docs/src/content/docs/ja/docs/v2/tools/index.md
index 02c6294fb0d4..e5c273d80dbc 100644
--- a/docs/src/content/docs/ja/docs/v2/tools/index.md
+++ b/docs/src/content/docs/ja/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ Create a new tool by clicking on the plus icon. Change the tool order by draggin
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/ja/docs/v2/tools/pen.md b/docs/src/content/docs/ja/docs/v2/tools/pen.md
index 4e33e380f421..a97b81f09d9c 100644
--- a/docs/src/content/docs/ja/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/ja/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -54,12 +56,12 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
| 属性 | デフォルト | 説明 |
| ---------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| 色 | ブラック | 描画される色 |
-| ストロークの幅 | 5 | ストロークの幅 |
| ズームに依存する | false | これにより、ズームレベルに基づいてストローク幅が変更されます。 |
+| パスを結合 | false | This will merge all strokes it touches into one path |
| シェイプ検出 | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| ストロークの幅 | 5 | ストロークの幅 |
| 薄肉化 | 0.4 | This effect of pressure on the stroke size |
| スムージング | 0.5 | This will smooth the edges of the stroke. |
-| Streamline | 0.5 | How much the pen will follow the movement of the mouse. |
-| 色 | ブラック | 描画される色 |
-| 塗りつぶし | 透明度 | The color that will be drawn inside the shape |
+| Streamline | 0.3 | How much the pen will follow the movement of the mouse. |
+| 色 | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| 塗りつぶし | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/ja/docs/v2/tools/polygon.md b/docs/src/content/docs/ja/docs/v2/tools/polygon.md
deleted file mode 100644
index 08bf065896cb..000000000000
--- a/docs/src/content/docs/ja/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## 設定
-
-| 属性 | デフォルト | 説明 |
-| ------: | :---: | :--------------------------------------------------------------- |
-| ストロークの幅 | 5 | ストロークの幅 |
-| 色 | ブラック | 描画される色 |
-| 塗りつぶし | 透明度 | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/ja/docs/v2/tools/polygon.mdx b/docs/src/content/docs/ja/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..7f1853be8af3
--- /dev/null
+++ b/docs/src/content/docs/ja/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## 設定
+
+| 属性 | デフォルト | 説明 |
+| ------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| ストロークの幅 | 5 | ストロークの幅 |
+| 色 | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| 塗りつぶし | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/ja/docs/v2/tools/redo.md b/docs/src/content/docs/ja/docs/v2/tools/redo.md
index 1d45936d4801..de44e24ca619 100644
--- a/docs/src/content/docs/ja/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/ja/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-あなたはそれを選択することはできませんし、それをクリックするとアクションを実行します。
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/ja/docs/v2/tools/select.md b/docs/src/content/docs/ja/docs/v2/tools/select.md
index 27ce47e85517..953c71119cf6 100644
--- a/docs/src/content/docs/ja/docs/v2/tools/select.md
+++ b/docs/src/content/docs/ja/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## 設定
-| 属性 | デフォルト | 説明 |
-| ---: | :---: | :--------------------------------------------------------------- |
-| Mode | 矩形 | Mode of selection. Valid are Rectangle and Lasso |
+| 属性 | デフォルト | 説明 |
+| -------: | :------------: | :--------------------------------------------------------------- |
+| Mode | 矩形 | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | 説明 |
+| ----------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| エッジに触れたときに選択する | The shape will be selected when the selected area intersects any edge. |
+| 任意の場所に触れたときに選択します | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/ja/docs/v2/tools/shape.md b/docs/src/content/docs/ja/docs/v2/tools/shape.md
index 4d7bab358d59..69f1e3877424 100644
--- a/docs/src/content/docs/ja/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/ja/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## 設定
-| 属性 | デフォルト | 説明 |
-| ---------: | :---: | :----------------------------------------------------------------------------------------------------- |
-| 色 | ブラック | The stroke color that will be drawn |
-| ストロークの幅 | 5 | ストロークの幅 |
-| ストロークのスタイル | Solid | The style of the stroke. Other styles can use dash and gap lengths. |
-| ダッシュの長さ | 1 | The length of the dash when using a non-solid stroke style |
-| ギャップの長さ | 1 | The length of the gap when using a non-solid stroke style |
-| ズームに依存する | false | これにより、ズームレベルに基づいてストローク幅が変更されます。 |
-| 形状 | 矩形 | 描画される形状 |
-| Width | 0 | 領域の固定幅。 0に設定すると、幅が自動的に計算されます。 |
-| 高さ | 0 | 領域の固定高さ。 0に設定すると、高さが自動的に計算されます。 |
-| アスペクト比 | 0 | 領域の固定アスペクト比。 0 に設定すると、アスペクト比は自動的に計算されます。 An aspect ratio is defined as width / height. |
-| 中央揃え | false | Draws the shape from the center instead of from the corner. |
-
-### シェイプの種類
-
-#### 矩形
-
-| 属性 | デフォルト | 説明 |
-| ------------: | :--------: | :----------- |
-| 塗りつぶし | 透明度 | 四角形の中に描画される色 |
-| Corner radius | 0, 0, 0, 0 | 長方形の角の半径 |
-
-#### Triangle
-
-| 属性 | デフォルト | 説明 |
-| ----: | :---: | :----------------------------------------------- |
-| 塗りつぶし | 透明度 | The color that will be drawn inside the triangle |
-
-#### 円
-
-| 属性 | デフォルト | 説明 |
-| ----: | :---: | :--------------------------------------------- |
-| 塗りつぶし | 透明度 | The color that will be drawn inside the circle |
-
-#### 線
-
-_No configuration available._
+| 属性 | デフォルト | 説明 |
+| ------------: | :------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------- |
+| 中央揃え | false | Draws the shape from the center instead of from the corner. |
+| Width | 0 | 領域の固定幅。 0に設定すると、幅が自動的に計算されます。 |
+| 高さ | 0 | 領域の固定高さ。 0に設定すると、高さが自動的に計算されます。 |
+| アスペクト比 | 0 | 領域の固定アスペクト比。 0 に設定すると、アスペクト比は自動的に計算されます。 An aspect ratio is defined as width / height. |
+| ストロークの幅 | 5 | ストロークの幅 |
+| ストロークのスタイル | Solid | The style of the stroke. Other styles can use dash and gap lengths. |
+| ダッシュの長さ | 1 | The length of the dash when using a non-solid stroke style |
+| ギャップの長さ | 1 | The length of the gap when using a non-solid stroke style |
+| 色 | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| 形状 | 矩形 | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| Corner radius | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| 塗りつぶし | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| ズームに依存する | false | これにより、ズームレベルに基づいてストローク幅が変更されます。 |
\ No newline at end of file
diff --git a/docs/src/content/docs/ja/docs/v2/tools/texture.md b/docs/src/content/docs/ja/docs/v2/tools/texture.md
index 73a37c3bb958..872ed4dbe267 100644
--- a/docs/src/content/docs/ja/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/ja/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: テクスチャ
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## 設定
-| 属性 | デフォルト | 説明 |
-| -------: | :---: | :----------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| ズームに依存する | false | これにより、ズームレベルに基づいてストローク幅が変更されます。 |
-| テクスチャ | パターン | The pattern that should be added. |
-| Width | 0 | 領域の固定幅。 If set to `0`, the width will be calculated automatically. |
-| 高さ | 0 | 領域の固定高さ。 If set to `0`, the height will be calculated automatically. |
-| アスペクト比 | 0 | 領域の固定アスペクト比。 If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| 属性 | 説明 |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| テクスチャ | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/ja/docs/v2/tools/undo.md b/docs/src/content/docs/ja/docs/v2/tools/undo.md
index 17fd688645bd..18fdbd192064 100644
--- a/docs/src/content/docs/ja/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/ja/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-あなたはそれを選択することはできませんし、それをクリックするとアクションを実行します。
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/ja/docs/v2/utilities.md b/docs/src/content/docs/ja/docs/v2/utilities.md
index ff36f08e9397..85b98e943c37 100644
--- a/docs/src/content/docs/ja/docs/v2/utilities.md
+++ b/docs/src/content/docs/ja/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## カメラ
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/ko/community/embed.md b/docs/src/content/docs/ko/community/embed.md
index 6142e7839e70..98d144d1e519 100644
--- a/docs/src/content/docs/ko/community/embed.md
+++ b/docs/src/content/docs/ko/community/embed.md
@@ -22,6 +22,7 @@ Add the following code to your website:
| save | Boolean (true, false) | true | Enable save. If disabled, only an exit button will be shown |
| editable | Boolean (true, false) | true | Enable editing. If disabled, the document will be read-only |
| language | String (..., system, user) | user | Language of the document. If system, the language will be detected from the browser. If user, the language will set to the users preference |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/ko/docs/v2/add.md b/docs/src/content/docs/ko/docs/v2/add.md
index b286e37e315f..20018021e3c7 100644
--- a/docs/src/content/docs/ko/docs/v2/add.md
+++ b/docs/src/content/docs/ko/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## 가져오기
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## 도구
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/ko/docs/v2/background.mdx b/docs/src/content/docs/ko/docs/v2/background.mdx
index efa595c34a70..bd0f35c68a03 100644
--- a/docs/src/content/docs/ko/docs/v2/background.mdx
+++ b/docs/src/content/docs/ko/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/ko/docs/v2/intro.mdx b/docs/src/content/docs/ko/docs/v2/intro.mdx
index adfd9a40da4e..bc993dc5f82b 100644
--- a/docs/src/content/docs/ko/docs/v2/intro.mdx
+++ b/docs/src/content/docs/ko/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/ko/docs/v2/layers.md b/docs/src/content/docs/ko/docs/v2/layers.md
index 5ad498bb69a3..dc44df655770 100644
--- a/docs/src/content/docs/ko/docs/v2/layers.md
+++ b/docs/src/content/docs/ko/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: 레이어
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Here you can see all the layers in the project. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Here you can see all the layers in the project. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Option | 설명 |
+| ---------: | --------------------------------------------------------------------------------- |
+| 앞으로 가져오기 | Renders the selection on top of the first element in front of it. |
+| 뒤로 보내기 | Renders the selection under the first element behind it. |
+| 맨 앞으로 가져오기 | Renders the selection in front of everything else. |
+| 맨 뒤로 보내기 | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/ko/docs/v2/pack.md b/docs/src/content/docs/ko/docs/v2/pack.md
index e6a679d11e8e..1904e85c8d8f 100644
--- a/docs/src/content/docs/ko/docs/v2/pack.md
+++ b/docs/src/content/docs/ko/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## 팔레트
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/ko/docs/v2/shortcuts.md b/docs/src/content/docs/ko/docs/v2/shortcuts.md
index 6036be78e054..0d69e352853e 100644
--- a/docs/src/content/docs/ko/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/ko/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: 단축키
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## 마우스
+
+### Mouse configurations
+
+| Property | Default | 설명 |
+| ------------: | :-----: | :---------------------------------------------------------------------------------------- |
+| 그리는 동안 커서 숨기기 | true | Hides the mouse pointer while you draw, so it does not cover your stroke. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## 터치
+
+### Touch configurations
+
+| Property | Default | 설명 |
+| -------: | :-----: | :---------------------------------------------------------------------------------------------------------- |
+| 입력 제스처 | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| 제스처로 이동 | true | Lets multi-touch gestures move the canvas instead of interacting with note content. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## 키보드
-There are a few shortcuts that you can use in the editor.
-Some of them are written below the buttons.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### 일반
@@ -14,44 +135,63 @@ Some of them are written below the buttons.
- `Ctrl` + `E`: Export file
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `E`: Export file as svg
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `P`: Open packs
- `Ctrl` + `Alt` + `S`: Open settings
+- `Escape`: Escape
### Project
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Undo
- `Ctrl` + `Y`: Redo
-- `Ctrl` + `Shift` + `P`: Open waypoints dialog
- `Ctrl` + `B`: Open background dialog
- `Ctrl` + `S`: Save
- `Alt` + `S`: Change path
-- `Ctrl` + (`1` - `0`): Switch to tool
- `Ctrl` + `+`: Zoom in
- `Ctrl` + `-`: Zoom out
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Switch to tool
## 펜
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Pen`: configured as pen.
-- `First` (Primary button, if supported): Change to hand tool while pressed.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Property | Values | 설명 |
+| -------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| 펜 전용 입력 | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Show pen only toggle | true, false | Shows a quick pen-only switch in the editor after Butterfly detects a pen. |
+| Ignore pressure | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/ko/docs/v2/storage.md b/docs/src/content/docs/ko/docs/v2/storage.md
index b6c7cd85da73..b06adc6af5dc 100644
--- a/docs/src/content/docs/ko/docs/v2/storage.md
+++ b/docs/src/content/docs/ko/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## 데이터 디렉터리
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ You can also change it in the settings under `Data`.
In this directory you will find a folder `Documents`, `Templates` and `Packs`.
-## Web
+## Web {#web}
The application data is stored in your browser. It is stored in a local storage.
Open the developer tools in your browser and you will see the data.
@@ -39,7 +39,59 @@ Add the URL of the remote server and the username and password. After that you c
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Offline sync {#offline}
@@ -48,7 +100,6 @@ Open the popup menu on a file or folder and click on `Sync`. This will download
There are a few limitations:
-- You can only sync the top level of a directory. For example if you have a directory `a/b/test.bfly`, this file will not be synced.
- You cannot delete a file or folder while you are offline.
- You cannot add, edit or delete templates while you are offline.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/ko/docs/v2/tools/area.md b/docs/src/content/docs/ko/docs/v2/tools/area.md
index 6913a8014254..3ece1da63eac 100644
--- a/docs/src/content/docs/ko/docs/v2/tools/area.md
+++ b/docs/src/content/docs/ko/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Configuration
-| Property | Default | 설명 |
-| -------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| 너비 | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| 높이 | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| 종횡비 | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| Property | Default | 설명 |
+| -------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| 이름 요청 | false | Whether a name prompt will appear before creation. |
+| 프리셋 | none | Various presets for width and height. |
+| 너비 | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| 높이 | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| 종횡비 | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
There are three aspect ratio presets:
- Square (1:1)
-- Page portrait (sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
-- Page landscape (1/sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/ko/docs/v2/tools/collection.md b/docs/src/content/docs/ko/docs/v2/tools/collection.md
deleted file mode 100644
index 391210b26987..000000000000
--- a/docs/src/content/docs/ko/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-You can't select it and it will run the action if you click on it.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/ko/docs/v2/tools/collection.mdx b/docs/src/content/docs/ko/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/ko/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/ko/docs/v2/tools/eraser.md b/docs/src/content/docs/ko/docs/v2/tools/eraser.md
index a66e2108e491..ccaffd293aec 100644
--- a/docs/src/content/docs/ko/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/ko/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## Configuration
-| Property | Default | 설명 |
-| ----------------: | :-----: | :------------------------------------------------------------------------------- |
-| 선 굵기 | 5 | The width of the stroke |
-| Stroke multiplier | 1 | If you have a stylus, this is the multiplier which will be added to the pressure |
+| Property | Default | 설명 |
+| -----------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| 선 굵기 | 5 | The width of the stroke |
+| Erase shapes | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Erase all elements | false | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | 설명 |
+| ---------------------------: | :------------------------------------------------------------------------------------------ |
+| Don't erase shapes | The eraser will not interact with shapes. |
+| Erase when touching edges | The shape will be erased when the eraser touches any edge. |
+| Erase when touching anywhere | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/ko/docs/v2/tools/full_screen.md b/docs/src/content/docs/ko/docs/v2/tools/full_screen.md
index ea23ff72ac89..e19718f8ff44 100644
--- a/docs/src/content/docs/ko/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/ko/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it will run the action if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/ko/docs/v2/tools/grid.md b/docs/src/content/docs/ko/docs/v2/tools/grid.md
index d67d25ce3d9f..07e873e3b634 100644
--- a/docs/src/content/docs/ko/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/ko/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| 크기 | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| Color | Black | The color of the grid. |
+| 알파 | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| 확대/축소에 따라 | false | Changes the grid stroke width based on the zoom level. |
+| 확대/축소에 따라 | false | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| 위치에 따라 | false | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/ko/docs/v2/tools/index.md b/docs/src/content/docs/ko/docs/v2/tools/index.md
index cc3163d9a1fa..99212d56a008 100644
--- a/docs/src/content/docs/ko/docs/v2/tools/index.md
+++ b/docs/src/content/docs/ko/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ If you click on a selected tool you can configure it.
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/ko/docs/v2/tools/pen.md b/docs/src/content/docs/ko/docs/v2/tools/pen.md
index f6d5fe08b3f2..86fbe5ad47d8 100644
--- a/docs/src/content/docs/ko/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/ko/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -52,14 +54,14 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
## Configuration
-| Property | Default | 설명 |
-| --------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| Color | Black | The color that will be drawn |
-| 선 굵기 | 5 | The width of the stroke |
-| 확대/축소에 따라 | false | This will change the stroke width based on the zoom level. |
-| 도형 인식 | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
-| 필압 감지 | 0.4 | This effect of pressure on the stroke size |
-| 부드럽게 | 0.5 | This will smooth the edges of the stroke. |
-| 스트림라인 | 0.5 | How much the pen will follow the movement of the mouse. |
-| Color | Black | The color that will be drawn |
-| 채우기 | Transparent | The color that will be drawn inside the shape |
+| Property | Default | 설명 |
+| ------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
+| 확대/축소에 따라 | false | This will change the stroke width based on the zoom level. |
+| Combine paths | false | This will merge all strokes it touches into one path |
+| 도형 인식 | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| 선 굵기 | 5 | The width of the stroke |
+| 필압 감지 | 0.4 | This effect of pressure on the stroke size |
+| 부드럽게 | 0.5 | This will smooth the edges of the stroke. |
+| 스트림라인 | 0.3 | How much the pen will follow the movement of the mouse. |
+| Color | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| 채우기 | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/ko/docs/v2/tools/polygon.md b/docs/src/content/docs/ko/docs/v2/tools/polygon.md
deleted file mode 100644
index 553c5cf4351b..000000000000
--- a/docs/src/content/docs/ko/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Configuration
-
-| Property | Default | 설명 |
-| -------: | :---------: | :--------------------------------------------------------------- |
-| 선 굵기 | 5 | The width of the stroke |
-| Color | Black | The color that will be drawn |
-| 채우기 | Transparent | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/ko/docs/v2/tools/polygon.mdx b/docs/src/content/docs/ko/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..1486eb4f5850
--- /dev/null
+++ b/docs/src/content/docs/ko/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Configuration
+
+| Property | Default | 설명 |
+| -------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| 선 굵기 | 5 | The width of the stroke |
+| Color | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| 채우기 | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/ko/docs/v2/tools/redo.md b/docs/src/content/docs/ko/docs/v2/tools/redo.md
index 8371adf3aba9..de44e24ca619 100644
--- a/docs/src/content/docs/ko/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/ko/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-You can't select it and it will run the action if you click on it.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/ko/docs/v2/tools/select.md b/docs/src/content/docs/ko/docs/v2/tools/select.md
index 36a3b7d86bea..8a97293e8c58 100644
--- a/docs/src/content/docs/ko/docs/v2/tools/select.md
+++ b/docs/src/content/docs/ko/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Configuration
-| Property | Default | 설명 |
-| -------: | :-----: | :--------------------------------------------------------------- |
-| Mode | 사각형 | Mode of selection. Valid are Rectangle and Lasso |
+| Property | Default | 설명 |
+| -------: | :------------: | :--------------------------------------------------------------- |
+| Mode | 사각형 | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | 설명 |
+| ----------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Select when touching edges | The shape will be selected when the selected area intersects any edge. |
+| Select when touching anywhere | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/ko/docs/v2/tools/shape.md b/docs/src/content/docs/ko/docs/v2/tools/shape.md
index 8a3fd7e68f41..5ba8159b8f9a 100644
--- a/docs/src/content/docs/ko/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/ko/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Configuration
-| Property | Default | 설명 |
-| -----------: | :-----: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| Color | Black | The stroke color that will be drawn |
-| 선 굵기 | 5 | The width of the stroke |
-| Stroke style | 실선 | The style of the stroke. Other styles can use dash and gap lengths. |
-| Dash length | 1 | The length of the dash when using a non-solid stroke style |
-| Gap length | 1 | The length of the gap when using a non-solid stroke style |
-| 확대/축소에 따라 | false | This will change the stroke width based on the zoom level. |
-| 도형 | 사각형 | The shape that will be drawn |
-| 너비 | 0 | The fixed width of the area. If set to 0, the width will be calculated automatically. |
-| 높이 | 0 | The fixed height of the area. If set to 0, the height will be calculated automatically. |
-| 종횡비 | 0 | The fixed aspect ratio of the area. If set to 0, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-| 가운데 | false | Draws the shape from the center instead of from the corner. |
-
-### Shape types
-
-#### 사각형
-
-| Property | Default | 설명 |
-| -------: | :---------: | :------------------------------------------------ |
-| 채우기 | Transparent | The color that will be drawn inside the rectangle |
-| 모서리 반지름 | 0, 0, 0, 0 | The radius of the corners of the rectangle |
-
-#### 삼각형
-
-| Property | Default | 설명 |
-| -------: | :---------: | :----------------------------------------------- |
-| 채우기 | Transparent | The color that will be drawn inside the triangle |
-
-#### 원
-
-| Property | Default | 설명 |
-| -------: | :---------: | :--------------------------------------------- |
-| 채우기 | Transparent | The color that will be drawn inside the circle |
-
-#### 선
-
-_No configuration available._
+| Property | Default | 설명 |
+| -----------: | :------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| 가운데 | false | Draws the shape from the center instead of from the corner. |
+| 너비 | 0 | The fixed width of the area. If set to 0, the width will be calculated automatically. |
+| 높이 | 0 | The fixed height of the area. If set to 0, the height will be calculated automatically. |
+| 종횡비 | 0 | The fixed aspect ratio of the area. If set to 0, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
+| 선 굵기 | 5 | The width of the stroke |
+| Stroke style | 실선 | The style of the stroke. Other styles can use dash and gap lengths. |
+| Dash length | 1 | The length of the dash when using a non-solid stroke style |
+| Gap length | 1 | The length of the gap when using a non-solid stroke style |
+| Color | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| 도형 | 사각형 | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| 모서리 반지름 | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| 채우기 | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| 확대/축소에 따라 | false | This will change the stroke width based on the zoom level. |
\ No newline at end of file
diff --git a/docs/src/content/docs/ko/docs/v2/tools/texture.md b/docs/src/content/docs/ko/docs/v2/tools/texture.md
index 384c75c4fe63..a976170834eb 100644
--- a/docs/src/content/docs/ko/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/ko/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: 질감
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Configuration
-| Property | Default | 설명 |
-| --------: | :-----: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| 확대/축소에 따라 | false | This will change the stroke width based on the zoom level. |
-| 질감 | 패턴 | The pattern that should be added. |
-| 너비 | 0 | The fixed width of the area. If set to `0`, the width will be calculated automatically. |
-| 높이 | 0 | The fixed height of the area. If set to `0`, the height will be calculated automatically. |
-| 종횡비 | 0 | The fixed aspect ratio of the area. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Property | 설명 |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| 질감 | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/ko/docs/v2/tools/undo.md b/docs/src/content/docs/ko/docs/v2/tools/undo.md
index a7d87d8d2c23..18fdbd192064 100644
--- a/docs/src/content/docs/ko/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/ko/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-You can't select it and it will run the action if you click on it.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/ko/docs/v2/utilities.md b/docs/src/content/docs/ko/docs/v2/utilities.md
index 7a286aec839e..b0aa7292e7a3 100644
--- a/docs/src/content/docs/ko/docs/v2/utilities.md
+++ b/docs/src/content/docs/ko/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## 카메라
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/nl/community/embed.md b/docs/src/content/docs/nl/community/embed.md
index 4a2db87776a4..89353f03d58f 100644
--- a/docs/src/content/docs/nl/community/embed.md
+++ b/docs/src/content/docs/nl/community/embed.md
@@ -22,6 +22,7 @@ Voeg de volgende code toe aan je website:
| opslaan | Boolean (true, false) | true | Schakel opslaan in. Indien uitgeschakeld wordt alleen een afsluitknop weergegeven |
| editable | Boolean (true, false) | true | Bewerken inschakelen. Indien uitgeschakeld zal het document alleen-lezen zijn |
| taal | String (..., systeem, gebruiker) | user | Taal van het document. Indien systeem wordt de taal van de browser gedetecteerd. Als gebruiker wordt de taal ingesteld op de voorkeur van de gebruiker |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/nl/docs/v2/add.md b/docs/src/content/docs/nl/docs/v2/add.md
index 95404f91c20d..2c3f235b44a5 100644
--- a/docs/src/content/docs/nl/docs/v2/add.md
+++ b/docs/src/content/docs/nl/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## Importeren
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## Hulpmiddelen
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/nl/docs/v2/background.mdx b/docs/src/content/docs/nl/docs/v2/background.mdx
index fc6b52f310af..f91a5b7d5e19 100644
--- a/docs/src/content/docs/nl/docs/v2/background.mdx
+++ b/docs/src/content/docs/nl/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/nl/docs/v2/intro.mdx b/docs/src/content/docs/nl/docs/v2/intro.mdx
index e0c19beb925e..4994dcc51d4a 100644
--- a/docs/src/content/docs/nl/docs/v2/intro.mdx
+++ b/docs/src/content/docs/nl/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/nl/docs/v2/layers.md b/docs/src/content/docs/nl/docs/v2/layers.md
index 0fa16642cdc5..f092e543bee4 100644
--- a/docs/src/content/docs/nl/docs/v2/layers.md
+++ b/docs/src/content/docs/nl/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: Lagen
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Hier kunt u alle lagen in het project zien. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Hier kunt u alle lagen in het project zien. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Optie | Beschrijving |
+| --------------------: | --------------------------------------------------------------------------------- |
+| Breng naar voren | Renders the selection on top of the first element in front of it. |
+| Stuur achteruit | Renders the selection under the first element behind it. |
+| Naar voren brengen | Renders the selection in front of everything else. |
+| Stuur naar achterkant | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/nl/docs/v2/pack.md b/docs/src/content/docs/nl/docs/v2/pack.md
index 614fa4dfa3a2..1c616563b7f8 100644
--- a/docs/src/content/docs/nl/docs/v2/pack.md
+++ b/docs/src/content/docs/nl/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## Palettes
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/nl/docs/v2/shortcuts.md b/docs/src/content/docs/nl/docs/v2/shortcuts.md
index f82120e567c4..0f0aa447d3ef 100644
--- a/docs/src/content/docs/nl/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/nl/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: Snelkoppelingen
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## Muis
+
+### Mouse configurations
+
+| Eigenschap | Standaard | Beschrijving |
+| -----------------------------: | :-------: | :------------------------------------------------------------------------------------------- |
+| Verberg cursor tijdens tekenen | true | Verbergt de muisaanwijzer terwijl je tekent, dus dekt deze niet je beroerte. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## Aanraking
+
+### Touch configurations
+
+| Eigenschap | Standaard | Beschrijving |
+| --------------------: | :-------: | :----------------------------------------------------------------------------------------------------------- |
+| Input gestures | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| Verplaats naar gebaar | true | Laat multi-touch gebaren het canvas verplaatsen in plaats van interactie met notitie-inhoud. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## Keyboard
-Er zijn een paar snelkoppelingen die je in de editor kunt gebruiken.
-Sommige ervan worden onder de knoppen geschreven.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### Algemeen
@@ -14,44 +135,63 @@ Sommige ervan worden onder de knoppen geschreven.
- `Ctrl` + `E`: Bestand exporteren
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `Shift` + `E`: Export file as pdf
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `S`: Instellingen openen
- `Ctrl` + `Alt` + `P`: Open pakketjes
+- `Escape`: Escape
### Project
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Herstel
- `Ctrl` + `Y`: Opnieuw
-- `Ctrl` + `Shift` + `P`: Open waypoints dialoogvenster
- `Ctrl` + `B`: Open achtergrondvenster
- `Ctrl` + `S`: Opslaan
- `Alt` + `S`: verander pad
-- `Ctrl` + (`1` - `0`): Wissel naar tool
- `Ctrl` + `+`: Zoom in
- `Ctrl` + `-`: Zoom uit
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Wissel naar tool
## pennen
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Pen`: geconfigureerd als pen.
-- `Eer` (Primaire knop, indien ondersteund): Verander naar handgereedschap terwijl je wordt ingedrukt.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Eigenschap | Values | Beschrijving |
+| ------------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| Alleen invoer pen | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Toon alleen penschakelaar | true, false | Toont een snelle schakelaar in de editor nadat Butterfly een pen detecteert. |
+| Negeer druk | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/nl/docs/v2/storage.md b/docs/src/content/docs/nl/docs/v2/storage.md
index 51bdde210652..ad4ceb411176 100644
--- a/docs/src/content/docs/nl/docs/v2/storage.md
+++ b/docs/src/content/docs/nl/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## Data map
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ U kunt het ook wijzigen in de instellingen onder `Data`.
In deze map vindt u de map `Documenten`, `Templates` en `Packs`.
-## Internet
+## Web {#web}
De applicatiegegevens worden opgeslagen in uw browser. Het wordt opgeslagen in een lokale opslag.
Open de ontwikkelaarshulpmiddelen in uw browser en u zult de gegevens zien.
@@ -39,7 +39,59 @@ Voeg de URL van de externe server en de gebruikersnaam en het wachtwoord toe. Da
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (het zou er zo uit moeten zien: `https://nextcloud.example.com/remote.php/dav/files/username/`, vervang `username` en `nextcloud.example.com` door de juiste waarden)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Offline synchronisatie {#offline}
@@ -48,7 +100,6 @@ Open het pop-upmenu in een bestand of map en klik op `Sync`. Dit zal het bestand
Er zijn enkele beperkingen:
-- Je kunt alleen het hoogste niveau van een map synchroniseren. Als u bijvoorbeeld een map `a/b/test.bfly` heeft, zal dit bestand niet worden gesynchroniseerd.
- U kunt geen bestand of map verwijderen terwijl u offline bent.
- U kunt templates niet toevoegen, bewerken of verwijderen terwijl u offline bent.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/nl/docs/v2/tools/area.md b/docs/src/content/docs/nl/docs/v2/tools/area.md
index dc8e4906d23e..7aff4328098a 100644
--- a/docs/src/content/docs/nl/docs/v2/tools/area.md
+++ b/docs/src/content/docs/nl/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Configuratie
-| Eigenschap | Standaard | Beschrijving |
-| ----------------: | :-------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Width | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| Højde | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| Aspect verhouding | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| Eigenschap | Standaard | Beschrijving |
+| --------------------: | :-------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Vraag om naam | Onjuist | Whether a name prompt will appear before creation. |
+| Voorkeursinstellingen | none | Various presets for width and height. |
+| Width | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| Højde | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| Aspect verhouding | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
Er zijn drie beeldverhouding voorinstellingen:
- Vierkant (1:1)
-- Pagina portret (qrt(2)) - Dit is de standaard hoogte-breedteverhouding van een A4 pagina in portret modus.
-- Pagina liggend (1/sqrt(2)) - Dit is de standaard hoogte-breedteverhouding van een A4 pagina in liggende modus.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/nl/docs/v2/tools/collection.md b/docs/src/content/docs/nl/docs/v2/tools/collection.md
deleted file mode 100644
index 052f0104e33e..000000000000
--- a/docs/src/content/docs/nl/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-U kunt het niet selecteren en het zal de actie uitvoeren als u erop klikt.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/nl/docs/v2/tools/collection.mdx b/docs/src/content/docs/nl/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/nl/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/nl/docs/v2/tools/eraser.md b/docs/src/content/docs/nl/docs/v2/tools/eraser.md
index 4b4d017e845f..88ed975a2588 100644
--- a/docs/src/content/docs/nl/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/nl/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## Configuratie
-| Eigenschap | Standaard | Beschrijving |
-| ----------------------: | :-------: | :-------------------------------------------------------------------------------- |
-| Stroke breedte | 5 | De breedte van de beroerte |
-| Stroke vermenigvuldiger | 1 | Als je een stijl hebt, is dit de multiplier die aan de druk zal worden toegevoegd |
+| Eigenschap | Standaard | Beschrijving |
+| --------------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| Stroke breedte | 5 | De breedte van de beroerte |
+| Wis vormen | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Alle elementen wissen | Onjuist | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | Beschrijving |
+| -------------------------: | :------------------------------------------------------------------------------------------ |
+| Vormen niet wissen | The eraser will not interact with shapes. |
+| Wissen bij aanraken randen | The shape will be erased when the eraser touches any edge. |
+| Wissen bij aanraken overal | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/nl/docs/v2/tools/full_screen.md b/docs/src/content/docs/nl/docs/v2/tools/full_screen.md
index 2d899e622bf6..e19718f8ff44 100644
--- a/docs/src/content/docs/nl/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/nl/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-U kunt het niet selecteren en het zal de actie uitvoeren als u erop klikt.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/nl/docs/v2/tools/grid.md b/docs/src/content/docs/nl/docs/v2/tools/grid.md
index 5b2d0d0a4bfa..7ab0c246595f 100644
--- a/docs/src/content/docs/nl/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/nl/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| Grootte | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| Kleur | Zwart | The color of the grid. |
+| Transparantie | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| Afhankelijk zoomen | Onjuist | Changes the grid stroke width based on the zoom level. |
+| Afhankelijk zoomen | Onjuist | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| Afhankelijke positie | Onjuist | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/nl/docs/v2/tools/index.md b/docs/src/content/docs/nl/docs/v2/tools/index.md
index 7f9627fcfceb..35bcbc81f74d 100644
--- a/docs/src/content/docs/nl/docs/v2/tools/index.md
+++ b/docs/src/content/docs/nl/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ Als u op een geselecteerd hulpmiddel klikt, kunt u het configureren.
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/nl/docs/v2/tools/pen.md b/docs/src/content/docs/nl/docs/v2/tools/pen.md
index d519430d33cd..9cd745d4bffc 100644
--- a/docs/src/content/docs/nl/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/nl/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -54,12 +56,12 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
| Eigenschap | Standaard | Beschrijving |
| -----------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| Kleur | Zwart | De kleur die getekend zal worden |
-| Stroke breedte | 5 | De breedte van de beroerte |
| Afhankelijk zoomen | Onjuist | Dit zal de breedte van de lijn aanpassen op basis van het zoomniveau. |
+| Combineer paden | Onjuist | This will merge all strokes it touches into one path |
| Vorm Detectie | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| Stroke breedte | 5 | De breedte van de beroerte |
| Duiken | 0.4 | This effect of pressure on the stroke size |
| Vloeiend | 0.5 | This will smooth the edges of the stroke. |
-| Stroomlijn | 0.5 | How much the pen will follow the movement of the mouse. |
-| Kleur | Zwart | De kleur die getekend zal worden |
-| Invullen | Doorzichtig | The color that will be drawn inside the shape |
+| Stroomlijn | 0.3 | How much the pen will follow the movement of the mouse. |
+| Kleur | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| Invullen | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/nl/docs/v2/tools/polygon.md b/docs/src/content/docs/nl/docs/v2/tools/polygon.md
deleted file mode 100644
index a06fa8f3f57b..000000000000
--- a/docs/src/content/docs/nl/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Configuratie
-
-| Eigenschap | Standaard | Beschrijving |
-| -------------: | :---------: | :--------------------------------------------------------------- |
-| Stroke breedte | 5 | De breedte van de beroerte |
-| Kleur | Zwart | De kleur die getekend zal worden |
-| Invullen | Doorzichtig | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/nl/docs/v2/tools/polygon.mdx b/docs/src/content/docs/nl/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..593489c8ac8b
--- /dev/null
+++ b/docs/src/content/docs/nl/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Configuratie
+
+| Eigenschap | Standaard | Beschrijving |
+| -------------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| Stroke breedte | 5 | De breedte van de beroerte |
+| Kleur | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| Invullen | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/nl/docs/v2/tools/redo.md b/docs/src/content/docs/nl/docs/v2/tools/redo.md
index ce3bbb0b0081..de44e24ca619 100644
--- a/docs/src/content/docs/nl/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/nl/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-U kunt het niet selecteren en het zal de actie uitvoeren als u erop klikt.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/nl/docs/v2/tools/select.md b/docs/src/content/docs/nl/docs/v2/tools/select.md
index 779ea0396a2b..631cb9dc2b78 100644
--- a/docs/src/content/docs/nl/docs/v2/tools/select.md
+++ b/docs/src/content/docs/nl/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Configuratie
-| Eigenschap | Standaard | Beschrijving |
-| ---------: | :-------: | :--------------------------------------------------------------- |
-| Mode | Rechthoek | Mode of selection. Valid are Rectangle and Lasso |
+| Eigenschap | Standaard | Beschrijving |
+| ---------: | :------------: | :--------------------------------------------------------------- |
+| Mode | Rechthoek | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | Beschrijving |
+| ------------------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Selecteer bij het aanraken van randen | The shape will be selected when the selected area intersects any edge. |
+| Selecteer bij aanraken overal | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/nl/docs/v2/tools/shape.md b/docs/src/content/docs/nl/docs/v2/tools/shape.md
index 9331be7e06c4..2c83002e9223 100644
--- a/docs/src/content/docs/nl/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/nl/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Configuratie
-| Eigenschap | Standaard | Beschrijving |
-| -----------------: | :-------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Kleur | Zwart | The stroke color that will be drawn |
-| Stroke breedte | 5 | De breedte van de beroerte |
-| Stroke stijl | Solid | The style of the stroke. Other styles can use dash and gap lengths. |
-| Dash lengte | 1 | The length of the dash when using a non-solid stroke style |
-| Lengte afstand | 1 | The length of the gap when using a non-solid stroke style |
-| Afhankelijk zoomen | Onjuist | Dit zal de breedte van de lijn aanpassen op basis van het zoomniveau. |
-| Doorzichtig | Rechthoek | De vorm die wordt getekend |
-| Width | 0 | Onjuist Indien ingesteld op 0, wordt de breedte automatisch berekend. |
-| Højde | 0 | De vaste hoogte van het gebied. Indien 0 ingesteld wordt de hoogte automatisch berekend. |
-| Aspect verhouding | 0 | De verhouding van het vaste aspect van het gebied. Indien ingesteld op 0, zal de hoogte-breedteverhouding automatisch worden berekend. An aspect ratio is defined as width / height. |
-| Gecentreerd | Onjuist | Draws the shape from the center instead of from the corner. |
-
-### Vorm types
-
-#### Rechthoek
-
-| Eigenschap | Standaard | Beschrijving |
-| ------------: | :---------: | :------------------------------------------ |
-| Invullen | Doorzichtig | De kleur die wordt getekend in de rechthoek |
-| Corner radius | 0, 0, 0, 0 | De straal van de hoeken van de rechthoek |
-
-#### Driehoek
-
-| Eigenschap | Standaard | Beschrijving |
-| ---------: | :---------: | :----------------------------------------------- |
-| Invullen | Doorzichtig | The color that will be drawn inside the triangle |
-
-#### Cirkel
-
-| Eigenschap | Standaard | Beschrijving |
-| ---------: | :---------: | :--------------------------------------------- |
-| Invullen | Doorzichtig | The color that will be drawn inside the circle |
-
-#### Lijn
-
-_Geen configuratie beschikbaar._
+| Eigenschap | Standaard | Beschrijving |
+| -----------------: | :------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Gecentreerd | Onjuist | Draws the shape from the center instead of from the corner. |
+| Width | 0 | Onjuist Indien ingesteld op 0, wordt de breedte automatisch berekend. |
+| Højde | 0 | De vaste hoogte van het gebied. Indien 0 ingesteld wordt de hoogte automatisch berekend. |
+| Aspect verhouding | 0 | De verhouding van het vaste aspect van het gebied. Indien ingesteld op 0, zal de hoogte-breedteverhouding automatisch worden berekend. An aspect ratio is defined as width / height. |
+| Stroke breedte | 5 | De breedte van de beroerte |
+| Stroke stijl | Solid | The style of the stroke. Other styles can use dash and gap lengths. |
+| Dash lengte | 1 | The length of the dash when using a non-solid stroke style |
+| Lengte afstand | 1 | The length of the gap when using a non-solid stroke style |
+| Kleur | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| Doorzichtig | Rechthoek | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| Corner radius | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| Invullen | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| Afhankelijk zoomen | Onjuist | Dit zal de breedte van de lijn aanpassen op basis van het zoomniveau. |
\ No newline at end of file
diff --git a/docs/src/content/docs/nl/docs/v2/tools/texture.md b/docs/src/content/docs/nl/docs/v2/tools/texture.md
index f26d33570863..21be1b9cb3ac 100644
--- a/docs/src/content/docs/nl/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/nl/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: Textuur
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Configuratie
-| Eigenschap | Standaard | Beschrijving |
-| -----------------: | :-------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Afhankelijk zoomen | Onjuist | Dit zal de breedte van de lijn aanpassen op basis van het zoomniveau. |
-| Textuur | Patroon | The pattern that should be added. |
-| Width | 0 | De vaste breedte van het gebied. If set to `0`, the width will be calculated automatically. |
-| Højde | 0 | De vaste hoogte van het gebied. If set to `0`, the height will be calculated automatically. |
-| Aspect verhouding | 0 | De verhouding van het vaste aspect van het gebied. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Eigenschap | Beschrijving |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| Textuur | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/nl/docs/v2/tools/undo.md b/docs/src/content/docs/nl/docs/v2/tools/undo.md
index 4e03cdb8af1b..18fdbd192064 100644
--- a/docs/src/content/docs/nl/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/nl/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-U kunt het niet selecteren en het zal de actie uitvoeren als u erop klikt.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/nl/docs/v2/utilities.md b/docs/src/content/docs/nl/docs/v2/utilities.md
index 3b6d8373d0f5..4f79b4d2cbe2 100644
--- a/docs/src/content/docs/nl/docs/v2/utilities.md
+++ b/docs/src/content/docs/nl/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## camera
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/no/community/embed.md b/docs/src/content/docs/no/community/embed.md
index 630f0ee62606..081c1c8f3c46 100644
--- a/docs/src/content/docs/no/community/embed.md
+++ b/docs/src/content/docs/no/community/embed.md
@@ -22,6 +22,7 @@ Add the following code to your website:
| lagre | Boolean (true, false) | true | Enable save. If disabled, only an exit button will be shown |
| editable | Boolean (true, false) | true | Enable editing. If disabled, the document will be read-only |
| språk | Streng (..., system, bruker) | user | Language of the document. If system, the language will be detected from the browser. If user, the language will set to the users preference |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/no/docs/v2/add.md b/docs/src/content/docs/no/docs/v2/add.md
index 0571d93eb85e..034d976fca56 100644
--- a/docs/src/content/docs/no/docs/v2/add.md
+++ b/docs/src/content/docs/no/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## Importer
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## Verktøy
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/no/docs/v2/background.mdx b/docs/src/content/docs/no/docs/v2/background.mdx
index 7411480b4fc9..ad407e6b9a4b 100644
--- a/docs/src/content/docs/no/docs/v2/background.mdx
+++ b/docs/src/content/docs/no/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/no/docs/v2/intro.mdx b/docs/src/content/docs/no/docs/v2/intro.mdx
index f9bef582d481..5799e017bd76 100644
--- a/docs/src/content/docs/no/docs/v2/intro.mdx
+++ b/docs/src/content/docs/no/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/no/docs/v2/layers.md b/docs/src/content/docs/no/docs/v2/layers.md
index c50a7ed90469..11d37151dea6 100644
--- a/docs/src/content/docs/no/docs/v2/layers.md
+++ b/docs/src/content/docs/no/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: Lag
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Her kan du se alle lagene i prosjektet. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Her kan du se alle lagene i prosjektet. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Alternativ | Beskrivelse |
+| ------------------: | --------------------------------------------------------------------------------- |
+| Send fremover | Renders the selection on top of the first element in front of it. |
+| Send bakover | Renders the selection under the first element behind it. |
+| Plasser lengst frem | Renders the selection in front of everything else. |
+| Send til tilbake | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/no/docs/v2/pack.md b/docs/src/content/docs/no/docs/v2/pack.md
index f28981cae743..dab61c3a8367 100644
--- a/docs/src/content/docs/no/docs/v2/pack.md
+++ b/docs/src/content/docs/no/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## Palettes
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/no/docs/v2/shortcuts.md b/docs/src/content/docs/no/docs/v2/shortcuts.md
index 2a043990341d..877c1a94ed7e 100644
--- a/docs/src/content/docs/no/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/no/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: Snarveier
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+\==verktøylinje nummerert](toolbar_numbered.png)
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## Mus
+
+### Mouse configurations
+
+| Egenskap | Standard | Beskrivelse |
+| ---------------------------: | :------: | :---------------------------------------------------------------------------------------- |
+| Skjul markøren under tegning | true | Skjuler musepekeren mens du trekker, slik at den ikke dekker slaget ditt. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## Berør
+
+### Touch configurations
+
+| Egenskap | Standard | Beskrivelse |
+| -----------------: | :------: | :---------------------------------------------------------------------------------------------------------- |
+| Input gestures | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| Flytt på bevegelse | true | Lar multi-touch bevegelser flytte lerretet i stedet for å samhandle med notatinnhold. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## Keyboard
-Det er noen snarveier du kan benytte i editoren.
-Noen av dem er skrevet under knappene.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### Generelt
@@ -14,44 +135,63 @@ Noen av dem er skrevet under knappene.
- `Ctrl` + `E`: Eksporter fil
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `Shift` + `E`: Export file as pdf
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `S`: Åpne innstillinger
- `Ctrl` + `Alt` + `S`: Åpne innstillinger
+- `Escape`: Escape
### Prosjekt
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Angre
- `Ctrl` + `Y`: Omgjør
-- `Ctrl` + `Shift` + `P`: Open waypoint dialog
- `Ctrl` + `B`: Åpne bakgrunnsdialog
- `Ctrl` + `S`: lagre
- `Alt` + `S`: Endringsbane
-- `Ctrl` + (`1` - `0`): Bytt til verktøy
- `Ctrl` + `+`: Zoom inn
- `Ctrl` + `-`: Zoom ut
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Bytt til verktøy
## Penn
-By default, the pen is configured to function as the following:
+### Pen configurations
-- En penn: konfigurert som penn.
-- `Først` (Primærknapp, hvis støttet): Bytt til håndverktøy mens du trykker.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Egenskap | Values | Beskrivelse |
+| --------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| Pennen er kun inndata | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Vis kun penn | true, false | Viser en rask penn-bare bytt i editoren etter Butterfly oppdager en penn. |
+| Ignorer trykk | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-\==verktøylinje nummerert](toolbar_numbered.png)
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/no/docs/v2/storage.md b/docs/src/content/docs/no/docs/v2/storage.md
index 301d73146034..57020a395715 100644
--- a/docs/src/content/docs/no/docs/v2/storage.md
+++ b/docs/src/content/docs/no/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## Datamaskin katalog
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ Du kan også endre det i innstillingene under "Data".
I denne mappen finner du en mappe `Documents`, `Templates` og `Stillehavs`.
-## Nett
+## Web {#web}
Applikasjonsdata er lagret i nettleseren din. Det oppbevares i lokal lagring.
Åpne utviklerverktøyene i nettleseren din og du vil se dataene.
@@ -39,7 +39,59 @@ Legg til URL-adressen for den eksterne serveren og brukernavnet og passordet. De
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (det skal se ut slik: `https://nextcloud.example.com/remote.php/dav/files/username/`, erstatt `username` og `nextcloud.example.com` med de riktige verdiene)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Offline synkronisering {#offline}
@@ -48,7 +100,6 @@ Denne funksjonen lar deg redigere dine filer på eksterne servere mens du er fra
Det finnes noen begrensninger:
-- Du kan bare synkronisere den øverste nivået i en mappe. Hvis du for eksempel har en mappe `a/b/test.bfly`, blir ikke denne filen synkronisert.
- Du kan ikke slette en fil eller mappe mens du er frakoblet.
- Du kan ikke legge til, redigere eller slette maler mens du er frakoblet.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/no/docs/v2/tools/area.md b/docs/src/content/docs/no/docs/v2/tools/area.md
index 056310fa65b0..bf71f043b4f0 100644
--- a/docs/src/content/docs/no/docs/v2/tools/area.md
+++ b/docs/src/content/docs/no/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Konfigurasjon
-| Egenskap | Standard | Beskrivelse |
-| ----------------------: | :------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Width | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| Høyde | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| Høyde- og breddeforhold | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| Egenskap | Standard | Beskrivelse |
+| ----------------------: | :------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Spør om navn | usann | Whether a name prompt will appear before creation. |
+| Forhåndsinnstillinger | none | Various presets for width and height. |
+| Width | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| Høyde | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| Høyde- og breddeforhold | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
Det er forhåndsinnstillinger for tre størrelseforhold:
- Kvadrat (1:1)
-- Sideportrett (sqrt(2)) - Dette er standardsidesideforhold for en A4-side i portrett modus.
-- Sidelandskap (1/sqrt(2)) - Dette er standardstørrelsesforholdet til en A4-side i landskapsmodus.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/no/docs/v2/tools/collection.md b/docs/src/content/docs/no/docs/v2/tools/collection.md
deleted file mode 100644
index cb45f5961abd..000000000000
--- a/docs/src/content/docs/no/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-Du kan ikke velge den, og det vil kjøre handlingen hvis du klikker på den.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/no/docs/v2/tools/collection.mdx b/docs/src/content/docs/no/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/no/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/no/docs/v2/tools/eraser.md b/docs/src/content/docs/no/docs/v2/tools/eraser.md
index ccecc98f7437..b98af95e8fdc 100644
--- a/docs/src/content/docs/no/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/no/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## Konfigurasjon
-| Egenskap | Standard | Beskrivelse |
-| -------------------: | :------: | :--------------------------------------------------------------------------- |
-| Bredde på slagbredde | 5 | Bredden på slaglengden |
-| Stroke multiplikator | 1 | Dersom du har en penn, er dette multiplikatoren som vil bli lagt til trykket |
+| Egenskap | Standard | Beskrivelse |
+| -------------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| Bredde på slagbredde | 5 | Bredden på slaglengden |
+| Slett figurer | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Slett alle elementer | usann | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | Beskrivelse |
+| ----------------------------------: | :------------------------------------------------------------------------------------------ |
+| Ikke slett figurer | The eraser will not interact with shapes. |
+| Slett når kantene berører | The shape will be erased when the eraser touches any edge. |
+| Slett under berøring hvor som helst | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/no/docs/v2/tools/full_screen.md b/docs/src/content/docs/no/docs/v2/tools/full_screen.md
index ba20d482f1cf..e19718f8ff44 100644
--- a/docs/src/content/docs/no/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/no/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-Du kan ikke velge den, og det vil kjøre handlingen hvis du klikker på den.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/no/docs/v2/tools/grid.md b/docs/src/content/docs/no/docs/v2/tools/grid.md
index d3f8a684ce40..9a39bd9d5f31 100644
--- a/docs/src/content/docs/no/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/no/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| Størrelse | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| Farge | Svart | The color of the grid. |
+| Alfa | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| Zoom avhengig | usann | Changes the grid stroke width based on the zoom level. |
+| Zoom avhengig | usann | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| Posisjon avhengig | usann | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/no/docs/v2/tools/index.md b/docs/src/content/docs/no/docs/v2/tools/index.md
index 6285e85a6059..6287b73f7241 100644
--- a/docs/src/content/docs/no/docs/v2/tools/index.md
+++ b/docs/src/content/docs/no/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ Hvis du klikker på et valgt verktøy, kan du konfigurere dette.
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/no/docs/v2/tools/pen.md b/docs/src/content/docs/no/docs/v2/tools/pen.md
index cc4a252d44ab..cee72f664945 100644
--- a/docs/src/content/docs/no/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/no/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -54,12 +56,12 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
| Egenskap | Standard | Beskrivelse |
| -------------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| Farge | Svart | Fargen som vil bli tegnet |
-| Bredde på slagbredde | 5 | Bredden på slaglengden |
| Zoom avhengig | usann | Dette vil endre slagbredden basert på zoom-nivå. |
+| Kombiner baner | usann | This will merge all strokes it touches into one path |
| Finn form | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| Bredde på slagbredde | 5 | Bredden på slaglengden |
| Tynn | 0.4 | This effect of pressure on the stroke size |
| Utjevning | 0.5 | This will smooth the edges of the stroke. |
-| Streamline | 0.5 | How much the pen will follow the movement of the mouse. |
-| Farge | Svart | Fargen som vil bli tegnet |
-| Fyll | Gjennomsiktig | The color that will be drawn inside the shape |
+| Streamline | 0.3 | How much the pen will follow the movement of the mouse. |
+| Farge | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| Fyll | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/no/docs/v2/tools/polygon.md b/docs/src/content/docs/no/docs/v2/tools/polygon.md
deleted file mode 100644
index 96c789fb18bd..000000000000
--- a/docs/src/content/docs/no/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Konfigurasjon
-
-| Egenskap | Standard | Beskrivelse |
-| -------------------: | :-----------: | :--------------------------------------------------------------- |
-| Bredde på slagbredde | 5 | Bredden på slaglengden |
-| Farge | Svart | Fargen som vil bli tegnet |
-| Fyll | Gjennomsiktig | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/no/docs/v2/tools/polygon.mdx b/docs/src/content/docs/no/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..3724858eeba2
--- /dev/null
+++ b/docs/src/content/docs/no/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Konfigurasjon
+
+| Egenskap | Standard | Beskrivelse |
+| -------------------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| Bredde på slagbredde | 5 | Bredden på slaglengden |
+| Farge | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| Fyll | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/no/docs/v2/tools/redo.md b/docs/src/content/docs/no/docs/v2/tools/redo.md
index c0bc2960be70..de44e24ca619 100644
--- a/docs/src/content/docs/no/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/no/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-Du kan ikke velge den, og det vil kjøre handlingen hvis du klikker på den.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/no/docs/v2/tools/select.md b/docs/src/content/docs/no/docs/v2/tools/select.md
index b9cc05000534..dceae3adca13 100644
--- a/docs/src/content/docs/no/docs/v2/tools/select.md
+++ b/docs/src/content/docs/no/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Konfigurasjon
-| Egenskap | Standard | Beskrivelse |
-| -------: | :-------: | :--------------------------------------------------------------- |
-| Mode | Rektangel | Mode of selection. Valid are Rectangle and Lasso |
+| Egenskap | Standard | Beskrivelse |
+| -------: | :------------: | :--------------------------------------------------------------- |
+| Mode | Rektangel | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | Beskrivelse |
+| -------------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Velg når kanter berører | The shape will be selected when the selected area intersects any edge. |
+| Velg ved berøring hvor som helst | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/no/docs/v2/tools/shape.md b/docs/src/content/docs/no/docs/v2/tools/shape.md
index 38057be2ed90..eaa7aeb7aebe 100644
--- a/docs/src/content/docs/no/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/no/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Konfigurasjon
-| Egenskap | Standard | Beskrivelse |
-| ----------------------: | :-------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Farge | Svart | The stroke color that will be drawn |
-| Bredde på slagbredde | 5 | Bredden på slaglengden |
-| Stil for stripe | Solid | The style of the stroke. Other styles can use dash and gap lengths. |
-| Punkt lengde | 1 | The length of the dash when using a non-solid stroke style |
-| Gap lengde | 1 | The length of the gap when using a non-solid stroke style |
-| Zoom avhengig | usann | Dette vil endre slagbredden basert på zoom-nivå. |
-| Form | Rektangel | Figuren som vil bli trukket |
-| Width | 0 | Den faste bredden på området. Hvis satt til 0, vil bredden bli beregnet automatisk. |
-| Høyde | 0 | Den faste høyden av området. Hvis satt til 0, vil høyden bli beregnet automatisk. |
-| Høyde- og breddeforhold | 0 | The fixed aspect ratio of the area. Hvis satt til 0, vil størrelsesforholdet bli beregnet automatisk. An aspect ratio is defined as width / height. |
-| Midtstilt | usann | Draws the shape from the center instead of from the corner. |
-
-### Form typer
-
-#### Rektangel
-
-| Egenskap | Standard | Beskrivelse |
-| ------------: | :-----------: | :------------------------------------------ |
-| Fyll | Gjennomsiktig | Fargen som vil bli tegnet inn i rektangelet |
-| Corner radius | 0, 0, 0, 0 | Radiusen av hjørnene til rektangelet |
-
-#### Trekant
-
-| Egenskap | Standard | Beskrivelse |
-| -------: | :-----------: | :----------------------------------------------- |
-| Fyll | Gjennomsiktig | The color that will be drawn inside the triangle |
-
-#### Sirkel
-
-| Egenskap | Standard | Beskrivelse |
-| -------: | :-----------: | :--------------------------------------------- |
-| Fyll | Gjennomsiktig | The color that will be drawn inside the circle |
-
-#### Linje
-
-_Ingen konfigurasjon tilgjengelig._
+| Egenskap | Standard | Beskrivelse |
+| ----------------------: | :------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Midtstilt | usann | Draws the shape from the center instead of from the corner. |
+| Width | 0 | Den faste bredden på området. Hvis satt til 0, vil bredden bli beregnet automatisk. |
+| Høyde | 0 | Den faste høyden av området. Hvis satt til 0, vil høyden bli beregnet automatisk. |
+| Høyde- og breddeforhold | 0 | The fixed aspect ratio of the area. Hvis satt til 0, vil størrelsesforholdet bli beregnet automatisk. An aspect ratio is defined as width / height. |
+| Bredde på slagbredde | 5 | Bredden på slaglengden |
+| Stil for stripe | Solid | The style of the stroke. Other styles can use dash and gap lengths. |
+| Punkt lengde | 1 | The length of the dash when using a non-solid stroke style |
+| Gap lengde | 1 | The length of the gap when using a non-solid stroke style |
+| Farge | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| Form | Rektangel | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| Corner radius | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| Fyll | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| Zoom avhengig | usann | Dette vil endre slagbredden basert på zoom-nivå. |
\ No newline at end of file
diff --git a/docs/src/content/docs/no/docs/v2/tools/texture.md b/docs/src/content/docs/no/docs/v2/tools/texture.md
index b22a77a0dd28..812bf462f21c 100644
--- a/docs/src/content/docs/no/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/no/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: Tekstur
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Konfigurasjon
-| Egenskap | Standard | Beskrivelse |
-| ----------------------: | :------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Zoom avhengig | usann | Dette vil endre slagbredden basert på zoom-nivå. |
-| Tekstur | Mønster | The pattern that should be added. |
-| Width | 0 | Den faste bredden på området. If set to `0`, the width will be calculated automatically. |
-| Høyde | 0 | Den faste høyden av området. If set to `0`, the height will be calculated automatically. |
-| Høyde- og breddeforhold | 0 | The fixed aspect ratio of the area. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Egenskap | Beskrivelse |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| Tekstur | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/no/docs/v2/tools/undo.md b/docs/src/content/docs/no/docs/v2/tools/undo.md
index 082c94689784..18fdbd192064 100644
--- a/docs/src/content/docs/no/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/no/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-Du kan ikke velge den, og det vil kjøre handlingen hvis du klikker på den.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/no/docs/v2/utilities.md b/docs/src/content/docs/no/docs/v2/utilities.md
index 2dc2695c11aa..a3c38f0b8ef8 100644
--- a/docs/src/content/docs/no/docs/v2/utilities.md
+++ b/docs/src/content/docs/no/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## Kamera
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/or/community/embed.md b/docs/src/content/docs/or/community/embed.md
index 01c24ed2eef2..039d88d8ca2c 100644
--- a/docs/src/content/docs/or/community/embed.md
+++ b/docs/src/content/docs/or/community/embed.md
@@ -22,6 +22,7 @@ Add the following code to your website:
| save | Boolean (true, false) | true | Enable save. If disabled, only an exit button will be shown |
| editable | Boolean (true, false) | true | Enable editing. If disabled, the document will be read-only |
| language | String (..., system, user) | user | Language of the document. If system, the language will be detected from the browser. If user, the language will set to the users preference |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/or/docs/v2/add.md b/docs/src/content/docs/or/docs/v2/add.md
index 1951dd76e062..2b2790409aac 100644
--- a/docs/src/content/docs/or/docs/v2/add.md
+++ b/docs/src/content/docs/or/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## ଆମଦାନି
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## ଟୁଲ୍
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/or/docs/v2/background.mdx b/docs/src/content/docs/or/docs/v2/background.mdx
index fb7f32418bf4..7404cecf41ff 100644
--- a/docs/src/content/docs/or/docs/v2/background.mdx
+++ b/docs/src/content/docs/or/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/or/docs/v2/intro.mdx b/docs/src/content/docs/or/docs/v2/intro.mdx
index ea04e1d38fc9..d863d269b955 100644
--- a/docs/src/content/docs/or/docs/v2/intro.mdx
+++ b/docs/src/content/docs/or/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/or/docs/v2/layers.md b/docs/src/content/docs/or/docs/v2/layers.md
index f4b0c854c206..782f70f46b17 100644
--- a/docs/src/content/docs/or/docs/v2/layers.md
+++ b/docs/src/content/docs/or/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: ସ୍ତରଗୁଡିକ
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Here you can see all the layers in the project. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Here you can see all the layers in the project. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Option | ବିବରଣୀ |
+| --------------: | --------------------------------------------------------------------------------- |
+| ଆଗକୁ ଆଣନ୍ତୁ | Renders the selection on top of the first element in front of it. |
+| ପଛକୁ ପଠାନ୍ତୁ | Renders the selection under the first element behind it. |
+| ସାମ୍ନାକୁ ଆଣନ୍ତୁ | Renders the selection in front of everything else. |
+| ପଛକୁ ପଠାନ୍ତୁ | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/or/docs/v2/pack.md b/docs/src/content/docs/or/docs/v2/pack.md
index a485ba43c115..40502cfabc8d 100644
--- a/docs/src/content/docs/or/docs/v2/pack.md
+++ b/docs/src/content/docs/or/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## ପ୍ୟାଲେଟ୍
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/or/docs/v2/shortcuts.md b/docs/src/content/docs/or/docs/v2/shortcuts.md
index a46dc00d6b76..b9e9251a4479 100644
--- a/docs/src/content/docs/or/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/or/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: ଶଧାନ୍ତ୍ର
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## ମାଉସ୍
+
+### Mouse configurations
+
+| Property | Default | ବିବରଣୀ |
+| -------------------------------: | :-----: | :---------------------------------------------------------------------------------------- |
+| ଚିତ୍ରାଙ୍କନ କାଳୀନ କର୍ସର୍ ଲୁଚାନ୍ତୁ | true | Hides the mouse pointer while you draw, so it does not cover your stroke. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## ଟଚ୍
+
+### Touch configurations
+
+| Property | Default | ବିବରଣୀ |
+| -----------------: | :-----: | :---------------------------------------------------------------------------------------------------------- |
+| ଇନ୍ପୁଟ୍ ଇଶାରାଗୁଡିକ | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| ଇଶାରାରେ ସରାନ୍ତୁ | true | Lets multi-touch gestures move the canvas instead of interacting with note content. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## କୀବୋର୍ଡ୍
-There are a few shortcuts that you can use in the editor.
-Some of them are written below the buttons.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### ସାଧାରଣ
@@ -14,44 +135,63 @@ Some of them are written below the buttons.
- `Ctrl` + `E`: Export file
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `E`: Export file as svg
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `P`: Open packs
- `Ctrl` + `Alt` + `S`: Open settings
+- `Escape`: Escape
### Project
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Undo
- `Ctrl` + `Y`: Redo
-- `Ctrl` + `Shift` + `P`: Open waypoints dialog
- `Ctrl` + `B`: Open background dialog
- `Ctrl` + `S`: Save
- `Alt` + `S`: Change path
-- `Ctrl` + (`1` - `0`): Switch to tool
- `Ctrl` + `+`: Zoom in
- `Ctrl` + `-`: Zoom out
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Switch to tool
## କଲମ
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Pen`: configured as pen.
-- `First` (Primary button, if supported): Change to hand tool while pressed.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Property | Values | ବିବରଣୀ |
+| -------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| କଳମ ମାତ୍ର ଇନ୍ପୁଟ୍ | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Show pen only toggle | true, false | Shows a quick pen-only switch in the editor after Butterfly detects a pen. |
+| Ignore pressure | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/or/docs/v2/storage.md b/docs/src/content/docs/or/docs/v2/storage.md
index 4fc5af3961cd..b06adc6af5dc 100644
--- a/docs/src/content/docs/or/docs/v2/storage.md
+++ b/docs/src/content/docs/or/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## ଡାଟା ଡିରେକ୍ଟୋରି
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ You can also change it in the settings under `Data`.
In this directory you will find a folder `Documents`, `Templates` and `Packs`.
-## Web
+## Web {#web}
The application data is stored in your browser. It is stored in a local storage.
Open the developer tools in your browser and you will see the data.
@@ -39,7 +39,59 @@ Add the URL of the remote server and the username and password. After that you c
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Offline sync {#offline}
@@ -48,7 +100,6 @@ Open the popup menu on a file or folder and click on `Sync`. This will download
There are a few limitations:
-- You can only sync the top level of a directory. For example if you have a directory `a/b/test.bfly`, this file will not be synced.
- You cannot delete a file or folder while you are offline.
- You cannot add, edit or delete templates while you are offline.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/or/docs/v2/tools/area.md b/docs/src/content/docs/or/docs/v2/tools/area.md
index 653bebed881a..f96482721295 100644
--- a/docs/src/content/docs/or/docs/v2/tools/area.md
+++ b/docs/src/content/docs/or/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Configuration
-| Property | Default | ଵର୍ଣ୍ଣନା |
-| ---------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| ପ୍ରସ୍ଥ | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| ଉଚ୍ଚତା | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| ପ୍ରମାଣୁପାତ | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| Property | Default | ଵର୍ଣ୍ଣନା |
+| -----------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| ନାମ ପଚାରନ୍ତୁ | false | Whether a name prompt will appear before creation. |
+| ପ୍ରିସେଟ୍ | none | Various presets for width and height. |
+| ପ୍ରସ୍ଥ | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| ଉଚ୍ଚତା | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| ପ୍ରମାଣୁପାତ | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
There are three aspect ratio presets:
- Square (1:1)
-- Page portrait (sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
-- Page landscape (1/sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/or/docs/v2/tools/collection.md b/docs/src/content/docs/or/docs/v2/tools/collection.md
deleted file mode 100644
index 391210b26987..000000000000
--- a/docs/src/content/docs/or/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-You can't select it and it will run the action if you click on it.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/or/docs/v2/tools/collection.mdx b/docs/src/content/docs/or/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/or/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/or/docs/v2/tools/eraser.md b/docs/src/content/docs/or/docs/v2/tools/eraser.md
index a7491640c082..7eedd812b7a1 100644
--- a/docs/src/content/docs/or/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/or/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## Configuration
-| Property | Default | ବିବରଣୀ |
-| ----------------: | :-----: | :------------------------------------------------------------------------------- |
-| ଲାଇନ୍ ପ୍ରସ୍ଥ | 5 | The width of the stroke |
-| Stroke multiplier | 1 | If you have a stylus, this is the multiplier which will be added to the pressure |
+| Property | Default | ବିବରଣୀ |
+| -----------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| ଲାଇନ୍ ପ୍ରସ୍ଥ | 5 | The width of the stroke |
+| Erase shapes | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Erase all elements | false | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | ବିବରଣୀ |
+| ---------------------------: | :------------------------------------------------------------------------------------------ |
+| Don't erase shapes | The eraser will not interact with shapes. |
+| Erase when touching edges | The shape will be erased when the eraser touches any edge. |
+| Erase when touching anywhere | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/or/docs/v2/tools/full_screen.md b/docs/src/content/docs/or/docs/v2/tools/full_screen.md
index ea23ff72ac89..e19718f8ff44 100644
--- a/docs/src/content/docs/or/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/or/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it will run the action if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/or/docs/v2/tools/grid.md b/docs/src/content/docs/or/docs/v2/tools/grid.md
index 45d16af0760b..59c7ebcad217 100644
--- a/docs/src/content/docs/or/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/or/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| ଆକାର | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| ରଙ୍ଗ | Black | The color of the grid. |
+| ଆଲଫା | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| ଜୁମ୍ ନିର୍ଭର | false | Changes the grid stroke width based on the zoom level. |
+| ଜୁମ୍ ନିର୍ଭର | false | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| ସ୍ଥିତି ନିର୍ଭର | false | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/or/docs/v2/tools/index.md b/docs/src/content/docs/or/docs/v2/tools/index.md
index cb5304f87ba2..ff71b2edbb9f 100644
--- a/docs/src/content/docs/or/docs/v2/tools/index.md
+++ b/docs/src/content/docs/or/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ If you click on a selected tool you can configure it.
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/or/docs/v2/tools/pen.md b/docs/src/content/docs/or/docs/v2/tools/pen.md
index 7da5ba061419..e426e066a517 100644
--- a/docs/src/content/docs/or/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/or/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -52,14 +54,14 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
## Configuration
-| Property | Default | ବିବରଣୀ |
-| -----------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| ରଙ୍ଗ | Black | The color that will be drawn |
-| ଲାଇନ୍ ପ୍ରସ୍ଥ | 5 | The width of the stroke |
-| ଜୁମ୍ ନିର୍ଭର | false | This will change the stroke width based on the zoom level. |
-| ଆକୃତି ଚିହ୍ନଟ | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
-| ଚିରକରଣ | 0.4 | This effect of pressure on the stroke size |
-| ସ୍ମୂଥିଂ | 0.5 | This will smooth the edges of the stroke. |
-| ସ୍ଟ୍ରିମଲାଇନ୍ | 0.5 | How much the pen will follow the movement of the mouse. |
-| ରଙ୍ଗ | Black | The color that will be drawn |
-| ପୂରଣ | Transparent | The color that will be drawn inside the shape |
+| Property | Default | ବିବରଣୀ |
+| ------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
+| ଜୁମ୍ ନିର୍ଭର | false | This will change the stroke width based on the zoom level. |
+| Combine paths | false | This will merge all strokes it touches into one path |
+| ଆକୃତି ଚିହ୍ନଟ | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| ଲାଇନ୍ ପ୍ରସ୍ଥ | 5 | The width of the stroke |
+| ଚିରକରଣ | 0.4 | This effect of pressure on the stroke size |
+| ସ୍ମୂଥିଂ | 0.5 | This will smooth the edges of the stroke. |
+| ସ୍ଟ୍ରିମଲାଇନ୍ | 0.3 | How much the pen will follow the movement of the mouse. |
+| ରଙ୍ଗ | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| ପୂରଣ | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/or/docs/v2/tools/polygon.md b/docs/src/content/docs/or/docs/v2/tools/polygon.md
deleted file mode 100644
index c4862063ee37..000000000000
--- a/docs/src/content/docs/or/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Configuration
-
-| Property | Default | ବିବରଣୀ |
-| -----------: | :---------: | :--------------------------------------------------------------- |
-| ଲାଇନ୍ ପ୍ରସ୍ଥ | 5 | The width of the stroke |
-| ରଙ୍ଗ | Black | The color that will be drawn |
-| ପୂରଣ | Transparent | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/or/docs/v2/tools/polygon.mdx b/docs/src/content/docs/or/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..f652939152c4
--- /dev/null
+++ b/docs/src/content/docs/or/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Configuration
+
+| Property | Default | ବିବରଣୀ |
+| -----------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| ଲାଇନ୍ ପ୍ରସ୍ଥ | 5 | The width of the stroke |
+| ରଙ୍ଗ | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| ପୂରଣ | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/or/docs/v2/tools/redo.md b/docs/src/content/docs/or/docs/v2/tools/redo.md
index 8371adf3aba9..de44e24ca619 100644
--- a/docs/src/content/docs/or/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/or/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-You can't select it and it will run the action if you click on it.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/or/docs/v2/tools/select.md b/docs/src/content/docs/or/docs/v2/tools/select.md
index a588c6d24f38..25aaccb8796a 100644
--- a/docs/src/content/docs/or/docs/v2/tools/select.md
+++ b/docs/src/content/docs/or/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Configuration
-| Property | Default | ଵର୍ଣ୍ଣନା |
-| -------: | :-----: | :--------------------------------------------------------------- |
-| Mode | ଆୟତ | Mode of selection. Valid are Rectangle and Lasso |
+| Property | Default | ଵର୍ଣ୍ଣନା |
+| -------: | :------------: | :--------------------------------------------------------------- |
+| Mode | ଆୟତ | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | ବିବରଣୀ |
+| ----------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Select when touching edges | The shape will be selected when the selected area intersects any edge. |
+| Select when touching anywhere | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/or/docs/v2/tools/shape.md b/docs/src/content/docs/or/docs/v2/tools/shape.md
index 4bb209e394c9..15a012b27345 100644
--- a/docs/src/content/docs/or/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/or/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Configuration
-| Property | Default | ବିବରଣୀ |
-| -----------: | :-----: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| ରଙ୍ଗ | Black | The stroke color that will be drawn |
-| ଲାଇନ୍ ପ୍ରସ୍ଥ | 5 | The width of the stroke |
-| Stroke style | ଦୃଢ | The style of the stroke. Other styles can use dash and gap lengths. |
-| Dash length | 1 | The length of the dash when using a non-solid stroke style |
-| Gap length | 1 | The length of the gap when using a non-solid stroke style |
-| ଜୁମ୍ ନିର୍ଭର | false | This will change the stroke width based on the zoom level. |
-| ଆକୃତି | ଆୟତ | The shape that will be drawn |
-| ପ୍ରସ୍ଥ | 0 | The fixed width of the area. If set to 0, the width will be calculated automatically. |
-| ଉଚ୍ଚତା | 0 | The fixed height of the area. If set to 0, the height will be calculated automatically. |
-| ପ୍ରମାଣୁପାତ | 0 | The fixed aspect ratio of the area. If set to 0, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-| ମଧ୍ୟ | false | Draws the shape from the center instead of from the corner. |
-
-### Shape types
-
-#### ଆୟତ
-
-| Property | Default | ବିବରଣୀ |
-| -----------: | :---------: | :------------------------------------------------ |
-| ପୂରଣ | Transparent | The color that will be drawn inside the rectangle |
-| କୋନ୍ ରୌଦ୍ରତା | 0, 0, 0, 0 | The radius of the corners of the rectangle |
-
-#### ତିଭୁଜ
-
-| Property | Default | ବିବରଣୀ |
-| -------: | :---------: | :----------------------------------------------- |
-| ପୂରଣ | Transparent | The color that will be drawn inside the triangle |
-
-#### ବୃତ୍ତ
-
-| Property | Default | ବିବରଣୀ |
-| -------: | :---------: | :--------------------------------------------- |
-| ପୂରଣ | Transparent | The color that will be drawn inside the circle |
-
-#### ରେଖା
-
-_No configuration available._
+| Property | Default | ବିବରଣୀ |
+| -----------: | :------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| ମଧ୍ୟ | false | Draws the shape from the center instead of from the corner. |
+| ପ୍ରସ୍ଥ | 0 | The fixed width of the area. If set to 0, the width will be calculated automatically. |
+| ଉଚ୍ଚତା | 0 | The fixed height of the area. If set to 0, the height will be calculated automatically. |
+| ପ୍ରମାଣୁପାତ | 0 | The fixed aspect ratio of the area. If set to 0, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
+| ଲାଇନ୍ ପ୍ରସ୍ଥ | 5 | The width of the stroke |
+| Stroke style | ଦୃଢ | The style of the stroke. Other styles can use dash and gap lengths. |
+| Dash length | 1 | The length of the dash when using a non-solid stroke style |
+| Gap length | 1 | The length of the gap when using a non-solid stroke style |
+| ରଙ୍ଗ | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| ଆକୃତି | ଆୟତ | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| କୋନ୍ ରୌଦ୍ରତା | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| ପୂରଣ | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| ଜୁମ୍ ନିର୍ଭର | false | This will change the stroke width based on the zoom level. |
\ No newline at end of file
diff --git a/docs/src/content/docs/or/docs/v2/tools/texture.md b/docs/src/content/docs/or/docs/v2/tools/texture.md
index b7c5cf04862e..b5d47308355b 100644
--- a/docs/src/content/docs/or/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/or/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: ବିତାନା
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Configuration
-| Property | Default | ଵର୍ଣ୍ଣନା |
-| ----------: | :-----: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| ଜୁମ୍ ନିର୍ଭର | false | This will change the stroke width based on the zoom level. |
-| ବିତାନା | ନମୁନା | The pattern that should be added. |
-| ପ୍ରସ୍ଥ | 0 | The fixed width of the area. If set to `0`, the width will be calculated automatically. |
-| ଉଚ୍ଚତା | 0 | The fixed height of the area. If set to `0`, the height will be calculated automatically. |
-| ପ୍ରମାଣୁପାତ | 0 | The fixed aspect ratio of the area. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Property | ଵର୍ଣ୍ଣନା |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| ବିତାନା | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/or/docs/v2/tools/undo.md b/docs/src/content/docs/or/docs/v2/tools/undo.md
index a7d87d8d2c23..18fdbd192064 100644
--- a/docs/src/content/docs/or/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/or/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-You can't select it and it will run the action if you click on it.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/or/docs/v2/utilities.md b/docs/src/content/docs/or/docs/v2/utilities.md
index 3324e29100bd..d3d2f7ccd665 100644
--- a/docs/src/content/docs/or/docs/v2/utilities.md
+++ b/docs/src/content/docs/or/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## କ୍ୟାମେରା
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/pl/community/embed.md b/docs/src/content/docs/pl/community/embed.md
index 62be14c28dd3..6fd7d1b09cd3 100644
--- a/docs/src/content/docs/pl/community/embed.md
+++ b/docs/src/content/docs/pl/community/embed.md
@@ -22,6 +22,7 @@ Dodaj następujący kod do swojej strony internetowej:
| zapisz | Boolean (true, false) | true | Włącz zapisywanie. Jeśli wyłączone, wyświetlany będzie tylko przycisk wyjścia |
| editable | Boolean (true, false) | true | Włącz edycję. Jeśli wyłączone, dokument będzie tylko do odczytu |
| język | Ciąg znaków (..., system, użytkownik) | user | Język dokumentu. Jeśli system, język zostanie wykryty z przeglądarki. Jeśli użytkownik, język zostanie ustawiony na preferencje użytkowników |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/pl/docs/v2/add.md b/docs/src/content/docs/pl/docs/v2/add.md
index 254364899bd9..49676560b293 100644
--- a/docs/src/content/docs/pl/docs/v2/add.md
+++ b/docs/src/content/docs/pl/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## Importuj
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## Narzędzia
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/pl/docs/v2/background.mdx b/docs/src/content/docs/pl/docs/v2/background.mdx
index 5e4f8d13083a..ce50d93de368 100644
--- a/docs/src/content/docs/pl/docs/v2/background.mdx
+++ b/docs/src/content/docs/pl/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/pl/docs/v2/intro.mdx b/docs/src/content/docs/pl/docs/v2/intro.mdx
index a25cebb57093..64903ff2082a 100644
--- a/docs/src/content/docs/pl/docs/v2/intro.mdx
+++ b/docs/src/content/docs/pl/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/pl/docs/v2/layers.md b/docs/src/content/docs/pl/docs/v2/layers.md
index ba222f3c42c8..bbe1b86fc1d1 100644
--- a/docs/src/content/docs/pl/docs/v2/layers.md
+++ b/docs/src/content/docs/pl/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: Warstwa
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Tutaj możesz zobaczyć wszystkie warstwy w projekcie. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Tutaj możesz zobaczyć wszystkie warstwy w projekcie. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Opcja | Opis |
+| -----------------: | --------------------------------------------------------------------------------- |
+| Przenieś do przodu | Renders the selection on top of the first element in front of it. |
+| Wyślij do tyłu | Renders the selection under the first element behind it. |
+| Przenieś na przód | Renders the selection in front of everything else. |
+| Wyślij do powrotu | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/pl/docs/v2/pack.md b/docs/src/content/docs/pl/docs/v2/pack.md
index cd3d6656bce1..9f942c3575a3 100644
--- a/docs/src/content/docs/pl/docs/v2/pack.md
+++ b/docs/src/content/docs/pl/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## Palettes
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/pl/docs/v2/shortcuts.md b/docs/src/content/docs/pl/docs/v2/shortcuts.md
index cd75ed18a9b2..936782bd8b47 100644
--- a/docs/src/content/docs/pl/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/pl/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: Skróty
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## Mysz
+
+### Mouse configurations
+
+| Własność | Domyślny | Opis |
+| -----------------------------: | :------: | :------------------------------------------------------------------------------------------- |
+| Ukryj kursor podczas rysowania | true | Ukrywa wskaźnik myszy podczas rysowania, więc nie pokrywa twojego uderzenia. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## Dotknij
+
+### Touch configurations
+
+| Własność | Domyślny | Opis |
+| -----------------: | :------: | :---------------------------------------------------------------------------------------------------------- |
+| Input gestures | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| Przesuń po gestach | true | Pozwala na przenoszenie gestów z wielu dotyków zamiast interakcji z treścią notatki. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## Keyboard
-Jest kilka skrótów, których możesz użyć w edytorze.
-Niektóre z nich są napisane pod przyciskami.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### Ogólny
@@ -14,44 +135,63 @@ Niektóre z nich są napisane pod przyciskami.
- `Ctrl` + `E`: Eksportuj plik
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `Shift` + `E`: Export file as pdf
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `S`: Otwórz ustawienia
- `Ctrl` + `Alt` + `P`: Otwarte paczki
+- `Escape`: Escape
### Projekt
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Cofnij
- `Ctrl` + `Y`: Ponów
-- `Ctrl` + `Shift` + `P`: Otwarte okno dialogowe punktów drogi
- `Ctrl` + `B`: Otwórz okno w tle
- `Ctrl` + `S`: Zapisz
- `Alt` + `S`: Zmień ścieżkę
-- `Ctrl` + (`1` - `0`): Przełącz na narzędzie
- `Ctrl` + `+`: Powiększ
- `Ctrl` + `-`: Pomniejsz
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Przełącz na narzędzie
## Długopis
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Pióro`: skonfigurowany jako długopis.
-- `First` (główny przycisk, jeśli jest obsługiwany): Zmień na narzędzie ręczne po naciśnięciu.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Własność | Values | Opis |
+| -----------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| Wprowadzanie tylko pióra | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Pokaż tylko pióro | true, false | Pokazuje szybki przełącznik tylko długopisów w edytorze po wykryciu długopisu. |
+| Ignoruj nacisk | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/pl/docs/v2/storage.md b/docs/src/content/docs/pl/docs/v2/storage.md
index 33f72d1e9295..4314f68ecaf7 100644
--- a/docs/src/content/docs/pl/docs/v2/storage.md
+++ b/docs/src/content/docs/pl/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## Katalog danych
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ Możesz to również zmienić w ustawieniach w `Data`.
W tym katalogu znajdziesz folder `Documents`, `Templates` i `Packs`.
-## Web
+## Web {#web}
Dane aplikacji są przechowywane w przeglądarce. Lek jest przechowywany w miejscu przechowywania.
Otwórz narzędzia deweloperskie w przeglądarce i zobaczysz dane.
@@ -39,7 +39,59 @@ Dodaj adres URL zdalnego serwera oraz nazwę użytkownika i hasło. Następnie m
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (powinien wyglądać tak: `https://nextcloud.example.com/remote.php/dav/files/username/`, zamiana `username` i `nextcloud.example.com` na prawidłowe wartości)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Synchronizacja offline {#offline}
@@ -48,7 +100,6 @@ Otwórz menu wyskakujące w pliku lub folderze i kliknij na `Sync`. Spowoduje to
Istnieje kilka ograniczeń:
-- Możesz zsynchronizować tylko najwyższy poziom katalogu. Na przykład, jeśli masz katalog `a/b/test.bfly`, ten plik nie zostanie zsynchronizowany.
- Nie można usunąć pliku lub folderu, gdy jesteś offline.
- Nie możesz dodawać, edytować ani usuwać szablonów, gdy jesteś offline.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/pl/docs/v2/tools/area.md b/docs/src/content/docs/pl/docs/v2/tools/area.md
index 33cba07f0517..7426e6126af0 100644
--- a/docs/src/content/docs/pl/docs/v2/tools/area.md
+++ b/docs/src/content/docs/pl/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Konfiguracja
-| Własność | Domyślny | Opis |
-| ---------------------: | :------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Width | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| Wysokość | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| Współczynnik proporcji | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| Własność | Domyślny | Opis |
+| ---------------------: | :------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Zapytaj o nazwę | fałszywy | Whether a name prompt will appear before creation. |
+| Ustawienia | none | Various presets for width and height. |
+| Width | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| Wysokość | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| Współczynnik proporcji | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
Istnieją trzy presety proporcji proporcji:
- Kwadrat (1:1)
-- Pionowo strony (sqrt(2)) - Jest to domyślny stosunek aspektów strony A4 w trybie pionowym.
-- Strona pozioma (1/sqrt(2)) - Jest to domyślny stosunek aspektów strony A4 w trybie poziomym.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/pl/docs/v2/tools/collection.md b/docs/src/content/docs/pl/docs/v2/tools/collection.md
deleted file mode 100644
index 5738f70ce337..000000000000
--- a/docs/src/content/docs/pl/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-Nie możesz go wybrać i uruchomi akcję, jeśli klikniesz na nią.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/pl/docs/v2/tools/collection.mdx b/docs/src/content/docs/pl/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/pl/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/pl/docs/v2/tools/eraser.md b/docs/src/content/docs/pl/docs/v2/tools/eraser.md
index 205bcf374e02..721909526678 100644
--- a/docs/src/content/docs/pl/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/pl/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## Konfiguracja
-| Własność | Domyślny | Opis |
-| --------------: | :------: | :----------------------------------------------------------------- |
-| Szerokość skoku | 5 | Szerokość obrysu |
-| Mnożnik uderzeń | 1 | Jeśli masz styl, to jest mnożnik, który zostanie dodany do nacisku |
+| Własność | Domyślny | Opis |
+| -------------------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| Szerokość skoku | 5 | Szerokość obrysu |
+| Wyczyść kształty | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Wyczyść wszystkie elementy | fałszywy | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | Opis |
+| -------------------------------------: | :------------------------------------------------------------------------------------------ |
+| Nie usuwaj kształtów | The eraser will not interact with shapes. |
+| Wyczyść podczas dotykania krawędzi | The shape will be erased when the eraser touches any edge. |
+| Wyczyść podczas dotykania gdziekolwiek | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/pl/docs/v2/tools/full_screen.md b/docs/src/content/docs/pl/docs/v2/tools/full_screen.md
index 37acd0fc3a97..e19718f8ff44 100644
--- a/docs/src/content/docs/pl/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/pl/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-Nie możesz go wybrać i uruchomi akcję, jeśli klikniesz na nią.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/pl/docs/v2/tools/grid.md b/docs/src/content/docs/pl/docs/v2/tools/grid.md
index d60fd7c2d880..a3bfde1ced91 100644
--- a/docs/src/content/docs/pl/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/pl/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| Rozmiar | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| Kolor | Czarny | The color of the grid. |
+| Alfa | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| Zależny od powiększenia | fałszywy | Changes the grid stroke width based on the zoom level. |
+| Zależny od powiększenia | fałszywy | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| Pozycja zależna | fałszywy | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/pl/docs/v2/tools/index.md b/docs/src/content/docs/pl/docs/v2/tools/index.md
index 8f9ef011d49d..0fa50b3b25e5 100644
--- a/docs/src/content/docs/pl/docs/v2/tools/index.md
+++ b/docs/src/content/docs/pl/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ Jeśli klikniesz na wybrane narzędzie możesz go skonfigurować.
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/pl/docs/v2/tools/pen.md b/docs/src/content/docs/pl/docs/v2/tools/pen.md
index 3f8331dc7471..970b852a0a6f 100644
--- a/docs/src/content/docs/pl/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/pl/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -54,12 +56,12 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
| Własność | Domyślny | Opis |
| ----------------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| Kolor | Czarny | Kolor który zostanie narysowany |
-| Szerokość skoku | 5 | Szerokość obrysu |
| Zależny od powiększenia | fałszywy | To zmieni szerokość uderzenia w zależności od poziomu powiększenia. |
+| Połącz ścieżki | fałszywy | This will merge all strokes it touches into one path |
| Wykrywanie kształtu | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| Szerokość skoku | 5 | Szerokość obrysu |
| Miażdżenie | 0.4 | This effect of pressure on the stroke size |
| Wygładzanie | 0.5 | This will smooth the edges of the stroke. |
-| Streamline | 0.5 | How much the pen will follow the movement of the mouse. |
-| Kolor | Czarny | Kolor który zostanie narysowany |
-| Wypełnij | Przezroczysty | The color that will be drawn inside the shape |
+| Streamline | 0.3 | How much the pen will follow the movement of the mouse. |
+| Kolor | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| Wypełnij | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/pl/docs/v2/tools/polygon.md b/docs/src/content/docs/pl/docs/v2/tools/polygon.md
deleted file mode 100644
index cb7030f53f02..000000000000
--- a/docs/src/content/docs/pl/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Konfiguracja
-
-| Własność | Domyślny | Opis |
-| ---------------: | :-----------: | :--------------------------------------------------------------- |
-| Szerokość obrysu | 5 | Szerokość obrysu |
-| Kolor | Czarny | Kolor który zostanie narysowany |
-| Wypełnij | Przezroczysty | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/pl/docs/v2/tools/polygon.mdx b/docs/src/content/docs/pl/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..1bfd1d978d89
--- /dev/null
+++ b/docs/src/content/docs/pl/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Konfiguracja
+
+| Własność | Domyślny | Opis |
+| ---------------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| Szerokość obrysu | 5 | Szerokość obrysu |
+| Kolor | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| Wypełnij | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/pl/docs/v2/tools/redo.md b/docs/src/content/docs/pl/docs/v2/tools/redo.md
index 5a44af7906d4..de44e24ca619 100644
--- a/docs/src/content/docs/pl/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/pl/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-Nie możesz go wybrać i uruchomi akcję, jeśli klikniesz na nią.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/pl/docs/v2/tools/select.md b/docs/src/content/docs/pl/docs/v2/tools/select.md
index 8641c2b19ecc..0ba4e5abd401 100644
--- a/docs/src/content/docs/pl/docs/v2/tools/select.md
+++ b/docs/src/content/docs/pl/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Konfiguracja
-| Własność | Domyślny | Opis |
-| -------: | :-------: | :--------------------------------------------------------------- |
-| Mode | Prostokąt | Mode of selection. Valid are Rectangle and Lasso |
+| Własność | Domyślny | Opis |
+| -------: | :------------: | :--------------------------------------------------------------- |
+| Mode | Prostokąt | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | Opis |
+| -------------------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Wybierz podczas dotykania krawędzi | The shape will be selected when the selected area intersects any edge. |
+| Zaznacz podczas dotykania gdziekolwiek | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/pl/docs/v2/tools/shape.md b/docs/src/content/docs/pl/docs/v2/tools/shape.md
index 8eb9e1959cfc..d02de807f32b 100644
--- a/docs/src/content/docs/pl/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/pl/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Konfiguracja
-| Własność | Domyślny | Opis |
-| ----------------------: | :-------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Kolor | Czarny | The stroke color that will be drawn |
-| Szerokość skoku | 5 | Szerokość obrysu |
-| Styl obrysu | Solid | The style of the stroke. Other styles can use dash and gap lengths. |
-| Długość kreski | 1 | The length of the dash when using a non-solid stroke style |
-| Długość odstępu | 1 | The length of the gap when using a non-solid stroke style |
-| Zależny od powiększenia | fałszywy | To zmieni szerokość uderzenia w zależności od poziomu powiększenia. |
-| Kształt | Prostokąt | Kształt, który zostanie narysowany |
-| Width | 0 | Własność Jeśli ustawione na 0, szerokość zostanie obliczona automatycznie. |
-| Wysokość | 0 | Stała wysokość obszaru. Jeśli ustawione na 0, wysokość zostanie obliczona automatycznie. |
-| Współczynnik proporcji | 0 | Stała szerokość obszaru. Jeśli ustawione na 0, współczynnik proporcji zostanie obliczony automatycznie. An aspect ratio is defined as width / height. |
-| Środkowy | fałszywy | Draws the shape from the center instead of from the corner. |
-
-### Typy kształtu
-
-#### Prostokąt
-
-| Własność | Domyślny | Opis |
-| ------------: | :-----------: | :--------------------------------------------------- |
-| Wypełnij | Przezroczysty | Kolor, który zostanie narysowany wewnątrz prostokąta |
-| Corner radius | 0, 0, 0, 0 | Promień narożników prostokąta |
-
-#### Trójkąt
-
-| Własność | Domyślny | Opis |
-| -------: | :-----------: | :----------------------------------------------- |
-| Wypełnij | Przezroczysty | The color that will be drawn inside the triangle |
-
-#### Okręg
-
-| Własność | Domyślny | Opis |
-| -------: | :-----------: | :--------------------------------------------- |
-| Wypełnij | Przezroczysty | The color that will be drawn inside the circle |
-
-#### Linia
-
-_Brak dostępnej konfiguracji._
+| Własność | Domyślny | Opis |
+| ----------------------: | :------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Środkowy | fałszywy | Draws the shape from the center instead of from the corner. |
+| Width | 0 | Własność Jeśli ustawione na 0, szerokość zostanie obliczona automatycznie. |
+| Wysokość | 0 | Stała wysokość obszaru. Jeśli ustawione na 0, wysokość zostanie obliczona automatycznie. |
+| Współczynnik proporcji | 0 | Stała szerokość obszaru. Jeśli ustawione na 0, współczynnik proporcji zostanie obliczony automatycznie. An aspect ratio is defined as width / height. |
+| Szerokość skoku | 5 | Szerokość obrysu |
+| Styl obrysu | Solid | The style of the stroke. Other styles can use dash and gap lengths. |
+| Długość kreski | 1 | The length of the dash when using a non-solid stroke style |
+| Długość odstępu | 1 | The length of the gap when using a non-solid stroke style |
+| Kolor | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| Kształt | Prostokąt | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| Corner radius | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| Wypełnij | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| Zależny od powiększenia | fałszywy | To zmieni szerokość uderzenia w zależności od poziomu powiększenia. |
\ No newline at end of file
diff --git a/docs/src/content/docs/pl/docs/v2/tools/texture.md b/docs/src/content/docs/pl/docs/v2/tools/texture.md
index ed7f124ed957..a8dcc2af358a 100644
--- a/docs/src/content/docs/pl/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/pl/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: Tekstura
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Konfiguracja
-| Własność | Domyślny | Opis |
-| ----------------------: | :------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| Zależny od powiększenia | fałszywy | To zmieni szerokość uderzenia w zależności od poziomu powiększenia. |
-| Tekstura | Wzorzec | The pattern that should be added. |
-| Width | 0 | Stała szerokość obszaru. If set to `0`, the width will be calculated automatically. |
-| Wysokość | 0 | Stała wysokość obszaru. If set to `0`, the height will be calculated automatically. |
-| Współczynnik proporcji | 0 | Ustalony współczynnik kształtu obszaru. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Własność | Opis |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| Tekstura | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/pl/docs/v2/tools/undo.md b/docs/src/content/docs/pl/docs/v2/tools/undo.md
index 5187c8503d73..18fdbd192064 100644
--- a/docs/src/content/docs/pl/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/pl/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-Nie możesz go wybrać i uruchomi akcję, jeśli klikniesz na nią.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/pl/docs/v2/utilities.md b/docs/src/content/docs/pl/docs/v2/utilities.md
index 25a3f80d418e..b60c2feabde0 100644
--- a/docs/src/content/docs/pl/docs/v2/utilities.md
+++ b/docs/src/content/docs/pl/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## Aparat
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/pt-br/community/embed.md b/docs/src/content/docs/pt-br/community/embed.md
index a9f77c8341b3..20612eaa4f61 100644
--- a/docs/src/content/docs/pt-br/community/embed.md
+++ b/docs/src/content/docs/pt-br/community/embed.md
@@ -22,6 +22,7 @@ Adicione o seguinte código ao seu site:
| save | Boolean (true, false) | true | Habilitar salvamento. Se desativado, somente um botão de saída será mostrado |
| editable | | true | Habilitar edição. Se desativado, o documento será somente leitura |
| language | String (..., sistema, usuário) | user | Idioma do documento. Se o sistema, o idioma será detectado do navegador. Se o usuário, o idioma será ajustado para as preferências de usuários |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/pt-br/docs/v2/add.md b/docs/src/content/docs/pt-br/docs/v2/add.md
index f9ee1cd3e01c..f3cbde9a46d4 100644
--- a/docs/src/content/docs/pt-br/docs/v2/add.md
+++ b/docs/src/content/docs/pt-br/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## Importação
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## Ferramentas
To add tools to your toolbar, click them.
Leia mais sobre eles [aqui](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/pt-br/docs/v2/background.mdx b/docs/src/content/docs/pt-br/docs/v2/background.mdx
index 02254928b9cc..27887af0d58a 100644
--- a/docs/src/content/docs/pt-br/docs/v2/background.mdx
+++ b/docs/src/content/docs/pt-br/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/pt-br/docs/v2/intro.mdx b/docs/src/content/docs/pt-br/docs/v2/intro.mdx
index f0233bf2ba26..80aa5190e9d2 100644
--- a/docs/src/content/docs/pt-br/docs/v2/intro.mdx
+++ b/docs/src/content/docs/pt-br/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/pt-br/docs/v2/layers.md b/docs/src/content/docs/pt-br/docs/v2/layers.md
index 305a6d8c3778..bea0ec1ccb70 100644
--- a/docs/src/content/docs/pt-br/docs/v2/layers.md
+++ b/docs/src/content/docs/pt-br/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: Camadas
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Aqui você pode ver todas as camadas no projeto. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Aqui você pode ver todas as camadas no projeto. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Alternativa | Descrição |
+| -----------------: | --------------------------------------------------------------------------------- |
+| Trazer para frente | Renders the selection on top of the first element in front of it. |
+| Enviar para trás | Renders the selection under the first element behind it. |
+| Trazer para frente | Renders the selection in front of everything else. |
+| Enviar para trás | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/pt-br/docs/v2/pack.md b/docs/src/content/docs/pt-br/docs/v2/pack.md
index 7ee4730cafb5..69ffc8ef9673 100644
--- a/docs/src/content/docs/pt-br/docs/v2/pack.md
+++ b/docs/src/content/docs/pt-br/docs/v2/pack.md
@@ -21,7 +21,7 @@ Componentes são uma maneira de salvar elementos que você usa com frequência.
Use o navegador de componentes para usar componentes em suas anotações.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## Palettes
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/pt-br/docs/v2/shortcuts.md b/docs/src/content/docs/pt-br/docs/v2/shortcuts.md
index bc663480e7f4..ea02e8d0912d 100644
--- a/docs/src/content/docs/pt-br/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/pt-br/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: Atalhos
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## Mouse
+
+### Mouse configurations
+
+| Propriedade | Padrão | Descrição |
+| -------------------------------: | :----: | :------------------------------------------------------------------------------------------------- |
+| Ocultar cursor durante o desenho | true | Oculta o ponteiro do mouse enquanto você desenha, então ele não cobre seu traçado. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## Toque
+
+### Touch configurations
+
+| Propriedade | Padrão | Descrição |
+| ----------------: | :----: | :-------------------------------------------------------------------------------------------------------------- |
+| Gestos de entrada | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| Mover para gesto | true | Permite que os gestos de vários toque movam a tela em vez de interagir com o conteúdo de notas. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## Keyboard
-Existem alguns atalhos que você pode usar no editor.
-Alguns deles estão escritos abaixo dos botões.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### Gerais
@@ -14,44 +135,63 @@ Alguns deles estão escritos abaixo dos botões.
- `Ctrl` + `E`: Exportar arquivo
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `Shift` + `E`: Export file as pdf
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `S`: Abra as configurações
- `Ctrl` + `Alt` + `P`: Abrir pacotes
+- `Escape`: Escape
### Projecto
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Desfazer
- `Ctrl` + `Y`: Refazer
-- `Ctrl` + `Shift` + `P`: Abrir diálogo de waypoints
- `Ctrl` + `B`: Abrir diálogo em segundo plano
- `Ctrl` + `S`: Salvar
- `Alt` + `S`: Mudar caminho
-- `Ctrl` + (`1` - `0`): Mude para a ferramenta
- `Ctrl` + `+`: Zoom para
- `Ctrl` + `-`: Zoom para fora
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Mude para a ferramenta
## Caneta
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Pen`: configurado como caneta.
-- `Primeiro` (botão principal, se suportado): Mude a ferramenta enquanto pressionado.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Propriedade | Values | Descrição |
+| -------------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| Entrada somente por caneta | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Mostrar somente a caneta | true, false | Exibe uma chave de caneta rápida no editor após a Butterfly detectar uma caneta. |
+| Ignorar pressão | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/pt-br/docs/v2/storage.md b/docs/src/content/docs/pt-br/docs/v2/storage.md
index 5f9683ca710a..936e706cf79c 100644
--- a/docs/src/content/docs/pt-br/docs/v2/storage.md
+++ b/docs/src/content/docs/pt-br/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## Diretório de dados
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ Você também pode alterá-lo nas configurações em `Data`.
Neste diretório você encontrará uma pasta `Documents`, `Templates` e `Packs`.
-## Web
+## Web {#web}
Os dados do aplicativo são armazenados no seu navegador. Ele é armazenado em um armazenamento local.
Abra as ferramentas de desenvolvedor no seu navegador e você verá os dados.
@@ -39,7 +39,59 @@ Adicione a URL do servidor remoto e o nome de usuário e senha. Depois disso, vo
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (deve se parecer com isto: `https://nextcloud.example.com/remote.php/dav/files/username/`, substitua `username` e `nextcloud.example.com` com os valores corretos)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Sincronização off-line {#offline}
@@ -48,7 +100,6 @@ Abra o menu pop-up em um arquivo ou pasta e clique em `Sincronizar`. Isto irá b
Existem algumas limitações:
-- Você só pode sincronizar o nível superior de um diretório. Por exemplo, se você tiver um diretório `a/b/test.bfly`, esse arquivo não será sincronizado.
- Não é possível excluir um arquivo ou pasta enquanto você está offline.
- Você não pode adicionar, editar ou excluir modelos enquanto estiver offline.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/pt-br/docs/v2/tools/area.md b/docs/src/content/docs/pt-br/docs/v2/tools/area.md
index bfc8228d3e29..40546686e508 100644
--- a/docs/src/content/docs/pt-br/docs/v2/tools/area.md
+++ b/docs/src/content/docs/pt-br/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Configuração
-| Propriedade | Padrão | Descrição |
-| ------------------: | :----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Largura | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| Altura | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| Proporção da imagem | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| Propriedade | Padrão | Descrição |
+| ------------------: | :----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Pergunte o nome | Falso | Whether a name prompt will appear before creation. |
+| Predefinições | none | Various presets for width and height. |
+| Largura | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| Altura | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| Proporção da imagem | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
Existem três predefinições da relação de aspectos:
- Quadrado (1:1)
-- Retrato da página (sqrt(2)) - Esta é a proporção padrão de proporção de uma página A4 no modo retrato.
-- Paisagem da página (1/sqrt(2)) - Essa é a proporção padrão de aspecto de uma página A4 em modo paisagem.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/pt-br/docs/v2/tools/collection.md b/docs/src/content/docs/pt-br/docs/v2/tools/collection.md
deleted file mode 100644
index 89ad85683138..000000000000
--- a/docs/src/content/docs/pt-br/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-Você não pode selecioná-lo e ele executará a ação se você clicar nela.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/pt-br/docs/v2/tools/collection.mdx b/docs/src/content/docs/pt-br/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/pt-br/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/pt-br/docs/v2/tools/eraser.md b/docs/src/content/docs/pt-br/docs/v2/tools/eraser.md
index 80b4acbeba36..f7eb1675ed2d 100644
--- a/docs/src/content/docs/pt-br/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/pt-br/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ Com esta ferramenta, você pode apagar elementos do papel.
## Configuração
-| Propriedade | Padrão | Descrição |
-| ---------------------: | :----: | :----------------------------------------------------------------------------------- |
-| Espessura do traço | 5 | A largura do traço |
-| Multiplicador de traço | 1 | Se você tem uma caneta digital, este é o multiplicador que será adicionado à pressão |
+| Propriedade | Padrão | Descrição |
+| ------------------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| Espessura do traço | 5 | A largura do traço |
+| Apagar formas | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Apagar todos os elementos | Falso | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | Descrição |
+| ------------------------------------: | :------------------------------------------------------------------------------------------ |
+| Não apagar formas | The eraser will not interact with shapes. |
+| Apagar ao tocar as bordas | The shape will be erased when the eraser touches any edge. |
+| Apagar quando tocar em qualquer lugar | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/pt-br/docs/v2/tools/full_screen.md b/docs/src/content/docs/pt-br/docs/v2/tools/full_screen.md
index 929a4b9940f5..e19718f8ff44 100644
--- a/docs/src/content/docs/pt-br/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/pt-br/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-Você não pode selecioná-lo e ele executará a ação se você clicar nela.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/pt-br/docs/v2/tools/grid.md b/docs/src/content/docs/pt-br/docs/v2/tools/grid.md
index 08d5df1e901f..3bf7373a9264 100644
--- a/docs/src/content/docs/pt-br/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/pt-br/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| Tamanho | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| Cor | Preto | The color of the grid. |
+| Transparência | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| Dependendo do zoom | Falso | Changes the grid stroke width based on the zoom level. |
+| Dependendo do zoom | Falso | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| dependente da posição | Falso | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/pt-br/docs/v2/tools/index.md b/docs/src/content/docs/pt-br/docs/v2/tools/index.md
index 1a9bb11985aa..635b2332a1ef 100644
--- a/docs/src/content/docs/pt-br/docs/v2/tools/index.md
+++ b/docs/src/content/docs/pt-br/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ Se você clicar em uma ferramenta selecionada, você pode configurá-la.
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/pt-br/docs/v2/tools/pen.md b/docs/src/content/docs/pt-br/docs/v2/tools/pen.md
index fb6e3e1e22d6..967161734eab 100644
--- a/docs/src/content/docs/pt-br/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/pt-br/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -54,12 +56,12 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
| Propriedade | Padrão | Descrição |
| -----------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| Cor | Preto | A cor que será desenhada |
-| Espessura do traço | 5 | A largura do traço |
| Dependendo do zoom | Falso | Isto mudará a largura do traço com base no nível de zoom. |
+| Combinar caminhos | Falso | This will merge all strokes it touches into one path |
| Detecção de forma | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| Espessura do traço | 5 | A largura do traço |
| Diluição | 0.4 | This effect of pressure on the stroke size |
| Suavização | 0.5 | This will smooth the edges of the stroke. |
-| Simplificar | 0.5 | How much the pen will follow the movement of the mouse. |
-| Cor | Preto | A cor que será desenhada |
-| Preencher | Transparente | The color that will be drawn inside the shape |
+| Simplificar | 0.3 | How much the pen will follow the movement of the mouse. |
+| Cor | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| Preencher | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/pt-br/docs/v2/tools/polygon.md b/docs/src/content/docs/pt-br/docs/v2/tools/polygon.md
deleted file mode 100644
index c8f339d15025..000000000000
--- a/docs/src/content/docs/pt-br/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Configuração
-
-| Propriedade | Padrão | Descrição |
-| -----------------: | :----------: | :--------------------------------------------------------------- |
-| Espessura do traço | 5 | A largura do traço |
-| Cor | Preto | A cor que será desenhada |
-| Preencher | Transparente | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/pt-br/docs/v2/tools/polygon.mdx b/docs/src/content/docs/pt-br/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..8a0a542efd7c
--- /dev/null
+++ b/docs/src/content/docs/pt-br/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Configuração
+
+| Propriedade | Padrão | Descrição |
+| -----------------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| Espessura do traço | 5 | A largura do traço |
+| Cor | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| Preencher | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/pt-br/docs/v2/tools/redo.md b/docs/src/content/docs/pt-br/docs/v2/tools/redo.md
index 5e27f85b1403..de44e24ca619 100644
--- a/docs/src/content/docs/pt-br/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/pt-br/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-Você não pode selecioná-lo e ele executará a ação se você clicar nela.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/pt-br/docs/v2/tools/select.md b/docs/src/content/docs/pt-br/docs/v2/tools/select.md
index b6652282c5e0..7b45b292bf62 100644
--- a/docs/src/content/docs/pt-br/docs/v2/tools/select.md
+++ b/docs/src/content/docs/pt-br/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Configuração
-| Propriedade | Padrão | Descrição |
-| ----------: | :-------: | :--------------------------------------------------------------- |
-| Mode | Retângulo | Mode of selection. Valid are Rectangle and Lasso |
+| Propriedade | Padrão | Descrição |
+| ----------: | :------------: | :--------------------------------------------------------------- |
+| Mode | Retângulo | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | Descrição |
+| -----------------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Selecionar ao tocar as bordas | The shape will be selected when the selected area intersects any edge. |
+| Selecione ao tocar em qualquer lugar | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/pt-br/docs/v2/tools/shape.md b/docs/src/content/docs/pt-br/docs/v2/tools/shape.md
index 2b38f27c5fe1..0476b0ac9350 100644
--- a/docs/src/content/docs/pt-br/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/pt-br/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Configuração
-| Propriedade | Padrão | Descrição |
-| --------------------: | :-------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Cor | Preto | The stroke color that will be drawn |
-| Espessura do traço | 5 | A largura do traço |
-| Estilo de traço | Sólido | The style of the stroke. Other styles can use dash and gap lengths. |
-| Comprimento do Traço | 1 | The length of the dash when using a non-solid stroke style |
-| Comprimento da lacuna | 1 | The length of the gap when using a non-solid stroke style |
-| Dependendo do zoom | Falso | Isto mudará a largura do traço com base no nível de zoom. |
-| Forma | Retângulo | A forma que será desenhada |
-| Largura | 0 | Raio das bordas Se definido como 0, a largura será calculada automaticamente. |
-| Altura | 0 | A altura fixa da área. Se definido como 0, a altura será calculada automaticamente. |
-| Proporção da imagem | 0 | O rácio de aspecto fixo da área. Se definido para 0, a proporção será calculada automaticamente. An aspect ratio is defined as width / height. |
-| Centralizar | Falso | Draws the shape from the center instead of from the corner. |
-
-### Tipos de formas
-
-#### Retângulo
-
-| Propriedade | Padrão | Descrição |
-| ----------: | :----------: | :------------------------------------------- |
-| Preencher | Transparente | A cor que será desenhada dentro do retângulo |
-| Preencher | 0, 0, 0, 0 | O raio dos cantos do retângulo |
-
-#### Triângulo
-
-| Propriedade | Padrão | Descrição |
-| ----------: | :----------: | :----------------------------------------------- |
-| Preencher | Transparente | The color that will be drawn inside the triangle |
-
-#### Círculo
-
-| Propriedade | Padrão | Descrição |
-| ----------: | :----------: | :--------------------------------------------- |
-| Preencher | Transparente | The color that will be drawn inside the circle |
-
-#### Linha
-
-_Nenhuma configuração disponível._
+| Propriedade | Padrão | Descrição |
+| --------------------: | :------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Centralizar | Falso | Draws the shape from the center instead of from the corner. |
+| Largura | 0 | Raio das bordas Se definido como 0, a largura será calculada automaticamente. |
+| Altura | 0 | A altura fixa da área. Se definido como 0, a altura será calculada automaticamente. |
+| Proporção da imagem | 0 | O rácio de aspecto fixo da área. Se definido para 0, a proporção será calculada automaticamente. An aspect ratio is defined as width / height. |
+| Espessura do traço | 5 | A largura do traço |
+| Estilo de traço | Sólido | The style of the stroke. Other styles can use dash and gap lengths. |
+| Comprimento do Traço | 1 | The length of the dash when using a non-solid stroke style |
+| Comprimento da lacuna | 1 | The length of the gap when using a non-solid stroke style |
+| Cor | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| Forma | Retângulo | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| Preencher | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| Preencher | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| Dependendo do zoom | Falso | Isto mudará a largura do traço com base no nível de zoom. |
\ No newline at end of file
diff --git a/docs/src/content/docs/pt-br/docs/v2/tools/texture.md b/docs/src/content/docs/pt-br/docs/v2/tools/texture.md
index faeb66011264..0ed4e0ae7796 100644
--- a/docs/src/content/docs/pt-br/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/pt-br/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: Textura
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Configuração
-| Propriedade | Padrão | Descrição |
-| ------------------: | :----: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Dependendo do zoom | Falso | Isto mudará a largura do traço com base no nível de zoom. |
-| Textura | Padrão | The pattern that should be added. |
-| Largura | 0 | A largura fixa da área. If set to `0`, the width will be calculated automatically. |
-| Altura | 0 | A altura fixa da área. If set to `0`, the height will be calculated automatically. |
-| Proporção da imagem | 0 | O rácio de aspecto fixo da área. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Propriedade | Descrição |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| Textura | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/pt-br/docs/v2/tools/undo.md b/docs/src/content/docs/pt-br/docs/v2/tools/undo.md
index e5bf6f1d7318..18fdbd192064 100644
--- a/docs/src/content/docs/pt-br/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/pt-br/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-Você não pode selecioná-lo e ele executará a ação se você clicar nela.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/pt-br/docs/v2/utilities.md b/docs/src/content/docs/pt-br/docs/v2/utilities.md
index 36e67a5bbdbd..8bcf8d4cf622 100644
--- a/docs/src/content/docs/pt-br/docs/v2/utilities.md
+++ b/docs/src/content/docs/pt-br/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## Câmera
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/pt/community/embed.md b/docs/src/content/docs/pt/community/embed.md
index 666f9a9baad8..dd66ffa167b4 100644
--- a/docs/src/content/docs/pt/community/embed.md
+++ b/docs/src/content/docs/pt/community/embed.md
@@ -22,6 +22,7 @@ Adicione o seguinte código ao seu site:
| guardar | Boolean (true, false) | true | Habilitar salvamento. Se desativado, somente um botão de saída será mostrado |
| editable | Boolean (true, false) | true | Habilitar edição. Se desativado, o documento será somente leitura |
| iDIOMA | String (..., sistema, usuário) | user | Idioma do documento. Se o sistema, o idioma será detectado do navegador. Se o usuário, o idioma será ajustado para as preferências de usuários |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/pt/docs/v2/add.md b/docs/src/content/docs/pt/docs/v2/add.md
index da8a8eb189da..afd187e1f24a 100644
--- a/docs/src/content/docs/pt/docs/v2/add.md
+++ b/docs/src/content/docs/pt/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## Importar
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## Ferramentas
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/pt/docs/v2/background.mdx b/docs/src/content/docs/pt/docs/v2/background.mdx
index 24e93d838725..5bb4653c9ef9 100644
--- a/docs/src/content/docs/pt/docs/v2/background.mdx
+++ b/docs/src/content/docs/pt/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/pt/docs/v2/intro.mdx b/docs/src/content/docs/pt/docs/v2/intro.mdx
index f0233bf2ba26..80aa5190e9d2 100644
--- a/docs/src/content/docs/pt/docs/v2/intro.mdx
+++ b/docs/src/content/docs/pt/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/pt/docs/v2/layers.md b/docs/src/content/docs/pt/docs/v2/layers.md
index 305a6d8c3778..bea0ec1ccb70 100644
--- a/docs/src/content/docs/pt/docs/v2/layers.md
+++ b/docs/src/content/docs/pt/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: Camadas
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Aqui você pode ver todas as camadas no projeto. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Aqui você pode ver todas as camadas no projeto. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Alternativa | Descrição |
+| -----------------: | --------------------------------------------------------------------------------- |
+| Trazer para frente | Renders the selection on top of the first element in front of it. |
+| Enviar para trás | Renders the selection under the first element behind it. |
+| Trazer para frente | Renders the selection in front of everything else. |
+| Enviar para trás | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/pt/docs/v2/pack.md b/docs/src/content/docs/pt/docs/v2/pack.md
index 8252b05da31e..e33535eb8740 100644
--- a/docs/src/content/docs/pt/docs/v2/pack.md
+++ b/docs/src/content/docs/pt/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## Palettes
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/pt/docs/v2/shortcuts.md b/docs/src/content/docs/pt/docs/v2/shortcuts.md
index 9d19f5c73948..29cda560e261 100644
--- a/docs/src/content/docs/pt/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/pt/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: Atalhos
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## Rato
+
+### Mouse configurations
+
+| Propriedade | Padrão | Descrição |
+| -------------------------------: | :----: | :------------------------------------------------------------------------------------------------- |
+| Ocultar cursor durante o desenho | true | Oculta o ponteiro do mouse enquanto você desenha, então ele não cobre seu traçado. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## Toque
+
+### Touch configurations
+
+| Propriedade | Padrão | Descrição |
+| ----------------: | :----: | :-------------------------------------------------------------------------------------------------------------- |
+| Gestos de Entrada | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| Mover para gesto | true | Permite que os gestos de vários toque movam a tela em vez de interagir com o conteúdo de notas. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## Teclado
-Existem alguns atalhos que você pode usar no editor.
-Alguns deles estão escritos abaixo dos botões.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### Geral
@@ -14,44 +135,63 @@ Alguns deles estão escritos abaixo dos botões.
- `Ctrl` + `E`: Exportar arquivo
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `Shift` + `E`: Export file as pdf
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `S`: Abra as configurações
- `Ctrl` + `Alt` + `P`: Abrir pacotes
+- `Escape`: Escape
### Projecto
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Desfazer
- `Ctrl` + `Y`: Refazer
-- `Ctrl` + `Shift` + `P`: Abrir diálogo de waypoints
- `Ctrl` + `B`: Abrir diálogo em segundo plano
- `Ctrl` + `S`: Salvar
- `Alt` + `S`: Mudar caminho
-- `Ctrl` + (`1` - `0`): Mude para a ferramenta
- `Ctrl` + `+`: Zoom para
- `Ctrl` + `-`: Zoom para fora
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Mude para a ferramenta
## Caneta
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Pen`: configurado como caneta.
-- `Primeiro` (botão principal, se suportado): Mude a ferramenta enquanto pressionado.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Propriedade | Values | Descrição |
+| -----------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| Entrada apenas de caneta | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Mostrar somente a caneta | true, false | Exibe uma chave de caneta rápida no editor após a Butterfly detectar uma caneta. |
+| Ignorar pressão | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/pt/docs/v2/storage.md b/docs/src/content/docs/pt/docs/v2/storage.md
index 58a05d6dd0f8..6d5eb6acb04e 100644
--- a/docs/src/content/docs/pt/docs/v2/storage.md
+++ b/docs/src/content/docs/pt/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## Diretório de dados
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ Você também pode alterá-lo nas configurações em `Data`.
Neste diretório você encontrará uma pasta `Documents`, `Templates` e `Packs`.
-## Web
+## Web {#web}
Os dados do aplicativo são armazenados no seu navegador. Ele é armazenado em um armazenamento local.
Abra as ferramentas de desenvolvedor no seu navegador e você verá os dados.
@@ -39,7 +39,59 @@ Adicione a URL do servidor remoto e o nome de usuário e senha. Depois disso, vo
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (deve se parecer com isto: `https://nextcloud.example.com/remote.php/dav/files/username/`, substitua `username` e `nextcloud.example.com` com os valores corretos)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Sincronização off-line {#offline}
@@ -48,7 +100,6 @@ Abra o menu pop-up em um arquivo ou pasta e clique em `Sincronizar`. Isto irá b
Existem algumas limitações:
-- Você só pode sincronizar o nível superior de um diretório. Por exemplo, se você tiver um diretório `a/b/test.bfly`, esse arquivo não será sincronizado.
- Não é possível excluir um arquivo ou pasta enquanto você está offline.
- Você não pode adicionar, editar ou excluir modelos enquanto estiver offline.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/pt/docs/v2/tools/area.md b/docs/src/content/docs/pt/docs/v2/tools/area.md
index e3ea43c3064d..f851d64e49c1 100644
--- a/docs/src/content/docs/pt/docs/v2/tools/area.md
+++ b/docs/src/content/docs/pt/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Configuração
-| Propriedade | Padrão | Descrição |
-| ------------------: | :----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Largura | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| Altura | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| Proporção da imagem | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| Propriedade | Padrão | Descrição |
+| ------------------: | :----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Pergunte o nome | Falso | Whether a name prompt will appear before creation. |
+| Predefinições | none | Various presets for width and height. |
+| Largura | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| Altura | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| Proporção da imagem | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
Existem três predefinições da relação de aspectos:
- Quadrado (1:1)
-- Retrato da página (sqrt(2)) - Esta é a proporção padrão de proporção de uma página A4 no modo retrato.
-- Paisagem da página (1/sqrt(2)) - Essa é a proporção padrão de aspecto de uma página A4 em modo paisagem.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/pt/docs/v2/tools/collection.md b/docs/src/content/docs/pt/docs/v2/tools/collection.md
deleted file mode 100644
index 89ad85683138..000000000000
--- a/docs/src/content/docs/pt/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-Você não pode selecioná-lo e ele executará a ação se você clicar nela.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/pt/docs/v2/tools/collection.mdx b/docs/src/content/docs/pt/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/pt/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/pt/docs/v2/tools/eraser.md b/docs/src/content/docs/pt/docs/v2/tools/eraser.md
index b81d1fbc9689..9645bb125fd6 100644
--- a/docs/src/content/docs/pt/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/pt/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## Configuração
-| Propriedade | Padrão | Descrição |
-| ---------------------: | :----: | :-------------------------------------------------------------------------- |
-| Largura do traço | 5 | A largura do traço |
-| Multiplicador de traço | 1 | Se você tem um estilo, este é o multiplicador que será adicionado à pressão |
+| Propriedade | Padrão | Descrição |
+| ------------------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| Largura do traço | 5 | A largura do traço |
+| Apagar formas | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Apagar todos os elementos | Falso | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | Descrição |
+| ------------------------------------: | :------------------------------------------------------------------------------------------ |
+| Não apagar formas | The eraser will not interact with shapes. |
+| Apagar ao tocar as bordas | The shape will be erased when the eraser touches any edge. |
+| Apagar quando tocar em qualquer lugar | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/pt/docs/v2/tools/full_screen.md b/docs/src/content/docs/pt/docs/v2/tools/full_screen.md
index 929a4b9940f5..e19718f8ff44 100644
--- a/docs/src/content/docs/pt/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/pt/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-Você não pode selecioná-lo e ele executará a ação se você clicar nela.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/pt/docs/v2/tools/grid.md b/docs/src/content/docs/pt/docs/v2/tools/grid.md
index 654b2a843fc0..af63564c73bb 100644
--- a/docs/src/content/docs/pt/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/pt/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| Tamanho | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| Cor | Preto | The color of the grid. |
+| Transparência | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| Dependente da ampliação | Falso | Changes the grid stroke width based on the zoom level. |
+| Dependente da ampliação | Falso | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| dependente da posição | Falso | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/pt/docs/v2/tools/index.md b/docs/src/content/docs/pt/docs/v2/tools/index.md
index 1a9bb11985aa..635b2332a1ef 100644
--- a/docs/src/content/docs/pt/docs/v2/tools/index.md
+++ b/docs/src/content/docs/pt/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ Se você clicar em uma ferramenta selecionada, você pode configurá-la.
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/pt/docs/v2/tools/pen.md b/docs/src/content/docs/pt/docs/v2/tools/pen.md
index 4e0a6fc60e2d..b53cd5516876 100644
--- a/docs/src/content/docs/pt/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/pt/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -54,12 +56,12 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
| Propriedade | Padrão | Descrição |
| ----------------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| Cor | Preto | A cor que será desenhada |
-| Largura do traço | 5 | A largura do traço |
| Dependente da ampliação | Falso | Isto mudará a largura do traço com base no nível de zoom. |
+| Combinar caminhos | Falso | This will merge all strokes it touches into one path |
| Deteção de forma | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| Largura do traço | 5 | A largura do traço |
| Espessura | 0.4 | This effect of pressure on the stroke size |
| Suavização | 0.5 | This will smooth the edges of the stroke. |
-| Simplificar | 0.5 | How much the pen will follow the movement of the mouse. |
-| Cor | Preto | A cor que será desenhada |
-| Preencher | Transparente | The color that will be drawn inside the shape |
+| Simplificar | 0.3 | How much the pen will follow the movement of the mouse. |
+| Cor | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| Preencher | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/pt/docs/v2/tools/polygon.md b/docs/src/content/docs/pt/docs/v2/tools/polygon.md
deleted file mode 100644
index 06f242b060ca..000000000000
--- a/docs/src/content/docs/pt/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Configuração
-
-| Propriedade | Padrão | Descrição |
-| ---------------: | :----------: | :--------------------------------------------------------------- |
-| Largura do traço | 5 | A largura do traço |
-| Cor | Preto | A cor que será desenhada |
-| Preencher | Transparente | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/pt/docs/v2/tools/polygon.mdx b/docs/src/content/docs/pt/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..2036d626885c
--- /dev/null
+++ b/docs/src/content/docs/pt/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Configuração
+
+| Propriedade | Padrão | Descrição |
+| ---------------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| Largura do traço | 5 | A largura do traço |
+| Cor | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| Preencher | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/pt/docs/v2/tools/redo.md b/docs/src/content/docs/pt/docs/v2/tools/redo.md
index 5e27f85b1403..de44e24ca619 100644
--- a/docs/src/content/docs/pt/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/pt/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-Você não pode selecioná-lo e ele executará a ação se você clicar nela.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/pt/docs/v2/tools/select.md b/docs/src/content/docs/pt/docs/v2/tools/select.md
index b6652282c5e0..7b45b292bf62 100644
--- a/docs/src/content/docs/pt/docs/v2/tools/select.md
+++ b/docs/src/content/docs/pt/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Configuração
-| Propriedade | Padrão | Descrição |
-| ----------: | :-------: | :--------------------------------------------------------------- |
-| Mode | Retângulo | Mode of selection. Valid are Rectangle and Lasso |
+| Propriedade | Padrão | Descrição |
+| ----------: | :------------: | :--------------------------------------------------------------- |
+| Mode | Retângulo | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | Descrição |
+| -----------------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Selecionar ao tocar as bordas | The shape will be selected when the selected area intersects any edge. |
+| Selecione ao tocar em qualquer lugar | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/pt/docs/v2/tools/shape.md b/docs/src/content/docs/pt/docs/v2/tools/shape.md
index e018c67c71de..cd0c04b3e027 100644
--- a/docs/src/content/docs/pt/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/pt/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Configuração
-| Propriedade | Padrão | Descrição |
-| ----------------------: | :-------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Cor | Preto | The stroke color that will be drawn |
-| Largura do traço | 5 | A largura do traço |
-| Estilo de traço | Sólido | The style of the stroke. Other styles can use dash and gap lengths. |
-| Comprimento do Traço | 1 | The length of the dash when using a non-solid stroke style |
-| Comprimento da lacuna | 1 | The length of the gap when using a non-solid stroke style |
-| Dependente da ampliação | Falso | Isto mudará a largura do traço com base no nível de zoom. |
-| Forma | Retângulo | A forma que será desenhada |
-| Largura | 0 | Cantos arredondados Se definido como 0, a largura será calculada automaticamente. |
-| Altura | 0 | A altura fixa da área. Se definido como 0, a altura será calculada automaticamente. |
-| Proporção da imagem | 0 | O rácio de aspecto fixo da área. Se definido para 0, a proporção será calculada automaticamente. An aspect ratio is defined as width / height. |
-| Centro | Falso | Draws the shape from the center instead of from the corner. |
-
-### Tipos de formas
-
-#### Retângulo
-
-| Propriedade | Padrão | Descrição |
-| ----------: | :----------: | :------------------------------------------- |
-| Preencher | Transparente | A cor que será desenhada dentro do retângulo |
-| Preencher | 0, 0, 0, 0 | O raio dos cantos do retângulo |
-
-#### Triângulo
-
-| Propriedade | Padrão | Descrição |
-| ----------: | :----------: | :----------------------------------------------- |
-| Preencher | Transparente | The color that will be drawn inside the triangle |
-
-#### Círculo
-
-| Propriedade | Padrão | Descrição |
-| ----------: | :----------: | :--------------------------------------------- |
-| Preencher | Transparente | The color that will be drawn inside the circle |
-
-#### Linha
-
-_Nenhuma configuração disponível._
+| Propriedade | Padrão | Descrição |
+| ----------------------: | :------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Centro | Falso | Draws the shape from the center instead of from the corner. |
+| Largura | 0 | Cantos arredondados Se definido como 0, a largura será calculada automaticamente. |
+| Altura | 0 | A altura fixa da área. Se definido como 0, a altura será calculada automaticamente. |
+| Proporção da imagem | 0 | O rácio de aspecto fixo da área. Se definido para 0, a proporção será calculada automaticamente. An aspect ratio is defined as width / height. |
+| Largura do traço | 5 | A largura do traço |
+| Estilo de traço | Sólido | The style of the stroke. Other styles can use dash and gap lengths. |
+| Comprimento do Traço | 1 | The length of the dash when using a non-solid stroke style |
+| Comprimento da lacuna | 1 | The length of the gap when using a non-solid stroke style |
+| Cor | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| Forma | Retângulo | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| Preencher | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| Preencher | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| Dependente da ampliação | Falso | Isto mudará a largura do traço com base no nível de zoom. |
\ No newline at end of file
diff --git a/docs/src/content/docs/pt/docs/v2/tools/texture.md b/docs/src/content/docs/pt/docs/v2/tools/texture.md
index 7a974d362396..0ed4e0ae7796 100644
--- a/docs/src/content/docs/pt/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/pt/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: Textura
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Configuração
-| Propriedade | Padrão | Descrição |
-| ----------------------: | :----: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Dependente da ampliação | Falso | Isto mudará a largura do traço com base no nível de zoom. |
-| Textura | Padrão | The pattern that should be added. |
-| Largura | 0 | A largura fixa da área. If set to `0`, the width will be calculated automatically. |
-| Altura | 0 | A altura fixa da área. If set to `0`, the height will be calculated automatically. |
-| Proporção da imagem | 0 | O rácio de aspecto fixo da área. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Propriedade | Descrição |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| Textura | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/pt/docs/v2/tools/undo.md b/docs/src/content/docs/pt/docs/v2/tools/undo.md
index e5bf6f1d7318..18fdbd192064 100644
--- a/docs/src/content/docs/pt/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/pt/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-Você não pode selecioná-lo e ele executará a ação se você clicar nela.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/pt/docs/v2/utilities.md b/docs/src/content/docs/pt/docs/v2/utilities.md
index db6f7dc4a5a8..672efde7226c 100644
--- a/docs/src/content/docs/pt/docs/v2/utilities.md
+++ b/docs/src/content/docs/pt/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## Câmara
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/ro/community/embed.md b/docs/src/content/docs/ro/community/embed.md
index 058eac4035b6..7e0a46b39fe9 100644
--- a/docs/src/content/docs/ro/community/embed.md
+++ b/docs/src/content/docs/ro/community/embed.md
@@ -22,6 +22,7 @@ Add the following code to your website:
| salvează | Boolean (true, false) | true | Enable save. If disabled, only an exit button will be shown |
| editable | Boolean (true, false) | true | Enable editing. If disabled, the document will be read-only |
| limba | Șir (..., sistem, utilizator) | user | Language of the document. If system, the language will be detected from the browser. If user, the language will set to the users preference |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/ro/docs/v2/add.md b/docs/src/content/docs/ro/docs/v2/add.md
index d1dfae52e6f3..d6d89e3170c9 100644
--- a/docs/src/content/docs/ro/docs/v2/add.md
+++ b/docs/src/content/docs/ro/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## Importă
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## Unelte
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/ro/docs/v2/background.mdx b/docs/src/content/docs/ro/docs/v2/background.mdx
index fe4bdadf89ff..3734e91ee2af 100644
--- a/docs/src/content/docs/ro/docs/v2/background.mdx
+++ b/docs/src/content/docs/ro/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/ro/docs/v2/intro.mdx b/docs/src/content/docs/ro/docs/v2/intro.mdx
index 5dd03454fe17..e4d95f650e19 100644
--- a/docs/src/content/docs/ro/docs/v2/intro.mdx
+++ b/docs/src/content/docs/ro/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/ro/docs/v2/layers.md b/docs/src/content/docs/ro/docs/v2/layers.md
index 8781f23f22c7..0b7ed03ac445 100644
--- a/docs/src/content/docs/ro/docs/v2/layers.md
+++ b/docs/src/content/docs/ro/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: Straturi
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Aici puteţi vedea toate straturile din proiect. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Aici puteţi vedea toate straturile din proiect. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Opţiune | Descriere |
+| -------------: | --------------------------------------------------------------------------------- |
+| Adu înainte | Renders the selection on top of the first element in front of it. |
+| Trimite înapoi | Renders the selection under the first element behind it. |
+| Aduce în față | Renders the selection in front of everything else. |
+| Trimite înapoi | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/ro/docs/v2/pack.md b/docs/src/content/docs/ro/docs/v2/pack.md
index 73823501718d..cf5e951002ff 100644
--- a/docs/src/content/docs/ro/docs/v2/pack.md
+++ b/docs/src/content/docs/ro/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## Palettes
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/ro/docs/v2/shortcuts.md b/docs/src/content/docs/ro/docs/v2/shortcuts.md
index 53106b4e1e79..0ffcf2e69c64 100644
--- a/docs/src/content/docs/ro/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/ro/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: Scurtături
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## Șoricel
+
+### Mouse configurations
+
+| Proprietate | Implicit | Descriere |
+| -----------------------------------: | :------: | :----------------------------------------------------------------------------------------------------- |
+| Ascunde cursorul în timpul desenării | true | Ascunde cursorul mouse-ului în timp ce desenezi, astfel încât să nu acopere șmecheria. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## Atingere
+
+### Touch configurations
+
+| Proprietate | Implicit | Descriere |
+| -------------: | :------: | :---------------------------------------------------------------------------------------------------------- |
+| Input gestures | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| Mută la gest | true | Lasă gesturi multi-touch să mute pânza în loc să interacționeze cu conținutul notei. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## Keyboard
-Există câteva comenzi rapide pe care le poți folosi în editor.
-Unele dintre ele sunt scrise sub butoane.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### Generalități
@@ -14,44 +135,63 @@ Unele dintre ele sunt scrise sub butoane.
- `Ctrl` + `E`: Export fişier
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `Shift` + `E`: Export file as pdf
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `S`: Deschideți setările
- `Ctrl` + `Alt` + `S`: Deschideți setările
+- `Escape`: Escape
### Proiect
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Undo
- `Ctrl` + `Y`: Redo
-- `Ctrl` + `Shift` + `P`: Deschide dialogul cu puncte
- `Ctrl` + `B`: Deschide dialogul de fundal
- `Ctrl` + `S`: Salvează
- `Alt` + `S`: Schimbă calea
-- `Ctrl` + (`1` - `0`): Comută la unealtă
- `Ctrl` + `+`: Zoom in
- `Ctrl` + `-`: Zoom out
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Comută la unealtă
## Stiloul
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Stilu`: configurat ca stilou injector (pen).
-- `First` (buton principal, dacă este suportat): Schimbă cu unealta de mână în timp ce este apăsată.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Proprietate | Values | Descriere |
+| ------------------------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| Numai introducerea stiloului injector | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Arată doar comutator pentru stilou | true, false | Afișează un buton doar rapid în editor după ce Butterfly detectează un stilou. |
+| Ignoră presiunea | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/ro/docs/v2/storage.md b/docs/src/content/docs/ro/docs/v2/storage.md
index 38f3f158b70e..2b5007ed9d72 100644
--- a/docs/src/content/docs/ro/docs/v2/storage.md
+++ b/docs/src/content/docs/ro/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## Director de date
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ De asemenea, îl puteţi schimba în setările din `Data`.
În acest director veţi găsi un folder `Documents`, `Templates` şi `Packs`.
-## Web
+## Web {#web}
Datele aplicației sunt stocate în browser-ul tău. Este stocat într-un spaţiu de stocare local.
Deschideți instrumentele de dezvoltare din browser și veți vedea datele.
@@ -39,7 +39,59 @@ Adăugați adresa URL a serverului remote și numele de utilizator și parola. D
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (ar trebui să arate astfel: `https://nextcloud.example.com/remote.php/dav/files/username/`, înlocuiți `username` și `nextcloud.example.com` cu valorile corecte)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Sincronizare offline {#offline}
@@ -48,7 +100,6 @@ Deschideți meniul popup pe un fișier sau folder și faceți clic pe `Sync`. Ac
Există câteva limitări:
-- Poți sincroniza doar nivelul de sus al unui director. De exemplu, dacă aveţi un director `a/b/test.bfly`, acest fişier nu va fi sincronizat.
- Nu puteți șterge un fișier sau un dosar în timp ce sunteți offline.
- Nu puteți adăuga, edita sau șterge șabloane în timp ce sunteți offline.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/ro/docs/v2/tools/area.md b/docs/src/content/docs/ro/docs/v2/tools/area.md
index aef12f7ba0e0..e0609f615dc1 100644
--- a/docs/src/content/docs/ro/docs/v2/tools/area.md
+++ b/docs/src/content/docs/ro/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Configurare
-| Proprietate | Implicit | Descriere |
-| ---------------: | :------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Width | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| Înălțime | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| Raport de aspect | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| Proprietate | Implicit | Descriere |
+| ---------------: | :------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Cere nume | fals | Whether a name prompt will appear before creation. |
+| Presetări | none | Various presets for width and height. |
+| Width | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| Înălțime | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| Raport de aspect | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
Există trei presetări ale raportului de aspect:
- Patrat (1:1)
-- Portret pagină (sqrt(2)) - Acesta este raportul de aspect implicit al unei pagini A4 în modul portret.
-- Peisaj pagină (1/sqrt(2)) - Acesta este raportul de aspect implicit al unei pagini A4 în modul peisaj.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/ro/docs/v2/tools/collection.md b/docs/src/content/docs/ro/docs/v2/tools/collection.md
deleted file mode 100644
index 741777a10204..000000000000
--- a/docs/src/content/docs/ro/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-Nu o puteți selecta și va rula acțiunea dacă faceți clic pe ea.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/ro/docs/v2/tools/collection.mdx b/docs/src/content/docs/ro/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/ro/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/ro/docs/v2/tools/eraser.md b/docs/src/content/docs/ro/docs/v2/tools/eraser.md
index 179701bd9e6d..d8384b07e1d2 100644
--- a/docs/src/content/docs/ro/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/ro/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## Configurare
-| Proprietate | Implicit | Descriere |
-| -----------------: | :------: | :---------------------------------------------------------------------------- |
-| Lățimea conturului | 5 | Lățimea conturului |
-| Multiplicator AVC | 1 | Dacă ai un stylus, acesta este multiplicatorul care va fi adăugat la presiune |
+| Proprietate | Implicit | Descriere |
+| ----------------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| Lățimea conturului | 5 | Lățimea conturului |
+| Șterge forme | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Şterge toate elementele | fals | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | Descriere |
+| -------------------------------: | :------------------------------------------------------------------------------------------ |
+| Nu șterge formele | The eraser will not interact with shapes. |
+| Ștergeți când atingeți marginile | The shape will be erased when the eraser touches any edge. |
+| Ștergeți când atingeți oriunde | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/ro/docs/v2/tools/full_screen.md b/docs/src/content/docs/ro/docs/v2/tools/full_screen.md
index e2b2591db25a..e19718f8ff44 100644
--- a/docs/src/content/docs/ro/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/ro/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-Nu o puteți selecta și va rula acțiunea dacă faceți clic pe ea.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/ro/docs/v2/tools/grid.md b/docs/src/content/docs/ro/docs/v2/tools/grid.md
index 37e0f2b0d198..99cdb9137d49 100644
--- a/docs/src/content/docs/ro/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/ro/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| Dimensiune | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| Culoare | Negru | The color of the grid. |
+| Alfa | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| Depinde de zoom | fals | Changes the grid stroke width based on the zoom level. |
+| Depinde de zoom | fals | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| Depinde de poziție | fals | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/ro/docs/v2/tools/index.md b/docs/src/content/docs/ro/docs/v2/tools/index.md
index c26ba055f9fa..6816da832f5e 100644
--- a/docs/src/content/docs/ro/docs/v2/tools/index.md
+++ b/docs/src/content/docs/ro/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ Dacă faceți clic pe o unealtă selectată, o puteți configura.
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/ro/docs/v2/tools/pen.md b/docs/src/content/docs/ro/docs/v2/tools/pen.md
index 5a26dcb147d7..08fda8815b52 100644
--- a/docs/src/content/docs/ro/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/ro/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -54,12 +56,12 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
| Proprietate | Implicit | Descriere |
| -----------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| Culoare | Negru | Culoarea care va fi desenată |
-| Lățimea conturului | 5 | Lățimea conturului |
| Depinde de zoom | fals | Aceasta va schimba lățimea conturului în funcție de nivelul de zoom. |
+| Combinați căile | fals | This will merge all strokes it touches into one path |
| Detectare Formă | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| Lățimea conturului | 5 | Lățimea conturului |
| Thinning | 0.4 | This effect of pressure on the stroke size |
| Amortizor | 0.5 | This will smooth the edges of the stroke. |
-| Raţionalizare | 0.5 | How much the pen will follow the movement of the mouse. |
-| Culoare | Negru | Culoarea care va fi desenată |
-| Completează | Transparență | The color that will be drawn inside the shape |
+| Raţionalizare | 0.3 | How much the pen will follow the movement of the mouse. |
+| Culoare | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| Completează | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/ro/docs/v2/tools/polygon.md b/docs/src/content/docs/ro/docs/v2/tools/polygon.md
deleted file mode 100644
index f200e9bb1968..000000000000
--- a/docs/src/content/docs/ro/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Configurare
-
-| Proprietate | Implicit | Descriere |
-| -----------------: | :----------: | :--------------------------------------------------------------- |
-| Lățimea conturului | 5 | Lățimea conturului |
-| Culoare | Negru | Culoarea care va fi desenată |
-| Completează | Transparență | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/ro/docs/v2/tools/polygon.mdx b/docs/src/content/docs/ro/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..047234084c40
--- /dev/null
+++ b/docs/src/content/docs/ro/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Configurare
+
+| Proprietate | Implicit | Descriere |
+| -----------------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| Lățimea conturului | 5 | Lățimea conturului |
+| Culoare | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| Completează | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/ro/docs/v2/tools/redo.md b/docs/src/content/docs/ro/docs/v2/tools/redo.md
index 887ebdf80e5b..de44e24ca619 100644
--- a/docs/src/content/docs/ro/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/ro/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-Nu o puteți selecta și va rula acțiunea dacă faceți clic pe ea.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/ro/docs/v2/tools/select.md b/docs/src/content/docs/ro/docs/v2/tools/select.md
index 2d308bbd258e..ed78b6b20a44 100644
--- a/docs/src/content/docs/ro/docs/v2/tools/select.md
+++ b/docs/src/content/docs/ro/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Configurare
-| Proprietate | Implicit | Descriere |
-| ----------: | :--------: | :--------------------------------------------------------------- |
-| Mode | Dreptunghi | Mode of selection. Valid are Rectangle and Lasso |
+| Proprietate | Implicit | Descriere |
+| ----------: | :------------: | :--------------------------------------------------------------- |
+| Mode | Dreptunghi | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | Descriere |
+| --------------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Selectați când atingeți marginile | The shape will be selected when the selected area intersects any edge. |
+| Selectați când atingeți oriunde | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/ro/docs/v2/tools/shape.md b/docs/src/content/docs/ro/docs/v2/tools/shape.md
index 34f8606555e8..7898e3ebd122 100644
--- a/docs/src/content/docs/ro/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/ro/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Configurare
-| Proprietate | Implicit | Descriere |
-| -------------------: | :--------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Culoare | Negru | The stroke color that will be drawn |
-| Lățimea conturului | 5 | Lățimea conturului |
-| Stil stâlp | Solid | The style of the stroke. Other styles can use dash and gap lengths. |
-| Lungime defrișare | 1 | The length of the dash when using a non-solid stroke style |
-| Lungimea decalajului | 1 | The length of the gap when using a non-solid stroke style |
-| Depinde de zoom | fals | Aceasta va schimba lățimea conturului în funcție de nivelul de zoom. |
-| Formă | Dreptunghi | Forma care va fi desenată |
-| Width | 0 | Lăţimea fixă a zonei. Dacă este setat la 0, lățimea va fi calculată automat. |
-| Înălțime | 0 | Înălţimea fixă a zonei. Dacă este setată la 0, înălțimea va fi calculată automat. |
-| Raport de aspect | 0 | Raportul de aspect fix al zonei. Dacă este setat la 0, raportul de aspect va fi calculat automat. An aspect ratio is defined as width / height. |
-| Centru | fals | Draws the shape from the center instead of from the corner. |
-
-### Tipuri de forme
-
-#### Dreptunghi
-
-| Proprietate | Implicit | Descriere |
-| ------------: | :----------: | :-------------------------------------------------------- |
-| Completează | Transparență | Culoarea care va fi desenată în interiorul dreptunghiului |
-| Corner radius | 0, 0, 0, 0 | Raza colțurilor dreptunghiului |
-
-#### Triunghi
-
-| Proprietate | Implicit | Descriere |
-| ----------: | :----------: | :----------------------------------------------- |
-| Completează | Transparență | The color that will be drawn inside the triangle |
-
-#### Cerc
-
-| Proprietate | Implicit | Descriere |
-| ----------: | :----------: | :--------------------------------------------- |
-| Completează | Transparență | The color that will be drawn inside the circle |
-
-#### Linie
-
-_Nici o configurare disponibilă._
+| Proprietate | Implicit | Descriere |
+| -------------------: | :------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Centru | fals | Draws the shape from the center instead of from the corner. |
+| Width | 0 | Lăţimea fixă a zonei. Dacă este setat la 0, lățimea va fi calculată automat. |
+| Înălțime | 0 | Înălţimea fixă a zonei. Dacă este setată la 0, înălțimea va fi calculată automat. |
+| Raport de aspect | 0 | Raportul de aspect fix al zonei. Dacă este setat la 0, raportul de aspect va fi calculat automat. An aspect ratio is defined as width / height. |
+| Lățimea conturului | 5 | Lățimea conturului |
+| Stil stâlp | Solid | The style of the stroke. Other styles can use dash and gap lengths. |
+| Lungime defrișare | 1 | The length of the dash when using a non-solid stroke style |
+| Lungimea decalajului | 1 | The length of the gap when using a non-solid stroke style |
+| Culoare | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| Formă | Dreptunghi | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| Corner radius | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| Completează | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| Depinde de zoom | fals | Aceasta va schimba lățimea conturului în funcție de nivelul de zoom. |
\ No newline at end of file
diff --git a/docs/src/content/docs/ro/docs/v2/tools/texture.md b/docs/src/content/docs/ro/docs/v2/tools/texture.md
index 215e5bf6f540..4aca21fb2616 100644
--- a/docs/src/content/docs/ro/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/ro/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: Textură
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Configurare
-| Proprietate | Implicit | Descriere |
-| ---------------: | :------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Depinde de zoom | fals | Aceasta va schimba lățimea conturului în funcție de nivelul de zoom. |
-| Textură | Model | The pattern that should be added. |
-| Width | 0 | Lăţimea fixă a zonei. If set to `0`, the width will be calculated automatically. |
-| Înălțime | 0 | Înălţimea fixă a zonei. If set to `0`, the height will be calculated automatically. |
-| Raport de aspect | 0 | Raportul de aspect fix al zonei. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Proprietate | Descriere |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| Textură | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/ro/docs/v2/tools/undo.md b/docs/src/content/docs/ro/docs/v2/tools/undo.md
index 54f4bbf79d5d..18fdbd192064 100644
--- a/docs/src/content/docs/ro/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/ro/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-Nu o puteți selecta și va rula acțiunea dacă faceți clic pe ea.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/ro/docs/v2/utilities.md b/docs/src/content/docs/ro/docs/v2/utilities.md
index d2a4acf43290..3bf8b44d5c90 100644
--- a/docs/src/content/docs/ro/docs/v2/utilities.md
+++ b/docs/src/content/docs/ro/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## Cameră
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/ru/community/embed.md b/docs/src/content/docs/ru/community/embed.md
index 39e39df55a17..863b80ba0364 100644
--- a/docs/src/content/docs/ru/community/embed.md
+++ b/docs/src/content/docs/ru/community/embed.md
@@ -22,6 +22,7 @@ title: Embed
| сохранить | Boolean (true, false) | true | Включить сохранение. Если отключено, будет показана только кнопка выхода |
| editable | Boolean (true, false) | true | Включить редактирование. Если отключено, документ будет доступен только для чтения |
| язык | Строка (..., система, пользователь) | user | Язык документа. Если система, то язык будет обнаружен из браузера. Если пользователь, язык будет установлен в предпочтение пользователей |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/ru/docs/v2/add.md b/docs/src/content/docs/ru/docs/v2/add.md
index 6151ca6b7c28..aec667d9ba01 100644
--- a/docs/src/content/docs/ru/docs/v2/add.md
+++ b/docs/src/content/docs/ru/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## Импорт
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## Инструменты
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/ru/docs/v2/background.mdx b/docs/src/content/docs/ru/docs/v2/background.mdx
index e3ae671b9c94..cbedcf121c1e 100644
--- a/docs/src/content/docs/ru/docs/v2/background.mdx
+++ b/docs/src/content/docs/ru/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/ru/docs/v2/intro.mdx b/docs/src/content/docs/ru/docs/v2/intro.mdx
index b7ed973faef5..18d56d622fd0 100644
--- a/docs/src/content/docs/ru/docs/v2/intro.mdx
+++ b/docs/src/content/docs/ru/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/ru/docs/v2/layers.md b/docs/src/content/docs/ru/docs/v2/layers.md
index c34692476f8c..266708cced29 100644
--- a/docs/src/content/docs/ru/docs/v2/layers.md
+++ b/docs/src/content/docs/ru/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: Слои
---
-Слои позволяют вам отделить элементы друг от друга и выбрать, какие слои будут отображены поверх других.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Здесь вы можете увидеть все слои в проекте. Для создания нового слоя, нажмите кнопку Создать. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Здесь вы можете увидеть все слои в проекте. Для создания нового слоя, нажмите кнопку Создать. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Вариант | Описание |
+| -----------------------: | --------------------------------------------------------------------------------- |
+| Перенос вперед | Renders the selection on top of the first element in front of it. |
+| Отправить назад | Renders the selection under the first element behind it. |
+| Вывести на передний план | Renders the selection in front of everything else. |
+| Отправить на задний план | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/ru/docs/v2/pack.md b/docs/src/content/docs/ru/docs/v2/pack.md
index 7e4177f9a7f3..e8f724d910e1 100644
--- a/docs/src/content/docs/ru/docs/v2/pack.md
+++ b/docs/src/content/docs/ru/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## Palettes
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/ru/docs/v2/shortcuts.md b/docs/src/content/docs/ru/docs/v2/shortcuts.md
index eafa5b4e1fee..933ffbd95849 100644
--- a/docs/src/content/docs/ru/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/ru/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: Ярлыки
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## Мышь
+
+### Mouse configurations
+
+| Свойства | По умолчанию | Описание |
+| -------------------------------: | :----------: | :------------------------------------------------------------------------------------------------- |
+| Скрыть курсор во время рисования | true | Скрывает указатель мыши при наведении курсора, так что он не охватывает ваш штрих. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## Прикосновение
+
+### Touch configurations
+
+| Свойства | По умолчанию | Описание |
+| ---------------: | :----------: | :------------------------------------------------------------------------------------------------------------ |
+| Жесты ввода | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| Переместить жест | true | Позволяет многокасательно жестов перемещать холст вместо взаимодействия с содержимым заметок. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## Клавиатура
-Есть несколько ярлыков, которые вы можете использовать в редакторе.
-Некоторые из них написаны под кнопками.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### Общие
@@ -14,44 +135,63 @@ title: Ярлыки
- `Ctrl` + `E`: Экспорт файла
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `Shift` + `E`: Export file as pdf
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `S`: Открыть настройки
- `Ctrl` + `Alt` + `P`: Открытые пакеты
+- `Escape`: Escape
### Проект
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Отменить
- `Ctrl` + `Y`: Повторить
-- `Ctrl` + `Shift` + `P`: Открыть диалог точек
- `Ctrl` + `B`: Открыть фоновое окно
- `Ctrl` + `S`: Сохранить
- `Alt` + `S`: Изменить путь
-- `Ctrl` + (`1` - `0`): Переключиться на инструмент
- `Ctrl` + `+`: Увеличить
- `Ctrl` + `-`: уменьшить масштаб
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Переключиться на инструмент
## Перо
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Pen`: сконфигурирован как pen.
-- `First` (основная кнопка, если поддерживается): Измените на инструмент вручную.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Свойства | Values | Описание |
+| -----------------------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| Только ввод ручки | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Показывать переключатель только пера | true, false | Показывает быстрый переключатель только ручки в редакторе после обнаружения Бабочки. |
+| Игнорировать давление | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/ru/docs/v2/storage.md b/docs/src/content/docs/ru/docs/v2/storage.md
index 6f1ab601bb9f..b5a023b91461 100644
--- a/docs/src/content/docs/ru/docs/v2/storage.md
+++ b/docs/src/content/docs/ru/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## Каталог данных
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ On desktop you can find it in `~/Documents/Linwood/Butterfly`.
В этом каталоге вы найдете папку `Documents`, `Templates` и `Packs`.
-## Веб
+## Web {#web}
Данные приложения хранятся в Вашем браузере. Он хранится в локальном хранилище.
Откройте инструменты разработчика в вашем браузере, и вы увидите данные.
@@ -39,7 +39,59 @@ The application data can be stored on a remote server. Это полезно, е
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (это должно выглядеть так: `https://nextcloud.example.com/remote.php/dav/files/username/`, заменить `username` и `nextcloud.example.com` верными значениями)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Автономная синхронизация {#offline}
@@ -48,7 +100,6 @@ To get the WebDAV URL, please visit the documentation:
Существует несколько ограничений:
-- Вы можете синхронизировать только верхний уровень каталога. Например, если у вас есть каталог `a/b/test.bfly`, этот файл не будет синхронизирован.
- Вы не можете удалить файл или папку, пока вы не в сети.
- Нельзя добавлять, редактировать или удалять шаблоны пока вы не в сети.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/ru/docs/v2/tools/area.md b/docs/src/content/docs/ru/docs/v2/tools/area.md
index e8bf7c3d2491..a8fa9f684b6c 100644
--- a/docs/src/content/docs/ru/docs/v2/tools/area.md
+++ b/docs/src/content/docs/ru/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Конфигурация
-| Свойства | По умолчанию | Описание |
-| -----------------: | :----------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Ширина | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| Высота | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| Соотношение сторон | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| Свойства | По умолчанию | Описание |
+| -----------------: | :----------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Запрашивать имя | ложь | Whether a name prompt will appear before creation. |
+| Пресеты | none | Various presets for width and height. |
+| Ширина | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| Высота | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| Соотношение сторон | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
Предустановки о соотношении трех частей:
- Квадрат (1:1)
-- Портрет страницы (sqrt(2)) - Соотношение сторон страницы A4 по умолчанию в портретном режиме.
-- Горизонтальный (1/sqrt(2)) - По умолчанию это соотношение сторон страницы A4 в ландшафтном режиме.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/ru/docs/v2/tools/collection.md b/docs/src/content/docs/ru/docs/v2/tools/collection.md
deleted file mode 100644
index 61030a86847c..000000000000
--- a/docs/src/content/docs/ru/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-Вы не можете выбрать его и действие будет выполнено, если вы нажмете на него.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/ru/docs/v2/tools/collection.mdx b/docs/src/content/docs/ru/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/ru/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/ru/docs/v2/tools/eraser.md b/docs/src/content/docs/ru/docs/v2/tools/eraser.md
index ff2388ea9837..0384c1c8ef0f 100644
--- a/docs/src/content/docs/ru/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/ru/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## Конфигурация
-| Свойства | По умолчанию | Описание |
-| ----------------: | :----------: | :---------------------------------------------------------------------------- |
-| Ширина штриха | 5 | Толщина линии |
-| Множитель штрихов | 1 | Если у вас есть стилус, это мультипликатор, который будет добавлен к давлению |
+| Свойства | По умолчанию | Описание |
+| -------------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| Ширина штриха | 5 | Толщина линии |
+| Удалить фигуры | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Удалить все элементы | ложь | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | Описание |
+| --------------------------------: | :------------------------------------------------------------------------------------------ |
+| Не стереть фигуры | The eraser will not interact with shapes. |
+| Стереть при касании краев | The shape will be erased when the eraser touches any edge. |
+| Стереть при касании в любом месте | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/ru/docs/v2/tools/full_screen.md b/docs/src/content/docs/ru/docs/v2/tools/full_screen.md
index 8b0e0e9f55ba..e19718f8ff44 100644
--- a/docs/src/content/docs/ru/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/ru/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-Вы не можете выбрать его и действие будет выполнено, если вы нажмете на него.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/ru/docs/v2/tools/grid.md b/docs/src/content/docs/ru/docs/v2/tools/grid.md
index 2e79621002b3..f02191f0ef77 100644
--- a/docs/src/content/docs/ru/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/ru/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| Размер | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| Цвет | Черный | The color of the grid. |
+| Прозрачность | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| Зависимость от масштаба | ложь | Changes the grid stroke width based on the zoom level. |
+| Зависимость от масштаба | ложь | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| Зависит от позиции | ложь | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/ru/docs/v2/tools/index.md b/docs/src/content/docs/ru/docs/v2/tools/index.md
index a903e2c92f35..f3f44e53f2b8 100644
--- a/docs/src/content/docs/ru/docs/v2/tools/index.md
+++ b/docs/src/content/docs/ru/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ Create a new tool by clicking on the plus icon. Change the tool order by draggin
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/ru/docs/v2/tools/pen.md b/docs/src/content/docs/ru/docs/v2/tools/pen.md
index 091652022215..cb67b4091940 100644
--- a/docs/src/content/docs/ru/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/ru/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -54,12 +56,12 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
| Свойства | По умолчанию | Описание |
| ----------------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| Цвет | Черный | Цвет нарисованного |
-| Ширина штриха | 5 | Толщина линии |
| Зависимость от масштаба | ложь | Это изменит ширину штриха в зависимости от масштаба масштаба. |
+| Комбинировать пути | ложь | This will merge all strokes it touches into one path |
| Обнаружение фигур | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| Ширина штриха | 5 | Толщина линии |
| Утончение | 0.4 | This effect of pressure on the stroke size |
| Сглаживание | 0.5 | This will smooth the edges of the stroke. |
-| Трансляция | 0.5 | How much the pen will follow the movement of the mouse. |
-| Цвет | Черный | Цвет нарисованного |
-| Заполнить | Прозрачный | The color that will be drawn inside the shape |
+| Трансляция | 0.3 | How much the pen will follow the movement of the mouse. |
+| Цвет | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| Заполнить | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/ru/docs/v2/tools/polygon.md b/docs/src/content/docs/ru/docs/v2/tools/polygon.md
deleted file mode 100644
index 7aba9ad90772..000000000000
--- a/docs/src/content/docs/ru/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Конфигурация
-
-| Свойства | По умолчанию | Описание |
-| ------------: | :----------: | :--------------------------------------------------------------- |
-| Толщина линии | 5 | Толщина линии |
-| Цвет | Черный | Цвет нарисованного |
-| Заполнить | Прозрачный | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/ru/docs/v2/tools/polygon.mdx b/docs/src/content/docs/ru/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..3bc2d9620c88
--- /dev/null
+++ b/docs/src/content/docs/ru/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Конфигурация
+
+| Свойства | По умолчанию | Описание |
+| ------------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| Толщина линии | 5 | Толщина линии |
+| Цвет | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| Заполнить | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/ru/docs/v2/tools/redo.md b/docs/src/content/docs/ru/docs/v2/tools/redo.md
index ee6bc773e9a8..de44e24ca619 100644
--- a/docs/src/content/docs/ru/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/ru/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-Вы не можете выбрать его и действие будет выполнено, если вы нажмете на него.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/ru/docs/v2/tools/select.md b/docs/src/content/docs/ru/docs/v2/tools/select.md
index 6f3700aa90bc..38f3f090c769 100644
--- a/docs/src/content/docs/ru/docs/v2/tools/select.md
+++ b/docs/src/content/docs/ru/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Конфигурация
-| Свойства | По умолчанию | Описание |
-| -------: | :-----------: | :--------------------------------------------------------------- |
-| Mode | Прямоугольник | Mode of selection. Valid are Rectangle and Lasso |
+| Свойства | По умолчанию | Описание |
+| -------: | :------------: | :--------------------------------------------------------------- |
+| Mode | Прямоугольник | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | Описание |
+| --------------------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Выделить при касании краев | The shape will be selected when the selected area intersects any edge. |
+| Выберите, когда касаетесь в любом месте | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/ru/docs/v2/tools/shape.md b/docs/src/content/docs/ru/docs/v2/tools/shape.md
index 24960b00bbed..4cfafc672ad8 100644
--- a/docs/src/content/docs/ru/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/ru/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Конфигурация
-| Свойства | По умолчанию | Описание |
-| ----------------------: | :-----------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Цвет | Черный | The stroke color that will be drawn |
-| Ширина штриха | 5 | Толщина линии |
-| Стиль обводки | Сплошной | The style of the stroke. Other styles can use dash and gap lengths. |
-| Длина тире | 1 | The length of the dash when using a non-solid stroke style |
-| Длина разрыва | 1 | The length of the gap when using a non-solid stroke style |
-| Зависимость от масштаба | ложь | Это изменит ширину штриха в зависимости от масштаба масштаба. |
-| Фигура | Прямоугольник | Форма, которая будет рисоваться |
-| Ширина | 0 | Соотношение сторон Если установлено значение 0, то ширина будет рассчитываться автоматически. |
-| Высота | 0 | Фиксированная высота участка. Если установлено значение 0, высота будет рассчитываться автоматически. |
-| Соотношение сторон | 0 | Фиксированное соотношение сторон участка. Если установлено значение 0, соотношение сторон будет рассчитываться автоматически. An aspect ratio is defined as width / height. |
-| По центру | ложь | Draws the shape from the center instead of from the corner. |
-
-### Типы форм
-
-#### Прямоугольник
-
-| Свойства | По умолчанию | Описание |
-| ----------------: | :----------: | :--------------------------------------------------- |
-| Заполнить | Прозрачный | Цвет, который будет рисоваться внутри прямоугольника |
-| Радиус скругления | 0, 0, 0, 0 | Радиус углов прямоугольника |
-
-#### Треугольник
-
-| Свойства | По умолчанию | Описание |
-| --------: | :----------: | :----------------------------------------------- |
-| Заполнить | Прозрачный | The color that will be drawn inside the triangle |
-
-#### Круг
-
-| Свойства | По умолчанию | Описание |
-| --------: | :----------: | :--------------------------------------------- |
-| Заполнить | Прозрачный | The color that will be drawn inside the circle |
-
-#### Линия
-
-_Конфигурация недоступна._
+| Свойства | По умолчанию | Описание |
+| ----------------------: | :------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| По центру | ложь | Draws the shape from the center instead of from the corner. |
+| Ширина | 0 | Соотношение сторон Если установлено значение 0, то ширина будет рассчитываться автоматически. |
+| Высота | 0 | Фиксированная высота участка. Если установлено значение 0, высота будет рассчитываться автоматически. |
+| Соотношение сторон | 0 | Фиксированное соотношение сторон участка. Если установлено значение 0, соотношение сторон будет рассчитываться автоматически. An aspect ratio is defined as width / height. |
+| Ширина штриха | 5 | Толщина линии |
+| Стиль обводки | Сплошной | The style of the stroke. Other styles can use dash and gap lengths. |
+| Длина тире | 1 | The length of the dash when using a non-solid stroke style |
+| Длина разрыва | 1 | The length of the gap when using a non-solid stroke style |
+| Цвет | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| Фигура | Прямоугольник | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| Радиус скругления | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| Заполнить | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| Зависимость от масштаба | ложь | Это изменит ширину штриха в зависимости от масштаба масштаба. |
\ No newline at end of file
diff --git a/docs/src/content/docs/ru/docs/v2/tools/texture.md b/docs/src/content/docs/ru/docs/v2/tools/texture.md
index 6395a15bce42..dfe27539c9b4 100644
--- a/docs/src/content/docs/ru/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/ru/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: Текстура
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Конфигурация
-| Свойства | По умолчанию | Описание |
-| ----------------------: | :----------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Зависимость от масштаба | ложь | Это изменит ширину штриха в зависимости от масштаба масштаба. |
-| Текстура | Шаблон | The pattern that should be added. |
-| Ширина | 0 | Фиксированная ширина области. If set to `0`, the width will be calculated automatically. |
-| Высота | 0 | Фиксированная высота участка. If set to `0`, the height will be calculated automatically. |
-| Соотношение сторон | 0 | Фиксированное соотношение сторон участка. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Свойства | Описание |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| Текстура | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/ru/docs/v2/tools/undo.md b/docs/src/content/docs/ru/docs/v2/tools/undo.md
index d490c28e1812..18fdbd192064 100644
--- a/docs/src/content/docs/ru/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/ru/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-Вы не можете выбрать его и действие будет выполнено, если вы нажмете на него.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/ru/docs/v2/utilities.md b/docs/src/content/docs/ru/docs/v2/utilities.md
index 37d06a52e586..b9c45c5588b4 100644
--- a/docs/src/content/docs/ru/docs/v2/utilities.md
+++ b/docs/src/content/docs/ru/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## Снимок
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/sr/community/embed.md b/docs/src/content/docs/sr/community/embed.md
index 3a23fb33b3ce..1ab728545699 100644
--- a/docs/src/content/docs/sr/community/embed.md
+++ b/docs/src/content/docs/sr/community/embed.md
@@ -22,6 +22,7 @@ Add the following code to your website:
| save | Boolean (true, false) | true | Enable save. If disabled, only an exit button will be shown |
| editable | Boolean (true, false) | true | Enable editing. If disabled, the document will be read-only |
| language | String (..., system, user) | user | Language of the document. If system, the language will be detected from the browser. If user, the language will set to the users preference |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/sr/docs/v2/add.md b/docs/src/content/docs/sr/docs/v2/add.md
index fd737b590380..3eec4592b515 100644
--- a/docs/src/content/docs/sr/docs/v2/add.md
+++ b/docs/src/content/docs/sr/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## Uvezi
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## Alati
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/sr/docs/v2/background.mdx b/docs/src/content/docs/sr/docs/v2/background.mdx
index f8be428f6085..040c2375e1a7 100644
--- a/docs/src/content/docs/sr/docs/v2/background.mdx
+++ b/docs/src/content/docs/sr/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/sr/docs/v2/intro.mdx b/docs/src/content/docs/sr/docs/v2/intro.mdx
index 16a3811538e7..2b019cb245e5 100644
--- a/docs/src/content/docs/sr/docs/v2/intro.mdx
+++ b/docs/src/content/docs/sr/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/sr/docs/v2/layers.md b/docs/src/content/docs/sr/docs/v2/layers.md
index 1d9934820377..ad06809cdd8c 100644
--- a/docs/src/content/docs/sr/docs/v2/layers.md
+++ b/docs/src/content/docs/sr/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: Slojevi
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Here you can see all the layers in the project. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Here you can see all the layers in the project. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Option | Opis |
+| ------------: | --------------------------------------------------------------------------------- |
+| Pomeri napred | Renders the selection on top of the first element in front of it. |
+| Pomeri nazad | Renders the selection under the first element behind it. |
+| Dovedi napred | Renders the selection in front of everything else. |
+| Pošalji nazad | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/sr/docs/v2/pack.md b/docs/src/content/docs/sr/docs/v2/pack.md
index 23bbc476a834..81de8fb92672 100644
--- a/docs/src/content/docs/sr/docs/v2/pack.md
+++ b/docs/src/content/docs/sr/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## Palete
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/sr/docs/v2/shortcuts.md b/docs/src/content/docs/sr/docs/v2/shortcuts.md
index 81ae1a5ae5d4..3da0c16883db 100644
--- a/docs/src/content/docs/sr/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/sr/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: Prečice
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## Miš
+
+### Mouse configurations
+
+| Property | Default | Opis |
+| --------------------------: | :-----: | :---------------------------------------------------------------------------------------- |
+| Sakrij kursor tokom crtanja | true | Hides the mouse pointer while you draw, so it does not cover your stroke. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## Dodir
+
+### Touch configurations
+
+| Property | Default | Opis |
+| ---------------: | :-----: | :---------------------------------------------------------------------------------------------------------- |
+| Pokreti unosa | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| Pomeri na pokret | true | Lets multi-touch gestures move the canvas instead of interacting with note content. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## Tastatura
-There are a few shortcuts that you can use in the editor.
-Some of them are written below the buttons.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### Opšte
@@ -14,44 +135,63 @@ Some of them are written below the buttons.
- `Ctrl` + `E`: Export file
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `E`: Export file as svg
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `P`: Open packs
- `Ctrl` + `Alt` + `S`: Open settings
+- `Escape`: Escape
### Project
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Undo
- `Ctrl` + `Y`: Redo
-- `Ctrl` + `Shift` + `P`: Open waypoints dialog
- `Ctrl` + `B`: Open background dialog
- `Ctrl` + `S`: Save
- `Alt` + `S`: Change path
-- `Ctrl` + (`1` - `0`): Switch to tool
- `Ctrl` + `+`: Zoom in
- `Ctrl` + `-`: Zoom out
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Switch to tool
## Olovka
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Pen`: configured as pen.
-- `First` (Primary button, if supported): Change to hand tool while pressed.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Property | Values | Opis |
+| -------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| Unos samo olovkom | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Show pen only toggle | true, false | Shows a quick pen-only switch in the editor after Butterfly detects a pen. |
+| Ignore pressure | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/sr/docs/v2/storage.md b/docs/src/content/docs/sr/docs/v2/storage.md
index 2f80341a9270..b06adc6af5dc 100644
--- a/docs/src/content/docs/sr/docs/v2/storage.md
+++ b/docs/src/content/docs/sr/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## Direktorijum sa podacima
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ You can also change it in the settings under `Data`.
In this directory you will find a folder `Documents`, `Templates` and `Packs`.
-## Web
+## Web {#web}
The application data is stored in your browser. It is stored in a local storage.
Open the developer tools in your browser and you will see the data.
@@ -39,7 +39,59 @@ Add the URL of the remote server and the username and password. After that you c
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Offline sync {#offline}
@@ -48,7 +100,6 @@ Open the popup menu on a file or folder and click on `Sync`. This will download
There are a few limitations:
-- You can only sync the top level of a directory. For example if you have a directory `a/b/test.bfly`, this file will not be synced.
- You cannot delete a file or folder while you are offline.
- You cannot add, edit or delete templates while you are offline.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/sr/docs/v2/tools/area.md b/docs/src/content/docs/sr/docs/v2/tools/area.md
index 2f12327c03e4..f55bcdf0e8ea 100644
--- a/docs/src/content/docs/sr/docs/v2/tools/area.md
+++ b/docs/src/content/docs/sr/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Configuration
-| Property | Default | Opis |
-| --------------------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Širina | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| Visina | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| Odnos širine i visine | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| Property | Default | Opis |
+| --------------------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Pitaj za ime | false | Whether a name prompt will appear before creation. |
+| Unapred podešeno | none | Various presets for width and height. |
+| Širina | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| Visina | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| Odnos širine i visine | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
There are three aspect ratio presets:
- Square (1:1)
-- Page portrait (sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
-- Page landscape (1/sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/sr/docs/v2/tools/collection.md b/docs/src/content/docs/sr/docs/v2/tools/collection.md
deleted file mode 100644
index 391210b26987..000000000000
--- a/docs/src/content/docs/sr/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-You can't select it and it will run the action if you click on it.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/sr/docs/v2/tools/collection.mdx b/docs/src/content/docs/sr/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/sr/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/sr/docs/v2/tools/eraser.md b/docs/src/content/docs/sr/docs/v2/tools/eraser.md
index 5e8c622ab0da..9d2fddbabd9f 100644
--- a/docs/src/content/docs/sr/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/sr/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## Configuration
-| Property | Default | Opis |
-| ----------------: | :-----: | :------------------------------------------------------------------------------- |
-| Debljina linije | 5 | The width of the stroke |
-| Stroke multiplier | 1 | If you have a stylus, this is the multiplier which will be added to the pressure |
+| Property | Default | Opis |
+| -----------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| Debljina linije | 5 | The width of the stroke |
+| Erase shapes | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Erase all elements | false | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | Opis |
+| ---------------------------: | :------------------------------------------------------------------------------------------ |
+| Don't erase shapes | The eraser will not interact with shapes. |
+| Erase when touching edges | The shape will be erased when the eraser touches any edge. |
+| Erase when touching anywhere | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/sr/docs/v2/tools/full_screen.md b/docs/src/content/docs/sr/docs/v2/tools/full_screen.md
index ea23ff72ac89..e19718f8ff44 100644
--- a/docs/src/content/docs/sr/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/sr/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it will run the action if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/sr/docs/v2/tools/grid.md b/docs/src/content/docs/sr/docs/v2/tools/grid.md
index 67be78d706bc..1bed6fcb8416 100644
--- a/docs/src/content/docs/sr/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/sr/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| Veličina | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| Color | Black | The color of the grid. |
+| Alfa | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| Zavisno od zuma | false | Changes the grid stroke width based on the zoom level. |
+| Zavisno od zuma | false | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| Zavisno od pozicije | false | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/sr/docs/v2/tools/index.md b/docs/src/content/docs/sr/docs/v2/tools/index.md
index cc459ed1568a..8727e8d74935 100644
--- a/docs/src/content/docs/sr/docs/v2/tools/index.md
+++ b/docs/src/content/docs/sr/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ If you click on a selected tool you can configure it.
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/sr/docs/v2/tools/pen.md b/docs/src/content/docs/sr/docs/v2/tools/pen.md
index ba076a77e4c4..eebab0c738c3 100644
--- a/docs/src/content/docs/sr/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/sr/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -54,12 +56,12 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
| Property | Default | Opis |
| -------------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| Color | Black | The color that will be drawn |
-| Debljina linije | 5 | The width of the stroke |
| Zavisno od zuma | false | This will change the stroke width based on the zoom level. |
+| Combine paths | false | This will merge all strokes it touches into one path |
| Prepoznavanje oblika | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| Debljina linije | 5 | The width of the stroke |
| Tanjanje | 0.4 | This effect of pressure on the stroke size |
| Izglađivanje | 0.5 | This will smooth the edges of the stroke. |
-| Pojednostavljenje | 0.5 | How much the pen will follow the movement of the mouse. |
-| Color | Black | The color that will be drawn |
-| Popuna | Transparent | The color that will be drawn inside the shape |
+| Pojednostavljenje | 0.3 | How much the pen will follow the movement of the mouse. |
+| Color | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| Popuna | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/sr/docs/v2/tools/polygon.md b/docs/src/content/docs/sr/docs/v2/tools/polygon.md
deleted file mode 100644
index a4060df43899..000000000000
--- a/docs/src/content/docs/sr/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Configuration
-
-| Property | Default | Opis |
-| --------------: | :---------: | :--------------------------------------------------------------- |
-| Debljina linije | 5 | The width of the stroke |
-| Color | Black | The color that will be drawn |
-| Popuna | Transparent | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/sr/docs/v2/tools/polygon.mdx b/docs/src/content/docs/sr/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..280a1d388fb3
--- /dev/null
+++ b/docs/src/content/docs/sr/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Configuration
+
+| Property | Default | Opis |
+| --------------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| Debljina linije | 5 | The width of the stroke |
+| Color | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| Popuna | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/sr/docs/v2/tools/redo.md b/docs/src/content/docs/sr/docs/v2/tools/redo.md
index 8371adf3aba9..de44e24ca619 100644
--- a/docs/src/content/docs/sr/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/sr/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-You can't select it and it will run the action if you click on it.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/sr/docs/v2/tools/select.md b/docs/src/content/docs/sr/docs/v2/tools/select.md
index c8c43adbbe23..45408d54490d 100644
--- a/docs/src/content/docs/sr/docs/v2/tools/select.md
+++ b/docs/src/content/docs/sr/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Configuration
-| Property | Default | Opis |
-| -------: | :----------: | :--------------------------------------------------------------- |
-| Mode | Pravougaonik | Mode of selection. Valid are Rectangle and Lasso |
+| Property | Default | Opis |
+| -------: | :------------: | :--------------------------------------------------------------- |
+| Mode | Pravougaonik | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | Opis |
+| ----------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Select when touching edges | The shape will be selected when the selected area intersects any edge. |
+| Select when touching anywhere | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/sr/docs/v2/tools/shape.md b/docs/src/content/docs/sr/docs/v2/tools/shape.md
index c82a23b019fd..72e7bc9f3548 100644
--- a/docs/src/content/docs/sr/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/sr/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Configuration
-| Property | Default | Opis |
-| --------------------: | :----------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| Color | Black | The stroke color that will be drawn |
-| Debljina linije | 5 | The width of the stroke |
-| Stroke style | Puna | The style of the stroke. Other styles can use dash and gap lengths. |
-| Dash length | 1 | The length of the dash when using a non-solid stroke style |
-| Gap length | 1 | The length of the gap when using a non-solid stroke style |
-| Zavisno od zuma | false | This will change the stroke width based on the zoom level. |
-| Oblik | Pravougaonik | The shape that will be drawn |
-| Širina | 0 | The fixed width of the area. If set to 0, the width will be calculated automatically. |
-| Visina | 0 | The fixed height of the area. If set to 0, the height will be calculated automatically. |
-| Odnos širine i visine | 0 | The fixed aspect ratio of the area. If set to 0, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-| Centar | false | Draws the shape from the center instead of from the corner. |
-
-### Shape types
-
-#### Pravougaonik
-
-| Property | Default | Opis |
-| -----------: | :---------: | :------------------------------------------------ |
-| Popuna | Transparent | The color that will be drawn inside the rectangle |
-| Radijus ugla | 0, 0, 0, 0 | The radius of the corners of the rectangle |
-
-#### Trougao
-
-| Property | Default | Opis |
-| -------: | :---------: | :----------------------------------------------- |
-| Popuna | Transparent | The color that will be drawn inside the triangle |
-
-#### Krug
-
-| Property | Default | Opis |
-| -------: | :---------: | :--------------------------------------------- |
-| Popuna | Transparent | The color that will be drawn inside the circle |
-
-#### Linija
-
-_No configuration available._
+| Property | Default | Opis |
+| --------------------: | :------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| Centar | false | Draws the shape from the center instead of from the corner. |
+| Širina | 0 | The fixed width of the area. If set to 0, the width will be calculated automatically. |
+| Visina | 0 | The fixed height of the area. If set to 0, the height will be calculated automatically. |
+| Odnos širine i visine | 0 | The fixed aspect ratio of the area. If set to 0, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
+| Debljina linije | 5 | The width of the stroke |
+| Stroke style | Puna | The style of the stroke. Other styles can use dash and gap lengths. |
+| Dash length | 1 | The length of the dash when using a non-solid stroke style |
+| Gap length | 1 | The length of the gap when using a non-solid stroke style |
+| Color | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| Oblik | Pravougaonik | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| Radijus ugla | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| Popuna | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| Zavisno od zuma | false | This will change the stroke width based on the zoom level. |
\ No newline at end of file
diff --git a/docs/src/content/docs/sr/docs/v2/tools/texture.md b/docs/src/content/docs/sr/docs/v2/tools/texture.md
index de205276f06a..2bfd3aeda16e 100644
--- a/docs/src/content/docs/sr/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/sr/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: Tekstura
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Configuration
-| Property | Default | Opis |
-| --------------------: | :-----: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Zavisno od zuma | false | This will change the stroke width based on the zoom level. |
-| Tekstura | Šablon | The pattern that should be added. |
-| Širina | 0 | The fixed width of the area. If set to `0`, the width will be calculated automatically. |
-| Visina | 0 | The fixed height of the area. If set to `0`, the height will be calculated automatically. |
-| Odnos širine i visine | 0 | The fixed aspect ratio of the area. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Property | Opis |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| Tekstura | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/sr/docs/v2/tools/undo.md b/docs/src/content/docs/sr/docs/v2/tools/undo.md
index a7d87d8d2c23..18fdbd192064 100644
--- a/docs/src/content/docs/sr/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/sr/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-You can't select it and it will run the action if you click on it.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/sr/docs/v2/utilities.md b/docs/src/content/docs/sr/docs/v2/utilities.md
index ad8f0162c42b..ac752b8c089c 100644
--- a/docs/src/content/docs/sr/docs/v2/utilities.md
+++ b/docs/src/content/docs/sr/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## Kamera
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/sv/community/embed.md b/docs/src/content/docs/sv/community/embed.md
index 163aca047ece..49c8374500fc 100644
--- a/docs/src/content/docs/sv/community/embed.md
+++ b/docs/src/content/docs/sv/community/embed.md
@@ -22,6 +22,7 @@ Add the following code to your website:
| spara | Boolean (true, false) | true | Enable save. If disabled, only an exit button will be shown |
| editable | Boolean (true, false) | true | Enable editing. If disabled, the document will be read-only |
| språk | Sträng (..., system, användare) | user | Language of the document. If system, the language will be detected from the browser. If user, the language will set to the users preference |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/sv/docs/v2/add.md b/docs/src/content/docs/sv/docs/v2/add.md
index ea7947f850e6..73b166f54f25 100644
--- a/docs/src/content/docs/sv/docs/v2/add.md
+++ b/docs/src/content/docs/sv/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## Importera
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## Verktyg
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/sv/docs/v2/background.mdx b/docs/src/content/docs/sv/docs/v2/background.mdx
index b1072d5acce4..94f17e2276be 100644
--- a/docs/src/content/docs/sv/docs/v2/background.mdx
+++ b/docs/src/content/docs/sv/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/sv/docs/v2/intro.mdx b/docs/src/content/docs/sv/docs/v2/intro.mdx
index 5c8d17bf3fd0..c7319a7c5998 100644
--- a/docs/src/content/docs/sv/docs/v2/intro.mdx
+++ b/docs/src/content/docs/sv/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/sv/docs/v2/layers.md b/docs/src/content/docs/sv/docs/v2/layers.md
index f85154173868..6e21328afe59 100644
--- a/docs/src/content/docs/sv/docs/v2/layers.md
+++ b/docs/src/content/docs/sv/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: Lager
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Här kan du se alla lager i projektet. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Här kan du se alla lager i projektet. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Alternativ | Beskrivning |
+| -------------------: | --------------------------------------------------------------------------------- |
+| Ta fram | Renders the selection on top of the first element in front of it. |
+| Skicka bakåt | Renders the selection under the first element behind it. |
+| Ta fram | Renders the selection in front of everything else. |
+| Skicka till baksidan | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/sv/docs/v2/pack.md b/docs/src/content/docs/sv/docs/v2/pack.md
index 80e4e13c290f..4dbea365d356 100644
--- a/docs/src/content/docs/sv/docs/v2/pack.md
+++ b/docs/src/content/docs/sv/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## Palettes
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/sv/docs/v2/shortcuts.md b/docs/src/content/docs/sv/docs/v2/shortcuts.md
index e2e87a8be45e..1cc4f0234cfd 100644
--- a/docs/src/content/docs/sv/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/sv/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: Genvägar
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## Mus
+
+### Mouse configurations
+
+| Egenskap | Standard | Beskrivning |
+| ---------------------------: | :------: | :------------------------------------------------------------------------------- |
+| Dölj markören medan du ritar | true | Döljer muspekaren medan du ritar, så det täcker inte din stroke. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## Tryck
+
+### Touch configurations
+
+| Egenskap | Standard | Beskrivning |
+| -------------: | :------: | :---------------------------------------------------------------------------------------------------------- |
+| Input gestures | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| Flytta på gest | true | Låter multi-touch gester flytta duken istället för att interagera med anteckningsinnehåll. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## Keyboard
-Det finns några genvägar som du kan använda i editorn.
-Några av dem är skrivna under knapparna.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### Allmänt
@@ -14,44 +135,63 @@ Några av dem är skrivna under knapparna.
- `Ctrl` + `E`: Exportera fil
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `Shift` + `E`: Export file as pdf
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `S`: Öppna inställningar
- `Ctrl` + `Alt` + `S`: Öppna inställningar
+- `Escape`: Escape
### Projekt
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Ångra
- `Ctrl` + `Y`: Gör om
-- `Ctrl` + `Shift` + `P`: Öppna waypoints dialogrutan
- `Ctrl` + `B`: Öppna bakgrundsdialogrutan
- `Ctrl` + `S`: Spara
- `Alt` + `S`: Ändra sökväg
-- `Ctrl` + (`1` - `0`): Växla till verktyget
- `Ctrl` + `+`: Zooma in
- `Ctrl` + `-`: Zooma ut
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Växla till verktyget
## Penna
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Pen`: konfigurerad som penna.
-- `First` (Primär knapp, om det stöds): Ändra till handverktyg medan du trycker.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Egenskap | Values | Beskrivning |
+| ---------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| Endast penna inmatning | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Visa endast penna | true, false | Visar en snabb pennknapp i redigeraren efter att Butterfly upptäcker en penna. |
+| Ignorera tryck | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/sv/docs/v2/storage.md b/docs/src/content/docs/sv/docs/v2/storage.md
index a3ac6feb6c6a..f40888abaf18 100644
--- a/docs/src/content/docs/sv/docs/v2/storage.md
+++ b/docs/src/content/docs/sv/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## Datakatalog
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ Du kan också ändra det i inställningarna under `Data`.
I den här katalogen hittar du en mapp `Documents`, `Templates` och `Packs`.
-## Webb
+## Web {#web}
Applikationsdata lagras i din webbläsare. Den lagras i en lokal lagring.
Öppna utvecklarverktygen i din webbläsare och du kommer att se uppgifterna.
@@ -39,7 +39,59 @@ Lägg till URL till fjärrservern och användarnamn och lösenord. Därefter kan
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (det ska se ut så här: `https://nextcloud.example.com/remote.php/dav/files/username/`, ersätt `username` och `nextcloud.example.com` med rätt värden)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Offline-synkronisering {#offline}
@@ -48,7 +100,6 @@ Den här funktionen låter dig redigera dina filer på fjärrservrar medan du ä
Det finns några begränsningar:
-- Du kan bara synkronisera den översta nivån i en katalog. Till exempel om du har en katalog `a/b/test.bfly`, kommer denna fil inte att synkroniseras.
- Du kan inte ta bort en fil eller mapp när du är offline.
- Du kan inte lägga till, redigera eller ta bort mallar medan du är offline.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/sv/docs/v2/tools/area.md b/docs/src/content/docs/sv/docs/v2/tools/area.md
index 01b5acf9dbc2..c8834330f7f9 100644
--- a/docs/src/content/docs/sv/docs/v2/tools/area.md
+++ b/docs/src/content/docs/sv/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Konfiguration
-| Egenskap | Standard | Beskrivning |
-| --------------: | :------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Width | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| Höjd | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| Bildförhållande | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| Egenskap | Standard | Beskrivning |
+| ---------------: | :------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Fråga efter namn | falskt | Whether a name prompt will appear before creation. |
+| Förval | none | Various presets for width and height. |
+| Width | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| Höjd | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| Bildförhållande | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
Det finns tre förinställningar för bildförhållande:
- Kvadrat (1:1)
-- Sida porträtt (sqrt(2)) - Detta är standardformatet för en A4-sida i porträttläge.
-- Sida landskap (1/sqrt(2)) - Detta är standard bildförhållande av en A4-sida i liggande läge.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/sv/docs/v2/tools/collection.md b/docs/src/content/docs/sv/docs/v2/tools/collection.md
deleted file mode 100644
index 9e2d08906557..000000000000
--- a/docs/src/content/docs/sv/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-Du kan inte välja det och det kommer att köra åtgärden om du klickar på det.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/sv/docs/v2/tools/collection.mdx b/docs/src/content/docs/sv/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/sv/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/sv/docs/v2/tools/eraser.md b/docs/src/content/docs/sv/docs/v2/tools/eraser.md
index 2af8d6cbdc67..5962d0f4cf77 100644
--- a/docs/src/content/docs/sv/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/sv/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## Konfiguration
-| Egenskap | Standard | Beskrivning |
-| -----------------------: | :------: | :---------------------------------------------------------------------------- |
-| Stroke bredd | 5 | Bredden på slaget |
-| Multiplikator för Stroke | 1 | Om du har en penna är detta multiplikatorn som kommer att läggas till trycket |
+| Egenskap | Standard | Beskrivning |
+| ------------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| Stroke bredd | 5 | Bredden på slaget |
+| Radera former | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Radera alla element | falskt | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | Beskrivning |
+| ---------------------------------: | :------------------------------------------------------------------------------------------ |
+| Radera inte former | The eraser will not interact with shapes. |
+| Radera när kanterna vidrör | The shape will be erased when the eraser touches any edge. |
+| Radera när du vidrör var som helst | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/sv/docs/v2/tools/full_screen.md b/docs/src/content/docs/sv/docs/v2/tools/full_screen.md
index 90629afa1e3a..e19718f8ff44 100644
--- a/docs/src/content/docs/sv/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/sv/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-Du kan inte välja det och det kommer att köra åtgärden om du klickar på det.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/sv/docs/v2/tools/grid.md b/docs/src/content/docs/sv/docs/v2/tools/grid.md
index bf9540972ce3..9aaec9c7684d 100644
--- a/docs/src/content/docs/sv/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/sv/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| Storlek | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| Färg | Svart | The color of the grid. |
+| Alfa | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| Zooma beroende | falskt | Changes the grid stroke width based on the zoom level. |
+| Zooma beroende | falskt | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| Beroende på position | falskt | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/sv/docs/v2/tools/index.md b/docs/src/content/docs/sv/docs/v2/tools/index.md
index ffbe8bce0975..8aaae84ffd26 100644
--- a/docs/src/content/docs/sv/docs/v2/tools/index.md
+++ b/docs/src/content/docs/sv/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ Om du klickar på ett valt verktyg kan du konfigurera det.
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/sv/docs/v2/tools/pen.md b/docs/src/content/docs/sv/docs/v2/tools/pen.md
index df83d2786ebc..cbe00adbc7ff 100644
--- a/docs/src/content/docs/sv/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/sv/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -52,14 +54,14 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
## Konfiguration
-| Egenskap | Standard | Beskrivning |
-| -------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| Färg | Svart | Färgen som kommer att dras |
-| Stroke bredd | 5 | Bredden på slaget |
-| Zooma beroende | falskt | Detta kommer att ändra slagbredden baserat på zoomnivån. |
-| Form detektion | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
-| Gallring | 0.4 | This effect of pressure on the stroke size |
-| Utjämning | 0.5 | This will smooth the edges of the stroke. |
-| Effektivisera | 0.5 | How much the pen will follow the movement of the mouse. |
-| Färg | Svart | Färgen som kommer att dras |
-| Fyll | Genomskinlig | The color that will be drawn inside the shape |
+| Egenskap | Standard | Beskrivning |
+| -----------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
+| Zooma beroende | falskt | Detta kommer att ändra slagbredden baserat på zoomnivån. |
+| Kombinera sökvägar | falskt | This will merge all strokes it touches into one path |
+| Form detektion | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| Stroke bredd | 5 | Bredden på slaget |
+| Gallring | 0.4 | This effect of pressure on the stroke size |
+| Utjämning | 0.5 | This will smooth the edges of the stroke. |
+| Effektivisera | 0.3 | How much the pen will follow the movement of the mouse. |
+| Färg | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| Fyll | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/sv/docs/v2/tools/polygon.md b/docs/src/content/docs/sv/docs/v2/tools/polygon.md
deleted file mode 100644
index 42853b8ddea8..000000000000
--- a/docs/src/content/docs/sv/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Konfiguration
-
-| Egenskap | Standard | Beskrivning |
-| -----------: | :----------: | :--------------------------------------------------------------- |
-| Stroke bredd | 5 | Bredden på slaget |
-| Färg | Svart | Färgen som kommer att dras |
-| Fyll | Genomskinlig | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/sv/docs/v2/tools/polygon.mdx b/docs/src/content/docs/sv/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..08a0e3320f5e
--- /dev/null
+++ b/docs/src/content/docs/sv/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Konfiguration
+
+| Egenskap | Standard | Beskrivning |
+| -----------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| Stroke bredd | 5 | Bredden på slaget |
+| Färg | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| Fyll | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/sv/docs/v2/tools/redo.md b/docs/src/content/docs/sv/docs/v2/tools/redo.md
index 93eee929006b..de44e24ca619 100644
--- a/docs/src/content/docs/sv/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/sv/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-Du kan inte välja det och det kommer att köra åtgärden om du klickar på det.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/sv/docs/v2/tools/select.md b/docs/src/content/docs/sv/docs/v2/tools/select.md
index 5a0991d0ff8e..dfba0b55d2d9 100644
--- a/docs/src/content/docs/sv/docs/v2/tools/select.md
+++ b/docs/src/content/docs/sv/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Konfiguration
-| Egenskap | Standard | Beskrivning |
-| -------: | :-------: | :--------------------------------------------------------------- |
-| Mode | Rektangel | Mode of selection. Valid are Rectangle and Lasso |
+| Egenskap | Standard | Beskrivning |
+| -------: | :------------: | :--------------------------------------------------------------- |
+| Mode | Rektangel | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | Beskrivning |
+| ----------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Välj när kanter vidrör | The shape will be selected when the selected area intersects any edge. |
+| Välj när du rör var som helst | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/sv/docs/v2/tools/shape.md b/docs/src/content/docs/sv/docs/v2/tools/shape.md
index 0eb316b6377d..bd689938929e 100644
--- a/docs/src/content/docs/sv/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/sv/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Konfiguration
-| Egenskap | Standard | Beskrivning |
-| --------------: | :-------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| Färg | Svart | The stroke color that will be drawn |
-| Stroke bredd | 5 | Bredden på slaget |
-| Stroke stil | Solid | The style of the stroke. Other styles can use dash and gap lengths. |
-| Dash längd | 1 | The length of the dash when using a non-solid stroke style |
-| Längd på gapet | 1 | The length of the gap when using a non-solid stroke style |
-| Zooma beroende | falskt | Detta kommer att ändra slagbredden baserat på zoomnivån. |
-| Form | Rektangel | Den form som kommer att ritas |
-| Width | 0 | Den fasta bredden på området. Om satt till 0, kommer bredden att beräknas automatiskt. |
-| Höjd | 0 | Den fasta höjden på området. Om satt till 0, kommer höjden att beräknas automatiskt. |
-| Bildförhållande | 0 | Det fasta bildförhållandet av området. Om satt till 0, beräknas bildförhållandet automatiskt. An aspect ratio is defined as width / height. |
-| Centrera | falskt | Draws the shape from the center instead of from the corner. |
-
-### Forma typer
-
-#### Rektangel
-
-| Egenskap | Standard | Beskrivning |
-| ------------: | :----------: | :------------------------------------------- |
-| Fyll | Genomskinlig | Färgen som kommer att ritas inuti rektangeln |
-| Corner radius | 0, 0, 0, 0 | Radien av hörnen av rektangeln |
-
-#### Triangel
-
-| Egenskap | Standard | Beskrivning |
-| -------: | :----------: | :----------------------------------------------- |
-| Fyll | Genomskinlig | The color that will be drawn inside the triangle |
-
-#### Cirkel
-
-| Egenskap | Standard | Beskrivning |
-| -------: | :----------: | :--------------------------------------------- |
-| Fyll | Genomskinlig | The color that will be drawn inside the circle |
-
-#### Linje
-
-_Ingen konfiguration tillgänglig._
+| Egenskap | Standard | Beskrivning |
+| --------------: | :------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| Centrera | falskt | Draws the shape from the center instead of from the corner. |
+| Width | 0 | Den fasta bredden på området. Om satt till 0, kommer bredden att beräknas automatiskt. |
+| Höjd | 0 | Den fasta höjden på området. Om satt till 0, kommer höjden att beräknas automatiskt. |
+| Bildförhållande | 0 | Det fasta bildförhållandet av området. Om satt till 0, beräknas bildförhållandet automatiskt. An aspect ratio is defined as width / height. |
+| Stroke bredd | 5 | Bredden på slaget |
+| Stroke stil | Solid | The style of the stroke. Other styles can use dash and gap lengths. |
+| Dash längd | 1 | The length of the dash when using a non-solid stroke style |
+| Längd på gapet | 1 | The length of the gap when using a non-solid stroke style |
+| Färg | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| Form | Rektangel | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| Corner radius | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| Fyll | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| Zooma beroende | falskt | Detta kommer att ändra slagbredden baserat på zoomnivån. |
\ No newline at end of file
diff --git a/docs/src/content/docs/sv/docs/v2/tools/texture.md b/docs/src/content/docs/sv/docs/v2/tools/texture.md
index 44846eb447bf..911c7b17b061 100644
--- a/docs/src/content/docs/sv/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/sv/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: Textur
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Konfiguration
-| Egenskap | Standard | Beskrivning |
-| --------------: | :------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Zooma beroende | falskt | Detta kommer att ändra slagbredden baserat på zoomnivån. |
-| Textur | Mönster | The pattern that should be added. |
-| Width | 0 | Den fasta bredden på området. If set to `0`, the width will be calculated automatically. |
-| Höjd | 0 | Den fasta höjden på området. If set to `0`, the height will be calculated automatically. |
-| Bildförhållande | 0 | Det fasta bildförhållandet av området. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Egenskap | Beskrivning |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| Textur | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/sv/docs/v2/tools/undo.md b/docs/src/content/docs/sv/docs/v2/tools/undo.md
index 34ad48e81f4d..18fdbd192064 100644
--- a/docs/src/content/docs/sv/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/sv/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-Du kan inte välja det och det kommer att köra åtgärden om du klickar på det.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/sv/docs/v2/utilities.md b/docs/src/content/docs/sv/docs/v2/utilities.md
index 2dc2695c11aa..a3c38f0b8ef8 100644
--- a/docs/src/content/docs/sv/docs/v2/utilities.md
+++ b/docs/src/content/docs/sv/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## Kamera
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/th/community/embed.md b/docs/src/content/docs/th/community/embed.md
index 6e92ea01b673..48c774912525 100644
--- a/docs/src/content/docs/th/community/embed.md
+++ b/docs/src/content/docs/th/community/embed.md
@@ -22,6 +22,7 @@ Add the following code to your website:
| บันทึก | Boolean (true, false) | true | Enable save. If disabled, only an exit button will be shown |
| editable | Boolean (true, false) | true | Enable editing. If disabled, the document will be read-only |
| language | String (..., system, user) | user | Language of the document. If system, the language will be detected from the browser. If user, the language will set to the users preference |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/th/docs/v2/add.md b/docs/src/content/docs/th/docs/v2/add.md
index 633beb93ebd8..b46d4b908dc3 100644
--- a/docs/src/content/docs/th/docs/v2/add.md
+++ b/docs/src/content/docs/th/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## นำเข้า
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## เครื่องมือ
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/th/docs/v2/background.mdx b/docs/src/content/docs/th/docs/v2/background.mdx
index f4c6a9e59c4d..4aba37b7ac8e 100644
--- a/docs/src/content/docs/th/docs/v2/background.mdx
+++ b/docs/src/content/docs/th/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/th/docs/v2/intro.mdx b/docs/src/content/docs/th/docs/v2/intro.mdx
index 46c7d37bc624..8d45dca90adf 100644
--- a/docs/src/content/docs/th/docs/v2/intro.mdx
+++ b/docs/src/content/docs/th/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/th/docs/v2/layers.md b/docs/src/content/docs/th/docs/v2/layers.md
index 99d4c3efc707..10e36dd2a8c4 100644
--- a/docs/src/content/docs/th/docs/v2/layers.md
+++ b/docs/src/content/docs/th/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: เลเยอร์
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Here you can see all the layers in the project. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Here you can see all the layers in the project. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Option | คำอธิบาย |
+| -------------: | --------------------------------------------------------------------------------- |
+| นำขึ้นข้างหน้า | Renders the selection on top of the first element in front of it. |
+| ส่งถอยหลัง | Renders the selection under the first element behind it. |
+| นำไปข้างหน้า | Renders the selection in front of everything else. |
+| ส่งไปข้างหลัง | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/th/docs/v2/pack.md b/docs/src/content/docs/th/docs/v2/pack.md
index 14609510efdc..88f743ba5643 100644
--- a/docs/src/content/docs/th/docs/v2/pack.md
+++ b/docs/src/content/docs/th/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## พาเลต
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/th/docs/v2/shortcuts.md b/docs/src/content/docs/th/docs/v2/shortcuts.md
index 3b9b42ef274c..df1b4a52408b 100644
--- a/docs/src/content/docs/th/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/th/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: คีย์ลัด
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## เมาส์
+
+### Mouse configurations
+
+| Property | Default | คำอธิบาย |
+| -------------------: | :-----: | :---------------------------------------------------------------------------------------- |
+| ซ่อนเคอร์เซอร์ขณะวาด | true | Hides the mouse pointer while you draw, so it does not cover your stroke. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## สัมผัส
+
+### Touch configurations
+
+| Property | Default | คำอธิบาย |
+| ----------------: | :-----: | :---------------------------------------------------------------------------------------------------------- |
+| การทำท่าทางอินพุต | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| เลื่อนด้วยท่าทาง | true | Lets multi-touch gestures move the canvas instead of interacting with note content. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## คีย์บอร์ด
-There are a few shortcuts that you can use in the editor.
-Some of them are written below the buttons.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### ทั่วไป
@@ -14,44 +135,63 @@ Some of them are written below the buttons.
- `Ctrl` + `E`: Export file
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `E`: Export file as svg
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `P`: Open packs
- `Ctrl` + `Alt` + `S`: Open settings
+- `Escape`: Escape
### Project
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Undo
- `Ctrl` + `Y`: Redo
-- `Ctrl` + `Shift` + `P`: Open waypoints dialog
- `Ctrl` + `B`: Open background dialog
- `Ctrl` + `S`: Save
- `Alt` + `S`: Change path
-- `Ctrl` + (`1` - `0`): Switch to tool
- `Ctrl` + `+`: Zoom in
- `Ctrl` + `-`: Zoom out
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Switch to tool
## ปากกา
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Pen`: configured as pen.
-- `First` (Primary button, if supported): Change to hand tool while pressed.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Property | Values | คำอธิบาย |
+| -------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| อินพุตเฉพาะปากกา | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Show pen only toggle | true, false | Shows a quick pen-only switch in the editor after Butterfly detects a pen. |
+| Ignore pressure | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/th/docs/v2/storage.md b/docs/src/content/docs/th/docs/v2/storage.md
index 56c783b8b4cd..b06adc6af5dc 100644
--- a/docs/src/content/docs/th/docs/v2/storage.md
+++ b/docs/src/content/docs/th/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## ไดเรกทอรีข้อมูล
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ You can also change it in the settings under `Data`.
In this directory you will find a folder `Documents`, `Templates` and `Packs`.
-## Web
+## Web {#web}
The application data is stored in your browser. It is stored in a local storage.
Open the developer tools in your browser and you will see the data.
@@ -39,7 +39,59 @@ Add the URL of the remote server and the username and password. After that you c
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Offline sync {#offline}
@@ -48,7 +100,6 @@ Open the popup menu on a file or folder and click on `Sync`. This will download
There are a few limitations:
-- You can only sync the top level of a directory. For example if you have a directory `a/b/test.bfly`, this file will not be synced.
- You cannot delete a file or folder while you are offline.
- You cannot add, edit or delete templates while you are offline.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/th/docs/v2/tools/area.md b/docs/src/content/docs/th/docs/v2/tools/area.md
index 171ce506dacd..e380fb79b425 100644
--- a/docs/src/content/docs/th/docs/v2/tools/area.md
+++ b/docs/src/content/docs/th/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Configuration
-| Property | Default | คำอธิบาย |
-| --------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| ความกว้าง | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| ความสูง | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| อัตราส่วน | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| Property | Default | คำอธิบาย |
+| -----------------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| ถามชื่อ | ไม่จริง | Whether a name prompt will appear before creation. |
+| ค่าที่ตั้งล่วงหน้า | none | Various presets for width and height. |
+| ความกว้าง | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| ความสูง | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| อัตราส่วน | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
There are three aspect ratio presets:
- Square (1:1)
-- Page portrait (sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
-- Page landscape (1/sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/th/docs/v2/tools/collection.md b/docs/src/content/docs/th/docs/v2/tools/collection.md
deleted file mode 100644
index 391210b26987..000000000000
--- a/docs/src/content/docs/th/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-You can't select it and it will run the action if you click on it.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/th/docs/v2/tools/collection.mdx b/docs/src/content/docs/th/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/th/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/th/docs/v2/tools/eraser.md b/docs/src/content/docs/th/docs/v2/tools/eraser.md
index 5971f75d8fc1..b03b5fd21019 100644
--- a/docs/src/content/docs/th/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/th/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## Configuration
-| Property | Default | คำอธิบาย |
-| ------------------: | :-----: | :------------------------------------------------------------------------------- |
-| ความกว้างของเส้นขีด | 5 | The width of the stroke |
-| Stroke multiplier | 1 | If you have a stylus, this is the multiplier which will be added to the pressure |
+| Property | Default | คำอธิบาย |
+| ------------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| ความกว้างของเส้นขีด | 5 | The width of the stroke |
+| Erase shapes | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Erase all elements | ไม่จริง | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | คำอธิบาย |
+| ---------------------------: | :------------------------------------------------------------------------------------------ |
+| Don't erase shapes | The eraser will not interact with shapes. |
+| Erase when touching edges | The shape will be erased when the eraser touches any edge. |
+| Erase when touching anywhere | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/th/docs/v2/tools/full_screen.md b/docs/src/content/docs/th/docs/v2/tools/full_screen.md
index ea23ff72ac89..e19718f8ff44 100644
--- a/docs/src/content/docs/th/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/th/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it will run the action if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/th/docs/v2/tools/grid.md b/docs/src/content/docs/th/docs/v2/tools/grid.md
index f3ca17b7989b..dc6fb2868a6e 100644
--- a/docs/src/content/docs/th/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/th/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| ขนาด | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| สี | Black | The color of the grid. |
+| แอลฟา | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| ขึ้นอยู่กับการซูม | ไม่จริง | Changes the grid stroke width based on the zoom level. |
+| ขึ้นอยู่กับการซูม | ไม่จริง | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| ขึ้นกับตำแหน่ง | ไม่จริง | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/th/docs/v2/tools/index.md b/docs/src/content/docs/th/docs/v2/tools/index.md
index 2e7d045f5298..e4370422b17f 100644
--- a/docs/src/content/docs/th/docs/v2/tools/index.md
+++ b/docs/src/content/docs/th/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ If you click on a selected tool you can configure it.
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/th/docs/v2/tools/pen.md b/docs/src/content/docs/th/docs/v2/tools/pen.md
index 808ff803b0aa..0dd5a1afe06f 100644
--- a/docs/src/content/docs/th/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/th/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -54,12 +56,12 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
| Property | Default | คำอธิบาย |
| ------------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| สี | Black | The color that will be drawn |
-| ความกว้างของเส้นขีด | 5 | The width of the stroke |
| ขึ้นอยู่กับการซูม | ไม่จริง | This will change the stroke width based on the zoom level. |
+| Combine paths | ไม่จริง | This will merge all strokes it touches into one path |
| ตรวจจับรูปทรง | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| ความกว้างของเส้นขีด | 5 | The width of the stroke |
| การลดความหนา | 0.4 | This effect of pressure on the stroke size |
| ความเรียบ | 0.5 | This will smooth the edges of the stroke. |
-| เส้นเรียว | 0.5 | How much the pen will follow the movement of the mouse. |
-| สี | Black | The color that will be drawn |
-| เติม | Transparent | The color that will be drawn inside the shape |
+| เส้นเรียว | 0.3 | How much the pen will follow the movement of the mouse. |
+| สี | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| เติม | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/th/docs/v2/tools/polygon.md b/docs/src/content/docs/th/docs/v2/tools/polygon.md
deleted file mode 100644
index 7093aa543e6a..000000000000
--- a/docs/src/content/docs/th/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Configuration
-
-| Property | Default | คำอธิบาย |
-| ---------------: | :---------: | :--------------------------------------------------------------- |
-| ความกว้างของเส้น | 5 | The width of the stroke |
-| สี | Black | The color that will be drawn |
-| เติม | Transparent | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/th/docs/v2/tools/polygon.mdx b/docs/src/content/docs/th/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..5a54a3ac6ab1
--- /dev/null
+++ b/docs/src/content/docs/th/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Configuration
+
+| Property | Default | คำอธิบาย |
+| ---------------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| ความกว้างของเส้น | 5 | The width of the stroke |
+| สี | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| เติม | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/th/docs/v2/tools/redo.md b/docs/src/content/docs/th/docs/v2/tools/redo.md
index 8371adf3aba9..de44e24ca619 100644
--- a/docs/src/content/docs/th/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/th/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-You can't select it and it will run the action if you click on it.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/th/docs/v2/tools/select.md b/docs/src/content/docs/th/docs/v2/tools/select.md
index f37596ca5a0b..3d02bbadebdc 100644
--- a/docs/src/content/docs/th/docs/v2/tools/select.md
+++ b/docs/src/content/docs/th/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Configuration
-| Property | Default | คำอธิบาย |
-| -------: | :--------: | :--------------------------------------------------------------- |
-| Mode | สี่เหลี่ยม | Mode of selection. Valid are Rectangle and Lasso |
+| Property | Default | คำอธิบาย |
+| -------: | :------------: | :--------------------------------------------------------------- |
+| Mode | สี่เหลี่ยม | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | คำอธิบาย |
+| ----------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Select when touching edges | The shape will be selected when the selected area intersects any edge. |
+| Select when touching anywhere | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/th/docs/v2/tools/shape.md b/docs/src/content/docs/th/docs/v2/tools/shape.md
index 115aa102ba17..9e1d795af2ee 100644
--- a/docs/src/content/docs/th/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/th/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Configuration
-| Property | Default | คำอธิบาย |
-| ------------------: | :--------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| สี | Black | The stroke color that will be drawn |
-| ความกว้างของเส้นขีด | 5 | The width of the stroke |
-| Stroke style | ทึบ | The style of the stroke. Other styles can use dash and gap lengths. |
-| Dash length | 1 | The length of the dash when using a non-solid stroke style |
-| Gap length | 1 | The length of the gap when using a non-solid stroke style |
-| ขึ้นอยู่กับการซูม | ไม่จริง | This will change the stroke width based on the zoom level. |
-| รูปร่าง | สี่เหลี่ยม | The shape that will be drawn |
-| ความกว้าง | 0 | The fixed width of the area. If set to 0, the width will be calculated automatically. |
-| ความสูง | 0 | The fixed height of the area. If set to 0, the height will be calculated automatically. |
-| อัตราส่วน | 0 | The fixed aspect ratio of the area. If set to 0, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-| กึ่งกลาง | ไม่จริง | Draws the shape from the center instead of from the corner. |
-
-### Shape types
-
-#### สี่เหลี่ยมผืนผ้า
-
-| Property | Default | คำอธิบาย |
-| -------: | :---------: | :------------------------------------------------ |
-| เติม | Transparent | The color that will be drawn inside the rectangle |
-| รัศมีมุม | 0, 0, 0, 0 | The radius of the corners of the rectangle |
-
-#### สามเหลี่ยม
-
-| Property | Default | คำอธิบาย |
-| -------: | :---------: | :----------------------------------------------- |
-| เติม | Transparent | The color that will be drawn inside the triangle |
-
-#### วงกลม
-
-| Property | Default | คำอธิบาย |
-| -------: | :---------: | :--------------------------------------------- |
-| เติม | Transparent | The color that will be drawn inside the circle |
-
-#### เส้น
-
-_No configuration available._
+| Property | Default | คำอธิบาย |
+| ------------------: | :------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| กึ่งกลาง | ไม่จริง | Draws the shape from the center instead of from the corner. |
+| ความกว้าง | 0 | The fixed width of the area. If set to 0, the width will be calculated automatically. |
+| ความสูง | 0 | The fixed height of the area. If set to 0, the height will be calculated automatically. |
+| อัตราส่วน | 0 | The fixed aspect ratio of the area. If set to 0, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
+| ความกว้างของเส้นขีด | 5 | The width of the stroke |
+| Stroke style | ทึบ | The style of the stroke. Other styles can use dash and gap lengths. |
+| Dash length | 1 | The length of the dash when using a non-solid stroke style |
+| Gap length | 1 | The length of the gap when using a non-solid stroke style |
+| สี | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| รูปร่าง | สี่เหลี่ยม | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| รัศมีมุม | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| เติม | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| ขึ้นอยู่กับการซูม | ไม่จริง | This will change the stroke width based on the zoom level. |
\ No newline at end of file
diff --git a/docs/src/content/docs/th/docs/v2/tools/texture.md b/docs/src/content/docs/th/docs/v2/tools/texture.md
index b4e3b22c9fbc..6a3a136ef9d6 100644
--- a/docs/src/content/docs/th/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/th/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: พื้นผิว
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Configuration
-| Property | Default | คำอธิบาย |
-| ----------------: | :-----: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| ขึ้นอยู่กับการซูม | ไม่จริง | This will change the stroke width based on the zoom level. |
-| พื้นผิว | รูปแบบ | The pattern that should be added. |
-| ความกว้าง | 0 | The fixed width of the area. If set to `0`, the width will be calculated automatically. |
-| ความสูง | 0 | The fixed height of the area. If set to `0`, the height will be calculated automatically. |
-| อัตราส่วน | 0 | The fixed aspect ratio of the area. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Property | คำอธิบาย |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| พื้นผิว | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/th/docs/v2/tools/undo.md b/docs/src/content/docs/th/docs/v2/tools/undo.md
index a7d87d8d2c23..18fdbd192064 100644
--- a/docs/src/content/docs/th/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/th/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-You can't select it and it will run the action if you click on it.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/th/docs/v2/utilities.md b/docs/src/content/docs/th/docs/v2/utilities.md
index dd9bf98d8013..7df322be8afd 100644
--- a/docs/src/content/docs/th/docs/v2/utilities.md
+++ b/docs/src/content/docs/th/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## กล้อง
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/tr/community/embed.md b/docs/src/content/docs/tr/community/embed.md
index 771cdebf0a40..2cce7571f3d4 100644
--- a/docs/src/content/docs/tr/community/embed.md
+++ b/docs/src/content/docs/tr/community/embed.md
@@ -22,6 +22,7 @@ Aşağıdaki kodu web sitenize ekleyin:
| kaydet | Boolean (true, false) | true | Kaydetmeyi etkinleştirin. Eğer devre dışı bırakılırsa, yalnızca bir çıkış düğmesi gösterilir |
| editable | Boolean (true, false) | true | Düzenlemeyi etkinleştir. Eğer devre dışı bırakılırsa, belge salt okunur olur |
| dil | String (..., system, user) | user | Belge dili. Eğer sistem ise, dil tarayıcıdan algılanacaktır. Eğer kullanıcı ise, dil kullanıcıların tercihine göre ayarlanacaktır |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/tr/docs/v2/add.md b/docs/src/content/docs/tr/docs/v2/add.md
index 557e6b812859..20f05addd117 100644
--- a/docs/src/content/docs/tr/docs/v2/add.md
+++ b/docs/src/content/docs/tr/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## İçe aktar
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## Aletler
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/tr/docs/v2/background.mdx b/docs/src/content/docs/tr/docs/v2/background.mdx
index a55ed3218c8c..fea212ffe85a 100644
--- a/docs/src/content/docs/tr/docs/v2/background.mdx
+++ b/docs/src/content/docs/tr/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/tr/docs/v2/intro.mdx b/docs/src/content/docs/tr/docs/v2/intro.mdx
index a539974a80a5..194b2c4e1dcb 100644
--- a/docs/src/content/docs/tr/docs/v2/intro.mdx
+++ b/docs/src/content/docs/tr/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/tr/docs/v2/layers.md b/docs/src/content/docs/tr/docs/v2/layers.md
index 5936f9735df3..ae69fd3eaa2d 100644
--- a/docs/src/content/docs/tr/docs/v2/layers.md
+++ b/docs/src/content/docs/tr/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: Katmanlar
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Burada projedeki tüm katmanları görebilirsiniz. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Burada projedeki tüm katmanları görebilirsiniz. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Seçenek | Tanım |
+| ---------------------: | --------------------------------------------------------------------------------- |
+| Bir adım öne getir | Renders the selection on top of the first element in front of it. |
+| Bir adım geriye gönder | Renders the selection under the first element behind it. |
+| Öne getir | Renders the selection in front of everything else. |
+| Arkaya gönder | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/tr/docs/v2/pack.md b/docs/src/content/docs/tr/docs/v2/pack.md
index ff10ce6a5183..790b33fc358d 100644
--- a/docs/src/content/docs/tr/docs/v2/pack.md
+++ b/docs/src/content/docs/tr/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## Paletler
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/tr/docs/v2/shortcuts.md b/docs/src/content/docs/tr/docs/v2/shortcuts.md
index 05e0e1982767..688925a37e0d 100644
--- a/docs/src/content/docs/tr/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/tr/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: Kısayollar
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## Fare
+
+### Mouse configurations
+
+| Özellik | Varsayılan | Tanım |
+| --------------------------: | :--------: | :---------------------------------------------------------------------------------------- |
+| Çizim yaparken imleci gizle | true | Hides the mouse pointer while you draw, so it does not cover your stroke. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## Dokunma
+
+### Touch configurations
+
+| Özellik | Varsayılan | Tanım |
+| ----------------: | :--------: | :---------------------------------------------------------------------------------------------------------- |
+| Giriş hareketleri | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| Eylemle taşı | true | Lets multi-touch gestures move the canvas instead of interacting with note content. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## Klavye
-Düzenleyicide kullanabileceğiniz birkaç kısayol vardır.
-Bazıları düğmelerin altında yazılmıştır.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### Genel
@@ -14,44 +135,63 @@ Bazıları düğmelerin altında yazılmıştır.
- `Ctrl` + `E`: Export file
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `E`: Export file as svg
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `P`: Open packs
- `Ctrl` + `Alt` + `S`: Open settings
+- `Escape`: Escape
### Proje
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Undo
- `Ctrl` + `Y`: Redo
-- `Ctrl` + `Shift` + `P`: Open waypoints dialog
- `Ctrl` + `B`: Open background dialog
- `Ctrl` + `S`: Save
- `Alt` + `S`: Change path
-- `Ctrl` + (`1` - `0`): Switch to tool
- `Ctrl` + `+`: Zoom in
- `Ctrl` + `-`: Zoom out
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Switch to tool
## Kalem
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Pen`: configured as pen.
-- `First` (Primary button, if supported): Change to hand tool while pressed.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Özellik | Values | Tanım |
+| -------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| Sadece kalem girişi | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Show pen only toggle | true, false | Shows a quick pen-only switch in the editor after Butterfly detects a pen. |
+| Ignore pressure | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/tr/docs/v2/storage.md b/docs/src/content/docs/tr/docs/v2/storage.md
index 0ccec189bd9c..564137e546fe 100644
--- a/docs/src/content/docs/tr/docs/v2/storage.md
+++ b/docs/src/content/docs/tr/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## Veri dizini
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ You can also change it in the settings under `Data`.
In this directory you will find a folder `Documents`, `Templates` and `Packs`.
-## Ağ
+## Web {#web}
Uygulama verileri tarayıcınızda saklanır. Yerel bir depoda saklanır.
Tarayıcınızda geliştirici araçlarını açın, verileri göreceksiniz.
@@ -39,7 +39,59 @@ Uzak sunucunun URL'sini, kullanıcı adını ve şifreyi ekleyin. Bundan sonra v
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Offline sync {#offline}
@@ -48,7 +100,6 @@ Open the popup menu on a file or folder and click on `Sync`. Bu işlem, dosyayı
Birkaç sınırlama vardır:
-- Bir dizinin yalnızca en üst düzeyini eşitleyebilirsiniz. For example if you have a directory `a/b/test.bfly`, this file will not be synced.
- Çevrimdışıyken bir dosya veya klasörü silemezsiniz.
- Çevrimdışıyken şablon ekleyemez, düzenleyemez veya silemezsiniz.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/tr/docs/v2/tools/area.md b/docs/src/content/docs/tr/docs/v2/tools/area.md
index b460bf036320..2fb738e6d760 100644
--- a/docs/src/content/docs/tr/docs/v2/tools/area.md
+++ b/docs/src/content/docs/tr/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Yapılandırma
-| Özellik | Varsayılan | Tanım |
-| -----------: | :--------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Genişlik | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| Yükseklik | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| En boy oranı | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| Özellik | Varsayılan | Tanım |
+| ------------: | :--------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Isim sor | false | Whether a name prompt will appear before creation. |
+| Hazır Ayarlar | none | Various presets for width and height. |
+| Genişlik | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| Yükseklik | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| En boy oranı | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
Üç farklı en boy oranı ön ayarı vardır:
- Kare (1:1)
-- Dikey Sayfa (sqrt(2)) - Bu, portre durumundaki bir A4 sayfasının varsayılan en boy oranıdır.
-- Yatay Sayfa (sqrt(2)) - Bu, yatay durumdaki bir A4 sayfasının varsayılan en boy oranıdır.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/tr/docs/v2/tools/collection.md b/docs/src/content/docs/tr/docs/v2/tools/collection.md
deleted file mode 100644
index 391210b26987..000000000000
--- a/docs/src/content/docs/tr/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-You can't select it and it will run the action if you click on it.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/tr/docs/v2/tools/collection.mdx b/docs/src/content/docs/tr/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/tr/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/tr/docs/v2/tools/eraser.md b/docs/src/content/docs/tr/docs/v2/tools/eraser.md
index c3799b077ea8..d8a48495c890 100644
--- a/docs/src/content/docs/tr/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/tr/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## Yapılandırma
-| Özellik | Varsayılan | Tanım |
-| ---------------: | :--------: | :------------------------------------------------------------------- |
-| Kontur genişliği | 5 | Kontur genişliği |
-| Kontur çarpanı | 1 | Bu, bir kaleminiz olması durumunda, basınca eklenecek olan çarpandır |
+| Özellik | Varsayılan | Tanım |
+| -----------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| Kontur genişliği | 5 | Kontur genişliği |
+| Erase shapes | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Erase all elements | false | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | Tanım |
+| ---------------------------: | :------------------------------------------------------------------------------------------ |
+| Don't erase shapes | The eraser will not interact with shapes. |
+| Erase when touching edges | The shape will be erased when the eraser touches any edge. |
+| Erase when touching anywhere | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/tr/docs/v2/tools/full_screen.md b/docs/src/content/docs/tr/docs/v2/tools/full_screen.md
index ea23ff72ac89..e19718f8ff44 100644
--- a/docs/src/content/docs/tr/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/tr/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it will run the action if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/tr/docs/v2/tools/grid.md b/docs/src/content/docs/tr/docs/v2/tools/grid.md
index 0a10262399ca..e3c3a81e4cfa 100644
--- a/docs/src/content/docs/tr/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/tr/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| Boyut | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| Renk | Siyah | The color of the grid. |
+| Şefaflık | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| Bağımlı yakınlaştırma | false | Changes the grid stroke width based on the zoom level. |
+| Bağımlı yakınlaştırma | false | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| Konuma bağlı | false | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/tr/docs/v2/tools/index.md b/docs/src/content/docs/tr/docs/v2/tools/index.md
index 0a6092c1bc1b..80dbd28638d7 100644
--- a/docs/src/content/docs/tr/docs/v2/tools/index.md
+++ b/docs/src/content/docs/tr/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ Seçili bir araca tıklarsanız, onu yapılandırabilirsiniz.
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/tr/docs/v2/tools/pen.md b/docs/src/content/docs/tr/docs/v2/tools/pen.md
index 9599abe9870b..7289253e40f1 100644
--- a/docs/src/content/docs/tr/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/tr/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -54,12 +56,12 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
| Özellik | Varsayılan | Tanım |
| --------------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| Renk | Siyah | Çizilecek renk |
-| Kontur genişliği | 5 | Kontur genişliği |
| Bağımlı yakınlaştırma | false | Bu, yakınlaştırma düzeyine bağlı olarak kontur genişliğini değiştirecektir. |
+| Combine paths | false | This will merge all strokes it touches into one path |
| Şekil Algılama | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| Kontur genişliği | 5 | Kontur genişliği |
| Kalinlik | 0.4 | This effect of pressure on the stroke size |
| Yumuşatma | 0.5 | This will smooth the edges of the stroke. |
-| Kolaylaştırmak | 0.5 | How much the pen will follow the movement of the mouse. |
-| Renk | Siyah | Çizilecek renk |
-| Dolgu | Şeffaf | The color that will be drawn inside the shape |
+| Kolaylaştırmak | 0.3 | How much the pen will follow the movement of the mouse. |
+| Renk | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| Dolgu | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/tr/docs/v2/tools/polygon.md b/docs/src/content/docs/tr/docs/v2/tools/polygon.md
deleted file mode 100644
index cea1c47c1d05..000000000000
--- a/docs/src/content/docs/tr/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Yapılandırma
-
-| Özellik | Varsayılan | Tanım |
-| ---------------: | :--------: | :--------------------------------------------------------------- |
-| Kontur genişliği | 5 | Kontur genişliği |
-| Renk | Siyah | Çizilecek renk |
-| Dolgu | Şeffaf | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/tr/docs/v2/tools/polygon.mdx b/docs/src/content/docs/tr/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..3ed1e2e977dc
--- /dev/null
+++ b/docs/src/content/docs/tr/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Yapılandırma
+
+| Özellik | Varsayılan | Tanım |
+| ---------------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| Kontur genişliği | 5 | Kontur genişliği |
+| Renk | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| Dolgu | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/tr/docs/v2/tools/redo.md b/docs/src/content/docs/tr/docs/v2/tools/redo.md
index 8371adf3aba9..de44e24ca619 100644
--- a/docs/src/content/docs/tr/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/tr/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-You can't select it and it will run the action if you click on it.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/tr/docs/v2/tools/select.md b/docs/src/content/docs/tr/docs/v2/tools/select.md
index 9e1919c5d0b9..843bbe643a7d 100644
--- a/docs/src/content/docs/tr/docs/v2/tools/select.md
+++ b/docs/src/content/docs/tr/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Yapılandırma
-| Özellik | Varsayılan | Tanım |
-| ------: | :--------: | :--------------------------------------------------------------- |
-| Mode | Dikdörtgen | Mode of selection. Valid are Rectangle and Lasso |
+| Özellik | Varsayılan | Tanım |
+| -------: | :------------: | :--------------------------------------------------------------- |
+| Mode | Dikdörtgen | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | Tanım |
+| ----------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Select when touching edges | The shape will be selected when the selected area intersects any edge. |
+| Select when touching anywhere | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/tr/docs/v2/tools/shape.md b/docs/src/content/docs/tr/docs/v2/tools/shape.md
index 9d226852cf50..63ba770db33f 100644
--- a/docs/src/content/docs/tr/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/tr/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Yapılandırma
-| Özellik | Varsayılan | Tanım |
-| --------------------: | :--------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Renk | Siyah | The stroke color that will be drawn |
-| Kontur genişliği | 5 | Dolgu |
-| Stroke style | Katı | The style of the stroke. Other styles can use dash and gap lengths. |
-| Dash length | 1 | The length of the dash when using a non-solid stroke style |
-| Gap length | 1 | The length of the gap when using a non-solid stroke style |
-| Bağımlı yakınlaştırma | false | Bu, yakınlaştırma düzeyine bağlı olarak kontur genişliğini değiştirecektir. |
-| Şekil | Dikdörtgen | Çizilecek şekil |
-| Genişlik | 0 | Kontur genişliği Eğer 0 olarak ayarlanırsa genişlik otomatik olarak hesaplanacaktır. |
-| Yükseklik | 0 | Alan yüksekliğini sabitleme. Eğer 0 olarak ayarlanırsa yükseklik otomatik olarak hesaplanacaktır. |
-| En boy oranı | 0 | Alanın en boy oranını sabitleme. Eğer 0 olarak ayarlanırsa en boy oranı otomatik olarak hesaplanacaktır. An aspect ratio is defined as width / height. |
-| Orta | false | Draws the shape from the center instead of from the corner. |
-
-### Şekil türleri
-
-#### Dikdörtgen
-
-| Özellik | Varsayılan | Tanım |
-| ----------------: | :--------: | :-------------------------------- |
-| Dolgu | Şeffaf | Dikdörtgenin içine çizilecek renk |
-| Köşe yuvarlaklığı | 0, 0, 0, 0 | Dikdörtgenin köşelerinin yarıçapı |
-
-#### Üçgen
-
-| Özellik | Varsayılan | Tanım |
-| ------: | :--------: | :----------------------------------------------- |
-| Dolgu | Şeffaf | The color that will be drawn inside the triangle |
-
-#### Daire
-
-| Özellik | Varsayılan | Tanım |
-| ------: | :--------: | :--------------------------------------------- |
-| Dolgu | Şeffaf | The color that will be drawn inside the circle |
-
-#### Çizgi
-
-_Geçerli bir yapılandırma yok._
+| Özellik | Varsayılan | Tanım |
+| --------------------: | :------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Orta | false | Draws the shape from the center instead of from the corner. |
+| Genişlik | 0 | Kontur genişliği Eğer 0 olarak ayarlanırsa genişlik otomatik olarak hesaplanacaktır. |
+| Yükseklik | 0 | Alan yüksekliğini sabitleme. Eğer 0 olarak ayarlanırsa yükseklik otomatik olarak hesaplanacaktır. |
+| En boy oranı | 0 | Alanın en boy oranını sabitleme. Eğer 0 olarak ayarlanırsa en boy oranı otomatik olarak hesaplanacaktır. An aspect ratio is defined as width / height. |
+| Kontur genişliği | 5 | Dolgu |
+| Stroke style | Katı | The style of the stroke. Other styles can use dash and gap lengths. |
+| Dash length | 1 | The length of the dash when using a non-solid stroke style |
+| Gap length | 1 | The length of the gap when using a non-solid stroke style |
+| Renk | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| Şekil | Dikdörtgen | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| Köşe yuvarlaklığı | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| Dolgu | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| Bağımlı yakınlaştırma | false | Bu, yakınlaştırma düzeyine bağlı olarak kontur genişliğini değiştirecektir. |
\ No newline at end of file
diff --git a/docs/src/content/docs/tr/docs/v2/tools/texture.md b/docs/src/content/docs/tr/docs/v2/tools/texture.md
index 1649c690df7f..8f569d1b5a60 100644
--- a/docs/src/content/docs/tr/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/tr/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: Doku
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Yapılandırma
-| Özellik | Varsayılan | Tanım |
-| --------------------: | :--------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Bağımlı yakınlaştırma | false | Bu, yakınlaştırma düzeyine bağlı olarak kontur genişliğini değiştirecektir. |
-| Doku | Desen | The pattern that should be added. |
-| Genişlik | 0 | Alan genişliğini sabitleme. If set to `0`, the width will be calculated automatically. |
-| Yükseklik | 0 | Alan yüksekliğini sabitleme. If set to `0`, the height will be calculated automatically. |
-| En boy oranı | 0 | Alanın en boy oranını sabitleme. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Özellik | Tanım |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| Doku | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/tr/docs/v2/tools/undo.md b/docs/src/content/docs/tr/docs/v2/tools/undo.md
index a7d87d8d2c23..18fdbd192064 100644
--- a/docs/src/content/docs/tr/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/tr/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-You can't select it and it will run the action if you click on it.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/tr/docs/v2/utilities.md b/docs/src/content/docs/tr/docs/v2/utilities.md
index 535202013461..29135765cb1b 100644
--- a/docs/src/content/docs/tr/docs/v2/utilities.md
+++ b/docs/src/content/docs/tr/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## Kamera
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/uk/community/embed.md b/docs/src/content/docs/uk/community/embed.md
index a32c989f0a92..0bb76f730fd5 100644
--- a/docs/src/content/docs/uk/community/embed.md
+++ b/docs/src/content/docs/uk/community/embed.md
@@ -22,6 +22,7 @@ Add the following code to your website:
| зберегти | Boolean (true, false) | true | Enable save. If disabled, only an exit button will be shown |
| editable | Boolean (true, false) | true | Enable editing. If disabled, the document will be read-only |
| мова: | Рядок (..., система, користувач) | user | Language of the document. If system, the language will be detected from the browser. If user, the language will set to the users preference |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/uk/docs/v2/add.md b/docs/src/content/docs/uk/docs/v2/add.md
index de2ac52682d7..ceb2f53b8da2 100644
--- a/docs/src/content/docs/uk/docs/v2/add.md
+++ b/docs/src/content/docs/uk/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## Імпорт
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## Інструменти
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/uk/docs/v2/background.mdx b/docs/src/content/docs/uk/docs/v2/background.mdx
index e3ae671b9c94..cbedcf121c1e 100644
--- a/docs/src/content/docs/uk/docs/v2/background.mdx
+++ b/docs/src/content/docs/uk/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/uk/docs/v2/intro.mdx b/docs/src/content/docs/uk/docs/v2/intro.mdx
index 5854d156f2e3..04281816dc4b 100644
--- a/docs/src/content/docs/uk/docs/v2/intro.mdx
+++ b/docs/src/content/docs/uk/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/uk/docs/v2/layers.md b/docs/src/content/docs/uk/docs/v2/layers.md
index ae5b1447478e..b29564b78bf0 100644
--- a/docs/src/content/docs/uk/docs/v2/layers.md
+++ b/docs/src/content/docs/uk/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: Шари
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Тут ви можете побачити усі шари проекту. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Тут ви можете побачити усі шари проекту. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Опція | Опис |
+| ------------------------: | --------------------------------------------------------------------------------- |
+| Поверніть вперед | Renders the selection on top of the first element in front of it. |
+| Відправити назад | Renders the selection under the first element behind it. |
+| Привести на передній план | Renders the selection in front of everything else. |
+| Відправити на задній план | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/uk/docs/v2/pack.md b/docs/src/content/docs/uk/docs/v2/pack.md
index 74337014ff12..44cb7a1191bd 100644
--- a/docs/src/content/docs/uk/docs/v2/pack.md
+++ b/docs/src/content/docs/uk/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## Palettes
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/uk/docs/v2/shortcuts.md b/docs/src/content/docs/uk/docs/v2/shortcuts.md
index 66c57238a9c0..e818bb03bd5e 100644
--- a/docs/src/content/docs/uk/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/uk/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: Гарячі клавіші
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## Миша
+
+### Mouse configurations
+
+| Властивість | Типово | Опис |
+| -------------------------------: | :----: | :--------------------------------------------------------------------------------------- |
+| Сховати курсор під час малювання | true | Приховує курсор миші, коли ви малюєте, тому він не покриває ваш інсульт. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## Дотик
+
+### Touch configurations
+
+| Властивість | Типово | Опис |
+| ---------------: | :----: | :-------------------------------------------------------------------------------------------------------------- |
+| Input gestures | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| Перемістити жест | true | Дозволяє жести мультисенсорного екрану перемістити полотно замість взаємодії з вмістом нотаток. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## Keyboard
-Є кілька ярликів, які можна використати в редакторі.
-Деякі з них пишуть під кнопками.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### Загальні налаштування
@@ -14,44 +135,63 @@ title: Гарячі клавіші
- `Ctrl` + `E`: Експорт файлу
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `Shift` + `E`: Export file as pdf
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `S`: Відкрити налаштування
- `Ctrl` + `Alt` + `S`: Відкрити налаштування
+- `Escape`: Escape
### Проект
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Відмінити
- `Ctrl` + `Y`: Повторити
-- `Ctrl` + `Shift` + `P`: Відкривати вікно точок
- `Ctrl` + `B`: Відкрити фонове вікно
- `Ctrl` + `S`: Зберегти
- `Alt` + `S`: Змінити шлях
-- `Ctrl` + (`1` - `0`): Перемкнутися на інструмент
- `Ctrl` + `+`: Збільшувати масштаб
- `Ctrl` + `-`: Збільшити
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Перемкнутися на інструмент
## Ручка
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Пен`: налаштований як ручка.
-- `Перший` (основна кнопка, якщо підтримується): Поміняйте на інструмент керування при натисканні кнопки вручну.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Властивість | Values | Опис |
+| --------------------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| Тільки введення Pen | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Показати тільки переключити ручку | true, false | Показує швидкий перемикач тільки в редакторі після того, як Butterfly виявить ручку. |
+| Ігнорувати тиск | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/uk/docs/v2/storage.md b/docs/src/content/docs/uk/docs/v2/storage.md
index 935b4f71bcfc..fd4d2c176b74 100644
--- a/docs/src/content/docs/uk/docs/v2/storage.md
+++ b/docs/src/content/docs/uk/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## Каталог даних
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ On desktop you can find it in `~/Documents/Linwood/Butterfly`.
У цьому каталозі ви знайдете папку `Documents`, `Templates` і `Packs`.
-## Веб
+## Web {#web}
Дані додатку зберігаються в вашому браузері. Він зберігається у локальному сховищі.
Відкрийте інструменти розробника в браузері і ви побачите дані.
@@ -39,7 +39,59 @@ The application data can be stored on a remote server. Це корисно, як
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (це має виглядати так: `https://nextcloud.example.com/remote.php/dav/files/username/`, замінити `username` і `nextcloud.example.com` з правильними значеннями)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Оффлайн синхронізація {#offline}
@@ -48,7 +100,6 @@ To get the WebDAV URL, please visit the documentation:
Є кілька обмежень:
-- Ви можете синхронізувати лише найвищий рівень каталогу. Наприклад, якщо у вас є каталог `a/b/test.bfly` , цей файл не буде синхронізований.
- Ви не можете видалити файл або папку поки ви не в мережі.
- Ви не можете додавати, редагувати або видаляти шаблони поки ви в автономному режимі.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/uk/docs/v2/tools/area.md b/docs/src/content/docs/uk/docs/v2/tools/area.md
index cacacd44b9eb..86ac87c9d0b0 100644
--- a/docs/src/content/docs/uk/docs/v2/tools/area.md
+++ b/docs/src/content/docs/uk/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Конфігурація
-| Властивість | Типово | Опис |
-| ----------------: | :----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Width | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| Висота | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| Відношення сторін | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| Властивість | Типово | Опис |
+| ----------------: | :------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Запитати про ім'я | хибність | Whether a name prompt will appear before creation. |
+| Шаблони | none | Various presets for width and height. |
+| Width | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| Висота | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| Відношення сторін | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
Є три пресети співвідношення сторів:
- Квадрат (1:1)
-- Портрет сторінки (/qrt(2)- Це типове співвідношення сторін A4 сторінки в портретному режимі.
-- Пейзаж сторінок (1/sqrt(2)) - Це типове співвідношення сторін A4 сторінки в ландшафтному режимі.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/uk/docs/v2/tools/collection.md b/docs/src/content/docs/uk/docs/v2/tools/collection.md
deleted file mode 100644
index eacd884ff0e7..000000000000
--- a/docs/src/content/docs/uk/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-Ви не можете обрати його і він запустить дію якщо натиснути на нього.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/uk/docs/v2/tools/collection.mdx b/docs/src/content/docs/uk/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/uk/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/uk/docs/v2/tools/eraser.md b/docs/src/content/docs/uk/docs/v2/tools/eraser.md
index 9d6d00434da2..da01dc7a6d24 100644
--- a/docs/src/content/docs/uk/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/uk/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## Конфігурація
-| Властивість | Типово | Опис |
-| ---------------------: | :----: | :------------------------------------------------------------- |
-| Ширина штриха | 5 | Ширина риски |
-| Мультиплікатор розряду | 1 | Якщо в вас є стилус, то це множник, який буде доданий до тиску |
+| Властивість | Типово | Опис |
+| ------------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| Ширина штриха | 5 | Ширина риски |
+| Стерти фігури | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Стерти всі елементи | хибність | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | Опис |
+| --------------------------: | :------------------------------------------------------------------------------------------ |
+| Не стирайте фігури | The eraser will not interact with shapes. |
+| Стерти при торканні ребер | The shape will be erased when the eraser touches any edge. |
+| Стерти при торканні будь-де | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/uk/docs/v2/tools/full_screen.md b/docs/src/content/docs/uk/docs/v2/tools/full_screen.md
index eecc66c6132e..e19718f8ff44 100644
--- a/docs/src/content/docs/uk/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/uk/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-Ви не можете обрати його і він запустить дію якщо натиснути на нього.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/uk/docs/v2/tools/grid.md b/docs/src/content/docs/uk/docs/v2/tools/grid.md
index dfad7ed247e5..acecc7e3d281 100644
--- a/docs/src/content/docs/uk/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/uk/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| Розмір | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| Колір | Чорний колір | The color of the grid. |
+| Альфа | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| Залежність масштабу | хибність | Changes the grid stroke width based on the zoom level. |
+| Залежність масштабу | хибність | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| Залежність від позиції | хибність | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/uk/docs/v2/tools/index.md b/docs/src/content/docs/uk/docs/v2/tools/index.md
index 03974ce1ba60..562a8d5dd1fe 100644
--- a/docs/src/content/docs/uk/docs/v2/tools/index.md
+++ b/docs/src/content/docs/uk/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ Create a new tool by clicking on the plus icon. Change the tool order by draggin
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/uk/docs/v2/tools/pen.md b/docs/src/content/docs/uk/docs/v2/tools/pen.md
index 5395d6527e98..720a6e8d0fc0 100644
--- a/docs/src/content/docs/uk/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/uk/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -54,12 +56,12 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
| Властивість | Типово | Опис |
| ------------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| Колір | Чорний колір | Колір, який буде намальовано |
-| Ширина штриха | 5 | Ширина риски |
| Залежність масштабу | хибність | Це змінить ширину штриха в залежності від рівня збільшення. |
+| Комбайнові шляхи | хибність | This will merge all strokes it touches into one path |
| Визначення форми | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| Ширина штриха | 5 | Ширина риски |
| Думки | 0.4 | This effect of pressure on the stroke size |
| Згладжування | 0.5 | This will smooth the edges of the stroke. |
-| Стреймлін | 0.5 | How much the pen will follow the movement of the mouse. |
-| Колір | Чорний колір | Колір, який буде намальовано |
-| Заливка рядка | Прозорий | The color that will be drawn inside the shape |
+| Стреймлін | 0.3 | How much the pen will follow the movement of the mouse. |
+| Колір | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| Заливка рядка | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/uk/docs/v2/tools/polygon.md b/docs/src/content/docs/uk/docs/v2/tools/polygon.md
deleted file mode 100644
index 07f3a3859ea9..000000000000
--- a/docs/src/content/docs/uk/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Конфігурація
-
-| Властивість | Типово | Опис |
-| ------------: | :----------: | :--------------------------------------------------------------- |
-| Ширина штриха | 5 | Ширина риски |
-| Колір | Чорний колір | Колір, який буде намальовано |
-| Заливка рядка | Прозорий | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/uk/docs/v2/tools/polygon.mdx b/docs/src/content/docs/uk/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..d5a081d567a6
--- /dev/null
+++ b/docs/src/content/docs/uk/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Конфігурація
+
+| Властивість | Типово | Опис |
+| ------------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| Ширина штриха | 5 | Ширина риски |
+| Колір | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| Заливка рядка | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/uk/docs/v2/tools/redo.md b/docs/src/content/docs/uk/docs/v2/tools/redo.md
index c7f0b961ebc1..de44e24ca619 100644
--- a/docs/src/content/docs/uk/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/uk/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-Ви не можете обрати його і він запустить дію якщо натиснути на нього.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/uk/docs/v2/tools/select.md b/docs/src/content/docs/uk/docs/v2/tools/select.md
index eee886453b1f..49fd98a965cc 100644
--- a/docs/src/content/docs/uk/docs/v2/tools/select.md
+++ b/docs/src/content/docs/uk/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Конфігурація
-| Властивість | Типово | Опис |
-| ----------: | :---------: | :--------------------------------------------------------------- |
-| Mode | Прямокутник | Mode of selection. Valid are Rectangle and Lasso |
+| Властивість | Типово | Опис |
+| ----------: | :------------: | :--------------------------------------------------------------- |
+| Mode | Прямокутник | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | Опис |
+| --------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Вибрати при дотику до ребер | The shape will be selected when the selected area intersects any edge. |
+| Вибрати торкання будь-де | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/uk/docs/v2/tools/shape.md b/docs/src/content/docs/uk/docs/v2/tools/shape.md
index 305070ad6488..9e0a4fd2884f 100644
--- a/docs/src/content/docs/uk/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/uk/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Конфігурація
-| Властивість | Типово | Опис |
-| ------------------: | :----------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Колір | Чорний колір | The stroke color that will be drawn |
-| Ширина штриха | 5 | Ширина риски |
-| Стиль обведення | Solid | The style of the stroke. Other styles can use dash and gap lengths. |
-| Довжина тире | 1 | The length of the dash when using a non-solid stroke style |
-| Довжина прогалини | 1 | The length of the gap when using a non-solid stroke style |
-| Залежність масштабу | хибність | Це змінить ширину штриха в залежності від рівня збільшення. |
-| Форма | Прямокутник | Форма, що буде промальована |
-| Width | 0 | Фіксована ширина площі. Якщо встановлено значення 0, ширина буде розрахована автоматично. |
-| Висота | 0 | Фіксована висота зони. Якщо встановити значення 0, висота буде розрахована автоматично. |
-| Відношення сторін | 0 | Постійне співвідношення сторін області. Якщо встановити значення 0, співвідношення сторін буде розраховано автоматично. An aspect ratio is defined as width / height. |
-| Центр | хибність | Draws the shape from the center instead of from the corner. |
-
-### Типи форми
-
-#### Прямокутник
-
-| Властивість | Типово | Опис |
-| ------------: | :--------: | :----------------------------------------------- |
-| Заливка рядка | Прозорий | Колір, який буде показано всередині прямокутника |
-| Corner radius | 0, 0, 0, 0 | Радіус кутів прямокутника |
-
-#### Трикутник
-
-| Властивість | Типово | Опис |
-| ------------: | :------: | :----------------------------------------------- |
-| Заливка рядка | Прозорий | The color that will be drawn inside the triangle |
-
-#### Коло
-
-| Властивість | Типово | Опис |
-| ------------: | :------: | :--------------------------------------------- |
-| Заливка рядка | Прозорий | The color that will be drawn inside the circle |
-
-#### Лінія
-
-_Немає налаштувань для відображення._
+| Властивість | Типово | Опис |
+| ------------------: | :------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Центр | хибність | Draws the shape from the center instead of from the corner. |
+| Width | 0 | Фіксована ширина площі. Якщо встановлено значення 0, ширина буде розрахована автоматично. |
+| Висота | 0 | Фіксована висота зони. Якщо встановити значення 0, висота буде розрахована автоматично. |
+| Відношення сторін | 0 | Постійне співвідношення сторін області. Якщо встановити значення 0, співвідношення сторін буде розраховано автоматично. An aspect ratio is defined as width / height. |
+| Ширина штриха | 5 | Ширина риски |
+| Стиль обведення | Solid | The style of the stroke. Other styles can use dash and gap lengths. |
+| Довжина тире | 1 | The length of the dash when using a non-solid stroke style |
+| Довжина прогалини | 1 | The length of the gap when using a non-solid stroke style |
+| Колір | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| Форма | Прямокутник | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| Corner radius | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| Заливка рядка | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| Залежність масштабу | хибність | Це змінить ширину штриха в залежності від рівня збільшення. |
\ No newline at end of file
diff --git a/docs/src/content/docs/uk/docs/v2/tools/texture.md b/docs/src/content/docs/uk/docs/v2/tools/texture.md
index 85bf20e05996..c1da285699cc 100644
--- a/docs/src/content/docs/uk/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/uk/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: Текстура
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Конфігурація
-| Властивість | Типово | Опис |
-| ------------------: | :------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| Залежність масштабу | хибність | Це змінить ширину штриха в залежності від рівня збільшення. |
-| Текстура | Графічний ключ | The pattern that should be added. |
-| Width | 0 | Фіксована ширина площі. If set to `0`, the width will be calculated automatically. |
-| Висота | 0 | Фіксована висота зони. If set to `0`, the height will be calculated automatically. |
-| Відношення сторін | 0 | Постійне співвідношення сторін області. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Властивість | Опис |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| Текстура | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/uk/docs/v2/tools/undo.md b/docs/src/content/docs/uk/docs/v2/tools/undo.md
index 8a4e04dd1c18..18fdbd192064 100644
--- a/docs/src/content/docs/uk/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/uk/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-Ви не можете обрати його і він запустить дію якщо натиснути на нього.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/uk/docs/v2/utilities.md b/docs/src/content/docs/uk/docs/v2/utilities.md
index 0c61beca62fc..192996725c5f 100644
--- a/docs/src/content/docs/uk/docs/v2/utilities.md
+++ b/docs/src/content/docs/uk/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## Камера
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/vi/community/embed.md b/docs/src/content/docs/vi/community/embed.md
index d11ba4688fa9..baf60625eca9 100644
--- a/docs/src/content/docs/vi/community/embed.md
+++ b/docs/src/content/docs/vi/community/embed.md
@@ -22,6 +22,7 @@ Add the following code to your website:
| lưu | Boolean (true, false) | true | Enable save. If disabled, only an exit button will be shown |
| editable | Boolean (true, false) | true | Enable editing. If disabled, the document will be read-only |
| language | String (..., system, user) | user | Language of the document. If system, the language will be detected from the browser. If user, the language will set to the users preference |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/vi/docs/v2/add.md b/docs/src/content/docs/vi/docs/v2/add.md
index b41addbc2629..9cea9884f77c 100644
--- a/docs/src/content/docs/vi/docs/v2/add.md
+++ b/docs/src/content/docs/vi/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## Nhập
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## Công cụ
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/vi/docs/v2/background.mdx b/docs/src/content/docs/vi/docs/v2/background.mdx
index c3d27c9b8306..771d1caa5749 100644
--- a/docs/src/content/docs/vi/docs/v2/background.mdx
+++ b/docs/src/content/docs/vi/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/vi/docs/v2/intro.mdx b/docs/src/content/docs/vi/docs/v2/intro.mdx
index 5295b2d74300..8228ae1583cb 100644
--- a/docs/src/content/docs/vi/docs/v2/intro.mdx
+++ b/docs/src/content/docs/vi/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/vi/docs/v2/layers.md b/docs/src/content/docs/vi/docs/v2/layers.md
index 9d985362159a..9df417ee6db9 100644
--- a/docs/src/content/docs/vi/docs/v2/layers.md
+++ b/docs/src/content/docs/vi/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: Lớp
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Here you can see all the layers in the project. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Here you can see all the layers in the project. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Option | Mô tả |
+| -------------: | --------------------------------------------------------------------------------- |
+| Đưa lên trước | Renders the selection on top of the first element in front of it. |
+| Đưa xuống sau | Renders the selection under the first element behind it. |
+| Đưa lên trên | Renders the selection in front of everything else. |
+| Đưa xuống dưới | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/vi/docs/v2/pack.md b/docs/src/content/docs/vi/docs/v2/pack.md
index 5288119742b0..36355fee36d2 100644
--- a/docs/src/content/docs/vi/docs/v2/pack.md
+++ b/docs/src/content/docs/vi/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## Bảng màu
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/vi/docs/v2/shortcuts.md b/docs/src/content/docs/vi/docs/v2/shortcuts.md
index ec2721cbd4f3..3cd9ceab92c3 100644
--- a/docs/src/content/docs/vi/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/vi/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: Phím tắt
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## Chuột
+
+### Mouse configurations
+
+| Property | Default | Mô tả |
+| ----------------: | :-----: | :---------------------------------------------------------------------------------------- |
+| Ẩn con trỏ khi vẽ | true | Hides the mouse pointer while you draw, so it does not cover your stroke. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## Cảm ứng
+
+### Touch configurations
+
+| Property | Default | Mô tả |
+| -------------------: | :-----: | :---------------------------------------------------------------------------------------------------------- |
+| Cử chỉ đầu vào | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| Di chuyển khi cử chỉ | true | Lets multi-touch gestures move the canvas instead of interacting with note content. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## Bàn phím
-There are a few shortcuts that you can use in the editor.
-Some of them are written below the buttons.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### Chung
@@ -14,44 +135,63 @@ Some of them are written below the buttons.
- `Ctrl` + `E`: Export file
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `E`: Export file as svg
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `P`: Open packs
- `Ctrl` + `Alt` + `S`: Open settings
+- `Escape`: Escape
### Dự án
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Undo
- `Ctrl` + `Y`: Redo
-- `Ctrl` + `Shift` + `P`: Open waypoints dialog
- `Ctrl` + `B`: Open background dialog
- `Ctrl` + `S`: Save
- `Alt` + `S`: Change path
-- `Ctrl` + (`1` - `0`): Switch to tool
- `Ctrl` + `+`: Zoom in
- `Ctrl` + `-`: Zoom out
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Switch to tool
## Bút vẽ
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Pen`: configured as pen.
-- `First` (Primary button, if supported): Change to hand tool while pressed.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Property | Values | Mô tả |
+| ------------------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| Chỉ nhận đầu vào bằng bút | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Chỉ hiển thị bút khi chuyển đổi | true, false | Shows a quick pen-only switch in the editor after Butterfly detects a pen. |
+| Bỏ qua áp lực | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/vi/docs/v2/storage.md b/docs/src/content/docs/vi/docs/v2/storage.md
index 63ac2a929250..b06adc6af5dc 100644
--- a/docs/src/content/docs/vi/docs/v2/storage.md
+++ b/docs/src/content/docs/vi/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## Thư mục dữ liệu
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ You can also change it in the settings under `Data`.
In this directory you will find a folder `Documents`, `Templates` and `Packs`.
-## Web
+## Web {#web}
The application data is stored in your browser. It is stored in a local storage.
Open the developer tools in your browser and you will see the data.
@@ -39,7 +39,59 @@ Add the URL of the remote server and the username and password. After that you c
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Offline sync {#offline}
@@ -48,7 +100,6 @@ Open the popup menu on a file or folder and click on `Sync`. This will download
There are a few limitations:
-- You can only sync the top level of a directory. For example if you have a directory `a/b/test.bfly`, this file will not be synced.
- You cannot delete a file or folder while you are offline.
- You cannot add, edit or delete templates while you are offline.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/vi/docs/v2/tools/area.md b/docs/src/content/docs/vi/docs/v2/tools/area.md
index 697464a3b110..e407324e79c2 100644
--- a/docs/src/content/docs/vi/docs/v2/tools/area.md
+++ b/docs/src/content/docs/vi/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Configuration
-| Property | Default | Mô tả |
-| ---------------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Chiều rộng | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| Chiều cao | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| Tỷ lệ khung hình | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| Property | Default | Mô tả |
+| ---------------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Yêu cầu tên | false | Whether a name prompt will appear before creation. |
+| Cài đặt trước | none | Various presets for width and height. |
+| Chiều rộng | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| Chiều cao | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| Tỷ lệ khung hình | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
There are three aspect ratio presets:
- Square (1:1)
-- Page portrait (sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
-- Page landscape (1/sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/vi/docs/v2/tools/collection.md b/docs/src/content/docs/vi/docs/v2/tools/collection.md
deleted file mode 100644
index 391210b26987..000000000000
--- a/docs/src/content/docs/vi/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-You can't select it and it will run the action if you click on it.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/vi/docs/v2/tools/collection.mdx b/docs/src/content/docs/vi/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/vi/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/vi/docs/v2/tools/eraser.md b/docs/src/content/docs/vi/docs/v2/tools/eraser.md
index 647d21453be4..88c08075abfd 100644
--- a/docs/src/content/docs/vi/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/vi/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## Configuration
-| Property | Default | Mô tả |
-| ----------------: | :-----: | :------------------------------------------------------------------------------- |
-| Độ dày nét | 5 | The width of the stroke |
-| Stroke multiplier | 1 | If you have a stylus, this is the multiplier which will be added to the pressure |
+| Property | Default | Mô tả |
+| -----------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| Độ dày nét | 5 | The width of the stroke |
+| Erase shapes | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Erase all elements | false | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | Mô tả |
+| ---------------------------: | :------------------------------------------------------------------------------------------ |
+| Don't erase shapes | The eraser will not interact with shapes. |
+| Erase when touching edges | The shape will be erased when the eraser touches any edge. |
+| Erase when touching anywhere | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/vi/docs/v2/tools/full_screen.md b/docs/src/content/docs/vi/docs/v2/tools/full_screen.md
index ea23ff72ac89..e19718f8ff44 100644
--- a/docs/src/content/docs/vi/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/vi/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it will run the action if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/vi/docs/v2/tools/grid.md b/docs/src/content/docs/vi/docs/v2/tools/grid.md
index ccb6afe2371f..c95aed7304d4 100644
--- a/docs/src/content/docs/vi/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/vi/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| Kích thước | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| Màu sắc | Black | The color of the grid. |
+| Độ trong suốt | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| Phụ thuộc thu phóng | false | Changes the grid stroke width based on the zoom level. |
+| Phụ thuộc thu phóng | false | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| Phụ thuộc vị trí | false | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/vi/docs/v2/tools/index.md b/docs/src/content/docs/vi/docs/v2/tools/index.md
index 7b99eeb16065..7dd310118e6b 100644
--- a/docs/src/content/docs/vi/docs/v2/tools/index.md
+++ b/docs/src/content/docs/vi/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ If you click on a selected tool you can configure it.
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/vi/docs/v2/tools/pen.md b/docs/src/content/docs/vi/docs/v2/tools/pen.md
index 5208f8902b87..d1f1a19f174f 100644
--- a/docs/src/content/docs/vi/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/vi/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -54,12 +56,12 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
| Property | Default | Mô tả |
| ------------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| Màu sắc | Black | The color that will be drawn |
-| Độ dày nét | 5 | The width of the stroke |
| Phụ thuộc thu phóng | false | This will change the stroke width based on the zoom level. |
+| Combine paths | false | This will merge all strokes it touches into one path |
| Phát hiện hình dạng | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| Độ dày nét | 5 | The width of the stroke |
| Làm mảnh | 0.4 | This effect of pressure on the stroke size |
| Làm mượt | 0.5 | This will smooth the edges of the stroke. |
-| Làm thẳng | 0.5 | How much the pen will follow the movement of the mouse. |
-| Màu sắc | Black | The color that will be drawn |
-| Tô | Transparent | The color that will be drawn inside the shape |
+| Làm thẳng | 0.3 | How much the pen will follow the movement of the mouse. |
+| Màu sắc | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| Tô | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/vi/docs/v2/tools/polygon.md b/docs/src/content/docs/vi/docs/v2/tools/polygon.md
deleted file mode 100644
index 95e62da3d653..000000000000
--- a/docs/src/content/docs/vi/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Configuration
-
-| Property | Default | Mô tả |
-| ---------: | :---------: | :--------------------------------------------------------------- |
-| Độ dày nét | 5 | The width of the stroke |
-| Màu sắc | Black | The color that will be drawn |
-| Tô | Transparent | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/vi/docs/v2/tools/polygon.mdx b/docs/src/content/docs/vi/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..63ef92851ddc
--- /dev/null
+++ b/docs/src/content/docs/vi/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Configuration
+
+| Property | Default | Mô tả |
+| ---------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| Độ dày nét | 5 | The width of the stroke |
+| Màu sắc | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| Tô | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/vi/docs/v2/tools/redo.md b/docs/src/content/docs/vi/docs/v2/tools/redo.md
index 8371adf3aba9..de44e24ca619 100644
--- a/docs/src/content/docs/vi/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/vi/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-You can't select it and it will run the action if you click on it.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/vi/docs/v2/tools/select.md b/docs/src/content/docs/vi/docs/v2/tools/select.md
index 866f78bb0996..2c1b0caaa085 100644
--- a/docs/src/content/docs/vi/docs/v2/tools/select.md
+++ b/docs/src/content/docs/vi/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Configuration
-| Property | Default | Mô tả |
-| -------: | :-----------: | :--------------------------------------------------------------- |
-| Mode | Hình chữ nhật | Mode of selection. Valid are Rectangle and Lasso |
+| Property | Default | Mô tả |
+| -------: | :------------: | :--------------------------------------------------------------- |
+| Mode | Hình chữ nhật | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | Mô tả |
+| ----------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Select when touching edges | The shape will be selected when the selected area intersects any edge. |
+| Select when touching anywhere | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/vi/docs/v2/tools/shape.md b/docs/src/content/docs/vi/docs/v2/tools/shape.md
index 59336ecd3c72..adf2d9b829e8 100644
--- a/docs/src/content/docs/vi/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/vi/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Configuration
-| Property | Default | Mô tả |
-| ---------------------: | :-----------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| Màu sắc | Black | The stroke color that will be drawn |
-| Độ dày nét | 5 | The width of the stroke |
-| Kiểu gạch | Khối | The style of the stroke. Other styles can use dash and gap lengths. |
-| Độ dài dấu gạch ngang | 1 | The length of the dash when using a non-solid stroke style |
-| Chiều dài khoảng trống | 1 | The length of the gap when using a non-solid stroke style |
-| Phụ thuộc thu phóng | false | This will change the stroke width based on the zoom level. |
-| Hình dạng | Hình chữ nhật | The shape that will be drawn |
-| Chiều rộng | 0 | The fixed width of the area. If set to 0, the width will be calculated automatically. |
-| Chiều cao | 0 | The fixed height of the area. If set to 0, the height will be calculated automatically. |
-| Tỷ lệ khung hình | 0 | The fixed aspect ratio of the area. If set to 0, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-| Giữa | false | Draws the shape from the center instead of from the corner. |
-
-### Shape types
-
-#### Hình chữ nhật
-
-| Property | Default | Mô tả |
-| -----------: | :---------: | :------------------------------------------------ |
-| Tô | Transparent | The color that will be drawn inside the rectangle |
-| Bán kính góc | 0, 0, 0, 0 | The radius of the corners of the rectangle |
-
-#### Hình tam giác
-
-| Property | Default | Mô tả |
-| -------: | :---------: | :----------------------------------------------- |
-| Tô | Transparent | The color that will be drawn inside the triangle |
-
-#### Hình tròn
-
-| Property | Default | Mô tả |
-| -------: | :---------: | :--------------------------------------------- |
-| Tô | Transparent | The color that will be drawn inside the circle |
-
-#### Đường thẳng
-
-_No configuration available._
+| Property | Default | Mô tả |
+| ---------------------: | :------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| Giữa | false | Draws the shape from the center instead of from the corner. |
+| Chiều rộng | 0 | The fixed width of the area. If set to 0, the width will be calculated automatically. |
+| Chiều cao | 0 | The fixed height of the area. If set to 0, the height will be calculated automatically. |
+| Tỷ lệ khung hình | 0 | The fixed aspect ratio of the area. If set to 0, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
+| Độ dày nét | 5 | The width of the stroke |
+| Kiểu gạch | Khối | The style of the stroke. Other styles can use dash and gap lengths. |
+| Độ dài dấu gạch ngang | 1 | The length of the dash when using a non-solid stroke style |
+| Chiều dài khoảng trống | 1 | The length of the gap when using a non-solid stroke style |
+| Màu sắc | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| Hình dạng | Hình chữ nhật | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| Bán kính góc | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| Tô | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| Phụ thuộc thu phóng | false | This will change the stroke width based on the zoom level. |
\ No newline at end of file
diff --git a/docs/src/content/docs/vi/docs/v2/tools/texture.md b/docs/src/content/docs/vi/docs/v2/tools/texture.md
index cbaf24c17f61..26178ee9284b 100644
--- a/docs/src/content/docs/vi/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/vi/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: Kết cấu
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Configuration
-| Property | Default | Mô tả |
-| ------------------: | :-----: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Phụ thuộc thu phóng | false | This will change the stroke width based on the zoom level. |
-| Kết cấu | Mẫu | The pattern that should be added. |
-| Chiều rộng | 0 | The fixed width of the area. If set to `0`, the width will be calculated automatically. |
-| Chiều cao | 0 | The fixed height of the area. If set to `0`, the height will be calculated automatically. |
-| Tỷ lệ khung hình | 0 | The fixed aspect ratio of the area. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Property | Mô tả |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| Kết cấu | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/vi/docs/v2/tools/undo.md b/docs/src/content/docs/vi/docs/v2/tools/undo.md
index a7d87d8d2c23..18fdbd192064 100644
--- a/docs/src/content/docs/vi/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/vi/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-You can't select it and it will run the action if you click on it.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/vi/docs/v2/utilities.md b/docs/src/content/docs/vi/docs/v2/utilities.md
index c9d0ac7c79b7..385d5dbb021e 100644
--- a/docs/src/content/docs/vi/docs/v2/utilities.md
+++ b/docs/src/content/docs/vi/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## Máy ảnh
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/zh-hant/community/embed.md b/docs/src/content/docs/zh-hant/community/embed.md
index 9995cff0ad72..b0d75b64cf6f 100644
--- a/docs/src/content/docs/zh-hant/community/embed.md
+++ b/docs/src/content/docs/zh-hant/community/embed.md
@@ -22,6 +22,7 @@ Add the following code to your website:
| 儲存 | Boolean (true, false) | true | Enable save. If disabled, only an exit button will be shown |
| editable | Boolean (true, false) | true | Enable editing. If disabled, the document will be read-only |
| language | String (..., system, user) | user | Language of the document. If system, the language will be detected from the browser. If user, the language will set to the users preference |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/zh-hant/docs/v2/add.md b/docs/src/content/docs/zh-hant/docs/v2/add.md
index 55f3d35884f8..be046dc1d3ed 100644
--- a/docs/src/content/docs/zh-hant/docs/v2/add.md
+++ b/docs/src/content/docs/zh-hant/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## 匯入
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## 工具
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/zh-hant/docs/v2/background.mdx b/docs/src/content/docs/zh-hant/docs/v2/background.mdx
index 580a4a70479a..69d85b3c6869 100644
--- a/docs/src/content/docs/zh-hant/docs/v2/background.mdx
+++ b/docs/src/content/docs/zh-hant/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/zh-hant/docs/v2/intro.mdx b/docs/src/content/docs/zh-hant/docs/v2/intro.mdx
index 8a795e73a0ff..c2731d131fd9 100644
--- a/docs/src/content/docs/zh-hant/docs/v2/intro.mdx
+++ b/docs/src/content/docs/zh-hant/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/zh-hant/docs/v2/layers.md b/docs/src/content/docs/zh-hant/docs/v2/layers.md
index 2483d8936ac1..3e670d57513b 100644
--- a/docs/src/content/docs/zh-hant/docs/v2/layers.md
+++ b/docs/src/content/docs/zh-hant/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: 圖層
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-Here you can see all the layers in the project. To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+Here you can see all the layers in the project. To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| Option | 說明 |
+| -----: | --------------------------------------------------------------------------------- |
+| 上提一層 | Renders the selection on top of the first element in front of it. |
+| 下推一層 | Renders the selection under the first element behind it. |
+| 提至頂層 | Renders the selection in front of everything else. |
+| 推至底層 | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/zh-hant/docs/v2/pack.md b/docs/src/content/docs/zh-hant/docs/v2/pack.md
index 150a1568f9a4..9abc7f00b77f 100644
--- a/docs/src/content/docs/zh-hant/docs/v2/pack.md
+++ b/docs/src/content/docs/zh-hant/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## 調色板
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/zh-hant/docs/v2/shortcuts.md b/docs/src/content/docs/zh-hant/docs/v2/shortcuts.md
index 24c4ff5cef92..f586ab74710b 100644
--- a/docs/src/content/docs/zh-hant/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/zh-hant/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: 快速鍵
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## 滑鼠
+
+### Mouse configurations
+
+| Property | Default | 說明 |
+| -------: | :-----: | :---------------------------------------------------------------------------------------- |
+| 繪製時隱藏游標 | true | Hides the mouse pointer while you draw, so it does not cover your stroke. |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## 觸控
+
+### Touch configurations
+
+| Property | Default | 說明 |
+| -------: | :-----: | :---------------------------------------------------------------------------------------------------------- |
+| 手勢輸入 | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| 手勢移動 | true | Lets multi-touch gestures move the canvas instead of interacting with note content. |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## 鍵盤
-There are a few shortcuts that you can use in the editor.
-Some of them are written below the buttons.
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### 一般
@@ -14,44 +135,63 @@ Some of them are written below the buttons.
- `Ctrl` + `E`: Export file
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `E`: Export file as svg
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `P`: Open packs
- `Ctrl` + `Alt` + `S`: Open settings
+- `Escape`: Escape
### 專案
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: Undo
- `Ctrl` + `Y`: Redo
-- `Ctrl` + `Shift` + `P`: Open waypoints dialog
- `Ctrl` + `B`: Open background dialog
- `Ctrl` + `S`: Save
- `Alt` + `S`: Change path
-- `Ctrl` + (`1` - `0`): Switch to tool
- `Ctrl` + `+`: Zoom in
- `Ctrl` + `-`: Zoom out
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): Switch to tool
## 筆
-By default, the pen is configured to function as the following:
+### Pen configurations
-- `Pen`: configured as pen.
-- `First` (Primary button, if supported): Change to hand tool while pressed.
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| Property | Values | 說明 |
+| -------------------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| 只讓筆輸入 | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| Show pen only toggle | true, false | Shows a quick pen-only switch in the editor after Butterfly detects a pen. |
+| Ignore pressure | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/zh-hant/docs/v2/storage.md b/docs/src/content/docs/zh-hant/docs/v2/storage.md
index 5bedb7909c68..b06adc6af5dc 100644
--- a/docs/src/content/docs/zh-hant/docs/v2/storage.md
+++ b/docs/src/content/docs/zh-hant/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## 資料夾
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ You can also change it in the settings under `Data`.
In this directory you will find a folder `Documents`, `Templates` and `Packs`.
-## Web
+## Web {#web}
The application data is stored in your browser. It is stored in a local storage.
Open the developer tools in your browser and you will see the data.
@@ -39,7 +39,59 @@ Add the URL of the remote server and the username and password. After that you c
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### Offline sync {#offline}
@@ -48,7 +100,6 @@ Open the popup menu on a file or folder and click on `Sync`. This will download
There are a few limitations:
-- You can only sync the top level of a directory. For example if you have a directory `a/b/test.bfly`, this file will not be synced.
- You cannot delete a file or folder while you are offline.
- You cannot add, edit or delete templates while you are offline.
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/zh-hant/docs/v2/tools/area.md b/docs/src/content/docs/zh-hant/docs/v2/tools/area.md
index 549dfe51eb4a..1faf77fbb791 100644
--- a/docs/src/content/docs/zh-hant/docs/v2/tools/area.md
+++ b/docs/src/content/docs/zh-hant/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## Configuration
-| Property | Default | 說明 |
-| -------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| 寬度 | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| 高度 | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| 長寬比 | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| Property | Default | 說明 |
+| -------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| 討取名稱 | false | Whether a name prompt will appear before creation. |
+| 預設 | none | Various presets for width and height. |
+| 寬度 | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| 高度 | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| 長寬比 | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
There are three aspect ratio presets:
- Square (1:1)
-- Page portrait (sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
-- Page landscape (1/sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/zh-hant/docs/v2/tools/collection.md b/docs/src/content/docs/zh-hant/docs/v2/tools/collection.md
deleted file mode 100644
index 391210b26987..000000000000
--- a/docs/src/content/docs/zh-hant/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-You can't select it and it will run the action if you click on it.
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/zh-hant/docs/v2/tools/collection.mdx b/docs/src/content/docs/zh-hant/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/zh-hant/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/zh-hant/docs/v2/tools/eraser.md b/docs/src/content/docs/zh-hant/docs/v2/tools/eraser.md
index f12b5e8984a9..aabba00cc514 100644
--- a/docs/src/content/docs/zh-hant/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/zh-hant/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## Configuration
-| Property | Default | 說明 |
-| ----------------: | :-----: | :------------------------------------------------------------------------------- |
-| 筆劃寬度 | 5 | The width of the stroke |
-| Stroke multiplier | 1 | If you have a stylus, this is the multiplier which will be added to the pressure |
+| Property | Default | 說明 |
+| -----------------: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| 筆劃寬度 | 5 | The width of the stroke |
+| Erase shapes | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| Erase all elements | false | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | 說明 |
+| ---------------------------: | :------------------------------------------------------------------------------------------ |
+| Don't erase shapes | The eraser will not interact with shapes. |
+| Erase when touching edges | The shape will be erased when the eraser touches any edge. |
+| Erase when touching anywhere | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/zh-hant/docs/v2/tools/full_screen.md b/docs/src/content/docs/zh-hant/docs/v2/tools/full_screen.md
index ea23ff72ac89..e19718f8ff44 100644
--- a/docs/src/content/docs/zh-hant/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/zh-hant/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it will run the action if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/zh-hant/docs/v2/tools/grid.md b/docs/src/content/docs/zh-hant/docs/v2/tools/grid.md
index 1477e3ecae45..e91c6755f403 100644
--- a/docs/src/content/docs/zh-hant/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/zh-hant/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| 大小 | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| 顏色 | Black | The color of the grid. |
+| 不透明 | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| 隨應縮放 | false | Changes the grid stroke width based on the zoom level. |
+| 隨應縮放 | false | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| 依位置而定 | false | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/zh-hant/docs/v2/tools/index.md b/docs/src/content/docs/zh-hant/docs/v2/tools/index.md
index 5e7171d3af06..894059f7b126 100644
--- a/docs/src/content/docs/zh-hant/docs/v2/tools/index.md
+++ b/docs/src/content/docs/zh-hant/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ If you click on a selected tool you can configure it.
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/zh-hant/docs/v2/tools/pen.md b/docs/src/content/docs/zh-hant/docs/v2/tools/pen.md
index b2089824df52..3aa672aee461 100644
--- a/docs/src/content/docs/zh-hant/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/zh-hant/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -52,14 +54,14 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
## Configuration
-| Property | Default | 說明 |
-| -------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| 顏色 | Black | The color that will be drawn |
-| 筆劃寬度 | 5 | The width of the stroke |
-| 隨應縮放 | false | This will change the stroke width based on the zoom level. |
-| 形狀偵測 | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
-| 稀薄化 | 0.4 | This effect of pressure on the stroke size |
-| 平滑化 | 0.5 | This will smooth the edges of the stroke. |
-| 流線化 | 0.5 | How much the pen will follow the movement of the mouse. |
-| 顏色 | Black | The color that will be drawn |
-| 填滿 | Transparent | The color that will be drawn inside the shape |
+| Property | Default | 說明 |
+| ------------: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
+| 隨應縮放 | false | This will change the stroke width based on the zoom level. |
+| Combine paths | false | This will merge all strokes it touches into one path |
+| 形狀偵測 | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| 筆劃寬度 | 5 | The width of the stroke |
+| 稀薄化 | 0.4 | This effect of pressure on the stroke size |
+| 平滑化 | 0.5 | This will smooth the edges of the stroke. |
+| 流線化 | 0.3 | How much the pen will follow the movement of the mouse. |
+| 顏色 | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| 填滿 | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/zh-hant/docs/v2/tools/polygon.md b/docs/src/content/docs/zh-hant/docs/v2/tools/polygon.md
deleted file mode 100644
index a0149d9f1d56..000000000000
--- a/docs/src/content/docs/zh-hant/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## Configuration
-
-| Property | Default | 說明 |
-| -------: | :---------: | :--------------------------------------------------------------- |
-| 筆劃寬度 | 5 | The width of the stroke |
-| 顏色 | Black | The color that will be drawn |
-| 填滿 | Transparent | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/zh-hant/docs/v2/tools/polygon.mdx b/docs/src/content/docs/zh-hant/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..d228cc688c07
--- /dev/null
+++ b/docs/src/content/docs/zh-hant/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## Configuration
+
+| Property | Default | 說明 |
+| -------: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| 筆劃寬度 | 5 | The width of the stroke |
+| 顏色 | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| 填滿 | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/zh-hant/docs/v2/tools/redo.md b/docs/src/content/docs/zh-hant/docs/v2/tools/redo.md
index 8371adf3aba9..de44e24ca619 100644
--- a/docs/src/content/docs/zh-hant/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/zh-hant/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-You can't select it and it will run the action if you click on it.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/zh-hant/docs/v2/tools/select.md b/docs/src/content/docs/zh-hant/docs/v2/tools/select.md
index 40e632b33335..cffbcad58de9 100644
--- a/docs/src/content/docs/zh-hant/docs/v2/tools/select.md
+++ b/docs/src/content/docs/zh-hant/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## Configuration
-| Property | Default | 說明 |
-| -------: | :-----: | :--------------------------------------------------------------- |
-| Mode | 矩形 | Mode of selection. Valid are Rectangle and Lasso |
+| Property | Default | 說明 |
+| -------: | :------------: | :--------------------------------------------------------------- |
+| Mode | 矩形 | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | 說明 |
+| ----------------------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| Select when touching edges | The shape will be selected when the selected area intersects any edge. |
+| Select when touching anywhere | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/zh-hant/docs/v2/tools/shape.md b/docs/src/content/docs/zh-hant/docs/v2/tools/shape.md
index 9ade59cc232b..e0766e9c3056 100644
--- a/docs/src/content/docs/zh-hant/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/zh-hant/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## Configuration
-| Property | Default | 說明 |
-| -----------: | :-----: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| 顏色 | Black | The stroke color that will be drawn |
-| 筆劃寬度 | 5 | The width of the stroke |
-| Stroke style | 實線 | The style of the stroke. Other styles can use dash and gap lengths. |
-| Dash length | 1 | The length of the dash when using a non-solid stroke style |
-| Gap length | 1 | The length of the gap when using a non-solid stroke style |
-| 隨應縮放 | false | This will change the stroke width based on the zoom level. |
-| 形狀 | 矩形 | The shape that will be drawn |
-| 寬度 | 0 | The fixed width of the area. If set to 0, the width will be calculated automatically. |
-| 高度 | 0 | The fixed height of the area. If set to 0, the height will be calculated automatically. |
-| 長寬比 | 0 | The fixed aspect ratio of the area. If set to 0, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-| 中 | false | Draws the shape from the center instead of from the corner. |
-
-### Shape types
-
-#### 矩形
-
-| Property | Default | 說明 |
-| -------: | :---------: | :------------------------------------------------ |
-| 填滿 | Transparent | The color that will be drawn inside the rectangle |
-| 圓角大小 | 0, 0, 0, 0 | The radius of the corners of the rectangle |
-
-#### 三角形
-
-| Property | Default | 說明 |
-| -------: | :---------: | :----------------------------------------------- |
-| 填滿 | Transparent | The color that will be drawn inside the triangle |
-
-#### 圓形
-
-| Property | Default | 說明 |
-| -------: | :---------: | :--------------------------------------------- |
-| 填滿 | Transparent | The color that will be drawn inside the circle |
-
-#### 直線
-
-_No configuration available._
+| Property | Default | 說明 |
+| -----------: | :------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| 中 | false | Draws the shape from the center instead of from the corner. |
+| 寬度 | 0 | The fixed width of the area. If set to 0, the width will be calculated automatically. |
+| 高度 | 0 | The fixed height of the area. If set to 0, the height will be calculated automatically. |
+| 長寬比 | 0 | The fixed aspect ratio of the area. If set to 0, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
+| 筆劃寬度 | 5 | The width of the stroke |
+| Stroke style | 實線 | The style of the stroke. Other styles can use dash and gap lengths. |
+| Dash length | 1 | The length of the dash when using a non-solid stroke style |
+| Gap length | 1 | The length of the gap when using a non-solid stroke style |
+| 顏色 | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| 形狀 | 矩形 | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| 圓角大小 | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| 填滿 | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| 隨應縮放 | false | This will change the stroke width based on the zoom level. |
\ No newline at end of file
diff --git a/docs/src/content/docs/zh-hant/docs/v2/tools/texture.md b/docs/src/content/docs/zh-hant/docs/v2/tools/texture.md
index 7676ab8873e9..b3c1158ee5cc 100644
--- a/docs/src/content/docs/zh-hant/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/zh-hant/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: 紋理
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## Configuration
-| Property | Default | 說明 |
-| -------: | :-----: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| 隨應縮放 | false | This will change the stroke width based on the zoom level. |
-| 紋理 | 圖案 | The pattern that should be added. |
-| 寬度 | 0 | The fixed width of the area. If set to `0`, the width will be calculated automatically. |
-| 高度 | 0 | The fixed height of the area. If set to `0`, the height will be calculated automatically. |
-| 長寬比 | 0 | The fixed aspect ratio of the area. If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| Property | 說明 |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| 紋理 | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/zh-hant/docs/v2/tools/undo.md b/docs/src/content/docs/zh-hant/docs/v2/tools/undo.md
index a7d87d8d2c23..18fdbd192064 100644
--- a/docs/src/content/docs/zh-hant/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/zh-hant/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-You can't select it and it will run the action if you click on it.
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/zh-hant/docs/v2/utilities.md b/docs/src/content/docs/zh-hant/docs/v2/utilities.md
index 375f32903dd4..c9a4aa9b55f7 100644
--- a/docs/src/content/docs/zh-hant/docs/v2/utilities.md
+++ b/docs/src/content/docs/zh-hant/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## 鏡頭
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/content/docs/zh/community/embed.md b/docs/src/content/docs/zh/community/embed.md
index b367a40de9fa..58bf8bd85e04 100644
--- a/docs/src/content/docs/zh/community/embed.md
+++ b/docs/src/content/docs/zh/community/embed.md
@@ -17,11 +17,12 @@ title: 嵌入
## 备选方案
-| 选项 | 类型 | 默认设置 | 描述 |
-| --- | ------------------------------------------------------------------------------------ | ---- | ----------------------------------------- |
-| 保存 | 布尔值(true,false) | true | 启用保存。 如果禁用,只显示退出按钮 |
-| 可编辑 | 布尔值(true,false) | true | 启用编辑。 如果禁用,文档将只读 |
-| 语言 | 字符串 (..., 系统, 用户) | user | 文件所用语文。 如果系统从浏览器中检测到该语言。 如果用户,语言将设置为用户首选项 |
+| 选项 | 类型 | 默认设置 | 描述 |
+| -------- | ------------------------------------------------------------------------------------ | ---- | ---------------------------------------------------------------------------------------------------------------------- |
+| 保存 | 布尔值(true,false) | true | 启用保存。 如果禁用,只显示退出按钮 |
+| 可编辑 | 布尔值(true,false) | true | 启用编辑。 如果禁用,文档将只读 |
+| 语言 | 字符串 (..., 系统, 用户) | user | 文件所用语文。 如果系统从浏览器中检测到该语言。 如果用户,语言将设置为用户首选项 |
+| fileName | String | | Display this file name in the embed title. It is visual only and does not change the document metadata |
## Messaging
@@ -36,7 +37,7 @@ messages to the iframe and listens for messages from it.
```html
@@ -64,6 +65,11 @@ messages to the iframe and listens for messages from it.
console.log('Save requested by the embed', documentBytes);
}
+ if (type === 'exit') {
+ const documentBytes = Array.from(message);
+ console.log('Exit requested by the embed', documentBytes);
+ }
+
if (type === 'change') {
console.log('Document changed', message);
}
diff --git a/docs/src/content/docs/zh/community/faq.md b/docs/src/content/docs/zh/community/faq.md
index 6b34d3b7e9c9..474fb89b8394 100644
--- a/docs/src/content/docs/zh/community/faq.md
+++ b/docs/src/content/docs/zh/community/faq.md
@@ -63,6 +63,7 @@ Butterfly在iOS下有预览版。 点击此[链接](https://butterfly.linwood.de
See [Stylus support](/docs/v2/stylus-support/) for current behavior, settings, and issue links.
我使用流体框架提供的输入。
+There are already issues to track it:
Linux: [flutter/flutter#63209](https://github.com/flutter/flutter/issues/63209)
这些问题比以前更长。 网络版本现在应该很好。
diff --git a/docs/src/content/docs/zh/docs/v2/add.md b/docs/src/content/docs/zh/docs/v2/add.md
index ad3ac7f45aeb..c8f29f0254b1 100644
--- a/docs/src/content/docs/zh/docs/v2/add.md
+++ b/docs/src/content/docs/zh/docs/v2/add.md
@@ -7,14 +7,14 @@ Here you can add things to your notes.
## 导入
Here you can import existing files into your documents.
-Supported are Butterfly documents, Markdown, PNG, SVG, and PDF.
+Supported are Butterfly, Xournal++ and OneNote documents, Markdown, PNG, SVG, and PDF.
## 工具
To add tools to your toolbar, click them.
Read more about them [here](../tools).
-## Surfaces
+## Surfaces {#surfaces}
These are special tools to create surfaces.
diff --git a/docs/src/content/docs/zh/docs/v2/background.mdx b/docs/src/content/docs/zh/docs/v2/background.mdx
index 580a4a70479a..69d85b3c6869 100644
--- a/docs/src/content/docs/zh/docs/v2/background.mdx
+++ b/docs/src/content/docs/zh/docs/v2/background.mdx
@@ -33,7 +33,7 @@ To reorder the layers, use the and `Cut` - Deletes the selection and adds it to the clipboard.
+* `Copy` - Adds the selection to the clipboard.
+* `Duplicate` - Creates a duplicate version of the selection to place on the canvas.
+* `Delete` - Deletes the selection.
+* `Arrange` - [Arrange](../layers#arrange) the order in which the selection is rendered relative to the other elements in its [Layer](../layers).
+* `Operations` - Flips the selection vertically or horizontally and provides renderer-specific operations when available.
+* `Properties` - Opens the properties view of the selection. Default properties are position, rotation and shear
+* `Change collection` - Changes the [Collection](../tools/collection) this selection belongs to. Here you need to enter the name of the (maybe nonexistent) collection.
+* `Move to layer` - Changes the [Layer](../layers) this selection belongs to.
+* `Export` - Exports the selection as an Image, SVG or PDF.
+* `Add to pack` - Adds the selection as an asset to a [Pack](../pack/#adding-a-component-into-a-pack)
+
+Special actions:
+
+* `Paste` - Using long press with the [Select tool](../tools/select) on an empty canvas position pastes the clipboard at that point.
+* `Edit` - Enters edit mode for this specific [Polygon](../tools/polygon)
diff --git a/docs/src/content/docs/zh/docs/v2/intro.mdx b/docs/src/content/docs/zh/docs/v2/intro.mdx
index dcd003b69532..b1885cef1230 100644
--- a/docs/src/content/docs/zh/docs/v2/intro.mdx
+++ b/docs/src/content/docs/zh/docs/v2/intro.mdx
@@ -132,7 +132,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -148,7 +148,7 @@ You can return from the document view to the document list with the back action
* The [ Lasso Select tool](../tools/select)
* The [ Pen tool](../tools/pen)
- * The [ Path Erase tool](../tools/path_eraser)
+ * The [ Path Erase tool](../tools/eraser)
* The [ Undo](../tools/undo) and [ Redo](../tools/redo) buttons
* The [ Hand tool](../tools/hand).
@@ -157,14 +157,14 @@ You can return from the document view to the document list with the back action
-#### Customizing the Toolbar
+#### Customizing the Toolbar {#customizing-the-toolbar}
To add more tools to the toolbar, click the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then click-and-drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then click it again.
@@ -173,7 +173,7 @@ You can return from the document view to the document list with the back action
To add more tools to the toolbar, tap the Add button. In the Add menu, you can use the search bar or filters to find the tool you are looking for. For more information, see [Add](../add).
- To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#configure).
+ To reorder the tools on your toolbar, first select a tool and then long-tap and drag it to a new position. Some input methods have shortcuts to quickly switch to tools based on their position on the toolbar, which can be [configured](../shortcuts#tool-activators).
Many tools have a configuration menu, which allows you to change settings about how the tool behaves. To open this menu, first select a tool in the toolbar and then tap it again.
diff --git a/docs/src/content/docs/zh/docs/v2/layers.md b/docs/src/content/docs/zh/docs/v2/layers.md
index 893f85c72b03..7cedc279e5b6 100644
--- a/docs/src/content/docs/zh/docs/v2/layers.md
+++ b/docs/src/content/docs/zh/docs/v2/layers.md
@@ -2,18 +2,43 @@
title: 图层
---
-Layers allow you to separate elements from each other and choose which layers are rendered on top of others.
+Layers allow you to separate elements from each other and choose which layers are rendered on top of
+others.
Layers are drawn from bottom to top, so the top layer will be shown above all other layers.
:::note\[Note]
-Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a lightweight way to group elements, but do not affect the order in which they are rendered.
+Be aware that [Collections](../tools/collection) are not the same as layers. Collections are a
+lightweight way to group elements, but do not affect the order in which they are rendered.
:::
## The Layers dialog
-Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the Layers icon in the Navigation Rail if it is enabled.
+Open the layer dialog by clicking on the Butterfly button and selecting Layers, or by selecting the
+Layers icon in the Navigation Rail if it is enabled.
-在这里你可以看到项目中的所有图层。 To create a new layer, use the Create button. To show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting the three dots.
\ No newline at end of file
+在这里你可以看到项目中的所有图层。 To create a new layer, use the Create button. To
+show or hide a layer, use the eye button. To reorder the layers, click and drag the handle on the
+right. You can also delete, rename, or duplicate a layer by right-clicking the layer or selecting
+the three dots.
+
+## Arrange {#arrange}
+
+Within a layer you can set the rendering order by arranging the elements using
+the [context menu](../context_menu).
+
+| 选项 | 描述 |
+| ----: | --------------------------------------------------------------------------------- |
+| 前进中 | Renders the selection on top of the first element in front of it. |
+| 向后发送 | Renders the selection under the first element behind it. |
+| 置于前端 | Renders the selection in front of everything else. |
+| 发送到背面 | Renders the selection behind everything else. |
+
+By default, elements within the same layer that were placed later are put in front of elements that
+were placed before them.
+This order stays consistent except when changed via the context menu.
+
+For moved elements to be placed on top, enable `Bring moved elements to front` in the behaviors
+settings.
diff --git a/docs/src/content/docs/zh/docs/v2/pack.md b/docs/src/content/docs/zh/docs/v2/pack.md
index a00225c22e85..0afa24c074b3 100644
--- a/docs/src/content/docs/zh/docs/v2/pack.md
+++ b/docs/src/content/docs/zh/docs/v2/pack.md
@@ -21,7 +21,7 @@ Components are a way to save elements that you use often. You can create your ow
Use the components navigator page to paste components into your notes.
-### Adding a component into a pack
+### Adding a component into a pack {#adding-a-component-into-a-pack}
To add a component:
@@ -39,4 +39,4 @@ Styles are used to customize the appearance of the text. The paragraph styles ca
## Palettes
-The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../color_picker)) when you edit a color.
+The color palettes can be used to quickly select colors for the colorable tools. You will see a color picker overlay (as mentioned in the [color picker documentation](../colors)) when you edit a color.
diff --git a/docs/src/content/docs/zh/docs/v2/shortcuts.md b/docs/src/content/docs/zh/docs/v2/shortcuts.md
index 9dd0aa09184f..25e316b0c1d2 100644
--- a/docs/src/content/docs/zh/docs/v2/shortcuts.md
+++ b/docs/src/content/docs/zh/docs/v2/shortcuts.md
@@ -2,10 +2,131 @@
title: 快捷键
---
+Shortcuts are a way to map specific inputs to an action that influences the editor.
+
+To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such
+as `Mouse`, `Touch`, `Keyboard` or `Pen`. You will be presented with a list of configurable inputs
+and the actions they are currently mapped to.
+
+These actions are divided into [tool activators](#tool-activators)
+and [document actions](#document-actions).
+
+## Tool activators {#tool-activators}
+
+You can customize your controls by changing which tools your inputs map to.
+
+**Note:** Tool activators will be ignored while certain tools are selected, such as the Select tool,
+the Label tool, and the Area tool.
+
+- `None`: Nothing will happen when using this input.
+- `Active Tool`: The input will act as the currently selected tool on the toolbar.
+- `Hand Tool`: The input will use the hand tool as a [temporary tool](../tools#temporary-tools),
+ allowing you to move around the canvas.
+- `Specific Tool on Toolbar`: The input will use the specified tool on the toolbar as
+ a [temporary tool](../tools#temporary-tools), based on the position you specify. Positions are
+ counted
+ starting from the left, so if you specify position `1`, the first tool on the left will be
+ selected. See the screenshot below for an example of how position numbers are counted. For
+ information about how to reorder your tools,
+ see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
+
+
+
+## Document actions {#document-actions}
+
+- `None`: Nothing happens
+- `Long press`: Opens the [Context menu](../context_menu)
+- `Search`: Searches the document for pages and tools
+- `Undo`: Triggers the [Undo tool](../tools/undo)
+- `Redo`: Triggers the [Redo tool](../tools/redo)
+- `Background`: Opens the [Background dialog](../background)
+- `Save`: Saves the document state
+- `Change path`: Changes where the document is stored relative to the `Documents` folder
+ in [Data directory](../storage/#data-directory).
+- `Zoom in`: Zooms into the canvas at the current position. See [Camera](../utilities/camera).
+- `Zoom out`: Zooms out of the canvas at the current position. See [Camera](../utilities/camera).
+- `Rotate left`: Rotates the canvas counter-clockwise. See [Camera](../utilities/camera).
+- `Rotate right`: Rotates the canvas clockwise. See [Camera](../utilities/camera).
+- `Full screen`: Toggles [Full screen](../tools/full_screen)
+- `Hide UI`: Hides everything except the canvas. To leave this view, click the `Exit` button on the
+ bottom right.
+- `Next page`: Navigates to the next [page](../pages)
+- `Previous page`: Navigates to the previous [page](../pages)
+- `Select all`: Selects all elements on the canvas
+- `Paste`: Pastes the clipboard
+- `Tool 1-10`: Switches the active tool to the specified toolbar position
+
+The canvas rotation and zoom step can be changed in `Settings` → `Behaviours`.
+
+---
+
+## 鼠标
+
+### Mouse configurations
+
+| 属性 | 默认设置 | 描述 |
+| ------: | :--: | :---------------------- |
+| 绘制时隐藏光标 | true | 当您绘制时隐藏鼠标指针,所以它不覆盖您的笔划。 |
+
+### Mouse shortcuts
+
+**Tool activators**:
+
+- `Left`: When holding the left mouse button. Defaults to `Active Tool`
+- `Middle`: When holding the mouse wheel. Defaults to `Hand Tool`
+- `Right`: When holding the right mouse button. Defaults to `Toolbar Position 2`
+- `Back`: When clicking 4th mouse button at the side of some mice.
+- `Forward`: When clicking 5th mouse button at the side of some mice.
+
+**Document actions**:
+
+_By default, the mouse document actions are all set to `None`._
+
+- `Double Left`: A double click on the left mouse button
+- `Triple Left`: A triple click on the left mouse button
+- `Double Middle`: A double click on the mouse wheel
+- `Triple Middle`: A triple click on the mouse wheel
+- `Double Right`: A double click on the right mouse button
+- `Triple Right`: A triple click on the right mouse button
+- `Double Back`: A double click on the 4th mouse button at the side of some mice
+- `Triple Back`: A triple click on the 4th mouse button at the side of some mice
+- `Double Forward`: A double click on the 5th mouse button at the side of some mice
+- `Triple Forward`: A triple click on the 5th mouse button at the side of some mice
+
+## 触摸
+
+### Touch configurations
+
+| 属性 | 默认设置 | 描述 |
+| ---: | :--: | :---------------------------------------------------------------------------------------------------------- |
+| 输入手势 | true | Lets you move and zoom the canvas with touch gestures, even while drawing tool is selected. |
+| 手势移动 | true | 让多点触摸手势移动画布,而不是与笔记内容交互。 |
+
+### Touch shortcuts
+
+**Tool activators**:
+
+- `Touch`: When touching the screen. Defaults to `Active Tool`
+
+**Document actions**:
+
+_By default, the touch document actions are all set to `None`._
+
+- `Double press action`: A double-tap
+- `Triple press action`: A triple-tap
+- `Two finger tap`: A simultaneous two-finger tap
+- `Three finger tap`: A simultaneous three-finger tap
+
## 键盘
-您可以在编辑器中使用一些快捷方式。
-其中一些是在按钮下面写的。
+Keyboard actions are divided into the categories hold shortcuts
+for **tool activators**, general and project
+for **document actions**.
+
+### Hold shortcuts
+
+_There is no default configuration. You may add any key mappings
+to **tool activators**._
### 常规
@@ -14,44 +135,63 @@ title: 快捷键
- `Ctrl` + `E`:导出文件
- `Ctrl` + `Shift` + `E`: Export file (text based)
- `Ctrl` + `Alt` + `Shift` + `E`: Export file as image
-- `Ctrl` + `Alt` + `E`: 导出文件为 svg
-- `Ctrl` + `Shift` + `P`: Export file as pdf
+- `Ctrl` + `Shift` + `P`: Export file as PDF
+- `Ctrl` + `Alt` + `E`: Export file as SVG
- `Ctrl` + `Alt` + `P`: 打开包
- `Ctrl` + `Alt` + `S`: 打开设置
+- `Escape`: Escape
### 项目
- `Ctrl` + `K`: Open search
- `Ctrl` + `Z`: 撤销
- `Ctrl` + `Y`: Redo
-- `Ctrl` + `Shift` + `P`: 打开航点对话框
- `Ctrl` + `B`: 打开背景对话框
- `Ctrl` + `S`: 保存
- `Alt` + `S`: 更改路径
-- `Ctrl` + (`1` - `0`): 切换到工具
- `Ctrl` + `+`: 缩放
- `Ctrl` + `-`:缩放
+- `Ctrl` + `Shift` + `Left`: Rotate canvas left
+- `Ctrl` + `Shift` + `Right`: Rotate canvas right
+- `F11`: Full screen
+- `F12`: Hide UI
+- `Arrow Right`: Next slide in presentation
+- `Arrow Left`: Previous slide in presentation
+- `Page Down`: Next page
+- `Page Up`: Previous page
+- `Ctrl` + `Space`: Pause presentation
+- `Ctrl` + `A`: Select all
+- `Ctrl` + `V`: Pastes the clipboard
+- `Ctrl` + (`1` - `0`): 切换到工具
## 笔
-By default, the pen is configured to function as the following:
+### Pen configurations
-- “Pen\`:被配置为笔”。
-- `First` (主按钮,如果支持的话):按住时更改为手工具。
-- `Second` (Secondary button, if supported): Change to second tool (see [configure](#configure) section below) while pressed.
+| 属性 | Values | 描述 |
+| ------: | :------------------------------: | :------------------------------------------------------------------------------------------------------------------------------- |
+| 只输入笔数 | Automatic, Always on, Always off | Prevents accidental marks from your hand or mouse when only pen input can draw. |
+| 只显示画笔开关 | true, false | Butterfight 检测到笔刷后在编辑器中显示一个快速的纯笔开关。 |
+| 忽略压力 | Never, First, Always | Controls whether a pen pressure changes the stroke and works around inaccurate pressure readings from some pens. |
-## Configuring {#configure}
+### Pen shortcuts
-You can customize your controls by changing which tools your inputs map to.
-
-**Note:** Input configurations will be ignored while certain tools are selected, such as the Lasso Select tool, the Rectangle Select tool, the Label tool, and the Area tool.
+By default, the pen is configured to function with the
+following **tool activators**:
-To begin, go to `Settings` → `Inputs` and then select the input method you want to configure, such as `Mouse`, `Touch`, or `Pen`. You will be presented with a list of configurable inputs and the tools they are currently mapped to.
+- `Pen`: Using the pen normally. Defaults to `Active Tool`
+- `Inverted Pen`: Using the pen in inverted mode. Defaults to `Toolbar Position 4`
+- `First`: While holding its primary button, if supported. Defaults to `Toolbar Position 3` (often
+ path-eraser)
+- `Second`: While holding its secondary button, if supported. Defaults to `Toolbar Position 2`
-After selecting an input, you will have 3 options:
+_By default, the pen **document actions** are all set to `None`._
-- `Active Tool`: The input will act as the currently selected tool on the toolbar.
-- `Hand Tool`: The input will temporarily switch to the hand tool, allowing you to move around the canvas.
-- `Specific Tool on Toolbar`: The input will temporarily switch to a tool on your toolbar, based on the position number you specify. Positions are counted starting from the left, so if you specify position `1`, the first tool on the left will be selected. See the screenshot below for an example of how position numbers are counted. For information about how to reorder your tools, see [Customizing the Toolbar](../intro/#customizing-the-toolbar).
-
-
+- `Double Pen`: Double-tapping using a pen
+- `Triple Pen`: Triple-tapping using a pen
+- `Double Inverted Pen`: Double-tapping using a pen in inverted mode
+- `Triple Inverted Pen`: Triple-tapping using a pen in inverted mode
+- `Double First`: Double-tapping using a pen while holding its primary button
+- `Triple First`: Triple-tapping using a pen while holding its primary button
+- `Double Second`: Double-tapping using a pen while holding its secondary button
+- `Triple Second`: Triple-tapping using a pen while holding its secondary button
diff --git a/docs/src/content/docs/zh/docs/v2/storage.md b/docs/src/content/docs/zh/docs/v2/storage.md
index 1f47bf22d7ae..ae659e491e77 100644
--- a/docs/src/content/docs/zh/docs/v2/storage.md
+++ b/docs/src/content/docs/zh/docs/v2/storage.md
@@ -6,7 +6,7 @@ sidebar_position: 2
There are multiple ways of storing notes in Butterfly.
Either by using your device storage, or by using the cloud storage (WebDAV).
-## 数据目录
+## Data directory {#data-directory}
The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in `~/Documents/Linwood/Butterfly`.
@@ -15,7 +15,7 @@ On desktop you can find it in `~/Documents/Linwood/Butterfly`.
在这个目录中,你会找到一个文件夹 `Documents`, `Templates` 和 `Packs` 。
-## Web
+## Web {#web}
应用程序数据存储在您的浏览器。 它存储在本地存储中。
在您的浏览器中打开开发者工具,您将看到数据。
@@ -39,7 +39,59 @@ The application data can be stored on a remote server. 如果您想要与其他
To get the WebDAV URL, please visit the documentation:
-- [Nextcloud](https://docs.nextcloud.com/serverura/user_manual/en/files/access_webdav.html) (它看起来像这样:`https://nextcloud.example.com/remote.php/dav/files/username/`, 替换`username` 和 `nextcloud.example.com`
+[Nextcloud](https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html) (it should look like this: `https://nextcloud.example.com/remote.php/dav/files/username/`, replace `username` and `nextcloud.example.com` with the correct values)
+
+### Instructions for NextCloud
+
+#### How to get the URL
+
+1. Go to `Files`
+ 
+2. Press the button on the bottom of the sidebar `Files settings`
+ 
+3. Scroll down to the `WebDAV` section, then copy the full URL shown inside
+ 
+4. Switch to Butterfly, and paste the URL in the URL input box in Butterfly
+ 
+
+#### How to get the password and username
+
+1. Go to your Nextcloud account info by pressing the profile picture on the corner
+2. Then, press `Settings`
+ 
+3. In the Security tab, scroll down to `Devices & sessions`
+4. Enter any name for the app name input box
+ - "Butterfly Connection" is a good name to use, as it is identifiable and clear.
+5. Press the button called `Create new app password`
+ 
+6. After authenticating, copy the app password username shown on the page, and paste it in the username input box in Butterfly
+ 
+7. Finally, copy the password and paste it in the password input box in Butterfly
+ 
+
+#### Finalizing the connection setup
+
+After doing the above, press the `Connect` button.
+
+If you have done everything correctly, there will be some new stuff down the popup.
+
+
+Type the name of this connection in the `Name` inputbox, you can name it anything.
+
+Then, for the `Directory` inputbox, you need to type where should Butterfly store stuff inside this cloud storage.
+
+For example:
+if you type `ButterflyDocs` for `Directory`, Butterfly will store all your files inside the `ButterflyDocs` folder in your cloud storage.
+
+:::note
+
+- Avoid symbols in folder names (to be safe)
+- Butterfly will create the folder if it doesnt exist
+ :::
+
+Lastly, after typing the name of the folder you want Butterfly to store your notes in, press `Create`.
+
+That's it. Syncing to the cloud should work now. 🎉
### 离线同步 {#offline}
@@ -48,7 +100,6 @@ To get the WebDAV URL, please visit the documentation:
有一些限制:
-- 您只能同步目录的顶级。 例如,如果您有一个目录 `a/b/test.bfly`,此文件将不会同步。
- 您不能在离线时删除文件或文件夹。
- 您不能在离线时添加、编辑或删除模板。
@@ -67,7 +118,7 @@ Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.t
This file type is the recommended format for saving notes.
It is a zip archive containing the information (mostly in JSON files) about the note.
-These included JSON files aren't optimized for human readability.
+These included JSON files aren't optimized to be readable by a human in its raw form.
### Butterfly Raw Note (.tbfly)
diff --git a/docs/src/content/docs/zh/docs/v2/tools/area.md b/docs/src/content/docs/zh/docs/v2/tools/area.md
index ea17c9e8d816..ab03d4c59747 100644
--- a/docs/src/content/docs/zh/docs/v2/tools/area.md
+++ b/docs/src/content/docs/zh/docs/v2/tools/area.md
@@ -16,14 +16,16 @@ For an overview of how areas work, see [Areas](../../areas).
## 配置
-| 属性 | 默认值 | 描述 |
-| --: | :-: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| 宽度 | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
-| 高度 | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
-| 宽高比 | `0` | The fixed aspect ratio for new areas. Press the button to access some common presets. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
+| 属性 | 默认值 | 描述 |
+| ---: | :---: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| 询问名称 | false | Whether a name prompt will appear before creation. |
+| 预设值 | none | Various presets for width and height. |
+| 宽度 | `0` | The fixed width for new areas. If set to `0`, this setting will be ignored. |
+| 高度 | `0` | The fixed height for new areas. If set to `0`, this setting will be ignored. |
+| 宽高比 | `0` | The fixed aspect ratio for new areas. Select a preset from the segmented control or enter a custom value in the input field. An aspect ratio is defined as width / height, so values less than `1` will be taller than they are wide, and values greater than `1` will be wider than they are tall. If set to `0`, this setting will be ignored. |
三个宽高比预设如下:
- 正方形(1:1)
-- 竖屏(sqrt(2)) - 这是竖屏模式下A4页面的默认宽高比。
-- 横屏(1/sqrt(2)) - 这是横屏模式下A4页面的默认宽高比。
+- Page portrait (1/sqrt(2)) - This is the default aspect ratio of an A4 page in portrait mode.
+- Page landscape (sqrt(2)) - This is the default aspect ratio of an A4 page in landscape mode.
diff --git a/docs/src/content/docs/zh/docs/v2/tools/collection.md b/docs/src/content/docs/zh/docs/v2/tools/collection.md
deleted file mode 100644
index 04e12e44a7ef..000000000000
--- a/docs/src/content/docs/zh/docs/v2/tools/collection.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Collection tool
----
-
-:::note[⚡ Action tool]
-
-This is a special tool.
-您不能选择它,如果您点击它,它将运行该动作。
-
-:::
-
-With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
-
-When you click on an object, the collection of the object will be changed to the collection set in the configuration. Leaving the collection field empty will set the collection to the default collection.
diff --git a/docs/src/content/docs/zh/docs/v2/tools/collection.mdx b/docs/src/content/docs/zh/docs/v2/tools/collection.mdx
new file mode 100644
index 000000000000..7cce69840988
--- /dev/null
+++ b/docs/src/content/docs/zh/docs/v2/tools/collection.mdx
@@ -0,0 +1,24 @@
+---
+title: Collection tool
+---
+
+import {Cursor, Selection, TextT, Trash, Stack} from "@phosphor-icons/react";
+
+:::note[⚡ Action tool]
+
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
+
+:::
+
+With this tool group multiple elements together. For more complex grouping see [layers](../../layers).
+
+When you create an object, its collection will be set to the active collection set in the configuration. To change the collection of an existing object click "Change collection" and then proceed to type the name of the collection (which may or may not already exist). Leaving the collection field empty will set the collection to the default collection.
+
+To select the active collection click on its name in the collection tool menu. There can only be one empty collection at once, and it will vanish as soon as another collection is selected.
+
+* `Select a custom collection` - Selects an existing named collection or creates a new empty collection, then makes it active.
+* `Select` - Selects all elements of the active collection.
+* `Rename` - Changes the name of the active collection. Renaming the default collection moves its elements into the entered collection name.
+* `Delete elements` - Deletes the active collection along with all of its elements.
+* `Move to Layer` - Moves all elements in the active collection to a specific layer.
diff --git a/docs/src/content/docs/zh/docs/v2/tools/eraser.md b/docs/src/content/docs/zh/docs/v2/tools/eraser.md
index e8528bbab343..840a5533919d 100644
--- a/docs/src/content/docs/zh/docs/v2/tools/eraser.md
+++ b/docs/src/content/docs/zh/docs/v2/tools/eraser.md
@@ -6,7 +6,20 @@ With this tool you can erase the elements on the paper.
## 配置
-| 属性 | 默认设置 | 描述 |
-| ---: | :--: | :--------------------- |
-| 笔画宽度 | 5 | 笔画的宽度 |
-| 笔记倍数 | 1 | 如果您有一个样式表,这是将添加到压力中的乘数 |
+| 属性 | 默认设置 | 描述 |
+| -----: | :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Mode | Stroke | `Stroke` cuts touched portions out of strokes and keeps the remaining fragments. `Path` removes the complete touched path or element. |
+| 笔画宽度 | 5 | 笔画的宽度 |
+| 擦除形状 | Touch anywhere | [Erase shapes mode](#erase-shapes-mode) |
+| 删除所有元素 | false | Enables erasure for all elements (e.g. images and barcodes), except for those discussed in Erase shapes. |
+
+### Erase shapes mode {#erase-shapes-mode}
+
+Defines which part of a [shape](../shape) or [polygon](../polygon) needs to be touched for it to be
+erased.
+
+| Mode | 描述 |
+| --------: | :------------------------------------------------------------------------------------------ |
+| 不擦除形状 | The eraser will not interact with shapes. |
+| 触摸边缘时擦除 | The shape will be erased when the eraser touches any edge. |
+| 触摸任何地方时擦除 | The shape will be erased when the eraser is used anywhere inside the shape. |
diff --git a/docs/src/content/docs/zh/docs/v2/tools/full_screen.md b/docs/src/content/docs/zh/docs/v2/tools/full_screen.md
index 74ff5def2503..e19718f8ff44 100644
--- a/docs/src/content/docs/zh/docs/v2/tools/full_screen.md
+++ b/docs/src/content/docs/zh/docs/v2/tools/full_screen.md
@@ -2,11 +2,12 @@
title: Full screen tool
---
-:::note[⚡ Action tool]
+:::note[🔘 Toggleable tool]
This is a special tool.
-您不能选择它,如果您点击它,它将运行该动作。
+It can't be selected and will run the action immediately when you click on it.
:::
-When clicking on this tool you can toggle full screen.
+Clicking this tool toggles full-screen mode. In full-screen mode, the sidebar and app bar are hidden
+to make more room for the canvas. A second click restores the previous state.
diff --git a/docs/src/content/docs/zh/docs/v2/tools/grid.md b/docs/src/content/docs/zh/docs/v2/tools/grid.md
index 1b25402e1349..79e843e7f9b8 100644
--- a/docs/src/content/docs/zh/docs/v2/tools/grid.md
+++ b/docs/src/content/docs/zh/docs/v2/tools/grid.md
@@ -5,7 +5,7 @@ title: Grid tool
:::note[🔘 Toggleable tool]
This is a special tool.
-You can't select it and it gets toggled if you click on it.
+It can't be selected and will run the action immediately when you click on it.
:::
@@ -19,6 +19,7 @@ Inputs get snapped to the grid.
| 大小 | (20, 20) | The size of the grid cells on the x and y axis. |
| Offset | (0, 0) | The offset of the grid on the x and y axis. |
| 颜色 | 黑色 | The color of the grid. |
+| 不透明度 | 255 | The opacity of the grid lines. |
| Stroke | 1 | The width of the grid lines. |
-| 依靠缩放 | false | Changes the grid stroke width based on the zoom level. |
+| 依靠缩放 | false | Changes the grid cell spacing and snapping behavior relative to the zoom level. |
| 位置依赖关系 | false | Makes the grid depend on the canvas position instead of staying fixed on the viewport. |
diff --git a/docs/src/content/docs/zh/docs/v2/tools/index.md b/docs/src/content/docs/zh/docs/v2/tools/index.md
index 6354aca5a0fe..9803a6557dfc 100644
--- a/docs/src/content/docs/zh/docs/v2/tools/index.md
+++ b/docs/src/content/docs/zh/docs/v2/tools/index.md
@@ -11,6 +11,6 @@ Create a new tool by clicking on the plus icon. Change the tool order by draggin
The name of the tool will be displayed as tooltip on hover on the tool.
-## Temporary tools
+## Temporary tools {#temporary-tools}
There can be only one temporary tool at a time. It appears on the left of the toolbar and will disappear when another tool is selected.
diff --git a/docs/src/content/docs/zh/docs/v2/tools/pen.md b/docs/src/content/docs/zh/docs/v2/tools/pen.md
index 2fcaf8292b65..5853c158b22a 100644
--- a/docs/src/content/docs/zh/docs/v2/tools/pen.md
+++ b/docs/src/content/docs/zh/docs/v2/tools/pen.md
@@ -19,13 +19,15 @@ First, add a new pen tool into the toolbar
1. Press the + button in the toolbar!
2. Add a pen
3. Hold the new pen icon to move it
- - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure the correct tool is activated for each input
+ - Note: when moving any tool, make sure to modify the settings in the behaviors tab to make sure
+ the correct tool is activated for each input
Then, modify the new pen
1. Open the properties panel of the new pen by pressing it again
2. Rename the pen by double tapping the tool's name.
-3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing the icon
+3. After renaming the pen to highlighter, change the icon to match the highlighter look by pressing
+ the icon
Finally, after modifying the tool's appearance. It's time to modify the properties!
@@ -54,12 +56,12 @@ Finally, after modifying the tool's appearance. It's time to modify the properti
| 属性 | 默认设置 | 描述 |
| ---: | :--------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------- |
-| 颜色 | 黑色 | 将绘制的颜色 |
-| 笔画宽度 | 5 | 笔画的宽度 |
| 依靠缩放 | false | 这将改变基于缩放级别的笔画宽度。 |
+| 合并路径 | false | This will merge all strokes it touches into one path |
| 形状检测 | false (Delay: 0.5s) | This will try to detect shapes while drawing. If a shape is detected, it will be replaced by the shape. |
+| 笔画宽度 | 5 | 笔画的宽度 |
| 细化 | 0.4 | This effect of pressure on the stroke size |
| 平滑化 | 0.5 | This will smooth the edges of the stroke. |
-| 流线化 | 0.5 | How much the pen will follow the movement of the mouse. |
-| 颜色 | 黑色 | 将绘制的颜色 |
-| 填充 | 透明的 | The color that will be drawn inside the shape |
+| 流线化 | 0.3 | How much the pen will follow the movement of the mouse. |
+| 颜色 | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the stroke |
+| 填充 | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the enclosed area |
\ No newline at end of file
diff --git a/docs/src/content/docs/zh/docs/v2/tools/polygon.md b/docs/src/content/docs/zh/docs/v2/tools/polygon.md
deleted file mode 100644
index ca9d68ab7907..000000000000
--- a/docs/src/content/docs/zh/docs/v2/tools/polygon.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: Polygon tool
----
-
-With this tool you can create custom shapes.
-
-## Usage
-
-1. Click on the canvas to add the first point of the polygon.
-2. Click again to add subsequent points.
-3. Now you have three options to finish the polygon:
- 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first point.
- 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting the last point to the first.
- 3. Change the tool. This will also create the polygon without connecting the last point to the first.
-4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
-5. To edit the last point, click on the `Edit` button in the toolbar. This will allow you to click on a point and drag it to round it off.
-
-## Bézier Curves
-
-You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
-To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
-
-## Toolbar
-
-The toolbar contains the following buttons:
-
-- `Edit`: Allows you to change the selected point of the polygon.
-- `Delete`: Allows you to delete the selected point of the polygon.
-- `Finish`: Connects the last point to the first point, completing the polygon.
-- `Submit`: Completes the polygon without connecting the last point to the first.
-- Stroke width: Adjusts the width of the polygon's stroke.
-- Colors to change the stroke color of the polygon.
-
-## 配置
-
-| 属性 | 默认设置 | 描述 |
-| ---: | :--: | :--------------------------------------------------------------- |
-| 笔画宽度 | 5 | 笔画的宽度 |
-| 颜色 | 黑色 | 将绘制的颜色 |
-| 填充 | 透明的 | The color that will be drawn inside the polygon. |
diff --git a/docs/src/content/docs/zh/docs/v2/tools/polygon.mdx b/docs/src/content/docs/zh/docs/v2/tools/polygon.mdx
new file mode 100644
index 000000000000..834881589035
--- /dev/null
+++ b/docs/src/content/docs/zh/docs/v2/tools/polygon.mdx
@@ -0,0 +1,42 @@
+---
+title: Polygon tool
+---
+
+import {Check, Trash, Polygon} from "@phosphor-icons/react";
+
+With this tool you can create custom shapes.
+
+## Usage
+
+1. Click on the canvas to add the first point of the polygon.
+2. Click again to add subsequent points.
+3. Now you have three options to finish the polygon:
+ 1. Click in the toolbar on the `Finish` button. This will connect the last point to the first
+ point.
+ 2. Click in the toolbar on the `Submit` button. This will create the polygon without connecting
+ the last point to the first.
+ 3. Change the tool. This will also create the polygon without connecting the last point to the
+ first.
+4. If you want to remove the selected point, click on the `Delete` button in the toolbar.
+5. To edit a point, click on it and drag it to round it off. To return to edit mode, open its [Context menu](../../context_menu) and click `Edit`.
+
+## Bézier Curves
+
+You can use this tool to create Bézier Curves which gives your shape a smooth curvature.
+To adjust the curvature around a selected point, drag on the paper until a tangent line appears.
+
+## Toolbar
+
+While in Polygon edit mode the toolbar contains the following buttons:
+
+* `Delete` - Allows you to delete the selected point of the polygon.
+* `Finish` - Connects the last point to the first point, completing the polygon.
+* `Submit` - Completes the polygon without connecting the last point to the first.
+
+## 配置
+
+| 属性 | 默认设置 | 描述 |
+| ---: | :-----------------------: | :------------------------------------------------------------------------------------------- |
+| 笔画宽度 | 5 | 笔画的宽度 |
+| 颜色 | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the polygon |
+| 填充 | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the polygon. |
diff --git a/docs/src/content/docs/zh/docs/v2/tools/redo.md b/docs/src/content/docs/zh/docs/v2/tools/redo.md
index 66ee01571d7c..de44e24ca619 100644
--- a/docs/src/content/docs/zh/docs/v2/tools/redo.md
+++ b/docs/src/content/docs/zh/docs/v2/tools/redo.md
@@ -4,8 +4,8 @@ title: Redo tool
:::note[⚡ Action tool]
-This is a special tool.
-您不能选择它,如果您点击它,它将运行该动作。
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/zh/docs/v2/tools/select.md b/docs/src/content/docs/zh/docs/v2/tools/select.md
index 1ab1ce5b33ea..aab8dd50539f 100644
--- a/docs/src/content/docs/zh/docs/v2/tools/select.md
+++ b/docs/src/content/docs/zh/docs/v2/tools/select.md
@@ -2,10 +2,24 @@
title: Select tool
---
-With this tool you can select elements.
+With this tool you can select elements and access their [Context menu](../../context_menu).
## 配置
-| 属性 | 默认设置 | 描述 |
-| ---: | :--: | :--------------------------------------------------------------- |
-| Mode | 矩形 | Mode of selection. Valid are Rectangle and Lasso |
+| 属性 | 默认设置 | 描述 |
+| -------: | :------------: | :--------------------------------------------------------------- |
+| Mode | 矩形 | Mode of selection. Valid are Rectangle and Lasso |
+| Hit mode | Touch anywhere | [Hit shapes mode](#hit-mode) |
+
+### Hit mode {#hit-mode}
+
+Defines which part of an element needs to be touched for it to be selected.
+
+Note that Touch edges and Touch anywhere are only relevant for [shapes](../shape)
+and [polygons](../polygon).
+
+| Mode | 描述 |
+| -------------: | :------------------------------------------------------------------------------------------ |
+| Full Selection | The selected area needs to fully enclose the element. |
+| 触摸边缘时选择 | The shape will be selected when the selected area intersects any edge. |
+| 触摸任何地方时选择 | The shape will be selected when any part of it is inside the selected area. |
diff --git a/docs/src/content/docs/zh/docs/v2/tools/shape.md b/docs/src/content/docs/zh/docs/v2/tools/shape.md
index 15697235c92f..f74bb35bb944 100644
--- a/docs/src/content/docs/zh/docs/v2/tools/shape.md
+++ b/docs/src/content/docs/zh/docs/v2/tools/shape.md
@@ -9,41 +9,18 @@ Use `ctrl` to have the same height and width and `shift` to draw from the center
## 配置
-| 属性 | 默认设置 | 描述 |
-| ---: | :---: | :-------------------------------------------------------------------------------------------------- |
-| 颜色 | 黑色 | The stroke color that will be drawn |
-| 笔画宽度 | 5 | 笔画的宽度 |
-| 笔画样式 | 实线 | The style of the stroke. Other styles can use dash and gap lengths. |
-| 虚线长度 | 1 | The length of the dash when using a non-solid stroke style |
-| 间距长度 | 1 | The length of the gap when using a non-solid stroke style |
-| 依靠缩放 | false | 这将改变基于缩放级别的笔画宽度。 |
-| 形状 | 矩形 | 绘制形状 |
-| 宽度 | 0 | 区域的固定宽度。 如果设置为 0,宽度将自动计算。 |
-| 高度 | 0 | 区域的固定高度 区域的固定高度 如果设置为 0,高度将自动计算。 |
-| 纵横比 | 0 | 区域的固定宽高比。 如果设置为 0,宽高比将自动计算。 An aspect ratio is defined as width / height. |
-| 居中 | false | Draws the shape from the center instead of from the corner. |
-
-### 形状类型
-
-#### 矩形
-
-| 属性 | 默认设置 | 描述 |
-| ---: | :--------: | :------- |
-| 填充 | 透明的 | 矩形内绘制的颜色 |
-| 圆角半径 | 0, 0, 0, 0 | 矩形角角圆角半径 |
-
-#### 三角形
-
-| 属性 | 默认设置 | 描述 |
-| -: | :--: | :----------------------------------------------- |
-| 填充 | 透明的 | The color that will be drawn inside the triangle |
-
-#### 圆圈
-
-| 属性 | 默认设置 | 描述 |
-| -: | :--: | :--------------------------------------------- |
-| 填充 | 透明的 | The color that will be drawn inside the circle |
-
-#### 直线
-
-_No configuration available._
+| 属性 | 默认设置 | 描述 |
+| ---: | :------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------- |
+| 居中 | false | Draws the shape from the center instead of from the corner. |
+| 宽度 | 0 | 区域的固定宽度。 如果设置为 0,宽度将自动计算。 |
+| 高度 | 0 | 区域的固定高度 区域的固定高度 如果设置为 0,高度将自动计算。 |
+| 纵横比 | 0 | 区域的固定宽高比。 如果设置为 0,宽高比将自动计算。 An aspect ratio is defined as width / height. |
+| 笔画宽度 | 5 | 笔画的宽度 |
+| 笔画样式 | 实线 | The style of the stroke. Other styles can use dash and gap lengths. |
+| 虚线长度 | 1 | The length of the dash when using a non-solid stroke style |
+| 间距长度 | 1 | The length of the gap when using a non-solid stroke style |
+| 颜色 | Solid Color (Black) | [Customization](../../colors/#further-customization) for the color of the shape |
+| 形状 | 矩形 | The shape that will be drawn. Available shapes are Rectangle, Triangle, Circle and Line |
+| 圆角半径 | 0, 0, 0, 0 | The radius of the corners when shape is Rectangle |
+| 填充 | Solid Color (Transparent) | [Customization](../../colors/#further-customization) for the color drawn inside the shape. Not available for Line shapes |
+| 依靠缩放 | false | 这将改变基于缩放级别的笔画宽度。 |
\ No newline at end of file
diff --git a/docs/src/content/docs/zh/docs/v2/tools/texture.md b/docs/src/content/docs/zh/docs/v2/tools/texture.md
index 53275861e114..36b18fe9ed6e 100644
--- a/docs/src/content/docs/zh/docs/v2/tools/texture.md
+++ b/docs/src/content/docs/zh/docs/v2/tools/texture.md
@@ -3,26 +3,21 @@ title: 纹理
---
The texture tool allows you to add a background texture to a small area of the canvas.
-Use it when only a part of the canvas should have a background pattern. To change the background of the whole page, use the [background settings](../../background) instead.
+Use it when only a part of the canvas should have a background pattern. To change the background of
+the whole page, use the [background settings](../../background) instead.
## Usage
1. Select the texture tool.
-2. Choose the texture and its constraints in the tool configuration.
+2. Choose the texture in the tool configuration.
3. Drag on the canvas to create the textured area.
-The created texture behaves like a surface element. You can move, resize, arrange, or delete it like other elements.
+The created texture behaves like a surface element. You can move, resize, arrange, or delete it like
+other elements.
## 配置
-| 属性 | 默认设置 | 描述 |
-| ---: | :---: | :-------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| 依靠缩放 | false | 这将改变基于缩放级别的笔画宽度。 |
-| 纹理 | 图案 | The pattern that should be added. |
-| 宽度 | 0 | 区域的固定宽度。 If set to `0`, the width will be calculated automatically. |
-| 高度 | 0 | 区域的固定高度 If set to `0`, the height will be calculated automatically. |
-| 纵横比 | 0 | 区域的固定宽高比。 If set to `0`, the aspect ratio will be calculated automatically. An aspect ratio is defined as width / height. |
-
-Valid types for texture are:
-
-- [Pattern](../../background#pattern)
+| 属性 | 描述 |
+| --------------: | :------------------------------------------------------------------------------------------------------- |
+| 纹理 | The pattern preset that should be used. |
+| Pattern options | [Configuration](../../background#pattern-layers) for the background color, horizontal and vertical lines |
diff --git a/docs/src/content/docs/zh/docs/v2/tools/undo.md b/docs/src/content/docs/zh/docs/v2/tools/undo.md
index 9e036d87ee33..18fdbd192064 100644
--- a/docs/src/content/docs/zh/docs/v2/tools/undo.md
+++ b/docs/src/content/docs/zh/docs/v2/tools/undo.md
@@ -4,8 +4,8 @@ title: Undo tool
:::note[⚡ Action tool]
-This is a special tool.
-您不能选择它,如果您点击它,它将运行该动作。
+This is a special action tool.
+It can't be selected and will run the action immediately when you click on it.
:::
diff --git a/docs/src/content/docs/zh/docs/v2/utilities.md b/docs/src/content/docs/zh/docs/v2/utilities.md
index 6b797be0a9cd..9a09228797d1 100644
--- a/docs/src/content/docs/zh/docs/v2/utilities.md
+++ b/docs/src/content/docs/zh/docs/v2/utilities.md
@@ -21,4 +21,8 @@ Additionally, you can capture a thumbnail from the current viewport to see it in
## 摄像头
-To jump to a specific position or zoom to a specific level you can use this tab.
+You can use this tab to:
+
+- Jump to a specific position on the canvas
+- Zoom to certain level
+- Set the rotation of the canvas to a specific value
diff --git a/docs/src/translations/af.json b/docs/src/translations/af.json
index 330ca50593b0..a9fbda69e218 100644
--- a/docs/src/translations/af.json
+++ b/docs/src/translations/af.json
@@ -1,9 +1,10 @@
{
"guides": "Guides",
"introduction": "Introduction",
+ "context_menu": "Context menu",
"areas": "Areas",
"background": "Agtergrond",
- "color_picker": "Color picker",
+ "colors": "Colors",
"layers": "Lae",
"migrating": "Migrating",
"pack": "Pak",
@@ -19,7 +20,6 @@
"pen": "Pen",
"select": "Kies",
"hand": "Hand",
- "path_eraser": "Pad-uitveër",
"eraser": "Uitveër",
"undo": "Ontdoen",
"redo": "Herdoen",
diff --git a/docs/src/translations/ar.json b/docs/src/translations/ar.json
index adc39b77e98c..f1293bc867f4 100644
--- a/docs/src/translations/ar.json
+++ b/docs/src/translations/ar.json
@@ -1,9 +1,10 @@
{
"guides": "أدلة",
"introduction": "مقدمة",
+ "context_menu": "قائمة السياق",
"areas": "المناطق",
"background": "الخلفية",
- "color_picker": "منتقي الألوان",
+ "colors": "الألوان",
"layers": "الطبقات",
"migrating": "هجرة",
"pack": "باقة",
@@ -19,8 +20,7 @@
"pen": "القلم",
"select": "حدد",
"hand": "اليد",
- "path_eraser": "ممحاة المسار",
- "eraser": "ممحاة",
+ "eraser": "الممحاة",
"undo": "التراجع",
"redo": "إعادة",
"shape": "شكل",
@@ -45,7 +45,7 @@
"code_of_conduct": "مدونة قواعد السلوك",
"embedding": "Embedding",
"faq": "أسئلة متكررة",
- "stylus_support": "Stylus support",
+ "stylus_support": "دعم Stylus",
"versions": "الإصدارات",
"nightly": "ليلي",
"privacy_policy": "سياسة الخصوصية",
diff --git a/docs/src/translations/ca.json b/docs/src/translations/ca.json
index 64b71c76a38a..50032104f4ac 100644
--- a/docs/src/translations/ca.json
+++ b/docs/src/translations/ca.json
@@ -1,9 +1,10 @@
{
"guides": "Guides",
"introduction": "Introduction",
+ "context_menu": "Context menu",
"areas": "Àrees",
"background": "Fons",
- "color_picker": "Color picker",
+ "colors": "Colors",
"layers": "Capes",
"migrating": "Migrating",
"pack": "Pack",
@@ -19,7 +20,6 @@
"pen": "Bolígraf",
"select": "Selecciona",
"hand": "Mà",
- "path_eraser": "Esborrador de trajectes",
"eraser": "Esborrador",
"undo": "Desfer",
"redo": "Tornar a fer",
diff --git a/docs/src/translations/cs.json b/docs/src/translations/cs.json
index c827462d1586..17a918c79acf 100644
--- a/docs/src/translations/cs.json
+++ b/docs/src/translations/cs.json
@@ -1,9 +1,10 @@
{
"guides": "Návody",
"introduction": "Úvod",
+ "context_menu": "Kontextové menu",
"areas": "Oblasti",
"background": "Pozadí",
- "color_picker": "Výběr barev",
+ "colors": "Barvy",
"layers": "Vrstvy",
"migrating": "Migrace",
"pack": "Balení",
@@ -19,7 +20,6 @@
"pen": "Pec",
"select": "Vybrat",
"hand": "Ruka",
- "path_eraser": "Vymazání trasy",
"eraser": "Guma",
"undo": "Zpět",
"redo": "Znovu",
@@ -45,7 +45,7 @@
"code_of_conduct": "Kodex chování",
"embedding": "Embedding",
"faq": "Nejčastější dotazy",
- "stylus_support": "Stylus support",
+ "stylus_support": "Podpora Stylus",
"versions": "Verze",
"nightly": "Noční",
"privacy_policy": "Zásady ochrany soukromí",
diff --git a/docs/src/translations/da.json b/docs/src/translations/da.json
index 47deedd4093f..d87aa699535f 100644
--- a/docs/src/translations/da.json
+++ b/docs/src/translations/da.json
@@ -1,9 +1,10 @@
{
"guides": "Guider",
"introduction": "Indledning",
+ "context_menu": "Kontekst menu",
"areas": "Områder",
"background": "Baggrund",
- "color_picker": "Farve vælger",
+ "colors": "Farver",
"layers": "Lag",
"migrating": "Migrerer",
"pack": "Pakke",
@@ -19,7 +20,6 @@
"pen": "Pen",
"select": "Vælg",
"hand": "Hånd",
- "path_eraser": "Sti viskelæder",
"eraser": "Eraser",
"undo": "Fortryd",
"redo": "Gendan",
@@ -45,7 +45,7 @@
"code_of_conduct": "Adfærdskodeks",
"embedding": "Embedding",
"faq": "OSS",
- "stylus_support": "Stylus support",
+ "stylus_support": "Støtte til stylus",
"versions": "Versioner",
"nightly": "Natligt",
"privacy_policy": "Privatliv politik",
diff --git a/docs/src/translations/de.json b/docs/src/translations/de.json
index d60f98e32b0d..67d17dcb3fb8 100644
--- a/docs/src/translations/de.json
+++ b/docs/src/translations/de.json
@@ -1,9 +1,10 @@
{
"guides": "Anleitungen",
"introduction": "Einführung",
+ "context_menu": "Kontextmenü",
"areas": "Flächen",
"background": "Hintergrund",
- "color_picker": "Farbauswahl",
+ "colors": "Farben",
"layers": "Ebenen",
"migrating": "Migrieren",
"pack": "Paket",
@@ -19,7 +20,6 @@
"pen": "Stift",
"select": "Auswählen",
"hand": "Hand",
- "path_eraser": "Pfadlöscher",
"eraser": "Radierer",
"undo": "Rückgängig",
"redo": "Wiederholen",
diff --git a/docs/src/translations/el.json b/docs/src/translations/el.json
index 205649f4b4bd..f6d1cf0790dd 100644
--- a/docs/src/translations/el.json
+++ b/docs/src/translations/el.json
@@ -1,9 +1,10 @@
{
"guides": "Οδηγοί",
"introduction": "Εισαγωγή",
+ "context_menu": "Μενού πλαισίου",
"areas": "Περιοχές",
"background": "Φόντο",
- "color_picker": "Επιλογέας χρώματος",
+ "colors": "Χρώματα",
"layers": "Επίπεδα",
"migrating": "Μετεγκατάσταση",
"pack": "Πακέτο",
@@ -19,7 +20,6 @@
"pen": "Πένα",
"select": "Επιλογή",
"hand": "Χέρι",
- "path_eraser": "Διαδρομή γόμας",
"eraser": "Eraser",
"undo": "Αναίρεση",
"redo": "Επανάληψη",
@@ -45,7 +45,7 @@
"code_of_conduct": "Κώδικας συμπεριφοράς",
"embedding": "Embedding",
"faq": "Συχνές",
- "stylus_support": "Stylus support",
+ "stylus_support": "Υποστήριξη γραφίδας",
"versions": "Εκδόσεις",
"nightly": "Νυχτερινή",
"privacy_policy": "Πολιτική απορρήτου",
diff --git a/docs/src/translations/es.json b/docs/src/translations/es.json
index abe92fe90a5a..52bb9df9b784 100644
--- a/docs/src/translations/es.json
+++ b/docs/src/translations/es.json
@@ -1,9 +1,10 @@
{
"guides": "Guías",
"introduction": "Introducción",
+ "context_menu": "Menú contextual",
"areas": "Áreas",
"background": "Fondo",
- "color_picker": "Selector de color",
+ "colors": "Colores",
"layers": "Capas",
"migrating": "Migración",
"pack": "Pack",
@@ -19,7 +20,6 @@
"pen": "Pen",
"select": "Seleccionar",
"hand": "Mano",
- "path_eraser": "Borrador de ruta",
"eraser": "Eraser",
"undo": "Deshacer",
"redo": "Rehacer",
@@ -45,7 +45,7 @@
"code_of_conduct": "Código de conducta",
"embedding": "Embedding",
"faq": "FAQ",
- "stylus_support": "Stylus support",
+ "stylus_support": "Soporte de Stylus",
"versions": "Versiones",
"nightly": "Noche",
"privacy_policy": "Política de privacidad",
diff --git a/docs/src/translations/fi.json b/docs/src/translations/fi.json
index 312709b90333..6e0d08d653db 100644
--- a/docs/src/translations/fi.json
+++ b/docs/src/translations/fi.json
@@ -1,9 +1,10 @@
{
"guides": "Oppaat",
"introduction": "Johdanto",
+ "context_menu": "Kontekstivalikko",
"areas": "Alueet",
"background": "Tausta",
- "color_picker": "Värin valitsin",
+ "colors": "Värit",
"layers": "Kerrokset",
"migrating": "Siirtyminen",
"pack": "Paketti",
@@ -19,7 +20,6 @@
"pen": "Kynä",
"select": "Valitse",
"hand": "Käsi",
- "path_eraser": "Polun poistaminen",
"eraser": "Eraser",
"undo": "Kumoa",
"redo": "Toista",
@@ -45,7 +45,7 @@
"code_of_conduct": "Käytännesäännöt ja -säännöt",
"embedding": "Embedding",
"faq": "UKK",
- "stylus_support": "Stylus support",
+ "stylus_support": "Stylus tuki",
"versions": "Versiot",
"nightly": "Yöllä",
"privacy_policy": "Yksityisyyden suoja",
diff --git a/docs/src/translations/fr.json b/docs/src/translations/fr.json
index 1cbcc07e32d1..06d69635793e 100644
--- a/docs/src/translations/fr.json
+++ b/docs/src/translations/fr.json
@@ -1,9 +1,10 @@
{
"guides": "Tutoriels",
"introduction": "Introduction",
+ "context_menu": "Menu contextuel",
"areas": "Zones",
"background": "Arrière-plan",
- "color_picker": "Sélecteur de couleurs",
+ "colors": "Couleurs",
"layers": "Couches",
"migrating": "Migration en cours",
"pack": "Paquet",
@@ -19,7 +20,6 @@
"pen": "Stylo",
"select": "Sélectionner",
"hand": "Main",
- "path_eraser": "Effacer le chemin d'accès",
"eraser": "Gomme",
"undo": "Annuler",
"redo": "Refaire",
@@ -45,7 +45,7 @@
"code_of_conduct": "Code de conduite",
"embedding": "Embedding",
"faq": "Foire Aux Questions",
- "stylus_support": "Stylus support",
+ "stylus_support": "Prise en charge du stylet",
"versions": "Versions",
"nightly": "Nuit",
"privacy_policy": "Politique de confidentialité",
diff --git a/docs/src/translations/he.json b/docs/src/translations/he.json
index 87fa2bf942ed..aaea3827ac34 100644
--- a/docs/src/translations/he.json
+++ b/docs/src/translations/he.json
@@ -1,9 +1,10 @@
{
"guides": "Guides",
"introduction": "Introduction",
+ "context_menu": "Context menu",
"areas": "אזורים",
"background": "רקע",
- "color_picker": "Color picker",
+ "colors": "Colors",
"layers": "שכבות",
"migrating": "Migrating",
"pack": "חבילה",
@@ -19,7 +20,6 @@
"pen": "עט",
"select": "בחר",
"hand": "יד",
- "path_eraser": "מחק נתיבים",
"eraser": "מחק",
"undo": "ביטול",
"redo": "ביצוע חוזר",
diff --git a/docs/src/translations/hi.json b/docs/src/translations/hi.json
index 6be3feb2c27b..91d2bcbb59b0 100644
--- a/docs/src/translations/hi.json
+++ b/docs/src/translations/hi.json
@@ -1,9 +1,10 @@
{
"guides": "Guides",
"introduction": "Introduction",
+ "context_menu": "Context menu",
"areas": "क्षेत्र",
"background": "पृष्ठभूमि",
- "color_picker": "Color picker",
+ "colors": "Colors",
"layers": "लेयर्स",
"migrating": "Migrating",
"pack": "पैक",
@@ -19,7 +20,6 @@
"pen": "पेन",
"select": "चुनें",
"hand": "हाथ",
- "path_eraser": "पथ इरेज़र",
"eraser": "इरेज़र",
"undo": "पूर्ववत् करें",
"redo": "फिर से करें",
diff --git a/docs/src/translations/hu.json b/docs/src/translations/hu.json
index d26abc9d4175..d93132eaf894 100644
--- a/docs/src/translations/hu.json
+++ b/docs/src/translations/hu.json
@@ -1,9 +1,10 @@
{
"guides": "Guides",
"introduction": "Introduction",
+ "context_menu": "Context menu",
"areas": "Területek",
"background": "Háttér",
- "color_picker": "Color picker",
+ "colors": "Colors",
"layers": "Rétegek",
"migrating": "Migrating",
"pack": "Csomag",
@@ -19,7 +20,6 @@
"pen": "Toll",
"select": "Kiválasztás",
"hand": "Kéz",
- "path_eraser": "Vonaltörlő",
"eraser": "Radír",
"undo": "Mégse",
"redo": "Újra",
diff --git a/docs/src/translations/id.json b/docs/src/translations/id.json
index b02d23e407a0..87c293420374 100644
--- a/docs/src/translations/id.json
+++ b/docs/src/translations/id.json
@@ -1,9 +1,10 @@
{
"guides": "Guides",
"introduction": "Introduction",
+ "context_menu": "Context menu",
"areas": "Area",
"background": "Latar belakang",
- "color_picker": "Color picker",
+ "colors": "Colors",
"layers": "Lapisan",
"migrating": "Migrating",
"pack": "Paket",
@@ -19,7 +20,6 @@
"pen": "Pena",
"select": "Pilih",
"hand": "Tangan",
- "path_eraser": "Penghapus jalur",
"eraser": "Penghapus",
"undo": "Urungkan",
"redo": "Ulangi",
diff --git a/docs/src/translations/it.json b/docs/src/translations/it.json
index 2a8e6ce6d23e..816625bfeeb5 100644
--- a/docs/src/translations/it.json
+++ b/docs/src/translations/it.json
@@ -1,9 +1,10 @@
{
"guides": "Guide",
"introduction": "Introduzione",
+ "context_menu": "Menu contestuale",
"areas": "Aree",
"background": "Sfondo",
- "color_picker": "Selettore colori",
+ "colors": "Colori",
"layers": "Layers",
"migrating": "Migrazione",
"pack": "Pacchetto",
@@ -19,7 +20,6 @@
"pen": "Penna",
"select": "Seleziona",
"hand": "Mano",
- "path_eraser": "Cancella tratto",
"eraser": "Gomma",
"undo": "Annulla",
"redo": "Ripristina",
@@ -45,7 +45,7 @@
"code_of_conduct": "Codice di condotta",
"embedding": "Embedding",
"faq": "FAQ",
- "stylus_support": "Stylus support",
+ "stylus_support": "Supporto stylus",
"versions": "Versioni",
"nightly": "Notte",
"privacy_policy": "Informativa privacy",
diff --git a/docs/src/translations/ja.json b/docs/src/translations/ja.json
index 2c68b9a3f3fc..318db18cac41 100644
--- a/docs/src/translations/ja.json
+++ b/docs/src/translations/ja.json
@@ -1,9 +1,10 @@
{
"guides": "補助線",
"introduction": "はじめに",
+ "context_menu": "コンテキストメニュー",
"areas": "エリア",
"background": "背景",
- "color_picker": "カラーピッカー",
+ "colors": "色",
"layers": "レイヤー",
"migrating": "移行中",
"pack": "パック",
@@ -19,7 +20,6 @@
"pen": "ペン",
"select": "選択",
"hand": "手",
- "path_eraser": "パスの消去",
"eraser": "Eraser",
"undo": "元に戻す",
"redo": "Redo",
@@ -45,7 +45,7 @@
"code_of_conduct": "行動基準",
"embedding": "Embedding",
"faq": "FAQ",
- "stylus_support": "Stylus support",
+ "stylus_support": "スタイルのサポート",
"versions": "バージョン",
"nightly": "ナイトリー",
"privacy_policy": "プライバシーポリシー",
diff --git a/docs/src/translations/ko.json b/docs/src/translations/ko.json
index bca4ff0b5a18..7e8373ae94d4 100644
--- a/docs/src/translations/ko.json
+++ b/docs/src/translations/ko.json
@@ -1,9 +1,10 @@
{
"guides": "Guides",
"introduction": "Introduction",
+ "context_menu": "Context menu",
"areas": "영역",
"background": "배경",
- "color_picker": "Color picker",
+ "colors": "Colors",
"layers": "레이어",
"migrating": "Migrating",
"pack": "팩",
@@ -19,7 +20,6 @@
"pen": "펜",
"select": "선택",
"hand": "손",
- "path_eraser": "경로 지우개",
"eraser": "지우개",
"undo": "실행 취소",
"redo": "다시 실행",
diff --git a/docs/src/translations/nl.json b/docs/src/translations/nl.json
index a43d31c8f1b9..87d66a1d9189 100644
--- a/docs/src/translations/nl.json
+++ b/docs/src/translations/nl.json
@@ -1,9 +1,10 @@
{
"guides": "Handleidingen",
"introduction": "Introductie",
+ "context_menu": "Context menu",
"areas": "Gebieden",
"background": "Achtergrond",
- "color_picker": "Kleur kiezer",
+ "colors": "Kleuren",
"layers": "Lagen",
"migrating": "Migreren",
"pack": "Pakket",
@@ -19,7 +20,6 @@
"pen": "pennen",
"select": "Selecteren",
"hand": "Hand",
- "path_eraser": "Pad gum",
"eraser": "Eraser",
"undo": "Herstel",
"redo": "Opnieuw",
@@ -45,7 +45,7 @@
"code_of_conduct": "Gedragscode",
"embedding": "Embedding",
"faq": "FAQ",
- "stylus_support": "Stylus support",
+ "stylus_support": "Stylus ondersteuning",
"versions": "versies",
"nightly": "Nachtelijk",
"privacy_policy": "Privacy Beleid",
diff --git a/docs/src/translations/no.json b/docs/src/translations/no.json
index c2c231da7fcb..e3350ecc705b 100644
--- a/docs/src/translations/no.json
+++ b/docs/src/translations/no.json
@@ -1,9 +1,10 @@
{
"guides": "Veiledninger",
"introduction": "Introduksjon",
+ "context_menu": "Sammenhengsmeny",
"areas": "Områder",
"background": "Bakgrunn",
- "color_picker": "Farge velger",
+ "colors": "Farger",
"layers": "Lag",
"migrating": "Overføre",
"pack": "Pakke",
@@ -19,7 +20,6 @@
"pen": "Penn",
"select": "Velg",
"hand": "Hånd",
- "path_eraser": "Bane eraser",
"eraser": "Eraser",
"undo": "Angre",
"redo": "Gjenta",
@@ -45,7 +45,7 @@
"code_of_conduct": "Etiske retningslinjer",
"embedding": "Embedding",
"faq": "OSS",
- "stylus_support": "Stylus support",
+ "stylus_support": "Pennens brukerstøtte",
"versions": "Versjoner",
"nightly": "Nattlig",
"privacy_policy": "Retningslinjer for personvern",
diff --git a/docs/src/translations/or.json b/docs/src/translations/or.json
index 3dd99b7af46f..7de87e21c1e0 100644
--- a/docs/src/translations/or.json
+++ b/docs/src/translations/or.json
@@ -1,9 +1,10 @@
{
"guides": "Guides",
"introduction": "Introduction",
+ "context_menu": "Context menu",
"areas": "ଅଞ୍ଚଳଗୁଡିକ",
"background": "ପୃଷ୍ଠଭୂମି",
- "color_picker": "Color picker",
+ "colors": "Colors",
"layers": "ସ୍ତରଗୁଡିକ",
"migrating": "Migrating",
"pack": "ପ୍ୟାକ୍",
@@ -19,7 +20,6 @@
"pen": "କଲମ",
"select": "ଚୟନ କରନ୍ତୁ",
"hand": "ହାତ",
- "path_eraser": "ପଥ ଇରେଜର୍",
"eraser": "ଇରେଜର୍",
"undo": "ପୂର୍ଵଵତ୍",
"redo": "ପୁନଃକରଣ",
diff --git a/docs/src/translations/pl.json b/docs/src/translations/pl.json
index d4d5d29ea9db..ced6c4955a28 100644
--- a/docs/src/translations/pl.json
+++ b/docs/src/translations/pl.json
@@ -1,9 +1,10 @@
{
"guides": "Przewodniki",
"introduction": "Wprowadzanie",
+ "context_menu": "Menu kontekstowe",
"areas": "Obszary",
"background": "Kontekst",
- "color_picker": "Wybór kolorów",
+ "colors": "Kolory",
"layers": "Warstwa",
"migrating": "Migracja",
"pack": "Paczka",
@@ -19,7 +20,6 @@
"pen": "Długopis",
"select": "Wybierz",
"hand": "Dłoń",
- "path_eraser": "Wymaż linię",
"eraser": "Eraser",
"undo": "Cofnij",
"redo": "Ponów",
@@ -45,7 +45,7 @@
"code_of_conduct": "Kodeks postępowania",
"embedding": "Embedding",
"faq": "Często zadawane pytania",
- "stylus_support": "Stylus support",
+ "stylus_support": "Wsparcie Stylus",
"versions": "Wersje",
"nightly": "Nocny",
"privacy_policy": "Polityka prywatności",
diff --git a/docs/src/translations/pt-br.json b/docs/src/translations/pt-br.json
index e699f85ed5c3..d5f10dd8d317 100644
--- a/docs/src/translations/pt-br.json
+++ b/docs/src/translations/pt-br.json
@@ -1,9 +1,10 @@
{
"guides": "Guias",
"introduction": "Introdução",
+ "context_menu": "Menu de contexto",
"areas": "Áreas",
"background": "Plano de fundo",
- "color_picker": "Seletor de cores",
+ "colors": "Cores",
"layers": "Camadas",
"migrating": "Migrando",
"pack": "Pacote",
@@ -19,7 +20,6 @@
"pen": "Caneta",
"select": "Selecionar",
"hand": "Mão",
- "path_eraser": "Apagador de linha",
"eraser": "Borracha",
"undo": "Desfazer",
"redo": "Refazer",
@@ -45,7 +45,7 @@
"code_of_conduct": "Código de conduta",
"embedding": "Embedding",
"faq": "Perguntas Frequentes",
- "stylus_support": "Stylus support",
+ "stylus_support": "Suporte à caneta",
"versions": "Versões",
"nightly": "Noturno",
"privacy_policy": "Política de privacidade",
diff --git a/docs/src/translations/pt.json b/docs/src/translations/pt.json
index 7225d6c9a9eb..6402eab409c9 100644
--- a/docs/src/translations/pt.json
+++ b/docs/src/translations/pt.json
@@ -1,9 +1,10 @@
{
"guides": "Guias",
"introduction": "Introdução",
+ "context_menu": "Menu de contexto",
"areas": "Áreas",
"background": "Fundo",
- "color_picker": "Seletor de cores",
+ "colors": "Cores",
"layers": "Camadas",
"migrating": "Migrando",
"pack": "Pacote",
@@ -19,7 +20,6 @@
"pen": "Caneta",
"select": "Selecionar",
"hand": "Mão",
- "path_eraser": "Borracha de traços",
"eraser": "Borracha",
"undo": "Desfazer",
"redo": "Refazer",
@@ -45,7 +45,7 @@
"code_of_conduct": "Código de conduta",
"embedding": "Embedding",
"faq": "Perguntas Frequentes",
- "stylus_support": "Stylus support",
+ "stylus_support": "Suporte à caneta",
"versions": "Versões",
"nightly": "Noturna",
"privacy_policy": "Política de privacidade",
diff --git a/docs/src/translations/ro.json b/docs/src/translations/ro.json
index 6cea5b3a6022..c594bba03b3d 100644
--- a/docs/src/translations/ro.json
+++ b/docs/src/translations/ro.json
@@ -1,9 +1,10 @@
{
"guides": "Ghiduri",
"introduction": "Introducere",
+ "context_menu": "Meniu contextual",
"areas": "Domenii",
"background": "Context",
- "color_picker": "Selector culoare",
+ "colors": "Culori",
"layers": "Straturi",
"migrating": "Migrare",
"pack": "Pachet",
@@ -19,7 +20,6 @@
"pen": "Stiloul",
"select": "Selectare",
"hand": "Mână",
- "path_eraser": "Ștergere cale",
"eraser": "Eraser",
"undo": "Anulează",
"redo": "Reface",
@@ -45,7 +45,7 @@
"code_of_conduct": "Codul de conduită",
"embedding": "Embedding",
"faq": "Întrebări",
- "stylus_support": "Stylus support",
+ "stylus_support": "Suport Stylus",
"versions": "Versiuni",
"nightly": "Noptez",
"privacy_policy": "Politica de confidenţialitate",
diff --git a/docs/src/translations/ru.json b/docs/src/translations/ru.json
index d754e4e0fbed..e7269a1ec67b 100644
--- a/docs/src/translations/ru.json
+++ b/docs/src/translations/ru.json
@@ -1,9 +1,10 @@
{
"guides": "Руководства",
"introduction": "Введение",
+ "context_menu": "Контекст меню",
"areas": "Области",
"background": "Фон",
- "color_picker": "Выбор цвета",
+ "colors": "Цвета",
"layers": "Слои",
"migrating": "Миграция",
"pack": "Набор",
@@ -19,7 +20,6 @@
"pen": "Перо",
"select": "Выбрать",
"hand": "Рука",
- "path_eraser": "Контурный ластик",
"eraser": "Ластик",
"undo": "Отменить",
"redo": "Повторить",
@@ -45,7 +45,7 @@
"code_of_conduct": "Кодекс поведения",
"embedding": "Embedding",
"faq": "ЧАВО",
- "stylus_support": "Stylus support",
+ "stylus_support": "Поддержка Stylus",
"versions": "Версии",
"nightly": "Ночной",
"privacy_policy": "Политика конфиденциальности",
diff --git a/docs/src/translations/sr.json b/docs/src/translations/sr.json
index f2ce21ad6a5c..7030c978f2be 100644
--- a/docs/src/translations/sr.json
+++ b/docs/src/translations/sr.json
@@ -1,9 +1,10 @@
{
"guides": "Guides",
"introduction": "Introduction",
+ "context_menu": "Context menu",
"areas": "Oblasti",
"background": "Pozadina",
- "color_picker": "Color picker",
+ "colors": "Colors",
"layers": "Slojevi",
"migrating": "Migrating",
"pack": "Paket",
@@ -19,7 +20,6 @@
"pen": "Olovka",
"select": "Izaberi",
"hand": "Ruka",
- "path_eraser": "Gumica za putanje",
"eraser": "Gumica",
"undo": "Opozovi",
"redo": "Ponovi",
diff --git a/docs/src/translations/sv.json b/docs/src/translations/sv.json
index 0a6ac6880546..c60b54faba15 100644
--- a/docs/src/translations/sv.json
+++ b/docs/src/translations/sv.json
@@ -1,9 +1,10 @@
{
"guides": "Guider",
"introduction": "Introduktion",
+ "context_menu": "Kontextmeny",
"areas": "Områden",
"background": "Bakgrund",
- "color_picker": "Färg väljare",
+ "colors": "Färger",
"layers": "Lager",
"migrating": "Migrerar",
"pack": "Paket",
@@ -19,7 +20,6 @@
"pen": "Penna",
"select": "Välj",
"hand": "Hand",
- "path_eraser": "Radering av sökväg",
"eraser": "Eraser",
"undo": "Ångra",
"redo": "Gör om",
@@ -45,7 +45,7 @@
"code_of_conduct": "Uppförandekod",
"embedding": "Embedding",
"faq": "Vanliga frågor",
- "stylus_support": "Stylus support",
+ "stylus_support": "Stylus stöd",
"versions": "Versioner",
"nightly": "Nattlig",
"privacy_policy": "Integritetspolicy",
diff --git a/docs/src/translations/th.json b/docs/src/translations/th.json
index 1723cfd446da..4007d204fe38 100644
--- a/docs/src/translations/th.json
+++ b/docs/src/translations/th.json
@@ -1,9 +1,10 @@
{
"guides": "Guides",
"introduction": "Introduction",
+ "context_menu": "Context menu",
"areas": "พื้นที่",
"background": "พื้นหลัง",
- "color_picker": "Color picker",
+ "colors": "Colors",
"layers": "เลเยอร์",
"migrating": "Migrating",
"pack": "แพ็ก",
@@ -19,7 +20,6 @@
"pen": "ปากกา",
"select": "เลือก",
"hand": "มือ",
- "path_eraser": "ยางลบเส้นทาง",
"eraser": "ยางลบ",
"undo": "ย้อนกลับ",
"redo": "ทำใหม่",
diff --git a/docs/src/translations/tr.json b/docs/src/translations/tr.json
index 3037a96c66c9..f8f22ffde312 100644
--- a/docs/src/translations/tr.json
+++ b/docs/src/translations/tr.json
@@ -1,9 +1,10 @@
{
"guides": "Guides",
"introduction": "Giriş",
+ "context_menu": "Context menu",
"areas": "Alanlar",
"background": "Arkaplan",
- "color_picker": "Renk seçici",
+ "colors": "Renkler",
"layers": "Katmanlar",
"migrating": "Geçiş yapma",
"pack": "Paket",
@@ -19,7 +20,6 @@
"pen": "Kalem",
"select": "Seç",
"hand": "El",
- "path_eraser": "Yol silici",
"eraser": "Silgi",
"undo": "Geri al",
"redo": "Yinele",
diff --git a/docs/src/translations/uk.json b/docs/src/translations/uk.json
index d1c9c367a88b..40ee1d9cbfd9 100644
--- a/docs/src/translations/uk.json
+++ b/docs/src/translations/uk.json
@@ -1,9 +1,10 @@
{
"guides": "Посібники",
"introduction": "Вступ",
+ "context_menu": "Контекстне меню",
"areas": "Розділи",
"background": "Фон",
- "color_picker": "Піпетка",
+ "colors": "Кольори",
"layers": "Шари",
"migrating": "Міграція",
"pack": "Набір",
@@ -19,7 +20,6 @@
"pen": "Ручка",
"select": "Вибрати",
"hand": "Кисть",
- "path_eraser": "Лінійка шляху",
"eraser": "Eraser",
"undo": "Скасувати",
"redo": "Повторити дію",
@@ -45,7 +45,7 @@
"code_of_conduct": "Кодекс поведінки",
"embedding": "Embedding",
"faq": "ЧАП",
- "stylus_support": "Stylus support",
+ "stylus_support": "Підтримка Stylus",
"versions": "Версії",
"nightly": "Нічна",
"privacy_policy": "Політика конфіденційності",
diff --git a/docs/src/translations/vi.json b/docs/src/translations/vi.json
index 94d3c7082972..0b64848feb15 100644
--- a/docs/src/translations/vi.json
+++ b/docs/src/translations/vi.json
@@ -1,9 +1,10 @@
{
"guides": "Guides",
"introduction": "Introduction",
+ "context_menu": "Context menu",
"areas": "Các khu vực",
"background": "Nền",
- "color_picker": "Bảng chọn màu",
+ "colors": "Colors",
"layers": "Lớp",
"migrating": "Migrating",
"pack": "Gói",
@@ -19,7 +20,6 @@
"pen": "Bút vẽ",
"select": "Chọn",
"hand": "Tay",
- "path_eraser": "Bút xóa đường",
"eraser": "Tẩy",
"undo": "Hoàn tác",
"redo": "Làm lại",
diff --git a/docs/src/translations/zh-hant.json b/docs/src/translations/zh-hant.json
index 641c125df427..16fc917b41df 100644
--- a/docs/src/translations/zh-hant.json
+++ b/docs/src/translations/zh-hant.json
@@ -1,9 +1,10 @@
{
"guides": "Guides",
"introduction": "Introduction",
+ "context_menu": "Context menu",
"areas": "分區",
"background": "背景",
- "color_picker": "Color picker",
+ "colors": "Colors",
"layers": "圖層",
"migrating": "Migrating",
"pack": "素材包",
@@ -19,7 +20,6 @@
"pen": "筆",
"select": "選擇",
"hand": "手",
- "path_eraser": "路徑橡皮擦",
"eraser": "橡皮擦",
"undo": "還原",
"redo": "復原",
diff --git a/docs/src/translations/zh.json b/docs/src/translations/zh.json
index 7162a78b6886..4fd6707a4b57 100644
--- a/docs/src/translations/zh.json
+++ b/docs/src/translations/zh.json
@@ -1,9 +1,10 @@
{
"guides": "指南",
"introduction": "简介",
+ "context_menu": "上下文菜单",
"areas": "地区",
"background": "背景",
- "color_picker": "颜色选择器",
+ "colors": "颜色",
"layers": "图层",
"migrating": "迁移",
"pack": "包",
@@ -19,7 +20,6 @@
"pen": "笔",
"select": "选择",
"hand": "手",
- "path_eraser": "整笔擦除",
"eraser": "橡皮擦",
"undo": "撤消",
"redo": "重做",
@@ -45,7 +45,7 @@
"code_of_conduct": "行为守则",
"embedding": "Embedding",
"faq": "常见问题",
- "stylus_support": "Stylus support",
+ "stylus_support": "手写笔支持",
"versions": "版本",
"nightly": "开发版",
"privacy_policy": "隐私政策",