diff options
| -rw-r--r-- | gui/locales/messages.pot | 5 | ||||
| -rw-r--r-- | gui/src/renderer/components/Settings.tsx | 9 |
2 files changed, 2 insertions, 12 deletions
diff --git a/gui/locales/messages.pot b/gui/locales/messages.pot index 79d43d44b8..161ad721c7 100644 --- a/gui/locales/messages.pot +++ b/gui/locales/messages.pot @@ -1087,11 +1087,6 @@ msgctxt "settings-view" msgid "App version" msgstr "" -#. Navigation button to the 'Split tunneling' view -msgctxt "settings-view" -msgid "Split tunneling" -msgstr "" - msgctxt "settings-view" msgid "Support" msgstr "" 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> ); } |
