Explorar el Código

Minor Formatting Edits of Settings Descriptions

Formatting and grammar edits for consistency between all settings descriptions
tmhastings hace 1 año
padre
commit
a19f6b67ba

+ 5 - 5
FreeAPS/Sources/Modules/AlgorithmAdvancedSettings/View/AlgorithmAdvancedSettingsRootView.swift

@@ -132,7 +132,7 @@ extension AlgorithmAdvancedSettings {
                     type: .conditionalDecimal("insulinPeakTime"),
                     label: NSLocalizedString("Use Custom Peak Time", comment: "Use Custom Peak Time"),
                     conditionalLabel: NSLocalizedString("Insulin Peak Time", comment: "Insulin Peak Time"),
-                    miniHint: "Sets time of insulin's peak effect.",
+                    miniHint: "Set a custom time for peak insulin effect.",
                     verboseHint:
                     VStack(alignment: .leading, spacing: 10) {
                         Text("Default: Set by Insulin Type").bold()
@@ -187,7 +187,7 @@ extension AlgorithmAdvancedSettings {
                     units: state.units,
                     type: .boolean,
                     label: NSLocalizedString("Unsuspend If No Temp", comment: "Unsuspend If No Temp"),
-                    miniHint: "Automatically resumes pump after suspension.",
+                    miniHint: "Resume pump automatically after suspension.",
                     verboseHint:
                     VStack(alignment: .leading, spacing: 10) {
                         Text("Default: OFF").bold()
@@ -212,7 +212,7 @@ extension AlgorithmAdvancedSettings {
                     units: state.units,
                     type: .boolean,
                     label: NSLocalizedString("Suspend Zeros IOB", comment: "Suspend Zeros IOB"),
-                    miniHint: "Clears temporary basal rates and resets IOB when suspended.",
+                    miniHint: "Clear temporary basal rates and reset IOB when suspended.",
                     verboseHint:
                     VStack(alignment: .leading, spacing: 10) {
                         Text("Default: OFF").bold()
@@ -267,7 +267,7 @@ extension AlgorithmAdvancedSettings {
                     units: state.units,
                     type: .decimal("min5mCarbimpact"),
                     label: NSLocalizedString("Min 5m Carb Impact", comment: "Min 5m Carb Impact"),
-                    miniHint: "Estimates the impact of carb absorbtion after 5 minutes.",
+                    miniHint: "Default impact of carb absorption over a 5 minute interval.",
                     verboseHint:
                     VStack(alignment: .leading, spacing: 10) {
                         Text(
@@ -350,7 +350,7 @@ extension AlgorithmAdvancedSettings {
                     units: state.units,
                     type: .decimal("noisyCGMTargetMultiplier"),
                     label: NSLocalizedString("Noisy CGM Target Increase", comment: "Noisy CGM Target Increase"),
-                    miniHint: "Increase glucose target when noisy CGM data detected.",
+                    miniHint: "Percentage increase of glucose target when CGM is inconsistent.",
                     verboseHint:
                     VStack(alignment: .leading, spacing: 10) {
                         Text("Default: 130%").bold()

+ 4 - 4
FreeAPS/Sources/Modules/BolusCalculatorConfig/View/BolusCalculatorConfigRootView.swift

@@ -47,7 +47,7 @@ extension BolusCalculatorConfig {
                     units: state.units,
                     type: .boolean,
                     label: "Display Meal Presets",
-                    miniHint: "Allows you to create and save preset meals.",
+                    miniHint: "Allow the creation of saved, preset meals.",
                     verboseHint: VStack(alignment: .leading, spacing: 10) {
                         Text("Default: ON").bold()
                         Text("Enabling this feature allows you to create and save preset meals.")
@@ -68,7 +68,7 @@ extension BolusCalculatorConfig {
                     units: state.units,
                     type: .decimal("overrideFactor"),
                     label: "Recommended Bolus Percentage",
-                    miniHint: "Percentage of bolus used in bolus calculator.",
+                    miniHint: "Percentage of bolus suggested in bolus calculator.",
                     verboseHint:
                     VStack(alignment: .leading, spacing: 10) {
                         Text("Default: 80%").bold()
@@ -100,7 +100,7 @@ extension BolusCalculatorConfig {
                     type: .conditionalDecimal("fattyMealFactor"),
                     label: "Enable Fatty Meal Option",
                     conditionalLabel: "Fatty Meal Bolus Percentage",
-                    miniHint: "Adds a \"Fatty Meal\" option to the bolus calculator.",
+                    miniHint: "Add and set a bolus option for meals that absorb slowly.",
                     verboseHint:
                     VStack(alignment: .leading, spacing: 10) {
                         Text("Default: OFF").bold()
@@ -134,7 +134,7 @@ extension BolusCalculatorConfig {
                     type: .conditionalDecimal("sweetMealFactor"),
                     label: "Enable Super Bolus Option",
                     conditionalLabel: "Super Bolus Percentage",
-                    miniHint: "Adds a \"Super Bolus\" option to the bolus calculator.",
+                    miniHint: "Add and set a bolus option for meals that absorb quickly.",
                     verboseHint:
                     VStack(alignment: .leading, spacing: 10) {
                         Text("Default: OFF").bold()

+ 2 - 2
FreeAPS/Sources/Modules/CalendarEventSettings/View/CalendarEventSettingsRootView.swift

@@ -32,7 +32,7 @@ extension CalendarEventSettings {
                     units: state.units,
                     type: .boolean,
                     label: "Create Events in Calendar",
-                    miniHint: "Uses calendar events to display current data.",
+                    miniHint: "Use calendar events to display current data.",
                     verboseHint:
                     VStack(alignment: .leading, spacing: 10) {
                         Text("Default: OFF").bold()
@@ -75,7 +75,7 @@ extension CalendarEventSettings {
                         units: state.units,
                         type: .boolean,
                         label: "Display Emojis as Labels",
-                        miniHint: "Emojis used instead of text for data labels.",
+                        miniHint: "Use emojis for calendar events. See hint for more details.",
                         verboseHint: VStack(alignment: .leading, spacing: 10) {
                             Text("Default: OFF").bold()
                             VStack(alignment: .leading, spacing: 5) {

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

@@ -55,7 +55,7 @@ extension DynamicSettings {
                     units: state.units,
                     type: .boolean,
                     label: "Activate Dynamic ISF",
-                    miniHint: "Adjusts ISF dynamically based on multiple data points.",
+                    miniHint: "Dynamically adjust insulin sensitivity using Dynamic Ratio rather than Autosens Ratio.",
                     verboseHint:
                     VStack(alignment: .leading, spacing: 10) {
                         Text("Default: OFF").bold()
@@ -91,7 +91,7 @@ extension DynamicSettings {
                         units: state.units,
                         type: .boolean,
                         label: "Activate Dynamic CR (Carb Ratio)",
-                        miniHint: "Dynamically adjusts your Carb Ratio (CR).",
+                        miniHint: "Dynamically adjust your Carb Ratio (CR).",
                         verboseHint:
 
                         VStack(alignment: .leading, spacing: 10) {
@@ -125,7 +125,7 @@ extension DynamicSettings {
                         units: state.units,
                         type: .boolean,
                         label: "Use Sigmoid Formula",
-                        miniHint: "Adjusts ISF using a sigmoid-shaped curve.",
+                        miniHint: "Adjust insulin sensitivity using a sigmoid-shaped curve.",
                         verboseHint:
                         VStack(alignment: .leading, spacing: 10) {
                             Text("Default: OFF").bold()
@@ -162,7 +162,7 @@ extension DynamicSettings {
                             units: state.units,
                             type: .decimal("adjustmentFactor"),
                             label: "Adjustment Factor (AF)",
-                            miniHint: "Influences the rate of Dynamic ISF (Sensitivity) adjustments.",
+                            miniHint: "ALter the rate of Dynamic ISF (Sensitivity) adjustments.",
                             verboseHint:
                             VStack(alignment: .leading, spacing: 10) {
                                 Text("Default: 80%").bold()
@@ -192,7 +192,7 @@ extension DynamicSettings {
                             units: state.units,
                             type: .decimal("adjustmentFactorSigmoid"),
                             label: "Sigmoid Adjustment Factor",
-                            miniHint: "Influences the rate of dynamic sensitivity adjustments for Sigmoid.",
+                            miniHint: "Alter the rate of dynamic sensitivity adjustments for Sigmoid.",
                             verboseHint:
                             VStack(alignment: .leading, spacing: 10) {
                                 Text("Default: 50%").bold()

+ 4 - 4
FreeAPS/Sources/Modules/GlucoseNotificationSettings/View/GlucoseNotificationSettingsRootView.swift

@@ -54,7 +54,7 @@ extension GlucoseNotificationSettings {
                     units: state.units,
                     type: .boolean,
                     label: "Always Notify Pump",
-                    miniHint: "Always Notify Pump Warnings",
+                    miniHint: "Always Notify Pump Warnings.",
                     verboseHint:
                     VStack(alignment: .leading, spacing: 10) {
                         Text("Default: ON").bold()
@@ -80,7 +80,7 @@ extension GlucoseNotificationSettings {
                     units: state.units,
                     type: .boolean,
                     label: "Always Notify CGM",
-                    miniHint: "Always Notify CGM Warnings",
+                    miniHint: "Always Notify CGM Warnings.",
                     verboseHint:
                     VStack(alignment: .leading, spacing: 10) {
                         Text("Default: ON").bold()
@@ -105,7 +105,7 @@ extension GlucoseNotificationSettings {
                     units: state.units,
                     type: .boolean,
                     label: "Always Notify Carb",
-                    miniHint: "Always Notify Carb Warnings",
+                    miniHint: "Always Notify Carb Warnings.",
                     verboseHint:
                     VStack(alignment: .leading, spacing: 10) {
                         Text("Default: ON").bold()
@@ -130,7 +130,7 @@ extension GlucoseNotificationSettings {
                     units: state.units,
                     type: .boolean,
                     label: "Always Notify Algorithm",
-                    miniHint: "Always Notify Algorithm Warnings",
+                    miniHint: "Always Notify Algorithm Warnings.",
                     verboseHint:
                     VStack(alignment: .leading, spacing: 10) {
                         Text("Default: ON").bold()

+ 2 - 2
FreeAPS/Sources/Modules/LiveActivitySettings/View/LiveActivitySettingsRootView.swift

@@ -31,7 +31,7 @@ extension LiveActivitySettings {
                     Section(
                         header: Text("Display Live Data From Trio"),
                         content: {
-                            Text("Live Activities must be enabled under iOS Settings to allow Trio to display live data")
+                            Text("Live Activities must be enabled under iOS Settings to allow Trio to display live data.")
                         }
                     ).listRowBackground(Color.chart)
 
@@ -95,7 +95,7 @@ extension LiveActivitySettings {
 
                                 HStack(alignment: .center) {
                                     Text(
-                                        "Choose between simple or detailed style."
+                                        "Select simple or detailed style. See hint for more details."
                                     )
                                     .font(.footnote)
                                     .foregroundColor(.secondary)

+ 9 - 6
FreeAPS/Sources/Modules/MealSettings/View/MealSettingsRootView.swift

@@ -160,10 +160,13 @@ extension MealSettings {
                                         hintLabel = "Limits per Entry"
                                         selectedVerboseHint =
                                             AnyView(
-                                                VStack(alignment: .leading, spacing: 10) {
-                                                    Text("Max Carbs: Enter the largest carbohydrate value allowed per meal entry")
-                                                    Text("Max Fat: Enter the largest fat value allowed per meal entry")
-                                                    Text("Max Protein: Enter the largest protein value allowed per meal entry")
+                                                VStack(alignment: .leading, spacing: 5) {
+                                                    Text("Max Carbs:").bold()
+                                                    Text("Enter the largest carbohydrate value allowed per meal entry")
+                                                    Text("Max Fat:").bold()
+                                                    Text("Enter the largest fat value allowed per meal entry")
+                                                    Text("Max Protein:").bold()
+                                                    Text("Enter the largest protein value allowed per meal entry")
                                                 }
                                             )
                                         shouldDisplayHint.toggle()
@@ -193,7 +196,7 @@ extension MealSettings {
                     units: state.units,
                     type: .boolean,
                     label: "Enable Fat and Protein Entries",
-                    miniHint: "Allows you to add fat and protein macros to meals.",
+                    miniHint: "Add fat and protein macros to meal entries.",
                     verboseHint: VStack(alignment: .leading, spacing: 10) {
                         Text("Default: OFF").bold()
                         VStack(alignment: .leading, spacing: 10) {
@@ -331,7 +334,7 @@ extension MealSettings {
                         units: state.units,
                         type: .decimal("individualAdjustmentFactor"),
                         label: "Fat and Protein Percentage",
-                        miniHint: "Influences the conversion rate used in the Warsaw Method.",
+                        miniHint: "Adjust the Warsaw Method FPU Conversion rate.",
                         verboseHint: VStack(alignment: .leading, spacing: 10) {
                             Text("Default: 50%").bold()
                             VStack(spacing: 10) {

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

@@ -30,7 +30,7 @@ struct NightscoutUploadView: View {
                 units: state.units,
                 type: .boolean,
                 label: "Allow Uploading to Nightscout",
-                miniHint: "Enables upload of selected data sets to Nightscout.",
+                miniHint: "Enable uploading of selected data sets to Nightscout.",
                 verboseHint:
                 VStack(alignment: .leading, spacing: 10) {
                     Text("Default: OFF").bold()
@@ -63,7 +63,7 @@ struct NightscoutUploadView: View {
                     units: state.units,
                     type: .boolean,
                     label: "Upload Glucose",
-                    miniHint: "Enables uploading of CGM readings to Nightscout.",
+                    miniHint: "Enable uploading of CGM readings to Nightscout.",
                     verboseHint: VStack(alignment: .leading, spacing: 10) {
                         Text("Default: OFF").bold()
                         Text("Enabling this setting allows CGM readings from Trio to be used in Nightscout.")

+ 1 - 1
FreeAPS/Sources/Modules/RemoteControlConfig/View/RemoteControlConfig.swift

@@ -35,7 +35,7 @@ extension RemoteControlConfig {
                     units: state.units,
                     type: .boolean,
                     label: "Enable Remote Control",
-                    miniHint: "Allow Trio to receive instructions, such as boluses and temp targets, from Loop Follow remotely.",
+                    miniHint: "Allow Trio to receive commands from Loop Follow remotely.",
                     verboseHint: VStack(alignment: .leading, spacing: 10) {
                         Text("Default: OFF").bold()
                         Text(

+ 2 - 2
FreeAPS/Sources/Modules/SMBSettings/View/SMBSettingsRootView.swift

@@ -233,7 +233,7 @@ extension SMBSettings {
                     units: state.units,
                     type: .decimal("maxSMBBasalMinutes"),
                     label: NSLocalizedString("Max SMB Basal Minutes", comment: "Max SMB Basal Minutes"),
-                    miniHint: "Limit the size of a single Super Micro Bolus (SMB) dose.",
+                    miniHint: "Limits the size of a single Super Micro Bolus (SMB) dose.",
                     verboseHint: VStack(spacing: 10) {
                         VStack(alignment: .leading, spacing: 10) {
                             VStack(alignment: .leading, spacing: 1) {
@@ -349,7 +349,7 @@ extension SMBSettings {
                     units: state.units,
                     type: .decimal("smbDeliveryRatio"),
                     label: NSLocalizedString("SMB Delivery Ratio", comment: "SMB Delivery Ratio"),
-                    miniHint: "Limits % of total insulin required that can be given as SMB.",
+                    miniHint: "Percentage of calculated insulin required that is given as SMB.",
                     verboseHint:
                     VStack(alignment: .leading, spacing: 10) {
                         Text("Default: 50%").bold()

+ 9 - 7
FreeAPS/Sources/Modules/TargetBehavoir/View/TargetBehavoirRootView.swift

@@ -38,12 +38,12 @@ extension TargetBehavoir {
                         "High Temp Target Raises Sensitivity",
                         comment: "High Temp Target Raises Sensitivity"
                     ),
-                    miniHint: "A Temp Target > \(state.units == .mgdL ? "110" : 110.formattedAsMmolL) \(state.units.rawValue) increases sensitivity when glucose is above target.",
+                    miniHint: "Increase sensitivity when glucose is above target if a manual Temp Target > \(state.units == .mgdL ? "110" : 110.formattedAsMmolL) \(state.units.rawValue) is set.",
                     verboseHint:
                     VStack(alignment: .leading, spacing: 10) {
                         Text("Default: OFF").bold()
                         Text(
-                            "When this feature is enabled, setting a temporary target above \(state.units == .mgdL ? "110" : 110.formattedAsMmolL) \(state.units.rawValue) will decrease the Autosens Ratio used for ISF and basal adjustments, resulting in less insulin delivered overall. This scales with the temporary target set; the higher the temp target, the lower the Autosens Ratio used."
+                            "When this feature is enabled, manually setting a temporary target above \(state.units == .mgdL ? "110" : 110.formattedAsMmolL) \(state.units.rawValue) will decrease the Autosens Ratio used for ISF and basal adjustments, resulting in less insulin delivered overall. This scales with the temporary target set; the higher the temp target, the lower the Autosens Ratio used."
                         )
                         Text(
                             "If Half Basal Exercise Target is set to \(state.units == .mgdL ? "160" : 160.formattedAsMmolL) \(state.units.rawValue), a temp target of \(state.units == .mgdL ? "120" : 120.formattedAsMmolL) \(state.units.rawValue) uses an Autosens Ratio of 0.75. A temp target of \(state.units == .mgdL ? "140" : 140.formattedAsMmolL) \(state.units.rawValue) uses an Autosens Ratio of 0.6."
@@ -73,7 +73,7 @@ extension TargetBehavoir {
                         "Low Temp Target Lowers Sensitivity",
                         comment: "Low Temp Target Lowers Sensitivity"
                     ),
-                    miniHint: "Temp Target < \(state.units == .mgdL ? "100" : 100.formattedAsMmolL) \(state.units.rawValue) decreases sensitivity when glucose is below target.",
+                    miniHint: "Decrease sensitivity when glucose is below target if a manual Temp Target < \(state.units == .mgdL ? "100" : 100.formattedAsMmolL) \(state.units.rawValue) is set.",
                     verboseHint:
                     VStack(alignment: .leading, spacing: 10) {
                         Text("Default: OFF").bold()
@@ -101,10 +101,12 @@ extension TargetBehavoir {
                     units: state.units,
                     type: .boolean,
                     label: NSLocalizedString("Sensitivity Raises Target", comment: "Sensitivity Raises Target"),
-                    miniHint: "Automatically raise target glucose if sensitivity is detected.",
+                    miniHint: "Raise target glucose if when Autosens Ratio is >1.",
                     verboseHint: VStack(alignment: .leading, spacing: 10) {
                         Text("Default: OFF").bold()
-                        Text("Automatically increase target glucose if it detects an increase in sensitivity.")
+                        Text(
+                            "Enabling this feature causes Trio to automatically raise the targeted glucose if it detects an increase in insulin sensitivity from your baseline."
+                        )
                     }
                 )
 
@@ -122,11 +124,11 @@ extension TargetBehavoir {
                     units: state.units,
                     type: .boolean,
                     label: NSLocalizedString("Resistance Lowers Target", comment: "Resistance Lowers Target"),
-                    miniHint: "Automatically lower target glucose if resistance is detected.",
+                    miniHint: "Lower target glucose when Autosens Ratio is <1.",
                     verboseHint: VStack(alignment: .leading, spacing: 10) {
                         Text("Default: OFF").bold()
                         Text(
-                            "Enabling this feature causes Trio to automatically reduce the targeted glucose if it detects a decrease in sensitivity (resistance)."
+                            "Enabling this feature causes Trio to automatically reduce the targeted glucose if it detects a decrease in sensitivity (resistance) from your baseline."
                         )
                     }
                 )

+ 8 - 8
FreeAPS/Sources/Modules/UserInterfaceSettings/View/UserInterfaceSettingsRootView.swift

@@ -56,7 +56,7 @@ extension UserInterfaceSettings {
 
                             HStack(alignment: .center) {
                                 Text(
-                                    "Choose between Light, Dark, or System Default for the app color scheme."
+                                    "Choose app color scheme. See hint for more details."
                                 )
                                 .font(.footnote)
                                 .foregroundColor(.secondary)
@@ -111,7 +111,7 @@ extension UserInterfaceSettings {
 
                         HStack(alignment: .center) {
                             Text(
-                                "Choose between Static or Dynamic coloring for glucose readings."
+                                "Choose glucose reading color scheme. See hint for more details."
                             )
                             .font(.footnote)
                             .foregroundColor(.secondary)
@@ -335,7 +335,7 @@ extension UserInterfaceSettings {
 
                         HStack(alignment: .center) {
                             Text(
-                                "Choose between the Cone of Uncertainty or the OpenAPS colored lines for the algorithm's forecast."
+                                "Choose glucose forecast presentation. See hint for more details."
                             )
                             .font(.footnote)
                             .foregroundColor(.secondary)
@@ -348,7 +348,7 @@ extension UserInterfaceSettings {
                                         AnyView(
                                             VStack(alignment: .leading, spacing: 10) {
                                                 Text(
-                                                    "This setting allows you to choose between Cone of Uncertainty and OpenAPS Forecast Lines for the glucose forecast. Descriptions for each option found below."
+                                                    "This setting allows you to choose between Cone of Uncertainty (Cone) and OpenAPS Forecast Lines (Forecast Lines) for the glucose forecast. Descriptions for each option found below."
                                                 )
                                                 VStack(alignment: .leading, spacing: 5) {
                                                     Text("Cone:").bold()
@@ -389,7 +389,7 @@ extension UserInterfaceSettings {
 
                         HStack(alignment: .center) {
                             Text(
-                                "Choose between Total Daily Dose (TDD) or Total Insulin in Scope (TINS) to be displayed above the main glucose graph."
+                                "Choose which total insulin calculation is displayed on the home screen. See hint for more details."
                             )
                             .font(.footnote)
                             .foregroundColor(.secondary)
@@ -445,7 +445,7 @@ extension UserInterfaceSettings {
 
                             HStack(alignment: .center) {
                                 Text(
-                                    "Choose to display HbA1c in % or mmol/mol."
+                                    "Choose to display HbA1c in percent or mmol/mol."
                                 )
                                 .font(.footnote)
                                 .foregroundColor(.secondary)
@@ -486,7 +486,7 @@ extension UserInterfaceSettings {
 
                         HStack(alignment: .center) {
                             Text(
-                                "Choose to display the Time in Range chart as a vertical bar chart or horizontal line chart."
+                                "Choose the orientation of the Time in Range Chart."
                             )
                             .font(.footnote)
                             .foregroundColor(.secondary)
@@ -528,7 +528,7 @@ extension UserInterfaceSettings {
                     type: .conditionalDecimal("carbsRequiredThreshold"),
                     label: "Show Carbs Required Badge",
                     conditionalLabel: "Carbs Required Threshold",
-                    miniHint: "Show carbs required as a notification badge on the home screen.",
+                    miniHint: "Show carbs required as a red icon on the main graph icon.",
                     verboseHint: Text(
                         "Turning this on will show the grams of carbs needed to prevent a low as a notification badge on the Trio home screen located above the main icon.\n\nOnce enabled, set the Carbs Required Threshold to the lowest number of carbs you'd like to be recommended. A recommendation will not be given if carbs required is below this number."
                     ),