summaryrefslogtreecommitdiffhomepage
path: root/gui/src/shared/auth-failure.ts
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2020-11-11 18:04:15 +0100
committerOskar Nyberg <oskar@mullvad.net>2020-11-13 19:53:59 +0100
commit90db7b7922192cc96eae37caa1f20e2fefe6bc15 (patch)
treefa371841095d5ff8f3f0a25908d436f514d2b50c /gui/src/shared/auth-failure.ts
parent52499b482483ba1dac7fc8d756f2bf671362b178 (diff)
downloadmullvadvpn-90db7b7922192cc96eae37caa1f20e2fefe6bc15.tar.xz
mullvadvpn-90db7b7922192cc96eae37caa1f20e2fefe6bc15.zip
Update notification messages
Diffstat (limited to 'gui/src/shared/auth-failure.ts')
-rw-r--r--gui/src/shared/auth-failure.ts14
1 files changed, 7 insertions, 7 deletions
diff --git a/gui/src/shared/auth-failure.ts b/gui/src/shared/auth-failure.ts
index bbd990bf89..f8db50d82e 100644
--- a/gui/src/shared/auth-failure.ts
+++ b/gui/src/shared/auth-failure.ts
@@ -60,22 +60,22 @@ function messageForFailureKind(kind: AuthFailureKind): string {
case AuthFailureKind.invalidAccount:
return messages.pgettext(
'auth-failure',
- "You've logged in with an account number that is not valid. Please log out and try another one.",
+ 'You are logged in with an invalid account number. Please log out and try another one.',
);
case AuthFailureKind.expiredAccount:
- return messages.pgettext(
- 'auth-failure',
- 'You have no more VPN time left on this account. Please log in on our website to buy more credit.',
- );
+ return messages.pgettext('auth-failure', 'Blocking internet: account is out of time');
case AuthFailureKind.tooManyConnections:
return messages.pgettext(
'auth-failure',
- 'This account has too many simultaneous connections. Disconnect another device or try connecting again shortly.',
+ 'Too many simultaneous connections on this account. Disconnect another device or try connecting again shortly.',
);
case AuthFailureKind.unknown:
- return messages.pgettext('auth-failure', 'Account authentication failed.');
+ return messages.pgettext(
+ 'auth-failure',
+ 'Unable to authenticate account. Please contact support.',
+ );
}
}