taler-ios

iOS apps for GNU Taler (wallet)
Log | Files | Refs | README | LICENSE

commit f4ef8d7cd455e957b2b9b372e90914ae37bc641c
parent 1b22e058e16e3e78dfe58eecf7e5b996d1d626db
Author: Marc Stibane <marc@taler.net>
Date:   Wed, 18 Nov 2026 17:29:32 +0100

add strings for 7047, 7027, 7052, 7059

Diffstat:
MTalerWallet1/Views/Main/ErrorView.swift | 12+++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/TalerWallet1/Views/Main/ErrorView.swift b/TalerWallet1/Views/Main/ErrorView.swift @@ -126,7 +126,8 @@ struct ErrorView: View { static func titleForExpected(code: Int) -> String? { switch code { case 7000, // WALLET_EXCHANGE_PROTOCOL_VERSION_INCOMPATIBLE - 7017: // WALLET_BANK_INTEGRATION_PROTOCOL_VERSION_INCOMPATIBLE + 7017, // WALLET_BANK_INTEGRATION_PROTOCOL_VERSION_INCOMPATIBLE + 7047: // WALLET_TRANSACTION_PROTOCOL_VIOLATION String(localized: "Incompatible protocol version", comment: "error title: 7000,7017: the server speaks a protocol this app does not") // 7002, 7003, 7005, 7013 and 7032 are mapped to INTERNET ERROR @@ -142,7 +143,8 @@ struct ErrorView: View { // case 7013: // WALLET_HTTP_REQUEST_GENERIC_TIMEOUT // String(localized: "Network timeout", // comment: "error title: 7013: the server didn't respond in time") - case 7026: // WALLET_DEPOSIT_GROUP_INSUFFICIENT_BALANCE + case 7026, // WALLET_DEPOSIT_GROUP_INSUFFICIENT_BALANCE + 7027: // WALLET_PEER_PUSH_PAYMENT_INSUFFICIENT_BALANCE String(localized: "Insufficient balance", comment: "error title: 7026: not enough funds for transaction") // case 7032: // WALLET_EXCHANGE_UNAVAILABLE @@ -161,7 +163,8 @@ struct ErrorView: View { String(localized: "Invoice expired", comment: "error title: 7041: the payer waited too long") case 7046, // WALLET_REQUEST_TRANSACTION_STATE_UNSUPPORTED - 7049: // WALLET_MERCHANT_ORDER_NOT_FOUND + 7049, // WALLET_MERCHANT_ORDER_NOT_FOUND + 7052: // WALLET_TRANSACTION_NOT_FOUND String(localized: "Transaction Error", comment: "error title: 7046,7049: illegal state / tx deleted?") case 7051: // WALLET_PURCHASE_NOT_FOUND @@ -176,6 +179,9 @@ struct ErrorView: View { case 7057: // WALLET_PEER_CONTRACT_NOT_FOUND String(localized: "Unknown contract", comment: "error title: 7057: the exchange does not know this peer-to-peer contract") + case 7059: // WALLET_PEER_PULL_DEBIT_ALREADY_PAID + String(localized: "Already paid", + comment: "error title: 7059: this request has already been paid") case 7064: // WALLET_CONTRACT_TERMS_UNSUPPORTED String(localized: "Transaction Error", comment: "error title: 7064: the exchange does not support the contract terms")