[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-ios] 06/06: L10N comments
From: |
gnunet |
Subject: |
[taler-taler-ios] 06/06: L10N comments |
Date: |
Mon, 09 Dec 2024 21:46:54 +0100 |
This is an automated email from the git hooks/post-receive script.
marc-stibane pushed a commit to branch master
in repository taler-ios.
commit 73753bb5032e1137f3fcd461cc41ad03d6fbb9d0
Author: Marc Stibane <marc@taler.net>
AuthorDate: Mon Dec 9 21:40:50 2024 +0100
L10N comments
---
TalerWallet1/Localizable.xcstrings | 52 +++++++++++++++++++---
TalerWallet1/Views/Actions/ActionsSheet.swift | 2 +-
.../Views/Actions/Banking/DepositAmountView.swift | 2 +-
.../Views/Actions/Banking/DepositSelectV.swift | 6 +--
TalerWallet1/Views/Balances/BalanceCellV.swift | 2 +-
.../Views/Balances/BalancesPendingRowV.swift | 2 +-
.../Views/Balances/BalancesSectionView.swift | 2 +-
TalerWallet1/Views/HelperViews/ScopePicker.swift | 2 +-
.../Views/Settings/Bank/BankSectionView.swift | 2 +-
.../Views/Sheets/Payment/PaymentView.swift | 2 +-
.../Views/Transactions/TransactionPayDetailV.swift | 2 +-
.../Views/Transactions/TransactionRowView.swift | 2 +-
.../Views/Transactions/TransactionSummaryV.swift | 4 +-
.../Views/Transactions/TransactionsListView.swift | 2 +-
14 files changed, 62 insertions(+), 22 deletions(-)
diff --git a/TalerWallet1/Localizable.xcstrings
b/TalerWallet1/Localizable.xcstrings
index e4c5dfc..a08e50e 100755
--- a/TalerWallet1/Localizable.xcstrings
+++ b/TalerWallet1/Localizable.xcstrings
@@ -1758,11 +1758,12 @@
}
},
"Available:\t%@" : {
+ "extractionState" : "stale",
"localizations" : {
"de" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Verfügbar: %@"
+ "value" : "Verfügbar: %@ (there was a \"\\ t\")"
}
},
"es" : {
@@ -1779,6 +1780,16 @@
}
}
},
+ "Available: %@" : {
+ "localizations" : {
+ "de" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Verfügbar: %@"
+ }
+ }
+ }
+ },
"Backup restored" : {
"comment" : "RefreshReason",
"localizations" : {
@@ -1980,13 +1991,13 @@
}
}
},
- "Choose the payment service." : {
+ "Choose the payment service:" : {
"comment" : "VoiceOver",
"localizations" : {
"de" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Wählen Sie den Zahlungsdienst."
+ "value" : "Wählen Sie den Zahlungsdienst:"
}
}
}
@@ -2715,6 +2726,7 @@
}
},
"Double tap to edit the account" : {
+ "comment" : "VoiceOver",
"localizations" : {
"de" : {
"stringUnit" : {
@@ -4499,12 +4511,12 @@
},
"NavTitle_Deposit_AmountStr" : {
"comment" : "NavTitle: Deposit",
- "extractionState" : "extracted_with_value",
+ "extractionState" : "stale",
"localizations" : {
"de" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Konto wählen"
+ "value" : "Konto auswählen"
}
},
"en" : {
@@ -4528,7 +4540,7 @@
}
},
"NavTitle_Deposit_Currency" : {
- "comment" : "NavTitle: Deposit 'currency'\nNavTitle: Deposit
'currencySymbol'",
+ "comment" : "NavTitle: Deposit 'currencySymbol'",
"extractionState" : "extracted_with_value",
"localizations" : {
"de" : {
@@ -4557,6 +4569,24 @@
}
}
},
+ "NavTitle_Deposit_Select" : {
+ "comment" : "NavTitle: Deposit",
+ "extractionState" : "extracted_with_value",
+ "localizations" : {
+ "de" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Konto auswählen"
+ }
+ },
+ "en" : {
+ "stringUnit" : {
+ "state" : "new",
+ "value" : "Select account"
+ }
+ }
+ }
+ },
"NavTitle_Request" : {
"comment" : "NavTitle: Request",
"extractionState" : "extracted_with_value",
@@ -4976,6 +5006,7 @@
}
},
"not yet verified" : {
+ "comment" : "KYC state",
"localizations" : {
"de" : {
"stringUnit" : {
@@ -8064,6 +8095,7 @@
}
},
"Transaction list" : {
+ "comment" : "VoiceOver",
"localizations" : {
"de" : {
"stringUnit" : {
@@ -8690,6 +8722,7 @@
}
},
"verified" : {
+ "comment" : "KYC state",
"localizations" : {
"de" : {
"stringUnit" : {
@@ -8857,6 +8890,7 @@
}
},
"Will go to bank website to authorize this withdrawal." : {
+ "comment" : "VoiceOver",
"localizations" : {
"de" : {
"stringUnit" : {
@@ -8879,6 +8913,7 @@
}
},
"Will go to detail view." : {
+ "comment" : "VoiceOver",
"localizations" : {
"de" : {
"stringUnit" : {
@@ -8901,6 +8936,7 @@
}
},
"Will go to KYC website to permit this withdrawal." : {
+ "comment" : "VoiceOver",
"localizations" : {
"de" : {
"stringUnit" : {
@@ -8923,6 +8959,7 @@
}
},
"Will go to main transactions list." : {
+ "comment" : "VoiceOver",
"localizations" : {
"de" : {
"stringUnit" : {
@@ -8945,6 +8982,7 @@
}
},
"Will go to Pending transactions." : {
+ "comment" : "VoiceOver",
"localizations" : {
"de" : {
"stringUnit" : {
@@ -8967,6 +9005,7 @@
}
},
"Will go to the demo shop website." : {
+ "comment" : "VoiceOver",
"localizations" : {
"de" : {
"stringUnit" : {
@@ -8989,6 +9028,7 @@
}
},
"Will go to the merchant website." : {
+ "comment" : "VoiceOver",
"localizations" : {
"de" : {
"stringUnit" : {
diff --git a/TalerWallet1/Views/Actions/ActionsSheet.swift
b/TalerWallet1/Views/Actions/ActionsSheet.swift
index 1047696..094d0de 100644
--- a/TalerWallet1/Views/Actions/ActionsSheet.swift
+++ b/TalerWallet1/Views/Actions/ActionsSheet.swift
@@ -72,7 +72,7 @@ struct ActionsSheet: View {
}
}
.buttonStyle(TalerButtonStyle(type: .bordered, narrow: false,
aligned: .center))
- .accessibilityHint(String(localized: "Will go to the demo shop
website."))
+ .accessibilityHint(String(localized: "Will go to the demo shop
website.", comment: "VoiceOver"))
.padding(.bottom, 20)
}
diff --git a/TalerWallet1/Views/Actions/Banking/DepositAmountView.swift
b/TalerWallet1/Views/Actions/Banking/DepositAmountView.swift
index 78d537d..8b6a757 100644
--- a/TalerWallet1/Views/Actions/Banking/DepositAmountView.swift
+++ b/TalerWallet1/Views/Actions/Banking/DepositAmountView.swift
@@ -38,7 +38,7 @@ struct DepositAmountView: View {
) -> String {
condition ? String(localized: "NavTitle_Deposit_Currency",
defaultValue: "Deposit \(currency)",
- comment: "NavTitle: Deposit 'currency'")
+ comment: "NavTitle: Deposit 'currencySymbol'")
: String(localized: "NavTitle_Deposit",
defaultValue: "Deposit",
comment: "NavTitle: Deposit")
diff --git a/TalerWallet1/Views/Actions/Banking/DepositSelectV.swift
b/TalerWallet1/Views/Actions/Banking/DepositSelectV.swift
index 5e653ee..872d25d 100644
--- a/TalerWallet1/Views/Actions/Banking/DepositSelectV.swift
+++ b/TalerWallet1/Views/Actions/Banking/DepositSelectV.swift
@@ -39,7 +39,7 @@ struct DepositSelectV: View {
private var subjectTitle: String {
- return String(localized: "NavTitle_Deposit_AmountStr",
+ return String(localized: "NavTitle_Deposit_Select",
defaultValue: "Select account",
comment: "NavTitle: Deposit")
}
@@ -80,8 +80,8 @@ struct DepositSelectV: View {
let iban = payURL?.iban
let xTaler = payURL?.xTaler
let alias = account.label
- let kyc = account.kycCompleted ? String(localized:
"verified")
- : String(localized:
"not yet verified")
+ let kyc = account.kycCompleted ? String(localized:
"verified", comment: "KYC state")
+ : String(localized:
"not yet verified", comment: "KYC state")
let destination = DepositAmountV(stack: stack.push(),
selectedBalance:
$selectedBalance,
diff --git a/TalerWallet1/Views/Balances/BalanceCellV.swift
b/TalerWallet1/Views/Balances/BalanceCellV.swift
index 3bd87c8..df74177 100644
--- a/TalerWallet1/Views/Balances/BalanceCellV.swift
+++ b/TalerWallet1/Views/Balances/BalanceCellV.swift
@@ -78,7 +78,7 @@ struct BalanceCellV: View {
NavigationLink { balanceDest } label: {
balanceCell
.accessibilityElement(children: .combine)
- .accessibilityHint(String(localized: "Will go to main
transactions list."))
+ .accessibilityHint(String(localized: "Will go to main
transactions list.", comment: "VoiceOver"))
// .accessibilityLabel(balanceTitleStr + SPACE + amountStr) //
TODO: CurrencyFormatter!
}
}
diff --git a/TalerWallet1/Views/Balances/BalancesPendingRowV.swift
b/TalerWallet1/Views/Balances/BalancesPendingRowV.swift
index 1c65e51..77330f0 100644
--- a/TalerWallet1/Views/Balances/BalancesPendingRowV.swift
+++ b/TalerWallet1/Views/Balances/BalancesPendingRowV.swift
@@ -56,7 +56,7 @@ struct BalancesPendingRowV: View {
needsKYC ? needsKYCStr :
shouldConfirm ? needsConfStr
: EMPTYSTRING)
- .accessibilityHint(String(localized: "Will go to Pending
transactions."))
+ .accessibilityHint(String(localized: "Will go to Pending
transactions.", comment: "VoiceOver"))
}
var body: some View {
diff --git a/TalerWallet1/Views/Balances/BalancesSectionView.swift
b/TalerWallet1/Views/Balances/BalancesSectionView.swift
index 08f5a4d..d7bf1c6 100644
--- a/TalerWallet1/Views/Balances/BalancesSectionView.swift
+++ b/TalerWallet1/Views/Balances/BalancesSectionView.swift
@@ -102,7 +102,7 @@ extension BalancesSectionView: View {
reloadAllAction: loadCompleted)
Section {
if scopeInfo.type == .exchange {
- let baseURL = scopeInfo.url?.trimURL ?? String(localized:
"Unknown payment provider", comment: "exchange url")
+ let baseURL = scopeInfo.url?.trimURL ?? String(localized:
"Unknown payment service", comment: "exchange url")
Text(baseURL)
.talerFont(.subheadline)
.foregroundColor(.secondary)
diff --git a/TalerWallet1/Views/HelperViews/ScopePicker.swift
b/TalerWallet1/Views/HelperViews/ScopePicker.swift
index 39e150a..5d59a73 100644
--- a/TalerWallet1/Views/HelperViews/ScopePicker.swift
+++ b/TalerWallet1/Views/HelperViews/ScopePicker.swift
@@ -47,7 +47,7 @@ struct ScopePicker: View {
useISO: true, a11yDecSep:
".")
let url = balance.scopeInfo.url?.trimURL ?? EMPTYSTRING
// let a11yLabel = url + ", " + availableA11y
- let choose = String(localized: "Choose the payment service.",
comment: "VoiceOver")
+ let choose = String(localized: "Choose the payment service:",
comment: "VoiceOver")
let disabled = (count == 1)
HStack(alignment: .firstTextBaseline) {
diff --git a/TalerWallet1/Views/Settings/Bank/BankSectionView.swift
b/TalerWallet1/Views/Settings/Bank/BankSectionView.swift
index ee6263b..34b283d 100755
--- a/TalerWallet1/Views/Settings/Bank/BankSectionView.swift
+++ b/TalerWallet1/Views/Settings/Bank/BankSectionView.swift
@@ -128,7 +128,7 @@ struct BankSectionView: View {
value: kyc)
} .talerFont(.body)
.accessibilityElement(children: .combine)
- .accessibilityHint("Double tap to edit the account")
+ .accessibilityHint(String(localized: "Double tap to edit
the account", comment: "VoiceOver"))
}
} header: {
}
diff --git a/TalerWallet1/Views/Sheets/Payment/PaymentView.swift
b/TalerWallet1/Views/Sheets/Payment/PaymentView.swift
index 27b8059..bfdd356 100644
--- a/TalerWallet1/Views/Sheets/Payment/PaymentView.swift
+++ b/TalerWallet1/Views/Sheets/Payment/PaymentView.swift
@@ -167,7 +167,7 @@ struct PaymentView: View, Sendable {
let buttonTitle = terms.fulfillmentMessage ??
String(localized: "Open merchant website")
Link(buttonTitle, destination: destination)
.buttonStyle(TalerButtonStyle(type: .bordered))
- .accessibilityHint(String(localized: "Will go
to the merchant website."))
+ .accessibilityHint(String(localized: "Will go
to the merchant website.", comment: "VoiceOver"))
}
}
}
diff --git a/TalerWallet1/Views/Transactions/TransactionPayDetailV.swift
b/TalerWallet1/Views/Transactions/TransactionPayDetailV.swift
index 2079eda..b1bb123 100755
--- a/TalerWallet1/Views/Transactions/TransactionPayDetailV.swift
+++ b/TalerWallet1/Views/Transactions/TransactionPayDetailV.swift
@@ -37,7 +37,7 @@ struct TransactionPayDetailV: View {
let buttonTitle = info.fulfillmentMessage ??
String(localized: "Open merchant website")
Link(buttonTitle, destination: destination)
.buttonStyle(TalerButtonStyle(type: .bordered))
- .accessibilityHint(String(localized: "Will go to the
merchant website."))
+ .accessibilityHint(String(localized: "Will go to the
merchant website.", comment: "VoiceOver"))
}
} else if let fulfillmentMessage = info.fulfillmentMessage {
Text(fulfillmentMessage)
diff --git a/TalerWallet1/Views/Transactions/TransactionRowView.swift
b/TalerWallet1/Views/Transactions/TransactionRowView.swift
index f97c83c..e998de9 100644
--- a/TalerWallet1/Views/Transactions/TransactionRowView.swift
+++ b/TalerWallet1/Views/Transactions/TransactionRowView.swift
@@ -203,7 +203,7 @@ struct TransactionRowView: View {
: needsKYC ? String(localized: ". Needs K
Y C")
: shouldConfirm ? String(localized: ". Needs
bank authorization")
: EMPTYSTRING)
- .accessibilityHint(String(localized: "Will go to detail view."))
+ .accessibilityHint(String(localized: "Will go to detail view.",
comment: "VoiceOver"))
}
}
// MARK: -
diff --git a/TalerWallet1/Views/Transactions/TransactionSummaryV.swift
b/TalerWallet1/Views/Transactions/TransactionSummaryV.swift
index da6c7d9..b1b71f5 100755
--- a/TalerWallet1/Views/Transactions/TransactionSummaryV.swift
+++ b/TalerWallet1/Views/Transactions/TransactionSummaryV.swift
@@ -276,7 +276,7 @@ struct TransactionSummaryV: View {
LinkButton(destination: destination,
hintTitle: String(localized: "You need to
pass a KYC procedure."),
buttonTitle: String(localized: "Open KYC
website"),
- a11yHint: String(localized: "Will go to
KYC website to permit this withdrawal."),
+ a11yHint: String(localized: "Will go to
KYC website to permit this withdrawal.", comment: "VoiceOver"),
badge: NEEDS_KYC)
} } }
let withdrawalDetails = details.withdrawalDetails
@@ -293,7 +293,7 @@ struct TransactionSummaryV: View {
LinkButton(destination: destination,
hintTitle: String(localized:
"The bank is waiting for your authorization."),
buttonTitle: String(localized:
"Authorize now"),
- a11yHint: String(localized:
"Will go to bank website to authorize this withdrawal."),
+ a11yHint: String(localized:
"Will go to bank website to authorize this withdrawal.", comment: "VoiceOver"),
badge: CONFIRM_BANK)
} } } }
} // switch
diff --git a/TalerWallet1/Views/Transactions/TransactionsListView.swift
b/TalerWallet1/Views/Transactions/TransactionsListView.swift
index 90af966..4af6f57 100644
--- a/TalerWallet1/Views/Transactions/TransactionsListView.swift
+++ b/TalerWallet1/Views/Transactions/TransactionsListView.swift
@@ -78,7 +78,7 @@ struct TransactionsListView: View {
// .navigationTitle("EURO") // Fake EUR instead of the real
Currency
// .navigationTitle("CHF") // Fake CHF instead of the real
Currency
.navigationTitle(navTitle ?? scope.currency)
- .accessibilityHint(String(localized: "Transaction list"))
+ .accessibilityHint(String(localized: "Transaction list", comment:
"VoiceOver"))
.task {
symLog.log("❗️.task List❗️")
await reloadAllAction(stack.push())
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-taler-ios] branch master updated (36ccf96 -> 73753bb), gnunet, 2024/12/09
- [taler-taler-ios] 01/06: re-add missing baseURL for regional, gnunet, 2024/12/09
- [taler-taler-ios] 02/06: fix a11y, gnunet, 2024/12/09
- [taler-taler-ios] 03/06: bank accounts, gnunet, 2024/12/09
- [taler-taler-ios] 04/06: use accountID, gnunet, 2024/12/09
- [taler-taler-ios] 06/06: L10N comments,
gnunet <=
- [taler-taler-ios] 05/06: Iban -> Select, gnunet, 2024/12/09