From 191fa376d219e4b5f458da1faa69c69c4ec36669 Mon Sep 17 00:00:00 2001 From: Andrew Bastin Date: Tue, 22 Aug 2023 01:09:48 +0530 Subject: [PATCH] chore: remove go to docs search entry and update i18n --- packages/hoppscotch-common/locales/en.json | 2 +- .../src/services/spotlight/searchers/navigation.searcher.ts | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/hoppscotch-common/locales/en.json b/packages/hoppscotch-common/locales/en.json index 1058eab0b..661ddda20 100644 --- a/packages/hoppscotch-common/locales/en.json +++ b/packages/hoppscotch-common/locales/en.json @@ -643,7 +643,7 @@ "general": { "help_menu": "Open help and support menu", "chat": "Chat with support", - "open_docs": "Open documentation", + "open_docs": "Read Documentation", "open_keybindings": "Open keyboard shortcuts", "social": "Social links and GitHub", "title": "General" diff --git a/packages/hoppscotch-common/src/services/spotlight/searchers/navigation.searcher.ts b/packages/hoppscotch-common/src/services/spotlight/searchers/navigation.searcher.ts index a72d808e1..61d16b499 100644 --- a/packages/hoppscotch-common/src/services/spotlight/searchers/navigation.searcher.ts +++ b/packages/hoppscotch-common/src/services/spotlight/searchers/navigation.searcher.ts @@ -52,11 +52,6 @@ export class NavigationSpotlightSearcherService extends StaticSpotlightSearcherS alternates: ["navigation", "realtime", "socket", "ws"], icon: markRaw(IconArrowRight), }, - documentation: { - text: this.t("shortcut.navigation.documentation"), - alternates: ["navigation", "documentation", "docs"], - icon: markRaw(IconArrowRight), - }, profile: { text: this.t("shortcut.navigation.profile"), alternates: ["navigation", "profile", "account"],