gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-ios] 02/03: Localization exceptions


From: gnunet
Subject: [taler-taler-ios] 02/03: Localization exceptions
Date: Wed, 24 Apr 2024 14:12:26 +0200

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 6a2308e8006b2503b53cb795b52d31d5383c607e
Author: Marc Stibane <marc@taler.net>
AuthorDate: Wed Apr 24 14:09:25 2024 +0200

    Localization exceptions
---
 TalerWallet1/Helper/Font+Taler.swift             | 16 ++++++++--------
 TalerWallet1/Views/Balances/PendingRowView.swift |  3 ++-
 TalerWallet1/Views/Settings/SettingsView.swift   | 14 +++++++-------
 3 files changed, 17 insertions(+), 16 deletions(-)

diff --git a/TalerWallet1/Helper/Font+Taler.swift 
b/TalerWallet1/Helper/Font+Taler.swift
index b797354..ac98b4f 100644
--- a/TalerWallet1/Helper/Font+Taler.swift
+++ b/TalerWallet1/Helper/Font+Taler.swift
@@ -301,27 +301,27 @@ struct ContentViewFonts: View {
     var body: some View {
         VStack {
             HStack {
-                Text("title a")
-                Text("bold").bold()
+                Text(verbatim: "title a")
+                Text(verbatim: "bold").bold()
             }
             .talerFont(.title)
             .padding()
 
             HStack {
-                Text("title2 a")
-                Text("italic").italic()
-                Text("bold").bold()
+                Text(verbatim: "title2 a")
+                Text(verbatim: "italic").italic()
+                Text(verbatim: "bold").bold()
             }
             .talerFont(.title2)
             .padding()
-            Text("headline")
+            Text(verbatim: "headline")
                 .talerFont(.headline)
                 .padding(.top)
-            Text("headline bold")
+            Text(verbatim: "headline bold")
                 .bold()
                 .talerFont(.headline)
                 .padding(.bottom)
-            Text("title2 bold italic")
+            Text(verbatim: "title2 bold italic")
                 .bold()
                 .italic()
                 .talerFont(.title2)
diff --git a/TalerWallet1/Views/Balances/PendingRowView.swift 
b/TalerWallet1/Views/Balances/PendingRowView.swift
index 8f8d1b7..f8411ed 100644
--- a/TalerWallet1/Views/Balances/PendingRowView.swift
+++ b/TalerWallet1/Views/Balances/PendingRowView.swift
@@ -82,7 +82,8 @@ fileprivate struct Previews: PreviewProvider {
     struct StateContainer: View {
 //        @StateObject private var controller = Controller.shared
         var body: some View {
-            Text("Hello")
+            let hello = "Hello"
+            Text(hello)
 //            Preview_Content()
 //                .environmentObject(controller)
         }
diff --git a/TalerWallet1/Views/Settings/SettingsView.swift 
b/TalerWallet1/Views/Settings/SettingsView.swift
index 4d913d5..3c456a2 100644
--- a/TalerWallet1/Views/Settings/SettingsView.swift
+++ b/TalerWallet1/Views/Settings/SettingsView.swift
@@ -125,7 +125,7 @@ struct SettingsView: View {
                         description: hideDescriptions ? nil : 
String(localized: "For Delete, Fail & Abort buttons"))
 //                SettingsFont(title: String(localized: "Font:"), value: 
talerFontIndex, action: redraw)
 //                    .id("font")
-                SettingsStyle(title: String(localized: "Liststyle:"), 
myListStyle: $myListStyle)
+                SettingsStyle(title: String(localized: "List Style:"), 
myListStyle: $myListStyle)
                     .id("liststyle")
                 let localConsStr = String(localized: "on LocalConsole")
                 let observability = String(localized: "Observe walletCore")
@@ -154,12 +154,12 @@ struct SettingsView: View {
                     }
 #if DEBUG
                     if showDevelopItems {
-                        Text("https://bank.taler.grothoff.org/";)
-                        Text("https://bank.regio-taler.fdold.eu/";)
-                        Text("https://bank.head.taler.net/";)
-                        Text("https://bank.test.taler.net/";)
-                        Text("https://bank.demo.taler.net/";)
-                        Text("https://bank.taler.ar/";)
+                        Text(verbatim: "https://bank.taler.grothoff.org/";)
+                        Text(verbatim: "https://bank.regio-taler.fdold.eu/";)
+                        Text(verbatim: "https://bank.head.taler.net/";)
+                        Text(verbatim: "https://bank.test.taler.net/";)
+                        Text(verbatim: "https://bank.demo.taler.net/";)
+                        Text(verbatim: "https://bank.taler.ar/";)
                     }
 #endif
                     if showDevelopItems {  // show or hide the following items

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]