summaryrefslogtreecommitdiffhomepage
path: root/gui/src/renderer
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2023-12-28 15:17:34 +0100
committerOskar Nyberg <oskar@mullvad.net>2023-12-28 15:17:34 +0100
commit6a9f862aa63cec53b542e2789454579baf0ae7f8 (patch)
tree56ff7201fe5e428b6ea31967798a283469821d59 /gui/src/renderer
parente2215bce0fd56515f0ad30df0bc9f355dfe7f3d3 (diff)
downloadmullvadvpn-6a9f862aa63cec53b542e2789454579baf0ae7f8.tar.xz
mullvadvpn-6a9f862aa63cec53b542e2789454579baf0ae7f8.zip
Prevent translation of Split tunneling in settings view
Diffstat (limited to 'gui/src/renderer')
-rw-r--r--gui/src/renderer/components/Settings.tsx9
1 files changed, 2 insertions, 7 deletions
diff --git a/gui/src/renderer/components/Settings.tsx b/gui/src/renderer/components/Settings.tsx
index 26d40fb134..779814d3f4 100644
--- a/gui/src/renderer/components/Settings.tsx
+++ b/gui/src/renderer/components/Settings.tsx
@@ -1,6 +1,6 @@
import { useCallback } from 'react';
-import { colors } from '../../config.json';
+import { colors, strings } from '../../config.json';
import { messages } from '../../shared/gettext';
import { getDownloadUrl } from '../../shared/version';
import { useAppContext } from '../context';
@@ -131,12 +131,7 @@ function SplitTunnelingButton() {
return (
<Cell.CellNavigationButton onClick={navigate}>
- <Cell.Label>
- {
- // TRANSLATORS: Navigation button to the 'Split tunneling' view
- messages.pgettext('settings-view', 'Split tunneling')
- }
- </Cell.Label>
+ <Cell.Label>{strings.splitTunneling}</Cell.Label>
</Cell.CellNavigationButton>
);
}