Jon B Mårtensson 4 лет назад
Родитель
Сommit
4824218846
21 измененных файлов с 309 добавлено и 12 удалено
  1. 15 0
      FreeAPS/Sources/Localizations/Main/ar.lproj/Localizable.strings
  2. 15 0
      FreeAPS/Sources/Localizations/Main/ca.lproj/Localizable.strings
  3. 15 0
      FreeAPS/Sources/Localizations/Main/da.lproj/Localizable.strings
  4. 15 0
      FreeAPS/Sources/Localizations/Main/de.lproj/Localizable.strings
  5. 15 0
      FreeAPS/Sources/Localizations/Main/en.lproj/Localizable.strings
  6. 15 0
      FreeAPS/Sources/Localizations/Main/es.lproj/Localizable.strings
  7. 15 0
      FreeAPS/Sources/Localizations/Main/fi.lproj/Localizable.strings
  8. 15 0
      FreeAPS/Sources/Localizations/Main/fr.lproj/Localizable.strings
  9. 15 0
      FreeAPS/Sources/Localizations/Main/he.lproj/Localizable.strings
  10. 15 0
      FreeAPS/Sources/Localizations/Main/it.lproj/Localizable.strings
  11. 15 0
      FreeAPS/Sources/Localizations/Main/nb.lproj/Localizable.strings
  12. 19 4
      FreeAPS/Sources/Localizations/Main/nl.lproj/Localizable.strings
  13. 15 0
      FreeAPS/Sources/Localizations/Main/pl.lproj/Localizable.strings
  14. 15 0
      FreeAPS/Sources/Localizations/Main/pt-BR.lproj/Localizable.strings
  15. 15 0
      FreeAPS/Sources/Localizations/Main/ru.lproj/Localizable.strings
  16. 15 0
      FreeAPS/Sources/Localizations/Main/sk.lproj/Localizable.strings
  17. 15 0
      FreeAPS/Sources/Localizations/Main/sv.lproj/Localizable.strings
  18. 15 0
      FreeAPS/Sources/Localizations/Main/tr.lproj/Localizable.strings
  19. 15 0
      FreeAPS/Sources/Localizations/Main/uk.lproj/Localizable.strings
  20. 14 0
      FreeAPS/Sources/Localizations/Main/zh-Hans.lproj/Localizable.strings
  21. 6 8
      FreeAPS/Sources/Modules/Snooze/View/SnoozeRootView.swift

+ 15 - 0
FreeAPS/Sources/Localizations/Main/ar.lproj/Localizable.strings

@@ -878,6 +878,21 @@ Enact a temp Basal or a temp target */
 /* */
 "Bolus failed or inaccurate. Check pump history before repeating." = "Bolus failed or inaccurate. Check pump history before repeating.";
 
+/* */
+"Carbs" = "Carbs";
+
+/* */
+"Temp Basal" = "Temp Basal";
+
+/* */
+"Temp Target" = "Temp Target";
+
+/* */
+"Resume" = "Resume";
+
+/* */
+"Suspend" = "Suspend";
+
 
 /* Headers for settings ----------------------- */
 "OpenAPS main settings" = "OpenAPS main settings";

+ 15 - 0
FreeAPS/Sources/Localizations/Main/ca.lproj/Localizable.strings

@@ -878,6 +878,21 @@ Enact a temp Basal or a temp target */
 /* */
 "Bolus failed or inaccurate. Check pump history before repeating." = "Bolus failed or inaccurate. Check pump history before repeating.";
 
+/* */
+"Carbs" = "Carbs";
+
+/* */
+"Temp Basal" = "Temp Basal";
+
+/* */
+"Temp Target" = "Temp Target";
+
+/* */
+"Resume" = "Resume";
+
+/* */
+"Suspend" = "Suspend";
+
 
 /* Headers for settings ----------------------- */
 "OpenAPS main settings" = "OpenAPS main settings";

+ 15 - 0
FreeAPS/Sources/Localizations/Main/da.lproj/Localizable.strings

@@ -878,6 +878,21 @@ Enact a temp Basal or a temp target */
 /* */
 "Bolus failed or inaccurate. Check pump history before repeating." = "Bolus failed or inaccurate. Check pump history before repeating.";
 
