Bastiaan Verhaar 2 месяцев назад
Родитель
Сommit
5fdde7cb08

+ 7 - 7
Trio/Sources/Localizations/Main/Localizable.xcstrings

@@ -19986,12 +19986,12 @@
         }
       }
     },
-    "0.1U and over" : {
-      "comment" : "Display name for the \"0.1U and over\" option in the bolus display threshold settings.",
+    "0.1 U and over" : {
+      "comment" : "Display name for the \"0.1 U and over\" option in the bolus display threshold settings.",
       "isCommentAutoGenerated" : true
     },
-    "0.5U and over" : {
-      "comment" : "Display name for the \"0.5U and over\" option in the bolus display threshold settings.",
+    "0.5 U and over" : {
+      "comment" : "Display name for the \"0. 5U and over\" option in the bolus display threshold settings.",
       "isCommentAutoGenerated" : true
     },
     "1. Open the Settings app on your iOS device." : {
@@ -20112,8 +20112,8 @@
         }
       }
     },
-    "1U and over" : {
-      "comment" : "Name for the \"1U and over\" option in the bolus display threshold settings.",
+    "1 U and over" : {
+      "comment" : "Name for the \"1 U and over\" option in the bolus display threshold settings.",
       "isCommentAutoGenerated" : true
     },
     "2 hours" : {
@@ -208354,7 +208354,7 @@
         }
       }
     },
-    "Show all labels" : {
+    "Show All Labels" : {
       "comment" : "Name to display for the option to show all insulin labels.",
       "isCommentAutoGenerated" : true
     },

+ 4 - 4
Trio/Sources/Models/BolusDisplayThreshold.swift

@@ -10,13 +10,13 @@ enum BolusDisplayThreshold: Decimal, CaseIterable, Encodable, Identifiable {
     var displayName: String {
         switch self {
         case .oneUnit:
-            return String(localized: "1U and over")
+            return String(localized: "1 U and over")
         case .halfUnit:
-            return String(localized: "0.5U and over")
+            return String(localized: "0.5 U and over")
         case .pointOneUnit:
-            return String(localized: "0.1U and over")
+            return String(localized: "0.1 U and over")
         case .allUnits:
-            return String(localized: "Show all labels")
+            return String(localized: "Show All Labels")
         }
     }
 }