summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2020-10-20 10:14:56 +0200
committerOskar Nyberg <oskar@mullvad.net>2020-10-20 10:14:56 +0200
commit1e93e02f66a6e06aec8b4725e85c754ad857fa44 (patch)
tree4ab68d30ac01389f82762b890c2f098e8fe68b9f /gui/src
parent4d2a8463c5c542c9c386ae0d4110a85dfabaf9cb (diff)
parent3610190ca06b04beb7cd9c564f60b6834e9ac1e2 (diff)
downloadmullvadvpn-1e93e02f66a6e06aec8b4725e85c754ad857fa44.tar.xz
mullvadvpn-1e93e02f66a6e06aec8b4725e85c754ad857fa44.zip
Merge branch 'update-translations-2020.6' into master
Diffstat (limited to 'gui/src')
-rw-r--r--gui/src/shared/notifications/connected.ts15
-rw-r--r--gui/src/shared/notifications/connecting.ts15
2 files changed, 18 insertions, 12 deletions
diff --git a/gui/src/shared/notifications/connected.ts b/gui/src/shared/notifications/connected.ts
index 07f7f26ee9..901b386e97 100644
--- a/gui/src/shared/notifications/connected.ts
+++ b/gui/src/shared/notifications/connected.ts
@@ -13,12 +13,15 @@ export class ConnectedNotificationProvider implements SystemNotificationProvider
let message = messages.pgettext('notifications', 'Secured');
const location = this.context.details.location?.hostname;
if (location) {
- // TRANSLATORS: The message showed when a server has been connected to.
- // TRANSLATORS: Available placeholder:
- // TRANSLATORS: %(location) - name of the server location we're connected to (e.g. "se-got-003")
- message = sprintf(messages.pgettext('notifications', 'Connected to %(location)s'), {
- location,
- });
+ message = sprintf(
+ // TRANSLATORS: The message showed when a server has been connected to.
+ // TRANSLATORS: Available placeholder:
+ // TRANSLATORS: %(location) - name of the server location we're connected to (e.g. "se-got-003")
+ messages.pgettext('notifications', 'Connected to %(location)s'),
+ {
+ location,
+ },
+ );
}
return {
diff --git a/gui/src/shared/notifications/connecting.ts b/gui/src/shared/notifications/connecting.ts
index ac8c049c67..822be2bc74 100644
--- a/gui/src/shared/notifications/connecting.ts
+++ b/gui/src/shared/notifications/connecting.ts
@@ -25,12 +25,15 @@ export class ConnectingNotificationProvider
let message = messages.pgettext('notifications', 'Connecting');
const location = this.context.tunnelState.details?.location?.hostname;
if (location) {
- // TRANSLATORS: The message showed when a server is being connected to.
- // TRANSLATORS: Available placeholder:
- // TRANSLATORS: %(location) - name of the server location we're connecting to (e.g. "se-got-003")
- message = sprintf(messages.pgettext('notifications', 'Connecting to %(location)s'), {
- location,
- });
+ message = sprintf(
+ // TRANSLATORS: The message showed when a server is being connected to.
+ // TRANSLATORS: Available placeholder:
+ // TRANSLATORS: %(location) - name of the server location we're connecting to (e.g. "se-got-003")
+ messages.pgettext('notifications', 'Connecting to %(location)s'),
+ {
+ location,
+ },
+ );
}
return {