From e18dc7939366494d031bdaac6d9a40fd10c17972 Mon Sep 17 00:00:00 2001 From: Aleksander <170264518+t-aleksander@users.noreply.github.com> Date: Fri, 4 Oct 2024 16:26:23 +0200 Subject: [PATCH 1/2] change phrasing --- web/src/i18n/en/index.ts | 6 +++--- web/src/i18n/i18n-types.ts | 12 ++++++------ web/src/i18n/pl/index.ts | 4 ++-- .../steps/AddDeviceTokenStep/AddDeviceTokenStep.tsx | 1 - 4 files changed, 11 insertions(+), 12 deletions(-) diff --git a/web/src/i18n/en/index.ts b/web/src/i18n/en/index.ts index c8c7fb13f6..3dc6cfc02c 100644 --- a/web/src/i18n/en/index.ts +++ b/web/src/i18n/en/index.ts @@ -1232,7 +1232,7 @@ const en: BaseTranslation = { helper: '
Here you can change enterprise settings.
', fields: { deviceManagement: { - label: 'Disable users ability to manage their devices', + label: "Disable users' ability to manage their devices", helper: "When this option is enabled, only users in the Admin group can manage devices in user profile (it's disabled for all other users)", }, @@ -1242,9 +1242,9 @@ const en: BaseTranslation = { 'When this option is enabled, users will not be able to route all traffic through the VPN using the defguard client.', }, manualConfig: { - label: 'Disable users ability to download manual WireGuard configuration', + label: "Disable users' ability to manually configure WireGuard client", helper: - "When this option is enabled, users won't be presented with a WireGuard configuration for manual client setup", + "When this option is enabled, users won't be able to view or download configuration for the manual WireGuard client setup.", }, }, }, diff --git a/web/src/i18n/i18n-types.ts b/web/src/i18n/i18n-types.ts index b5feb55d1a..7c19006a5c 100644 --- a/web/src/i18n/i18n-types.ts +++ b/web/src/i18n/i18n-types.ts @@ -2928,7 +2928,7 @@ type RootTranslation = { fields: { deviceManagement: { /** - * Disable users ability to manage their devices + * Disable users' ability to manage their devices */ label: string /** @@ -2948,11 +2948,11 @@ type RootTranslation = { } manualConfig: { /** - * Disable users ability to download manual WireGuard configuration + * Disable users' ability to manually configure WireGuard client */ label: string /** - * When this option is enabled, users won't be presented with a WireGuard configuration for manual client setup + * When this option is enabled, users won't be able to view or download configuration for the manual WireGuard client setup. */ helper: string } @@ -7178,7 +7178,7 @@ export type TranslationFunctions = { fields: { deviceManagement: { /** - * Disable users ability to manage their devices + * Disable users' ability to manage their devices */ label: () => LocalizedString /** @@ -7198,11 +7198,11 @@ export type TranslationFunctions = { } manualConfig: { /** - * Disable users ability to download manual WireGuard configuration + * Disable users' ability to manually configure WireGuard client */ label: () => LocalizedString /** - * When this option is enabled, users won't be presented with a WireGuard configuration for manual client setup + * When this option is enabled, users won't be able to view or download configuration for the manual WireGuard client setup. */ helper: () => LocalizedString } diff --git a/web/src/i18n/pl/index.ts b/web/src/i18n/pl/index.ts index c5ed257d94..aa9232f2d0 100644 --- a/web/src/i18n/pl/index.ts +++ b/web/src/i18n/pl/index.ts @@ -1229,9 +1229,9 @@ Uwaga, podane tutaj konfiguracje nie posiadają klucza prywatnego. Musisz uzupe 'Kiedy ta opcja jest włączona, użytkownicy nie będą mogli przekierować całego ruchu przez VPN za pomocą klienta Defguard.', }, manualConfig: { - label: 'Wyłącz wyświetlanie konfiguracji WireGuard', + label: 'Wyłącz manualną konfigurację WireGuard', helper: - 'Kiedy ta opcja jest włączona, konfiguracja WireGuard nie będzie wyświetlana użytkownikom podczas konfiguracji urządzenia.', + 'Kiedy ta opcja jest włączona, użytkownicy nie będą mogli pobrać ani wyświetlić danych do manualnej konfiguracji WireGuard.', }, }, }, diff --git a/web/src/pages/addDevice/steps/AddDeviceTokenStep/AddDeviceTokenStep.tsx b/web/src/pages/addDevice/steps/AddDeviceTokenStep/AddDeviceTokenStep.tsx index 1349ecb768..12d3f9305e 100644 --- a/web/src/pages/addDevice/steps/AddDeviceTokenStep/AddDeviceTokenStep.tsx +++ b/web/src/pages/addDevice/steps/AddDeviceTokenStep/AddDeviceTokenStep.tsx @@ -85,7 +85,6 @@ export const AddDeviceTokenStep = () => {