Jon Mårtensson 2 лет назад
Родитель
Сommit
1d16a49e5f

+ 2 - 1
FreeAPS/Sources/Localizations/Main/en.lproj/Localizable.strings

@@ -1406,7 +1406,8 @@ Enact a temp Basal or a temp target */
 /* */
 "Please wait" = "Please wait";
 
-"Glucose, %@" = "Glucose, %@";
+/* */
+"Glucose, " = "Glucose, ";
 
 /* */
 "Target Glucose" = "Target Glucose";

+ 2 - 1
FreeAPS/Sources/Localizations/Main/sv.lproj/Localizable.strings

@@ -1405,7 +1405,8 @@ Enact a temp Basal or a temp target */
 /* */
 "Please wait" = "Vänta...";
 
-"Glucose, %@" = "Glucose, %@";
+/* */
+"Glucose, " = "Blodsocker, ";
 
 /* */
 "Target Glucose" = "Målvärde";

+ 1 - 1
FreeAPS/Sources/Modules/Bolus/View/Predictions.swift

@@ -105,6 +105,6 @@ struct PredictionView: View {
             "COB": Color(.loopYellow),
             "ZT": Color(.ZT)
         ])
-        .chartYAxisLabel("Glucose, " + units.rawValue, alignment: .center)
+        .chartYAxisLabel(NSLocalizedString("Glucose, ", comment: "") + units.rawValue, alignment: .center)
     }
 }