+/* */
+"Carbs" = "Carbs";
+
+/* */
+"Temp Basal" = "Temp Basal";
+
+/* */
+"Temp Target" = "Temp Target";
+
+/* */
+"Resume" = "Resume";
+
+/* */
+"Suspend" = "Suspend";
+
 
 /* Headers for settings ----------------------- */
 "OpenAPS main settings" = "OpenAPS main settings";

+ 15 - 0
FreeAPS/Sources/Localizations/Main/de.lproj/Localizable.strings

@@ -878,6 +878,21 @@ Enact a temp Basal or a temp target */
 /* */
 "Bolus failed or inaccurate. Check pump history before repeating." = "Bolus ist fehlgeschlagen oder ungenau. Prüfe den Pumpenverlauf vor einer erneuten Abgabe.";
 
+/* */
+"Carbs" = "Carbs";
+
+/* */
+"Temp Basal" = "Temp Basal";
+
+/* */
+"Temp Target" = "Temp Target";
+
+/* */
+"Resume" = "Resume";
+
+/* */
+"Suspend" = "Suspend";
+
 
 /* Headers for settings ----------------------- */
 "OpenAPS main settings" = "OpenAPS Haupteinstellungen";

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

@@ -878,6 +878,21 @@ Enact a temp Basal or a temp target */
 /* */
 "Bolus failed or inaccurate. Check pump history before repeating." = "Bolus failed or inaccurate. Check pump history before repeating.";
 
+/* */
+"Carbs" = "Carbs";
+
+/* */
+"Temp Basal" = "Temp Basal";
+
+/* */
+"Temp Target" = "Temp Target";
+
+/* */
+"Resume" = "Resume";
+
+/* */
+"Suspend" = "Suspend";
+
 
 /* Headers for settings ----------------------- */
 "OpenAPS main settings" = "OpenAPS main settings";

+ 15 - 0
FreeAPS/Sources/Localizations/Main/es.lproj/Localizable.strings

@@ -878,6 +878,21 @@ Enact a temp Basal or a temp target */
 /* */
 "Bolus failed or inaccurate. Check pump history before repeating." = "Bolus failed or inaccurate. Check pump history before repeating.";
 
+/* */
+"Carbs" = "Carbs";
+
+/* */
+"Temp Basal" = "Temp Basal";
+
+/* */
+"Temp Target" = "Temp Target";
+
+/* */
+"Resume" = "Resume";
+
+/* */
+"Suspend" = "Suspend";
+
 
 /* Headers for settings ----------------------- */
 "OpenAPS main settings" = "OpenAPS main settings";

+ 15 - 0
FreeAPS/Sources/Localizations/Main/fi.lproj/Localizable.strings

@@ -878,6 +878,21 @@ Enact a temp Basal or a temp target */
 /* */
 "Bolus failed or inaccurate. Check pump history before repeating." = "Bolus failed or inaccurate. Check pump history before repeating.";
 
+/* */
+"Carbs" = "Carbs";
+
+/* */
+"Temp Basal" = "Temp Basal";
+
+/* */
+"Temp Target" = "Temp Target";
+
+/* */
+"Resume" = "Resume";
+
+/* */
+"Suspend" = "Suspend";
+
 
 /* Headers for settings ----------------------- */
 "OpenAPS main settings" = "OpenAPS main settings";

+ 15 - 0
FreeAPS/Sources/Localizations/Main/fr.lproj/Localizable.strings

@@ -878,6 +878,21 @@ Enact a temp Basal or a temp target */
 /* */
 "Bolus failed or inaccurate. Check pump history before repeating." = "Bolus failed or inaccurate. Check pump history before repeating.";
 
+/* */
+"Carbs" = "Carbs";
+
+/* */
+"Temp Basal" = "Temp Basal";
+
+/* */
+"Temp Target" = "Temp Target";
+
+/* */
+"Resume" = "Resume";
+
+/* */
+"Suspend" = "Suspend";
+
 
 /* Headers for settings ----------------------- */
 "OpenAPS main settings" = "OpenAPS main settings";

+ 15 - 0
FreeAPS/Sources/Localizations/Main/he.lproj/Localizable.strings

@@ -878,6 +878,21 @@ Enact a temp Basal or a temp target */
 /* */
 "Bolus failed or inaccurate. Check pump history before repeating." = "Bolus failed or inaccurate. Check pump history before repeating.";
 
+/* */
+"Carbs" = "Carbs";
+
+/* */
+"Temp Basal" = "Temp Basal";
+
+/* */
+"Temp Target" = "Temp Target";
+
+/* */
+"Resume" = "Resume";
+
+/* */
+"Suspend" = "Suspend";
+
 
 /* Headers for settings ----------------------- */
 "OpenAPS main settings" = "OpenAPS main settings";

