From ba58e25278cf7bc9e57f68f09ade87d541a89037 Mon Sep 17 00:00:00 2001 From: Joel Jacob Stephen <70131076+JoelJacobStephen@users.noreply.github.com> Date: Tue, 20 Feb 2024 20:31:00 +0530 Subject: [PATCH] refactor: new i18n strings for data sharing and data component --- packages/hoppscotch-sh-admin/locales/en.json | 21 ++++++++++++++-- .../src/components/settings/DataSharing.vue | 10 ++++---- .../hoppscotch-sh-admin/src/pages/data.vue | 24 ++++++++++++------- 3 files changed, 39 insertions(+), 16 deletions(-) diff --git a/packages/hoppscotch-sh-admin/locales/en.json b/packages/hoppscotch-sh-admin/locales/en.json index 1b03ed2b6..5d2741111 100644 --- a/packages/hoppscotch-sh-admin/locales/en.json +++ b/packages/hoppscotch-sh-admin/locales/en.json @@ -1,10 +1,12 @@ { "app": { "collapse_sidebar": "Collapse Sidebar", + "continue_to_dashboard": "Continue to Dashboard", "expand_sidebar": "Expand Sidebar", "name": "HOPPSCOTCH", "no_name": "No name", - "open_navigation": "Open Navigation" + "open_navigation": "Open Navigation", + "read_documentation": "Read Documentation" }, "configs": { "auth_providers": { @@ -16,7 +18,7 @@ }, "confirm_changes": "Hoppscotch server must restart to reflect the new changes. Confirm changes made to the server configurations?", "input_empty": "Please fill all the fields before updating the configurations", - "dataSharing": { + "data-sharing": { "title": "Data Sharing", "description": "Help improve Hoppscotch by sharing anonymous data", "enable": "Enable Data Sharing", @@ -48,6 +50,14 @@ "save_changes": "Save Changes", "title": "Configurations" }, + "data_sharing": { + "description": "Share anonymous data usage to improve Hoppscotch", + "enable": "Enable Data Sharing", + "see_shared": "See what is shared", + "toggle_description": "Share data and make Hoppscotch better", + "title": "Make Hoppscotch Better", + "welcome": "Welcome to" + }, "metrics": { "dashboard": "Dashboard", "no_metrics": "No metrics found", @@ -56,6 +66,13 @@ "total_teams": "Total Workspaces", "total_users": "Total Users" }, + "newsletter": { + "description": "Get updates about our latest news", + "subscribe": "Subscribe", + "title": "Stay in Touch", + "toggle_description": "Get updates about the latest at Hoppscotch", + "unsubscribe": "Unsubscribe" + }, "settings": { "settings": "Settings" }, diff --git a/packages/hoppscotch-sh-admin/src/components/settings/DataSharing.vue b/packages/hoppscotch-sh-admin/src/components/settings/DataSharing.vue index 613f70eb7..f2224fce4 100644 --- a/packages/hoppscotch-sh-admin/src/components/settings/DataSharing.vue +++ b/packages/hoppscotch-sh-admin/src/components/settings/DataSharing.vue @@ -1,16 +1,16 @@