Quellcode durchsuchen

Clarify label

(cherry picked from commit 344f359a91a677c522a7116068029a9f401f1422)
Jon Mårtensson vor 2 Jahren
Ursprung
Commit
32c925a5b9

+ 3 - 0
FreeAPS/Sources/Localizations/Main/en.lproj/Localizable.strings

@@ -524,6 +524,9 @@ Enact a temp Basal or a temp target */
 /* */
 "Calendar" = "Calendar";
 
+/* Automatic delivered treatments */
+"Automatic" = "Automatic";
+
 /* */
 "Other" = "Other";
 

+ 1 - 1
FreeAPS/Sources/Modules/DataTable/DataTableDataFlow.swift

@@ -138,7 +138,7 @@ enum DataTable {
                 return numberFormatter
                     .string(from: amount as NSNumber)! + NSLocalizedString(" U", comment: "Insulin unit") +
                     (
-                        (isSMB ?? false) ? " " + NSLocalizedString("Auto", comment: "Automatic delivered bolus (SMB)") : " " +
+                        (isSMB ?? false) ? " " + NSLocalizedString("Automatic", comment: "Automatic delivered treatments") : " " +
                             NSLocalizedString("Manual", comment: "Manual Bolus")
                     )
             case .tempBasal: