diff options
| -rw-r--r-- | ios/MullvadVPN/DisplayChainedError.swift | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ios/MullvadVPN/DisplayChainedError.swift b/ios/MullvadVPN/DisplayChainedError.swift index 8168323a31..daffe776b9 100644 --- a/ios/MullvadVPN/DisplayChainedError.swift +++ b/ios/MullvadVPN/DisplayChainedError.swift @@ -144,8 +144,13 @@ extension AppStorePaymentManager.Error: DisplayChainedError { case .sendReceipt(let restError): let reason = restError.errorChainDescription ?? "" + let format = NSLocalizedString(#""" +Failed to send the receipt to server: %@ - return String(format: NSLocalizedString(#"Failed to send the receipt to server: %@\n\nPlease retry by using the "Restore purchases" button."#, comment: ""), reason) +Please retry by using the "Restore purchases" button. +"""#, comment: "") + + return String(format: format, reason) case .storePayment(let storeError): return storeError.localizedDescription |
