changeset 62:c7b6249ab745

uncomment localized texts
author Dennis Concepción Martín <dennisconcepcionmartin@gmail.com>
date Tue, 27 Jul 2021 18:45:43 +0100
parents 84ce5e5f0381
children 1d438bede031
files Simoleon.xcodeproj/project.pbxproj Simoleon.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate Simoleon/Helpers/CurrencyRow.swift Simoleon/Helpers/LockedCurrencyPicker.swift Simoleon/Helpers/RestoreButton.swift Simoleon/Helpers/SubscribeButton.swift Simoleon/SubscriptionPaywall.swift
diffstat 7 files changed, 12 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/Simoleon.xcodeproj/project.pbxproj	Tue Jul 27 18:45:33 2021 +0100
+++ b/Simoleon.xcodeproj/project.pbxproj	Tue Jul 27 18:45:43 2021 +0100
@@ -19,6 +19,7 @@
 		9585BB1426A6B7F400E3193E /* Request.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9585BB1326A6B7F400E3193E /* Request.swift */; };
 		9585BB1A26A6E8FD00E3193E /* SimpleSuccess.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9585BB1926A6E8FD00E3193E /* SimpleSuccess.swift */; };
 		95909CAF26B06A2000D051AB /* Simoleon.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 95C5B2322697752700941585 /* Simoleon.xcdatamodeld */; };
+		95909CB326B07BFC00D051AB /* SearchBar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95909CB226B07BFC00D051AB /* SearchBar.swift */; };
 		95A70BEA26B0550000CC0273 /* CloudKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 95A70BE926B0550000CC0273 /* CloudKit.framework */; };
 		95A70BEB26B0553C00CC0273 /* Persistence.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95C5B2302697752700941585 /* Persistence.swift */; };
 		95AEBC9526A03ECB00613729 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95AEBC9426A03ECB00613729 /* ContentView.swift */; };
@@ -162,6 +163,7 @@
 		9585BB1126A6B71B00E3193E /* ReadConfig.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ReadConfig.swift; sourceTree = "<group>"; };
 		9585BB1326A6B7F400E3193E /* Request.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Request.swift; sourceTree = "<group>"; };
 		9585BB1926A6E8FD00E3193E /* SimpleSuccess.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SimpleSuccess.swift; sourceTree = "<group>"; };
+		95909CB226B07BFC00D051AB /* SearchBar.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SearchBar.swift; sourceTree = "<group>"; };
 		95A70BE826B054F400CC0273 /* SimoleonWatchOS Extension.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "SimoleonWatchOS Extension.entitlements"; sourceTree = "<group>"; };
 		95A70BE926B0550000CC0273 /* CloudKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CloudKit.framework; path = Platforms/WatchOS.platform/Developer/SDKs/WatchOS7.4.sdk/System/Library/Frameworks/CloudKit.framework; sourceTree = DEVELOPER_DIR; };
 		95AEBC9426A03ECB00613729 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
@@ -531,6 +533,7 @@
 				95D8C8CE26A98A7900BCC188 /* RestoreButton.swift */,
 				95D8C8D026A9BC6200BCC188 /* LockedCurrencyPicker.swift */,
 				95561E3E26AF25EF00CCB543 /* SubscriptionFeature.swift */,
+				95909CB226B07BFC00D051AB /* SearchBar.swift */,
 			);
 			path = Helpers;
 			sourceTree = "<group>";
@@ -808,6 +811,7 @@
 				95C5B2312697752700941585 /* Persistence.swift in Sources */,
 				9585BB1226A6B71B00E3193E /* ReadConfig.swift in Sources */,
 				95AEBC9526A03ECB00613729 /* ContentView.swift in Sources */,
+				95909CB326B07BFC00D051AB /* SearchBar.swift in Sources */,
 				95AEBC9B26A04A4200613729 /* CurrencyMetadataModel.swift in Sources */,
 				95D8C8CD26A9784500BCC188 /* SubscribeButton.swift in Sources */,
 				950A377726A820F800CAB175 /* DefaultCurrency+CoreDataProperties.swift in Sources */,
Binary file Simoleon.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate has changed
--- a/Simoleon/Helpers/CurrencyRow.swift	Tue Jul 27 18:45:33 2021 +0100
+++ b/Simoleon/Helpers/CurrencyRow.swift	Tue Jul 27 18:45:43 2021 +0100
@@ -31,7 +31,7 @@
                 .offset(x: -20)
                 .padding(.trailing, -20)
             
-            Text("From \(String(currencies[0])) to \(String(currencies[1]))", comment: "Conversion from one currency to another")
+            Text("From \(String(currencies[0])) to \(String(currencies[1]))")
                 .fontWeight(.semibold)
                 .foregroundColor(Color("PlainButton"))
                 .padding(.leading)
--- a/Simoleon/Helpers/LockedCurrencyPicker.swift	Tue Jul 27 18:45:33 2021 +0100
+++ b/Simoleon/Helpers/LockedCurrencyPicker.swift	Tue Jul 27 18:45:43 2021 +0100
@@ -10,9 +10,9 @@
 struct LockedCurrencyPicker: View {
     var body: some View {
         HStack {
-            Text("Default currency", comment: "Label in locked picker")
+            Text("Default currency")
             Spacer()
-            Text("USD/GBP", comment: "Default currency in locked picker")
+            Text("USD/GBP")
                 .foregroundColor(Color(.systemGray))
             
             Image(systemName: "lock")
--- a/Simoleon/Helpers/RestoreButton.swift	Tue Jul 27 18:45:33 2021 +0100
+++ b/Simoleon/Helpers/RestoreButton.swift	Tue Jul 27 18:45:43 2021 +0100
@@ -21,11 +21,11 @@
             if restoringPurchases {
                 ProgressView()
             } else {
-                Text("Restore purchases", comment: "Button to restore in-App purchases")
+                Text("Restore purchases")
             }
         }
         .alert(isPresented: $showingAlert) {
-            Alert(title: Text(alertTitle), message: Text(alertMessage), dismissButton: .default(Text("Ok", comment: "Button to dismiss alert")))
+            Alert(title: Text(alertTitle), message: Text(alertMessage), dismissButton: .default(Text("Ok")))
         }
     }
     
--- a/Simoleon/Helpers/SubscribeButton.swift	Tue Jul 27 18:45:33 2021 +0100
+++ b/Simoleon/Helpers/SubscribeButton.swift	Tue Jul 27 18:45:43 2021 +0100
@@ -24,7 +24,7 @@
                 .overlay(
                     VStack {
                         if showingPrice {
-                            Text("Subscribe for \(price) / month", comment: "Subscribe button")
+                            Text("Subscribe for \(price) / month")
                                 .foregroundColor(.white)
                                 .fontWeight(.semibold)
                         } else {
--- a/Simoleon/SubscriptionPaywall.swift	Tue Jul 27 18:45:33 2021 +0100
+++ b/Simoleon/SubscriptionPaywall.swift	Tue Jul 27 18:45:43 2021 +0100
@@ -23,7 +23,7 @@
                                 .frame(width: 100, height: 100)
                                 .cornerRadius(25)
                             
-                            Text("Unlock all access", comment: "Headline in Subscription paywall")
+                            Text("Unlock all access")
                                 .font(.title)
                                 .fontWeight(.semibold)
                                 .padding(.top)
@@ -76,7 +76,7 @@
             .toolbar {
                 ToolbarItem(placement: .cancellationAction) {
                     Button(action: { showingSubscriptionPaywall = false }) {
-                        Text("Cancel", comment: "Button to dismiss paywall modal sheet")
+                        Text("Cancel")
                     }
                 }
             }