Ver código fonte

Sync localizations, linting

Deniz Cengiz 3 semanas atrás
pai
commit
8b4ef92632

+ 13 - 9
Trio/Sources/Localizations/Main/Localizable.xcstrings

@@ -36367,6 +36367,9 @@
         }
       }
     },
+    "Algorithm Error" : {
+
+    },
     "Algorithm Settings" : {
       "localizations" : {
         "bg" : {
@@ -88115,7 +88118,7 @@
         }
       }
     },
-    "Default: Day starts 06:00, Night starts 22:00." : {
+    "Default: Day starts %1$@, Night starts %2$@." : {
 
     },
     "Default: Disabled" : {
@@ -124145,9 +124148,8 @@
         }
       }
     },
-    "Forecast +20 min %1$@, at or below limit %2$@." : {
-      "comment" : "Glucose value is the predicted value for the next 20 minutes.",
-      "isCommentAutoGenerated" : true
+    "Forecast +%1$d min %2$@, at or below limit %3$@." : {
+
     },
     "Forecast Display Type" : {
       "localizations" : {
@@ -129323,6 +129325,9 @@
         }
       }
     },
+    "Glucose Error" : {
+
+    },
     "Glucose forecast is very low." : {
       "localizations" : {
         "bg" : {
@@ -193796,7 +193801,7 @@
     "Overrides Silence & Focus Mode" : {
 
     },
-    "Overrides Silence & Focus Mode. Always audible. For hazardous failures." : {
+    "Overrides Silence & Focus Mode. Always audible. For situations requiring immediate attention." : {
 
     },
     "Overview" : {
@@ -203932,9 +203937,8 @@
         }
       }
     },
-    "Pump State" : {
-      "comment" : "Title of an alert when an invalid pump state is detected.",
-      "isCommentAutoGenerated" : true
+    "Pump State Error" : {
+
     },
     "Pump suspended" : {
       "localizations" : {
@@ -247619,7 +247623,7 @@
         }
       }
     },
-    "The Night window runs from 'Night Starts' back around to 'Day Starts' — so by default, Night covers 22:00 through 06:00 the next morning." : {
+    "The Night window runs from 'Night Starts' back around to 'Day Starts' — so by default, Night covers %1$@ through %2$@ the next morning." : {
 
     },
     "The Noisy CGM Target Increase raises your glucose target when the system detects noisy or raw CGM data. By default, the target is increased to 130% of your set target glucose to account for the less reliable glucose readings." : {

+ 4 - 4
Trio/Sources/Modules/PumpConfig/PumpConfigStateModel.swift

@@ -55,10 +55,10 @@ extension PumpConfig {
         }
 
         // FIXME: Remove before merge. Dev-only buttons for exercising the
-    // foreground modal scheduler + background UN delivery paths. The body
-    // text is intentionally technobabble — it's for developers verifying
-    // pipeline wiring, not end users.
-    func fireTestAlert(critical: Bool) {
+        // foreground modal scheduler + background UN delivery paths. The body
+        // text is intentionally technobabble — it's for developers verifying
+        // pipeline wiring, not end users.
+        func fireTestAlert(critical: Bool) {
             let identifier = Alert.Identifier(
                 managerIdentifier: "Trio.test",
                 alertIdentifier: "test-\(UUID().uuidString.prefix(8))"