summaryrefslogtreecommitdiffhomepage
path: root/gui/src/shared
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2020-11-24 18:51:45 +0100
committerDavid Lönnhager <david.l@mullvad.net>2020-11-24 18:51:45 +0100
commit71e469bdd21cfbf9dcec1bbd0e195c43303a722b (patch)
tree31fa0d43eb7bb97bf7d895fa81ded864800620db /gui/src/shared
parent299c6e6a6013f866a9f618e060edf0bfbb2fd7fc (diff)
parent6fb00c9c0890e661bef225c7d40bde8c0ea858ff (diff)
downloadmullvadvpn-71e469bdd21cfbf9dcec1bbd0e195c43303a722b.tar.xz
mullvadvpn-71e469bdd21cfbf9dcec1bbd0e195c43303a722b.zip
Merge branch 'openvpn-2.5'
Diffstat (limited to 'gui/src/shared')
-rw-r--r--gui/src/shared/daemon-rpc-types.ts2
-rw-r--r--gui/src/shared/notifications/error.ts4
2 files changed, 3 insertions, 3 deletions
diff --git a/gui/src/shared/daemon-rpc-types.ts b/gui/src/shared/daemon-rpc-types.ts
index bac978f7d6..95d8758088 100644
--- a/gui/src/shared/daemon-rpc-types.ts
+++ b/gui/src/shared/daemon-rpc-types.ts
@@ -38,7 +38,7 @@ export type ErrorStateCause =
| 'set_dns_error'
| 'start_tunnel_error'
| 'is_offline'
- | 'tap_adapter_problem';
+ | 'virtual_adapter_problem';
}
| { reason: 'set_firewall_policy_error'; details: FirewallPolicyError }
| { reason: 'tunnel_parameter_error'; details: TunnelParameterError }
diff --git a/gui/src/shared/notifications/error.ts b/gui/src/shared/notifications/error.ts
index d9fd12de1a..672dc27b94 100644
--- a/gui/src/shared/notifications/error.ts
+++ b/gui/src/shared/notifications/error.ts
@@ -117,10 +117,10 @@ function getMessage(errorDetails: IErrorState, accountExpiry?: string): string {
'notifications',
"Your device is offline. Try connecting when it's back online.",
);
- case 'tap_adapter_problem':
+ case 'virtual_adapter_problem':
return messages.pgettext(
'notifications',
- 'Unable to detect a working TAP adapter on this device. Try enabling it. Otherwise, please reinstall the app.',
+ 'Unable to detect a working virtual adapter on this device. Try enabling it. Otherwise, please reinstall the app.',
);
}
}