From 5de95508c8730a2b9e534dd57e895152a599a4b6 Mon Sep 17 00:00:00 2001 From: Aleksander <170264518+t-aleksander@users.noreply.github.com> Date: Mon, 20 Jan 2025 15:28:59 +0100 Subject: [PATCH] change CLI client docs links --- web/src/i18n/en/index.ts | 4 ++-- web/src/i18n/i18n-types.ts | 12 ++++++------ web/src/i18n/pl/index.ts | 2 +- .../steps/MethodStep/MethodStep.tsx | 4 ++-- .../StandaloneDeviceModalEnrollmentContent.tsx | 6 +----- web/src/shared/links.ts | 2 +- 6 files changed, 13 insertions(+), 17 deletions(-) diff --git a/web/src/i18n/en/index.ts b/web/src/i18n/en/index.ts index 6d273a4eb..10877f644 100644 --- a/web/src/i18n/en/index.ts +++ b/web/src/i18n/en/index.ts @@ -133,7 +133,7 @@ Licensing information: [https://docs.defguard.net/enterprise/license](https://do title: 'Defguard Command Line Client', subtitle: 'When using defguard-cli your device will automatically have VPN configuration up-to-date (real time sync).', - download: 'Download Defguard CLI Client', + docs: 'Defguard CLI download and documentation', }, manual: { title: 'Manual WireGuard Client', @@ -999,7 +999,7 @@ Licensing information: [https://docs.defguard.net/enterprise/license](https://do standaloneDeviceTokenModalContent: { headerMessage: 'First download defguard command line client binaries and install them on your server.', - downloadButton: 'Download defguard CLI Client', + downloadButton: 'Download Defguard CLI Client', expandableCard: { title: 'Copy and paste this command in your terminal on the device', }, diff --git a/web/src/i18n/i18n-types.ts b/web/src/i18n/i18n-types.ts index 0be17a748..d1e25d7ce 100644 --- a/web/src/i18n/i18n-types.ts +++ b/web/src/i18n/i18n-types.ts @@ -339,9 +339,9 @@ type RootTranslation = { */ subtitle: string /** - * D​o​w​n​l​o​a​d​ ​D​e​f​g​u​a​r​d​ ​C​L​I​ ​C​l​i​e​n​t + * D​e​f​g​u​a​r​d​ ​C​L​I​ ​d​o​w​n​l​o​a​d​ ​a​n​d​ ​d​o​c​u​m​e​n​t​a​t​i​o​n */ - download: string + docs: string } manual: { /** @@ -2427,7 +2427,7 @@ type RootTranslation = { */ headerMessage: string /** - * D​o​w​n​l​o​a​d​ ​d​e​f​g​u​a​r​d​ ​C​L​I​ ​C​l​i​e​n​t + * D​o​w​n​l​o​a​d​ ​D​e​f​g​u​a​r​d​ ​C​L​I​ ​C​l​i​e​n​t */ downloadButton: string expandableCard: { @@ -5166,9 +5166,9 @@ export type TranslationFunctions = { */ subtitle: () => LocalizedString /** - * Download Defguard CLI Client + * Defguard CLI download and documentation */ - download: () => LocalizedString + docs: () => LocalizedString } manual: { /** @@ -7230,7 +7230,7 @@ export type TranslationFunctions = { */ headerMessage: () => LocalizedString /** - * Download defguard CLI Client + * Download Defguard CLI Client */ downloadButton: () => LocalizedString expandableCard: { diff --git a/web/src/i18n/pl/index.ts b/web/src/i18n/pl/index.ts index a3481af74..e5971b95f 100644 --- a/web/src/i18n/pl/index.ts +++ b/web/src/i18n/pl/index.ts @@ -136,7 +136,7 @@ Informacja o licencjonowaniu: [https://docs.defguard.net/enterprise/license](htt title: 'Klient Defguard CLI', subtitle: 'Używając defguard-cli urządznie automatycznie dostanie bieżącą konfigurację VPN (synchronizacja w czasie rzeczywistym).', - download: 'Pobierz klienta Defguard CLI', + docs: 'Pobieranie i dokumentacja klienta Defguard CLI', }, manual: { title: 'Ręczny klient WireGuard', diff --git a/web/src/pages/devices/modals/AddStandaloneDeviceModal/steps/MethodStep/MethodStep.tsx b/web/src/pages/devices/modals/AddStandaloneDeviceModal/steps/MethodStep/MethodStep.tsx index cab409a11..954652a85 100644 --- a/web/src/pages/devices/modals/AddStandaloneDeviceModal/steps/MethodStep/MethodStep.tsx +++ b/web/src/pages/devices/modals/AddStandaloneDeviceModal/steps/MethodStep/MethodStep.tsx @@ -112,8 +112,8 @@ export const MethodStep = () => { } selected={choice === AddStandaloneDeviceModalChoice.CLI} onSelect={() => handleChange(AddStandaloneDeviceModalChoice.CLI)} diff --git a/web/src/pages/devices/modals/components/StandaloneDeviceModalEnrollmentContent/StandaloneDeviceModalEnrollmentContent.tsx b/web/src/pages/devices/modals/components/StandaloneDeviceModalEnrollmentContent/StandaloneDeviceModalEnrollmentContent.tsx index 1949cdf6f..04259e200 100644 --- a/web/src/pages/devices/modals/components/StandaloneDeviceModalEnrollmentContent/StandaloneDeviceModalEnrollmentContent.tsx +++ b/web/src/pages/devices/modals/components/StandaloneDeviceModalEnrollmentContent/StandaloneDeviceModalEnrollmentContent.tsx @@ -38,11 +38,7 @@ export const StandaloneDeviceModalEnrollmentContent = ({ dismissId="standalone-device-enrollment-modal-content-header" />
- +