+ 15 - 0
FreeAPS/Sources/Localizations/Main/it.lproj/Localizable.strings

@@ -878,6 +878,21 @@ Enact a temp Basal or a temp target */
 /* */
 "Bolus failed or inaccurate. Check pump history before repeating." = "Bolus failed or inaccurate. Check pump history before repeating.";
 
+/* */
+"Carbs" = "Carbs";
+
+/* */
+"Temp Basal" = "Temp Basal";
+
+/* */
+"Temp Target" = "Temp Target";
+
+/* */
+"Resume" = "Resume";
+
+/* */
+"Suspend" = "Suspend";
+
 
 /* Headers for settings ----------------------- */
 "OpenAPS main settings" = "Impostazioni principali di OpenAPS";

+ 15 - 0
FreeAPS/Sources/Localizations/Main/nb.lproj/Localizable.strings

@@ -878,6 +878,21 @@ Enact a temp Basal or a temp target */
 /* */
 "Bolus failed or inaccurate. Check pump history before repeating." = "Bolus mislyktes eller var upresis. Kontroller bolus-historikken før du gjentar.";
 
+/* */
+"Carbs" = "Carbs";
+
+/* */
+"Temp Basal" = "Temp Basal";
+
+/* */
+"Temp Target" = "Temp Target";
+
+/* */
+"Resume" = "Resume";
+
+/* */
+"Suspend" = "Suspend";
+
 
 /* Headers for settings ----------------------- */
 "OpenAPS main settings" = "OpenAPS hovedinnstillinger";

Разница между файлами не показана из-за своего большого размера
+ 19 - 4
FreeAPS/Sources/Localizations/Main/nl.lproj/Localizable.strings


+ 15 - 0
FreeAPS/Sources/Localizations/Main/pl.lproj/Localizable.strings

@@ -880,6 +880,21 @@ Połączono z Nightscout!";
 /* */
 "Bolus failed or inaccurate. Check pump history before repeating." = "Bolus failed or inaccurate. Check pump history before repeating.";
 
+/* */
+"Carbs" = "Carbs";
+
+/* */
+"Temp Basal" = "Temp Basal";
+
+/* */
+"Temp Target" = "Temp Target";
+
+/* */
+"Resume" = "Resume";
+
+/* */
+"Suspend" = "Suspend";
+
 
 /* Headers for settings ----------------------- */
 "OpenAPS main settings" = "OpenAPS main settings";

+ 15 - 0
FreeAPS/Sources/Localizations/Main/pt-BR.lproj/Localizable.strings

@@ -878,6 +878,21 @@ Enact a temp Basal or a temp target */
 /* */
 "Bolus failed or inaccurate. Check pump history before repeating." = "Bolus failed or inaccurate. Check pump history before repeating.";
 
+/* */
+"Carbs" = "Carbs";
+
+/* */
+"Temp Basal" = "Temp Basal";
+
+/* */
+"Temp Target" = "Temp Target";
+
+/* */
+"Resume" = "Resume";
+
+/* */
+"Suspend" = "Suspend";
+
 
 /* Headers for settings ----------------------- */
 "OpenAPS main settings" = "OpenAPS main settings";

+ 15 - 0
FreeAPS/Sources/Localizations/Main/ru.lproj/Localizable.strings

@@ -878,6 +878,21 @@ Enact a temp Basal or a temp target */
 /* */
 "Bolus failed or inaccurate. Check pump history before repeating." = "Болюс не выполнен или неточный. Перед повторением проверьте историю помпы.";
 
+/* */
+"Carbs" = "Углеводы";
+
+/* */
+"Temp Basal" = "Врем. базал";
+
+/* */
+"Temp Target" = "Врем. цель";
+
+/* */
+"Resume" = "Возобновление";
+
+/* */
+"Suspend" = "Остановка";
+
 
 /* Headers for settings ----------------------- */
 "OpenAPS main settings" = "Основные настройки OpenAPS";

+ 15 - 0
FreeAPS/Sources/Localizations/Main/sk.lproj/Localizable.strings

@@ -878,6 +878,21 @@ Enact a temp Basal or a temp target */
 /* */
 "Bolus failed or inaccurate. Check pump history before repeating." = "Bolus failed or inaccurate. Check pump history before repeating.";
 
