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

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

@@ -1338,6 +1338,9 @@ Enact a temp Basal or a temp target */
 /* Bolus pop-up / Alert string. Make translations concise! */
 "Minimum predicted Glucose is " = "Minimum predicted Glucose is ";
 
+/* Add insulin without bolusing alert */
+" without bolusing" = " without bolusing";
+
 /* -------------------------------------------------------------------------------------------
   DASH strings
 */

+ 4 - 0
FreeAPS/Sources/Localizations/Main/sv.lproj/Localizable.strings

@@ -1370,6 +1370,10 @@ Enact a temp Basal or a temp target */
 
 /* Bolus pop-up / Alert string. Make translations concise! */
 "Minimum predicted Glucose is " = "Lägsta prognos är ";
+
+/* Add insulin without bolusing alert */
+" without bolusing" = " utan att ge insulin";
+
 /* -------------------------------------------------------------------------------------------
   DASH strings
 */

+ 2 - 2
FreeAPS/Sources/Modules/Bolus/View/BolusRootView.swift

@@ -96,9 +96,9 @@ extension Bolus {
                         Alert(
                             title: Text("Are you sure?"),
                             message: Text(
-                                "Add" + formatter
+                                "Add " + formatter
                                     .string(from: state.amount as NSNumber)! + NSLocalizedString(" U", comment: "Insulin unit") +
-                                    NSLocalizedString(" without bolusing", comment: "")
+                                    NSLocalizedString(" without bolusing", comment: "Add insulin without bolusing alert")
                             ),
                             primaryButton: .destructive(
                                 Text("Add"),