diff options
Diffstat (limited to 'gui')
| -rw-r--r-- | gui/locales/messages.pot | 11 | ||||
| -rw-r--r-- | gui/src/main/index.ts | 6 |
2 files changed, 16 insertions, 1 deletions
diff --git a/gui/locales/messages.pot b/gui/locales/messages.pot index 24dde8b1bc..b7c2f8a411 100644 --- a/gui/locales/messages.pot +++ b/gui/locales/messages.pot @@ -8,6 +8,9 @@ msgstr "" msgid "CREATING SECURE CONNECTION" msgstr "" +msgid "Invalid account number" +msgstr "" + msgid "SECURE CONNECTION" msgstr "" @@ -273,6 +276,10 @@ msgid "Failed to apply firewall rules. The device might currently be unsecured" msgstr "" msgctxt "in-app-notifications" +msgid "Failed to resolve host of custom tunnel. Consider changing the settings" +msgstr "" + +msgctxt "in-app-notifications" msgid "Failed to set system DNS server" msgstr "" @@ -323,6 +330,10 @@ msgctxt "in-app-notifications" msgid "UPDATE AVAILABLE" msgstr "" +msgctxt "in-app-notifications" +msgid "WireGuard key not published to our servers. You can manage your key in Advanced settings." +msgstr "" + #. The in-app banner displayed to the user when the running app becomes unsupported. #. Available placeholders: #. %(version)s - the newest available version of the app diff --git a/gui/src/main/index.ts b/gui/src/main/index.ts index 54cf11ed05..d7e13615f9 100644 --- a/gui/src/main/index.ts +++ b/gui/src/main/index.ts @@ -1037,7 +1037,11 @@ class ApplicationMain { } catch (error) { log.error(`Failed to login: ${error.message}`); - throw error; + if (error instanceof InvalidAccountError) { + throw Error(messages.gettext('Invalid account number')); + } else { + throw error; + } } } |
