summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2022-11-01 06:24:45 +0100
committerAndrej Mihajlov <and@mullvad.net>2022-11-08 10:18:58 +0100
commit717a1a59f952bf69d686b407b61e86b627ffcc51 (patch)
tree784b4be622502d222a280247828b94fe28a5de59
parentdfb13c23d54d201530bc4e8c9d9ade27f5b9ca43 (diff)
downloadmullvadvpn-717a1a59f952bf69d686b407b61e86b627ffcc51.tar.xz
mullvadvpn-717a1a59f952bf69d686b407b61e86b627ffcc51.zip
Update table for StorePaymentManagerError
-rw-r--r--ios/MullvadVPN/DisplayChainedError.swift16
1 files changed, 8 insertions, 8 deletions
diff --git a/ios/MullvadVPN/DisplayChainedError.swift b/ios/MullvadVPN/DisplayChainedError.swift
index 4bfa351f4f..c1ef9b463e 100644
--- a/ios/MullvadVPN/DisplayChainedError.swift
+++ b/ios/MullvadVPN/DisplayChainedError.swift
@@ -113,7 +113,7 @@ extension StorePaymentManagerError: DisplayChainedError {
case .noAccountSet:
return NSLocalizedString(
"NO_ACCOUNT_SET_ERROR",
- tableName: "AppStorePaymentManager",
+ tableName: "StorePaymentManager",
value: "Internal error: account is not set.",
comment: ""
)
@@ -125,7 +125,7 @@ extension StorePaymentManagerError: DisplayChainedError {
return String(
format: NSLocalizedString(
"INVALID_ACCOUNT_ERROR",
- tableName: "AppStorePaymentManager",
+ tableName: "StorePaymentManager",
value: "Cannot add credit to invalid account.",
comment: ""
), reason
@@ -136,7 +136,7 @@ extension StorePaymentManagerError: DisplayChainedError {
return String(
format: NSLocalizedString(
"VALIDATE_ACCOUNT_ERROR",
- tableName: "AppStorePaymentManager",
+ tableName: "StorePaymentManager",
value: "Failed to validate account token: %@",
comment: ""
), reason
@@ -147,7 +147,7 @@ extension StorePaymentManagerError: DisplayChainedError {
if readReceiptError is StoreReceiptNotFound {
return NSLocalizedString(
"RECEIPT_NOT_FOUND_ERROR",
- tableName: "AppStorePaymentManager",
+ tableName: "StorePaymentManager",
value: "AppStore receipt is not found on disk.",
comment: ""
)
@@ -155,7 +155,7 @@ extension StorePaymentManagerError: DisplayChainedError {
return String(
format: NSLocalizedString(
"REFRESH_RECEIPT_ERROR",
- tableName: "AppStorePaymentManager",
+ tableName: "StorePaymentManager",
value: "Cannot refresh the AppStore receipt: %@",
comment: ""
),
@@ -165,7 +165,7 @@ extension StorePaymentManagerError: DisplayChainedError {
return String(
format: NSLocalizedString(
"READ_RECEIPT_ERROR",
- tableName: "AppStorePaymentManager",
+ tableName: "StorePaymentManager",
value: "Cannot read the AppStore receipt from disk: %@",
comment: ""
),
@@ -177,13 +177,13 @@ extension StorePaymentManagerError: DisplayChainedError {
let reason = restError.errorChainDescription ?? ""
let errorFormat = NSLocalizedString(
"SEND_RECEIPT_ERROR",
- tableName: "AppStorePaymentManager",
+ tableName: "StorePaymentManager",
value: "Failed to send the receipt to server: %@",
comment: ""
)
let recoverySuggestion = NSLocalizedString(
"SEND_RECEIPT_RECOVERY_SUGGESTION",
- tableName: "AppStorePaymentManager",
+ tableName: "StorePaymentManager",
value: "Please retry by using the \"Restore purchases\" button.",
comment: ""
)