feat: Change shortcuts menu to help menu (#2812)

Co-authored-by: Panayiotis Lipiridis <lipiridis@gmail.com>
This commit is contained in:
Victor Massé 2021-01-17 17:46:23 +01:00 committed by GitHub
parent 07cc858926
commit ce2c341910
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 470 additions and 437 deletions

View file

@ -163,9 +163,9 @@ export const ShapesSwitcher = ({
{SHAPES.map(({ value, icon, key }, index) => {
const label = t(`toolBar.${value}`);
const letter = typeof key === "string" ? key : key[0];
const shortcut = `${capitalizeString(letter)} ${t(
"shortcutsDialog.or",
)} ${index + 1}`;
const shortcut = `${capitalizeString(letter)} ${t("helpDialog.or")} ${
index + 1
}`;
return (
<ToolButton
className="Shape"