diff --git a/src/components/ShortcutsDialog.tsx b/src/components/ShortcutsDialog.tsx
index fa1919a3..dd3651be 100644
--- a/src/components/ShortcutsDialog.tsx
+++ b/src/components/ShortcutsDialog.tsx
@@ -4,16 +4,37 @@ import { isDarwin } from "../keys";
import { Dialog } from "./Dialog";
import { getShortcutKey } from "../utils";
+const Columns = (props: { children: React.ReactNode }) => (
+
+ {props.children}
+
+);
+
+const Column = (props: { children: React.ReactNode }) => (
+
+ {props.children}
+
+);
+
const ShortcutIsland = (props: {
caption: string;
children: React.ReactNode;
}) => (
void }) => {
onCloseRequest={handleClose}
title={t("shortcutsDialog.title")}
>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
>
diff --git a/src/locales/en.json b/src/locales/en.json
index b488200c..24c4ba77 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -146,6 +146,8 @@
"view": "View",
"blog": "Read our blog",
"howto": "Follow our guides",
- "github": "Found an issue? Submit"
+ "github": "Found an issue? Submit",
+ "textNewLine": "Add new line (text)",
+ "textFinish": "Finish editing (text)"
}
}
diff --git a/src/utils.ts b/src/utils.ts
index 7648bfec..48fb9c30 100644
--- a/src/utils.ts
+++ b/src/utils.ts
@@ -162,7 +162,8 @@ export const getShortcutKey = (shortcut: string): string => {
.replace("Alt+", "⌥")
.replace("Ctrl+", "⌃")
.replace("Shift+", "⇧")
- .replace("Del", "⌫")}`;
+ .replace("Del", "⌫")
+ .replace("Enter", "Return")}`;
}
return `${shortcut.replace("CtrlOrCmd", "Ctrl")}`;
};