Jon Mårtensson 4 лет назад
Родитель
Сommit
004243b646

+ 1 - 1
Dependencies/LibreTransmitter/Sources/LibreTransmitter/LibreTransmitterUI/Views/Settings/AlarmSettings/AlarmSettingsView.swift

@@ -333,7 +333,7 @@ struct AlarmSettingsView: View {
 
         List {
             ForEach(Array(alarmState.schedules.enumerated()), id: \.1) { i, schedule in
-                Section(header: Text("Schedule " + "\(i+1)")){
+                Section(header: Text(NSLocalizedString("Schedule ", comment: "") + "\(i+1)")){
                     AlarmDateRow(schedule: schedule, tag: i, subviewSelection: $subviewSelection)
                     AlarmLowRow(schedule: schedule, glucoseUnit: glucoseUnit, glucoseUnitDesc: glucoseUnitDesc, errorReporter: errorReporter)
                     AlarmHighRow(schedule: schedule, glucoseUnit: glucoseUnit, glucoseUnitDesc: glucoseUnitDesc, errorReporter: errorReporter)

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

@@ -570,7 +570,16 @@ Enact a temp Basal or a temp target */
 "Detected sensor is invalid: %@" = "Detected sensor is invalid: %@";
 
 /* Low Battery */
-"Low Battery" = "Low Battery";
+"Low battery" = "Low battery";
+
+/* */
+"Invalid sensor" = "Invalid sensor";
+
+/* */
+"Sensor change" = "Sensor change";
+
+/* */
+"Sensor expires soon" = "Sensor expires soon";
 
 /* Battery is running low %@, consider charging your %@ device as soon as possible */
 "Battery is running low %@, consider charging your %@ device as soon as possible" = "Battery is running low %@, consider charging your %@ device as soon as possible";
@@ -705,7 +714,7 @@ Enact a temp Basal or a temp target */
 "Adds Phone Battery" = "Adds Phone Battery";
 
 /* */
-"Adds Transmitter Battery";
+"Adds Transmitter Battery" = "Adds Transmitter Battery";
 
 /* */
 "Also vibrate" = "Also vibrate";

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

@@ -570,7 +570,16 @@ Enact a temp Basal or a temp target */
 "Detected sensor is invalid: %@" = "Upptäckt sensor är ogiltig: %@";
 
 /* Low Battery */
-"Low Battery" = "Låg batterinivå";
+"Low battery" = "Låg batterinivå";
+
+/* */
+"Invalid sensor" = "Ogiltig sensor";
+
+/* */
+"Sensor change" = "Sensorbyte";
+
+/* */
+"Sensor expires soon" = "Sensor går ut snart";
 
 /* Battery is running low %@, consider charging your %@ device as soon as possible */
 "Battery is running low %@, consider charging your %@ device as soon as possible" = "Batterinivå är låg %@, överväg att ladda din %@ enhet så snart som möjligt";
@@ -713,9 +722,6 @@ Also vibrate" = "Vibrera också";
 "Additional notification types" = "Ytterligare notistyper";
 
 /* */
-"Low battery" = "Low battery";
-
-/* */
 "Misc" = "Övrigt";
 
 /* */