fix: split "Edit selected shape" shortcut (#6457)

Co-authored-by: David Luzar <luzar.david@gmail.com>
pull/5825/merge
Aurélie 2 years ago committed by GitHub
parent 6164b5273c
commit b0b23353cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -165,11 +165,12 @@ export const HelpDialog = ({ onClose }: { onClose?: () => void }) => {
shortcuts={[KEYS.E, KEYS["0"]]}
/>
<Shortcut
label={t("helpDialog.editSelectedShape")}
shortcuts={[
getShortcutKey("CtrlOrCmd+Enter"),
getShortcutKey(`CtrlOrCmd + ${t("helpDialog.doubleClick")}`),
]}
label={t("helpDialog.editLineArrowPoints")}
shortcuts={[getShortcutKey("CtrlOrCmd+Enter")]}
/>
<Shortcut
label={t("helpDialog.editText")}
shortcuts={[getShortcutKey("Enter")]}
/>
<Shortcut
label={t("helpDialog.textNewLine")}

@ -319,7 +319,8 @@
"doubleClick": "double-click",
"drag": "drag",
"editor": "Editor",
"editSelectedShape": "Edit selected shape (text/arrow/line)",
"editLineArrowPoints": "Edit line/arrow points",
"editText": "Edit text / add label",
"github": "Found an issue? Submit",
"howto": "Follow our guides",
"or": "or",

Loading…
Cancel
Save