Added placeholder for SelectBankDialog search field and an example search

This commit is contained in:
dankito 2020-08-10 00:10:31 +02:00
parent 5d6384918e
commit 3ada76a2a0
3 changed files with 6 additions and 4 deletions

View File

@ -27,7 +27,8 @@
/* SelectBankDialog */
"Select Bank Dialog Title" = "Select your bank ...";
"Search by bank code, bank name or city" = "Search by bank code, bank name or city";
"Bank code, bank name or city" = "Bank code, bank name or city";
"Search by bank code, bank name or city" = "Search by bank code, bank name or city, e.g. Sparkasse Berlin";
"Bank does not support FinTS 3.0" = "Bank does not support FinTS 3.0";
"%@ does not support FinTS 3.0." = "%@ does not support FinTS 3.0.\n\nIn this app only banks supporting the German banking standard FinTS 3.0 can be used.";

View File

@ -27,7 +27,8 @@
/* SelectBankDialog */
"Select Bank Dialog Title" = "Bank auswählen";
"Search by bank code, bank name or city" = "Suche mittels Bankleitzahl, Bankname oder Ort";
"Bank code, bank name or city" = "BLZ, Bankname oder Ort";
"Search by bank code, bank name or city" = "Suche mittels Bankleitzahl, Bankname oder Ort, z. B. Sparkasse Berlin";
"Bank does not support FinTS 3.0" = "FinTS 3.0 wird von Bank nicht unterstützt";
"%@ does not support FinTS 3.0." = "%@ unterstützt FinTS 3.0 nicht.\n\nIn dieser App können nur Banken verwendet werden, die den deutschen Online-Banking Standard FinTS 3.0 unterstützen.";

View File

@ -23,7 +23,7 @@ struct SelectBankDialog: View {
}
@State private var searchResult: [BankInfo]
@State private var errorMessage: Message? = nil
@ -41,7 +41,7 @@ struct SelectBankDialog: View {
Form {
Section {
VStack {
UIKitSearchBar(text: searchTextBinding, focusOnStart: true)
UIKitSearchBar(text: searchTextBinding, placeholder: "Bank code, bank name or city", focusOnStart: true)
HStack {
Text("Search by bank code, bank name or city")