diff --git a/app/hooks/useCommandBarActions.js b/app/hooks/useCommandBarActions.js index a14f896b6..d8dc26659 100644 --- a/app/hooks/useCommandBarActions.js +++ b/app/hooks/useCommandBarActions.js @@ -27,7 +27,7 @@ export default function useCommandBarActions(actions: Action[]) { ); useRegisterActions(registerable, [ - ...registerable.map((r) => r.id), + registerable.map((r) => r.id).join(""), location.pathname, ]); } diff --git a/shared/i18n/locales/en_US/translation.json b/shared/i18n/locales/en_US/translation.json index 6a79d13df..06a14f0c6 100644 --- a/shared/i18n/locales/en_US/translation.json +++ b/shared/i18n/locales/en_US/translation.json @@ -8,7 +8,18 @@ "Development": "Development", "Open document": "Open document", "New document": "New document", + "Star": "Star", + "Unstar": "Unstar", + "Download": "Download", + "Download document": "Download document", + "Duplicate": "Duplicate", + "Duplicate document": "Duplicate document", + "Document duplicated": "Document duplicated", + "Print": "Print", + "Print document": "Print document", "Import document": "Import document", + "Templatize": "Templatize", + "Create template": "Create template", "Home": "Home", "Search": "Search", "Drafts": "Drafts", @@ -198,8 +209,6 @@ "Export": "Export", "Integrations": "Integrations", "Installation": "Installation", - "Unstar": "Unstar", - "Star": "Star", "Previous page": "Previous page", "Next page": "Next page", "Could not import file": "Could not import file", @@ -218,7 +227,6 @@ "Sort in sidebar": "Sort in sidebar", "Alphabetical sort": "Alphabetical sort", "Manual sort": "Manual sort", - "Document duplicated": "Document duplicated", "Document restored": "Document restored", "Document unpublished": "Document unpublished", "Document options": "Document options", @@ -227,15 +235,11 @@ "Unpin": "Unpin", "Pin to collection": "Pin to collection", "New nested document": "New nested document", - "Create template": "Create template", - "Duplicate": "Duplicate", "Unpublish": "Unpublish", "Permanently delete": "Permanently delete", "Move": "Move", "Enable embeds": "Enable embeds", "Disable embeds": "Disable embeds", - "Download": "Download", - "Print": "Print", "Move {{ documentName }}": "Move {{ documentName }}", "Permanently delete {{ documentName }}": "Permanently delete {{ documentName }}", "Export options": "Export options",