From b478ad0ccc6bf3a8db8a3b13fb9ddeaaa667622e Mon Sep 17 00:00:00 2001 From: Oskar Nyberg Date: Wed, 31 Jan 2024 16:19:09 +0100 Subject: [PATCH] Fix text strings that were incorrect --- gui/locales/messages.pot | 10 +++++----- gui/src/renderer/components/Settings.tsx | 2 +- gui/src/shared/notifications/error.ts | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/gui/locales/messages.pot b/gui/locales/messages.pot index 19d0c8f17e9c..ea04a3c6a8e7 100644 --- a/gui/locales/messages.pot +++ b/gui/locales/messages.pot @@ -1094,7 +1094,7 @@ msgid "Unable to start tunnel connection. Please send a problem report." msgstr "" msgctxt "notifications" -msgid "Unable to start tunnel connection. This could be caused by incompatibility with VMware, please troubleshoot." +msgid "Unable to start tunnel connection. This could be because of conflicts with VMware, please troubleshoot." msgstr "" msgctxt "notifications" @@ -1326,7 +1326,7 @@ msgstr "" #. Navigation button to the 'API access methods' view msgctxt "settings-view" -msgid "API access methods" +msgid "API access" msgstr "" msgctxt "settings-view" @@ -1561,7 +1561,7 @@ msgid "Try restarting your device." msgstr "" msgctxt "troubleshoot" -msgid "Try to reinstall VMware" +msgid "Try to reinstall VMware." msgstr "" msgctxt "troubleshoot" @@ -1569,7 +1569,7 @@ msgid "Try to turn Wi-Fi Calling off in the FaceTime app settings and restart th msgstr "" msgctxt "troubleshoot" -msgid "Try to uninstall VMware" +msgid "Try to uninstall VMware." msgstr "" msgctxt "troubleshoot" @@ -1577,7 +1577,7 @@ msgid "Unable to communicate with Mullvad kernel driver." msgstr "" msgctxt "troubleshoot" -msgid "Unable to start tunnel connection because of a failure when creating the tunnel device. This is often caused by an issue with the VMware Bridge Protocol." +msgid "Unable to start tunnel connection because of a failure when creating the tunnel device. This is often caused by conflicts with the VMware Bridge Protocol." msgstr "" msgctxt "troubleshoot" diff --git a/gui/src/renderer/components/Settings.tsx b/gui/src/renderer/components/Settings.tsx index 53dbb386ffae..8f68a1c46299 100644 --- a/gui/src/renderer/components/Settings.tsx +++ b/gui/src/renderer/components/Settings.tsx @@ -149,7 +149,7 @@ function ApiAccessMethodsButton() { { // TRANSLATORS: Navigation button to the 'API access methods' view - messages.pgettext('settings-view', 'API access methods') + messages.pgettext('settings-view', 'API access') } diff --git a/gui/src/shared/notifications/error.ts b/gui/src/shared/notifications/error.ts index bead5ae72900..673d6cea2884 100644 --- a/gui/src/shared/notifications/error.ts +++ b/gui/src/shared/notifications/error.ts @@ -167,7 +167,7 @@ function getMessage(errorState: ErrorState): string { if (errorState.osError === 4319) { return messages.pgettext( 'notifications', - 'Unable to start tunnel connection. This could be caused by incompatibility with VMware, please troubleshoot.', + 'Unable to start tunnel connection. This could be because of conflicts with VMware, please troubleshoot.', ); } @@ -287,11 +287,11 @@ function getActions(errorState: ErrorState): InAppNotificationAction | void { troubleshoot: { details: messages.pgettext( 'troubleshoot', - 'Unable to start tunnel connection because of a failure when creating the tunnel device. This is often caused by an issue with the VMware Bridge Protocol.', + 'Unable to start tunnel connection because of a failure when creating the tunnel device. This is often caused by conflicts with the VMware Bridge Protocol.', ), steps: [ - messages.pgettext('troubleshoot', 'Try to reinstall VMware'), - messages.pgettext('troubleshoot', 'Try to uninstall VMware'), + messages.pgettext('troubleshoot', 'Try to reinstall VMware.'), + messages.pgettext('troubleshoot', 'Try to uninstall VMware.'), ], }, };