commit ee68a13c4470467cb9731c8d63f2539d12ba608e
parent 652b0c23f82f60e430032b39c041492c2cf9922c
Author: Marc Stibane <marc@taler.net>
Date: Thu, 11 Dec 2025 18:57:56 +0100
cleanup
Diffstat:
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/TalerWallet1/Helper/BankDialects.swift b/TalerWallet1/Helper/BankDialects.swift
@@ -18,30 +18,38 @@ func localizedString(_ key: BankDialectString, forDialect: BankDialect?, _ optio
if forDialect == .gls {
switch key {
case .deleteExchange:
- return String(localized: "GLS.Exchange.Delete.Button", defaultValue: "Terminate contract", comment: "button title")
+ return String(localized: "GLS.Exchange.Delete.Button",
+ defaultValue: "Terminate contract", comment: "button title")
case .warningText1:
- return String(localized: "GLS.Exchange.Delete.Warning1", defaultValue: "Are you sure you want to terminate this contract?")
+ return String(localized: "GLS.Exchange.Delete.Warning1",
+ defaultValue: "Are you sure you want to terminate this contract?")
case .warningText2:
- return String(localized: "GLS.Exchange.Delete.Warning2", defaultValue: "You still have digital money in your wallet. Terminate anyway?")
+ return String(localized: "GLS.Exchange.Delete.Warning2",
+ defaultValue: "You still have digital money in your wallet. Terminate anyway?")
case .warningText3:
- return String(localized: "GLS.Exchange.Delete.Warning3", defaultValue: "You will lose all \(option) of this contract.", comment: "Currency")
+ return String(localized: "GLS.Exchange.Delete.Warning3",
+ defaultValue: "You will lose all \(option) of this contract.", comment: "Currency")
}
}
// more dialects here...
switch key {
case .deleteExchange:
- return String(localized: "Exchange.Delete.Button", defaultValue: "Delete payment service", comment: "button title")
+ return String(localized: "Exchange.Delete.Button",
+ defaultValue: "Delete payment service", comment: "button title")
case .warningText1:
- return String(localized: "Exchange.Delete.Warning1", defaultValue: "Are you sure you want to delete this payment service?")
+ return String(localized: "Exchange.Delete.Warning1",
+ defaultValue: "Are you sure you want to delete this payment service?")
case .warningText2:
- return String(localized: "Exchange.Delete.Warning2", defaultValue: "This payment service is in use. Delete anyway?")
+ return String(localized: "Exchange.Delete.Warning2",
+ defaultValue: "This payment service is in use. Delete anyway?")
case .warningText3:
- return String(localized: "Exchange.Delete.Warning3", defaultValue: "You will lose all \(option) of this payment service.", comment: "Currency")
+ return String(localized: "Exchange.Delete.Warning3",
+ defaultValue: "You will lose all \(option) of this payment service.", comment: "Currency")
}
}