Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
chore: add missing `i18n` string entries
jamesgeorge00732e38367d54d
diff --git a/packages/hoppscotch-common/locales/en.json b/packages/hoppscotch-common/locales/en.jsonindex 6a18bcf1b..b4dd917dc 100644--- a/packages/hoppscotch-common/locales/en.json+++ b/packages/hoppscotch-common/locales/en.json@@ -456,6 +456,10 @@"description": "An unknown error occurred.","cause": "Unknown cause"},+ "extension": {+ "heading": "Extension error",+ "description": "Failed running request on extension"+ },"authproviders_load_error": "Unable to load auth providers","browser_support_sse": "This browser doesn't seems to have Server Sent Events support.","check_console_details": "Check console log for details.",@@ -496,7 +500,8 @@"reading_files": "Error while reading one or more files.","fetching_access_tokens_list": "Something went wrong while fetching the list of tokens","generate_access_token": "Something went wrong while generating the access token",- "delete_access_token": "Something went wrong while deleting the access token"+ "delete_access_token": "Something went wrong while deleting the access token",+ "extension_not_found": "Extension not found"},"export": {"as_json": "Export as JSON",@@ -882,6 +887,7 @@"agent_reset_registration": "Reset Registration","agent_registered": "Agent Registered","agent_registration_successful": "Agent Registered Successfully",+ "agent_registration_fetch_failed": "Couldn't fetch Agent registration information","auto_encode_mode": "Auto","auto_encode_mode_tooltip": "Encode the parameters in the request only if some special characters are present","background": "Background",diff --git a/packages/hoppscotch-common/src/components/settings/Agent.vue b/packages/hoppscotch-common/src/components/settings/Agent.vueindex 886404de0..b2665b7ab 100644--- a/packages/hoppscotch-common/src/components/settings/Agent.vue+++ b/packages/hoppscotch-common/src/components/settings/Agent.vue@@ -646,7 +646,7 @@ async function updateMaskedAuthKey() {const registration = await store.fetchRegistrationInfo()maskedAuthKey.value = registration.auth_key_hash} catch (e) {- toast.error(t("settings.registration_fetch_failed"))+ toast.error(t("settings.agent_registration_fetch_failed"))}}diff --git a/packages/hoppscotch-common/src/platform/std/kernel-interceptors/extension/index.ts b/packages/hoppscotch-common/src/platform/std/kernel-interceptors/extension/index.tsindex 0cb63e6b0..af1648409 100644--- a/packages/hoppscotch-common/src/platform/std/kernel-interceptors/extension/index.ts+++ b/packages/hoppscotch-common/src/platform/std/kernel-interceptors/extension/index.ts@@ -108,8 +108,8 @@ export class ExtensionKernelInterceptorServiceif (!window.__POSTWOMAN_EXTENSION_HOOK__) {return E.left({humanMessage: {- heading: (t) => t("error.extension_not_found.heading"),- description: (t) => t("error.extension_not_found.description"),+ heading: (t) => t("error.extension_not_found"),+ description: (t) => t("error.network_fail"),},error: {kind: "extension",