Skip to content

Commit

Permalink
change CLI client docs links
Browse files Browse the repository at this point in the history
  • Loading branch information
t-aleksander committed Jan 20, 2025
1 parent 868adba commit 5de9550
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 17 deletions.
4 changes: 2 additions & 2 deletions web/src/i18n/en/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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',
},
Expand Down
12 changes: 6 additions & 6 deletions web/src/i18n/i18n-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
/**
Expand Down Expand Up @@ -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: {
Expand Down Expand Up @@ -5166,9 +5166,9 @@ export type TranslationFunctions = {
*/
subtitle: () => LocalizedString
/**
* Download Defguard CLI Client
* Defguard CLI download and documentation
*/
download: () => LocalizedString
docs: () => LocalizedString
}
manual: {
/**
Expand Down Expand Up @@ -7230,7 +7230,7 @@ export type TranslationFunctions = {
*/
headerMessage: () => LocalizedString
/**
* Download defguard CLI Client
* Download Defguard CLI Client
*/
downloadButton: () => LocalizedString
expandableCard: {
Expand Down
2 changes: 1 addition & 1 deletion web/src/i18n/pl/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ export const MethodStep = () => {
<DeviceSetupMethodCard
title={localLL.cards.cli.title()}
subtitle={localLL.cards.cli.subtitle()}
link={externalLink.defguardCliDownload}
linkText={localLL.cards.cli.download()}
link={externalLink.defguardCliDocs}
linkText={localLL.cards.cli.docs()}
logo={<DefguardIcon />}
selected={choice === AddStandaloneDeviceModalChoice.CLI}
onSelect={() => handleChange(AddStandaloneDeviceModalChoice.CLI)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,7 @@ export const StandaloneDeviceModalEnrollmentContent = ({
dismissId="standalone-device-enrollment-modal-content-header"
/>
<div className="download">
<a
href={externalLink.defguardCliDownload}
target="_blank"
rel="noopener noreferrer"
>
<a href={externalLink.defguardCliDocs} target="_blank" rel="noopener noreferrer">
<Button
text={localLL.downloadButton()}
size={ButtonSize.LARGE}
Expand Down
2 changes: 1 addition & 1 deletion web/src/shared/links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ export const externalLink = {
wireguard: {
download: 'https://www.wireguard.com/install/',
},
defguardCliDownload: 'https://github.com/DefGuard/client/releases/latest',
defguardCliDocs: 'https://docs.defguard.net/help/cli-client',
};

0 comments on commit 5de9550

Please sign in to comment.