+/* */
+"Carbs" = "Carbs";
+
+/* */
+"Temp Basal" = "Temp Basal";
+
+/* */
+"Temp Target" = "Temp Target";
+
+/* */
+"Resume" = "Resume";
+
+/* */
+"Suspend" = "Suspend";
+
 
 /* Headers for settings ----------------------- */
 "OpenAPS main settings" = "OpenAPS main settings";

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

@@ -878,6 +878,21 @@ Enact a temp Basal or a temp target */
 /* */
 "Bolus failed or inaccurate. Check pump history before repeating." = "Misslyckad eller felaktig bolus. Kontrollera pumpens historik innan du försöker igen.";
 
+/* */
+"Carbs" = "Kolh.";
+
+/* */
+"Temp Basal" = "Temporär basal";
+
+/* */
+"Temp Target" = "Tillfälligt målvärde";
+
+/* */
+"Resume" = "Återuppta";
+
+/* */
+"Suspend" = "Pausa";
+
 
 /* Headers for settings ----------------------- */
 "OpenAPS main settings" = "OpenAPS huvudsakliga inställningar";

+ 15 - 0
FreeAPS/Sources/Localizations/Main/tr.lproj/Localizable.strings

@@ -878,6 +878,21 @@ Enact a temp Basal or a temp target */
 /* */
 "Bolus failed or inaccurate. Check pump history before repeating." = "Bolus başarısız veya hatalı. Tekrarlamadan önce pompa geçmişini kontrol edin.";
 
+/* */
+"Carbs" = "Carbs";
+
+/* */
+"Temp Basal" = "Temp Basal";
+
+/* */
+"Temp Target" = "Temp Target";
+
+/* */
+"Resume" = "Resume";
+
+/* */
+"Suspend" = "Suspend";
+
 
 /* Headers for settings ----------------------- */
 "OpenAPS main settings" = "OpenAPS ana ayarları";

+ 15 - 0
FreeAPS/Sources/Localizations/Main/uk.lproj/Localizable.strings

@@ -878,6 +878,21 @@ Enact a temp Basal or a temp target */
 /* */
 "Bolus failed or inaccurate. Check pump history before repeating." = "Bolus failed or inaccurate. Check pump history before repeating.";
 
+/* */
+"Carbs" = "Carbs";
+
+/* */
+"Temp Basal" = "Temp Basal";
+
+/* */
+"Temp Target" = "Temp Target";
+
+/* */
+"Resume" = "Resume";
+
+/* */
+"Suspend" = "Suspend";
+
 
 /* Headers for settings ----------------------- */
 "OpenAPS main settings" = "OpenAPS main settings";

+ 14 - 0
FreeAPS/Sources/Localizations/Main/zh-Hans.lproj/Localizable.strings

@@ -878,6 +878,20 @@ Enact a temp Basal or a temp target */
 /* */
 "Bolus failed or inaccurate. Check pump history before repeating." = "大剂量失败或者不准确,请在重复操作前检查胰岛素泵历史";
 
+/* */
+"Carbs" = "Carbs";
+
+/* */
+"Temp Basal" = "Temp Basal";
+
+/* */
+"Temp Target" = "Temp Target";
+
+/* */
+"Resume" = "Resume";
+
+/* */
+"Suspend" = "Suspend";
 
 /* Headers for settings ----------------------- */
 "OpenAPS main settings" = "OpenAPS 主要设置";

+ 6 - 8
FreeAPS/Sources/Modules/Snooze/View/SnoozeRootView.swift

@@ -78,7 +78,7 @@ extension Snooze {
             return [celltext, snoozeDescription].joined(separator: ", ")
         }
 
-        var snoozeButton: some View {
+        private var snoozeButton: some View {
             VStack(alignment: .leading) {
                 Button {
                     let interval = pickerTimes[selectedInterval]
@@ -106,15 +106,13 @@ extension Snooze {
             }
         }
 
-        var snoozeDesc: some View {
-            Text(snoozeDescription).lineLimit(0)
-        }
-
         var body: some View {
             Form {
-                snoozeDesc
-                snoozePicker
-                snoozeButton
+                Section {
+                    Text(snoozeDescription).lineLimit(nil)
+                    snoozePicker
+                    snoozeButton
+                }
             }
             .navigationBarTitle("Snooze Alerts")
             .navigationBarTitleDisplayMode(.automatic)