From fd78c89b63837883ca0fd3ab0c77476f15daf7e6 Mon Sep 17 00:00:00 2001 From: Anwarul Islam Date: Mon, 18 Mar 2024 10:54:09 +0600 Subject: [PATCH 1/4] chore: update copy for header inspection --- packages/hoppscotch-common/locales/en.json | 5 +++-- .../src/services/inspection/inspectors/header.inspector.ts | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/hoppscotch-common/locales/en.json b/packages/hoppscotch-common/locales/en.json index 8017fdadfa..0919ee904c 100644 --- a/packages/hoppscotch-common/locales/en.json +++ b/packages/hoppscotch-common/locales/en.json @@ -27,6 +27,7 @@ "hide_secret": "Hide secret", "label": "Label", "learn_more": "Learn more", + "download_now": "Download now", "less": "Less", "more": "More", "new": "New", @@ -281,7 +282,7 @@ "updated": "Environment updated", "value": "Value", "variable": "Variable", - "variables":"Variables", + "variables": "Variables", "variable_list": "Variable List" }, "error": { @@ -427,7 +428,7 @@ "not_found": "Environment variable “{environment}” not found." }, "header": { - "cookie": "The browser doesn't allow Hoppscotch to set the Cookie Header. While we're working on the Hoppscotch Desktop App (coming soon), please use the Authorization Header instead." + "cookie": "Download now our Hopscotch Desktop App for seamless usage. The browser doesn't allow Hopscotch to set the Cookie Header, use the Authorization Header instead on browser." }, "response": { "401_error": "Please check your authentication credentials.", diff --git a/packages/hoppscotch-common/src/services/inspection/inspectors/header.inspector.ts b/packages/hoppscotch-common/src/services/inspection/inspectors/header.inspector.ts index e5124d068c..8ed65bee7d 100644 --- a/packages/hoppscotch-common/src/services/inspection/inspectors/header.inspector.ts +++ b/packages/hoppscotch-common/src/services/inspection/inspectors/header.inspector.ts @@ -66,8 +66,8 @@ export class HeaderInspectorService extends Service implements Inspector { index: index, }, doc: { - text: this.t("action.learn_more"), - link: "https://docs.hoppscotch.io/documentation/features/inspections", + text: this.t("action.download_now"), + link: "https://hoppscotch.com/download", }, }) } From 73a95eaa2a266c7cc0d306bc5fbc70b18fc1406b Mon Sep 17 00:00:00 2001 From: Anwarul Islam Date: Mon, 18 Mar 2024 10:58:58 +0600 Subject: [PATCH 2/4] chore: update copy for header inspection --- packages/hoppscotch-common/locales/en.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hoppscotch-common/locales/en.json b/packages/hoppscotch-common/locales/en.json index 0919ee904c..fc14a8e8a0 100644 --- a/packages/hoppscotch-common/locales/en.json +++ b/packages/hoppscotch-common/locales/en.json @@ -428,7 +428,7 @@ "not_found": "Environment variable “{environment}” not found." }, "header": { - "cookie": "Download now our Hopscotch Desktop App for seamless usage. The browser doesn't allow Hopscotch to set the Cookie Header, use the Authorization Header instead on browser." + "cookie": "Download our Hopscotch Desktop App for seamless usage. The browser doesn't allow Hopscotch to set the Cookie Header, use the Authorization Header instead on the browser." }, "response": { "401_error": "Please check your authentication credentials.", From b73228631d0c83190abc65c7c55b63c400483e9e Mon Sep 17 00:00:00 2001 From: Anwarul Islam Date: Mon, 18 Mar 2024 15:51:07 +0600 Subject: [PATCH 3/4] chore: copy updated --- packages/hoppscotch-common/locales/en.json | 4 ++-- .../src/services/inspection/inspectors/header.inspector.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/hoppscotch-common/locales/en.json b/packages/hoppscotch-common/locales/en.json index fc14a8e8a0..1fbc3f5717 100644 --- a/packages/hoppscotch-common/locales/en.json +++ b/packages/hoppscotch-common/locales/en.json @@ -27,7 +27,7 @@ "hide_secret": "Hide secret", "label": "Label", "learn_more": "Learn more", - "download_now": "Download now", + "download_here": "Download here", "less": "Less", "more": "More", "new": "New", @@ -428,7 +428,7 @@ "not_found": "Environment variable “{environment}” not found." }, "header": { - "cookie": "Download our Hopscotch Desktop App for seamless usage. The browser doesn't allow Hopscotch to set the Cookie Header, use the Authorization Header instead on the browser." + "cookie": "The browser doesn't allow Hoppscotch to set Cookie Headers. Please use Authorization Headers instead. However, our Hoppscotch Desktop App is live now and support Cookies." }, "response": { "401_error": "Please check your authentication credentials.", diff --git a/packages/hoppscotch-common/src/services/inspection/inspectors/header.inspector.ts b/packages/hoppscotch-common/src/services/inspection/inspectors/header.inspector.ts index 8ed65bee7d..aa711be6c3 100644 --- a/packages/hoppscotch-common/src/services/inspection/inspectors/header.inspector.ts +++ b/packages/hoppscotch-common/src/services/inspection/inspectors/header.inspector.ts @@ -66,7 +66,7 @@ export class HeaderInspectorService extends Service implements Inspector { index: index, }, doc: { - text: this.t("action.download_now"), + text: this.t("action.download_here"), link: "https://hoppscotch.com/download", }, }) From 3c1837c0efa053d1055967d0eb221b9f642d68dc Mon Sep 17 00:00:00 2001 From: James George Date: Thu, 21 Mar 2024 13:51:55 +0530 Subject: [PATCH 4/4] chore: minor grammatical correction in copy --- packages/hoppscotch-common/locales/en.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hoppscotch-common/locales/en.json b/packages/hoppscotch-common/locales/en.json index 1fbc3f5717..05223d00c9 100644 --- a/packages/hoppscotch-common/locales/en.json +++ b/packages/hoppscotch-common/locales/en.json @@ -428,7 +428,7 @@ "not_found": "Environment variable “{environment}” not found." }, "header": { - "cookie": "The browser doesn't allow Hoppscotch to set Cookie Headers. Please use Authorization Headers instead. However, our Hoppscotch Desktop App is live now and support Cookies." + "cookie": "The browser doesn't allow Hoppscotch to set Cookie Headers. Please use Authorization Headers instead. However, our Hoppscotch Desktop App is live now and supports Cookies." }, "response": { "401_error": "Please check your authentication credentials.",