Преглед изворни кода

Target Glucose -> Glucose Targets

to match the pluralization of the other Therapy Settings,
Also change `Target Glucose` to `TargetGlucose` in equation in dynamicISF's verboseHint to make it clear it's a single variable.
Mike Plante пре 1 година
родитељ
комит
048b9ca7ec
27 измењених фајлова са 30 додато и 30 уклоњено
  1. 1 1
      FreeAPS/Sources/Localizations/Main/ar.lproj/Localizable.strings
  2. 1 1
      FreeAPS/Sources/Localizations/Main/da.lproj/Localizable.strings
  3. 1 1
      FreeAPS/Sources/Localizations/Main/de.lproj/Localizable.strings
  4. 1 1
      FreeAPS/Sources/Localizations/Main/en.lproj/Localizable.strings
  5. 1 1
      FreeAPS/Sources/Localizations/Main/es.lproj/Localizable.strings
  6. 1 1
      FreeAPS/Sources/Localizations/Main/fi.lproj/Localizable.strings
  7. 1 1
      FreeAPS/Sources/Localizations/Main/fr.lproj/Localizable.strings
  8. 1 1
      FreeAPS/Sources/Localizations/Main/he.lproj/Localizable.strings
  9. 1 1
      FreeAPS/Sources/Localizations/Main/hu.lproj/Localizable.strings
  10. 1 1
      FreeAPS/Sources/Localizations/Main/it.lproj/Localizable.strings
  11. 1 1
      FreeAPS/Sources/Localizations/Main/nb.lproj/Localizable.strings
  12. 1 1
      FreeAPS/Sources/Localizations/Main/nl.lproj/Localizable.strings
  13. 1 1
      FreeAPS/Sources/Localizations/Main/pl.lproj/Localizable.strings
  14. 1 1
      FreeAPS/Sources/Localizations/Main/pt-BR.lproj/Localizable.strings
  15. 1 1
      FreeAPS/Sources/Localizations/Main/pt-PT.lproj/Localizable.strings
  16. 1 1
      FreeAPS/Sources/Localizations/Main/ru.lproj/Localizable.strings
  17. 1 1
      FreeAPS/Sources/Localizations/Main/sk.lproj/Localizable.strings
  18. 1 1
      FreeAPS/Sources/Localizations/Main/sv.lproj/Localizable.strings
  19. 1 1
      FreeAPS/Sources/Localizations/Main/tr.lproj/Localizable.strings
  20. 1 1
      FreeAPS/Sources/Localizations/Main/uk.lproj/Localizable.strings
  21. 1 1
      FreeAPS/Sources/Localizations/Main/vi.lproj/Localizable.strings
  22. 1 1
      FreeAPS/Sources/Localizations/Main/zh-Hans.lproj/Localizable.strings
  23. 3 3
      FreeAPS/Sources/Modules/DynamicSettings/View/DynamicSettingsRootView.swift
  24. 2 2
      FreeAPS/Sources/Modules/NightscoutConfig/View/NightscoutConfigRootView.swift
  25. 1 1
      FreeAPS/Sources/Modules/Settings/SettingItems.swift
  26. 1 1
      FreeAPS/Sources/Modules/Settings/View/Subviews/TherapySettingsView.swift
  27. 1 1
      FreeAPS/Sources/Modules/TargetsEditor/View/TargetsEditorRootView.swift

Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
FreeAPS/Sources/Localizations/Main/ar.lproj/Localizable.strings


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
FreeAPS/Sources/Localizations/Main/da.lproj/Localizable.strings


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
FreeAPS/Sources/Localizations/Main/de.lproj/Localizable.strings


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
FreeAPS/Sources/Localizations/Main/en.lproj/Localizable.strings


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
FreeAPS/Sources/Localizations/Main/es.lproj/Localizable.strings


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
FreeAPS/Sources/Localizations/Main/fi.lproj/Localizable.strings


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
FreeAPS/Sources/Localizations/Main/fr.lproj/Localizable.strings


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
FreeAPS/Sources/Localizations/Main/he.lproj/Localizable.strings


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
FreeAPS/Sources/Localizations/Main/hu.lproj/Localizable.strings


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
FreeAPS/Sources/Localizations/Main/it.lproj/Localizable.strings


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
FreeAPS/Sources/Localizations/Main/nb.lproj/Localizable.strings


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
FreeAPS/Sources/Localizations/Main/nl.lproj/Localizable.strings


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
FreeAPS/Sources/Localizations/Main/pl.lproj/Localizable.strings


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
FreeAPS/Sources/Localizations/Main/pt-BR.lproj/Localizable.strings


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
FreeAPS/Sources/Localizations/Main/pt-PT.lproj/Localizable.strings


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
FreeAPS/Sources/Localizations/Main/ru.lproj/Localizable.strings


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
FreeAPS/Sources/Localizations/Main/sk.lproj/Localizable.strings


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
FreeAPS/Sources/Localizations/Main/sv.lproj/Localizable.strings


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
FreeAPS/Sources/Localizations/Main/tr.lproj/Localizable.strings


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
FreeAPS/Sources/Localizations/Main/uk.lproj/Localizable.strings


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
FreeAPS/Sources/Localizations/Main/vi.lproj/Localizable.strings


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
FreeAPS/Sources/Localizations/Main/zh-Hans.lproj/Localizable.strings


