From d6ca981f7a07c50ed0132ce731c360080226eca5 Mon Sep 17 00:00:00 2001 From: Arun Date: Sat, 6 Feb 2021 03:20:53 +0530 Subject: [PATCH] fix: Rename 'Grid mode' to 'Show grid' (#2944) --- src/actions/actionToggleGridMode.tsx | 2 +- src/components/HelpDialog.tsx | 2 +- src/locales/en.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/actions/actionToggleGridMode.tsx b/src/actions/actionToggleGridMode.tsx index 152a9da9..983d19a0 100644 --- a/src/actions/actionToggleGridMode.tsx +++ b/src/actions/actionToggleGridMode.tsx @@ -17,6 +17,6 @@ export const actionToggleGridMode = register({ }; }, checked: (appState: AppState) => appState.gridSize !== null, - contextItemLabel: "labels.gridMode", + contextItemLabel: "labels.showGrid", keyTest: (event) => event[KEYS.CTRL_OR_CMD] && event.code === CODES.QUOTE, }); diff --git a/src/components/HelpDialog.tsx b/src/components/HelpDialog.tsx index a6670897..156e62ba 100644 --- a/src/components/HelpDialog.tsx +++ b/src/components/HelpDialog.tsx @@ -224,7 +224,7 @@ export const HelpDialog = ({ onClose }: { onClose?: () => void }) => { shortcuts={[getShortcutKey("Alt+Z")]} />