diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2022-05-20 13:32:53 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2022-05-31 09:47:48 +0200 |
| commit | 4c4f7ba466897e3d53a34165ac35a04881ea5e19 (patch) | |
| tree | b8380bf4ea84be57c2a56a5c406a3632cb424093 /ios/MullvadVPN/Notifications | |
| parent | 5eb10755ed05d7d64e21978281976b74736574b5 (diff) | |
| download | mullvadvpn-4c4f7ba466897e3d53a34165ac35a04881ea5e19.tar.xz mullvadvpn-4c4f7ba466897e3d53a34165ac35a04881ea5e19.zip | |
Drop base language translations
Diffstat (limited to 'ios/MullvadVPN/Notifications')
| -rw-r--r-- | ios/MullvadVPN/Notifications/AccountExpiryNotificationProvider.swift | 2 | ||||
| -rw-r--r-- | ios/MullvadVPN/Notifications/TunnelErrorNotificationProvider.swift | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/ios/MullvadVPN/Notifications/AccountExpiryNotificationProvider.swift b/ios/MullvadVPN/Notifications/AccountExpiryNotificationProvider.swift index 4fd9aacdef..51633cc85a 100644 --- a/ios/MullvadVPN/Notifications/AccountExpiryNotificationProvider.swift +++ b/ios/MullvadVPN/Notifications/AccountExpiryNotificationProvider.swift @@ -111,11 +111,13 @@ class AccountExpiryNotificationProvider: NotificationProvider, SystemNotificatio style: .warning, title: NSLocalizedString( "ACCOUNT_EXPIRY_INAPP_NOTIFICATION_TITLE", + value: "ACCOUNT CREDIT EXPIRES SOON", comment: "Title for in-app notification, displayed within the last 3 days until account expiry." ), body: String( format: NSLocalizedString( "ACCOUNT_EXPIRY_INAPP_NOTIFICATION_BODY", + value: "%@ left. Buy more credit.", comment: "Message for in-app notification, displayed within the last 3 days until account expiry." ), duration ) diff --git a/ios/MullvadVPN/Notifications/TunnelErrorNotificationProvider.swift b/ios/MullvadVPN/Notifications/TunnelErrorNotificationProvider.swift index afc6e5aa72..de0aab4653 100644 --- a/ios/MullvadVPN/Notifications/TunnelErrorNotificationProvider.swift +++ b/ios/MullvadVPN/Notifications/TunnelErrorNotificationProvider.swift @@ -19,7 +19,11 @@ class TunnelErrorNotificationProvider: NotificationProvider, InAppNotificationPr return InAppNotificationDescriptor( identifier: identifier, style: .error, - title: NSLocalizedString("TUNNEL_ERROR_INAPP_NOTIFICATION_TITLE", comment: ""), + title: NSLocalizedString( + "TUNNEL_ERROR_INAPP_NOTIFICATION_TITLE", + value: "Tunnel error", + comment: "" + ), body: lastError.errorChainDescription ?? "No error description provided." ) } |
