commit eb07572d543644af5c17d59deefe7658ddbf2adb
parent 0353f771da46a30d2c448603066c64e3a0bc915e
Author: Marc Stibane <marc@taler.net>
Date: Mon, 18 Nov 2024 16:36:45 +0100
wording
Diffstat:
3 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/TalerWallet1/Model/Transaction.swift b/TalerWallet1/Model/Transaction.swift
@@ -344,9 +344,9 @@ struct TransactionCommon: Decodable, Sendable {
case .scanPushCredit: return String(localized: "Receive Money",
comment: "TransactionType, scan to receive coins sent from another wallet")
case .peerPullCredit: return String(localized: "Request Money", // Invoice?
- comment: "TransactionType, send invoice to another wallet")
+ comment: "TransactionType, send private 'invoice' to another wallet")
case .scanPullDebit: return String(localized: "Pay Request", // Pay Invoice is the same as Payment
- comment: "TransactionType, scan invoice to pay to another wallet")
+ comment: "TransactionType, scan private 'invoice' to pay to another wallet")
case .recoup: return String(localized: "Recoup",
comment: "TransactionType")
case .denomLoss: return String(localized: "Money lost",
@@ -355,14 +355,14 @@ struct TransactionCommon: Decodable, Sendable {
}
func localizedTypePast(_ type: TransactionType) -> String {
switch type {
- case .peerPushDebit: return String(localized: "Sent Money",
+ case .peerPushDebit: return String(localized: "Money Sent",
comment: "TransactionType, sent coins to another wallet")
- case .scanPushCredit: return String(localized: "Received Money",
+ case .scanPushCredit: return String(localized: "Money Received",
comment: "TransactionType, received coins sent from another wallet")
- case .peerPullCredit: return String(localized: "Requested Money", // Invoice?
- comment: "TransactionType, sent invoice to another wallet")
- case .scanPullDebit: return String(localized: "Paid Request", // Pay Invoice is the same as Payment
- comment: "TransactionType, paid invoice from another wallet")
+ case .peerPullCredit: return String(localized: "Money Requested", // Invoice?
+ comment: "TransactionType, sent private 'invoice' to another wallet")
+ case .scanPullDebit: return String(localized: "Request Paid", // Pay Invoice is the same as Payment
+ comment: "TransactionType, paid private 'invoice' from another wallet")
default: return localizedType(type)
}
}
diff --git a/TalerWallet1/Views/Actions/Peer2peer/P2PReadyV.swift b/TalerWallet1/Views/Actions/Peer2peer/P2PReadyV.swift
@@ -28,7 +28,7 @@ struct P2PReadyV: View {
#endif
@AppStorage("myListStyle") var myListStyle: MyListStyle = .automatic
- let navTitle = String(localized: "P2P Ready")
+ let navTitle = String(localized: "Ready")
@State private var transactionId: String? = nil
@MainActor
diff --git a/TalerWallet1/Views/HelperViews/QRCodeDetailView.swift b/TalerWallet1/Views/HelperViews/QRCodeDetailView.swift
@@ -60,13 +60,13 @@ struct QRCodeDetailView: View {
defaultValue: "Requesting \(amountStr)",
comment: "e.g. '5,3 €'")
: String(localized: "(payer) 1",
- defaultValue: "Let the payer scan this QR code to pay \(amountStr).",
+ defaultValue: "To receive \(amountStr), have the payer scan this QR code.",
comment: "e.g. '5,3 €'"))
: (minimalistic ? String(localized: "(payee) 1 mini",
defaultValue: "Sending \(amountStr)",
comment: "e.g. '$ 7.41'")
: String(localized: "(payee) 1",
- defaultValue: "Let the payee scan this QR code to receive \(amountStr).",
+ defaultValue: "Sending \(amountStr) - let the payee scan this QR code to receive the payment.",
comment: "e.g. '$ 7.41'"))
Text(scanLong)
.multilineTextAlignment(.leading)