+ 3 - 3
FreeAPS/Sources/Modules/DynamicSettings/View/DynamicSettingsRootView.swift

@@ -81,7 +81,7 @@ extension DynamicSettings {
                             "Dynamic ISF produces a Dynamic Ratio, replacing the Autosens Ratio, determining how much your profile ISF will be adjusted every loop cycle, ensuring it stays within safe limits set by your Autosens Min/Max settings. It provides more precise insulin dosing by responding to changes in insulin needs throughout the day."
                         )
                         Text(
-                            "You can influence the adjustments made by Dynamic ISF primarily by adjusting Autosens Max, Autosens Min, and Adjustment Factor. Other settings also influence Dynamic ISF's response, such as Target Glucose, Profile ISF, Peak Insulin Time, and Weighted Average of TDD."
+                            "You can influence the adjustments made by Dynamic ISF primarily by adjusting Autosens Max, Autosens Min, and Adjustment Factor. Other settings also influence Dynamic ISF's response, such as Glucose Target, Profile ISF, Peak Insulin Time, and Weighted Average of TDD."
                         )
                         Text(
                             "Warning: Before adjusting these settings, make sure you are fully aware of the impact those changes will have."
@@ -305,7 +305,7 @@ extension DynamicSettings {
                         VStack(alignment: .leading, spacing: 10) {
                             Text("Default: Set by Algorithm").bold()
                             Text(
-                                "Minimum Threshold Setting is, by default, determined by your set Target Glucose. This threshold automatically suspends insulin delivery if your glucose levels are forecasted to fall below this value. It’s designed to protect against hypoglycemia, particularly during sleep or other vulnerable times."
+                                "Minimum Threshold Setting is, by default, determined by your set Glucose Target. This threshold automatically suspends insulin delivery if your glucose levels are forecasted to fall below this value. It’s designed to protect against hypoglycemia, particularly during sleep or other vulnerable times."
                             )
                             Text(
                                 "Trio will use the larger of the default setting calculation below and the value entered here."
@@ -313,7 +313,7 @@ extension DynamicSettings {
                             VStack(alignment: .leading, spacing: 10) {
                                 VStack(alignment: .leading, spacing: 5) {
                                     Text("The default setting is based on this calculation:").bold()
-                                    Text("Target Glucose - 0.5 × (Target Glucose - 40)")
+                                    Text("TargetGlucose - 0.5 × (TargetGlucose - 40)")
                                 }
                                 VStack(alignment: .leading, spacing: 5) {
                                     Text(

+ 2 - 2
FreeAPS/Sources/Modules/NightscoutConfig/View/NightscoutConfigRootView.swift

@@ -70,7 +70,7 @@ extension NightscoutConfig {
                                         + Text("• Basal Rates\n")
                                         + Text("• Insulin Sensitivities\n")
                                         + Text("• Carb Ratios\n")
-                                        + Text("• Target Glucose\n")
+                                        + Text("• Glucose Targets\n")
                                         + Text("• Duration of Insulin Action"),
                                     primaryButton: .default(
                                         Text("Yes, Import!"),
@@ -123,7 +123,7 @@ extension NightscoutConfig {
                                                         Text("• Basal Rates")
                                                         Text("• Insulin Sensitivities")
                                                         Text("• Carb Ratios")
-                                                        Text("• Target Glucose")
+                                                        Text("• Glucose Targets")
                                                         Text("• Duration of Insulin Action")
                                                     }
                                                 }

+ 1 - 1
FreeAPS/Sources/Modules/Settings/SettingItems.swift

@@ -67,7 +67,7 @@ enum SettingItems {
         SettingItem(title: "ISF", view: .isfEditor, path: ["Therapy Settings"]),
         SettingItem(title: "Carb Ratios", view: .crEditor, path: ["Therapy Settings"]),
         SettingItem(title: "CR", view: .crEditor, path: ["Therapy Settings"]),
-        SettingItem(title: "Target Glucose", view: .targetsEditor, path: ["Therapy Settings"])
+        SettingItem(title: "Glucose Targets", view: .targetsEditor, path: ["Therapy Settings"])
     ]
 
     static let algorithmItems = [

+ 1 - 1
FreeAPS/Sources/Modules/Settings/View/Subviews/TherapySettingsView.swift

@@ -47,7 +47,7 @@ struct TherapySettingsView: BaseView {
                     Text("Basal Rates").navigationLink(to: .basalProfileEditor, from: self)
                     Text("Insulin Sensitivities").navigationLink(to: .isfEditor, from: self)
                     Text("Carb Ratios").navigationLink(to: .crEditor, from: self)
-                    Text("Target Glucose").navigationLink(to: .targetsEditor, from: self)
+                    Text("Glucose Targets").navigationLink(to: .targetsEditor, from: self)
                 }
             )
             .listRowBackground(Color.chart)

+ 1 - 1
FreeAPS/Sources/Modules/TargetsEditor/View/TargetsEditorRootView.swift

@@ -66,7 +66,7 @@ extension TargetsEditor {
             }
             .scrollContentBackground(.hidden).background(color)
             .onAppear(perform: configureView)
-            .navigationTitle("Target Glucose")
+            .navigationTitle("Glucose Targets")
             .navigationBarTitleDisplayMode(.automatic)
             .toolbar(content: {
                 ToolbarItem(placement: .topBarTrailing) {