Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
doums committed Jan 22, 2025
1 parent 5f3c1d4 commit f4eb08d
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 23 deletions.
8 changes: 4 additions & 4 deletions nym-vpn-app/src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions nym-vpn-app/src/i18n/en/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"desc": "Best for payments, emails, messages"
},
"fast-mode": {
"title": "Fast (WireGuard)",
"title": "Fast (WireGuard*)",
"desc": "Best for browsing, streaming, sharing"
},
"last-node-select": {
Expand All @@ -36,7 +36,7 @@
"modes-dialog": {
"title": "Mode selection",
"privacy-description": "Enjoy maximum-level privacy by routing your connection through 5 servers via mixnet. Perfect for securely handling payments, emails, and messages.",
"fast-description": "Experience maximum speed with 2-server. Perfect for fast browsing, streaming, and file sharing.",
"fast-description": "Experience maximum speed with 2-server connectivity. This mode leverages AmneziaWG, a censorship-resistant version of WireGuard, ideal for fast browsing, streaming, and file sharing.",
"link": "Continue reading"
}
}
4 changes: 2 additions & 2 deletions nym-vpn-app/src/i18n/fr/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@
"desc": "Pour les paiements, emails et messages"
},
"fast-mode": {
"title": "Rapide",
"title": "Rapide (WireGuard*)",
"desc": "Pour la navigation, le streaming et les téléchargements"
},
"select-mode-label": "Sélectionner le mode",
"modes-dialog": {
"title": "Sélection de mode",
"link": "Poursuivre la lecture",
"privacy-description": "Bénéficiez d'une confidentialité maximale en acheminant votre connexion vers 5 serveurs via le mixnet. Parfait pour traiter en toute sécurité les paiements, les courriels et les messages.",
"fast-description": "Profitez d'une vitesse maximale avec 2 serveurs. Parfait pour la navigation rapide, la diffusion en continu et le partage de fichiers."
"fast-description": "Profitez d'une vitesse maximale avec 2 serveurs. Ce mode est basé sur AmneziaWG, une version dérivée de WireGuard incluant une protection renforcée contre la censure. Parfait pour la navigation rapide, la diffusion en continu et le partage de fichiers."
},
"windows-no-fast-mode": "En raison de la transition du mode rapide vers WireGuard, cette option est temporairement indisponible."
}
16 changes: 8 additions & 8 deletions nym-vpn-app/src/screens/home/ModeDetailsDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,22 @@ function ModeDetailsDialog({ isOpen, onClose }: Props) {
</div>
<div className="flex flex-col gap-2">
<div className="flex flex-row items-center text-baltic-sea dark:text-white gap-2">
<MsIcon icon="visibility_off" />
<h4 className="font-bold">
{t('vpn-modes.privacy', { ns: 'common' })}
</h4>
<MsIcon icon="speed" />
<h4 className="font-bold">{t('vpn-modes.fast', { ns: 'common' })}</h4>
</div>
<p className="text-cement-feet dark:text-laughing-jack md:text-nowrap">
{t('modes-dialog.privacy-description')}
{t('modes-dialog.fast-description')}
</p>
</div>
<div className="flex flex-col gap-2">
<div className="flex flex-row items-center text-baltic-sea dark:text-white gap-2">
<MsIcon icon="speed" />
<h4 className="font-bold">{t('vpn-modes.fast', { ns: 'common' })}</h4>
<MsIcon icon="visibility_off" />
<h4 className="font-bold">
{t('vpn-modes.privacy', { ns: 'common' })}
</h4>
</div>
<p className="text-cement-feet dark:text-laughing-jack md:text-nowrap">
{t('modes-dialog.fast-description')}
{t('modes-dialog.privacy-description')}
</p>
</div>
<Link
Expand Down
14 changes: 7 additions & 7 deletions nym-vpn-app/src/screens/home/NetworkModeSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,13 @@ function NetworkModeSelect() {
);

return [
{
key: 'TwoHop',
label: t('fast-mode.title'),
desc: t('fast-mode.desc'),
disabled: state.state !== 'Disconnected' || loading,
icon: (checked) => <span className={iconStyle(checked)}>speed</span>,
},
{
key: 'Mixnet',
label: t('privacy-mode.title'),
Expand All @@ -87,13 +94,6 @@ function NetworkModeSelect() {
<span className={iconStyle(checked)}>visibility_off</span>
),
},
{
key: 'TwoHop',
label: t('fast-mode.title'),
desc: t('fast-mode.desc'),
disabled: state.state !== 'Disconnected' || loading,
icon: (checked) => <span className={iconStyle(checked)}>speed</span>,
},
];
}, [loading, state.state, t]);

Expand Down

0 comments on commit f4eb08d

Please sign in to comment.