Procházet zdrojové kódy

Adjust texts, wording and spacing

Deniz Cengiz před 1 rokem
rodič
revize
f02b144605

+ 22 - 11
FreeAPS/Sources/Modules/Home/View/Chart/ChartLegendView.swift

@@ -38,10 +38,11 @@ struct ChartLegendView: View {
                         Text("Other Elements & Shapes").bold().padding(.bottom, 5).textCase(.uppercase)
                         Text("Other Elements & Shapes").bold().padding(.bottom, 5).textCase(.uppercase)
 
 
                         DefinitionRow(
                         DefinitionRow(
-                            term: "Scheduled Basal",
-                            definition: Text(
-                                "This dotted line represents the hourly insulin rate of your scheduled basal insulin. Refer to Settings > Therapy > Basal Rates."
-                            ),
+                            term: "Scheduled Basal Rate",
+                            definition: VStack(alignment: .leading, spacing: 10) {
+                                Text("This dotted line represents the hourly insulin rate of your scheduled basal insulin.")
+                                Text("To review or change your scheduled basal rates, go to Settings > Therapy > Basal Rates.")
+                            },
                             color: Color.insulin,
                             color: Color.insulin,
                             iconString: "ellipsis"
                             iconString: "ellipsis"
                         )
                         )
@@ -64,9 +65,14 @@ struct ChartLegendView: View {
 
 
                         DefinitionRow(
                         DefinitionRow(
                             term: "CGM Glucose Value",
                             term: "CGM Glucose Value",
-                            definition: Text(
-                                "Displays real-time glucose readings from your CGM. Depending on your user interface settings, this may be displayed in a static (red, green, orange) or dynamic (full color spectrum) coloring scheme."
-                            ),
+                            definition: VStack(alignment: .leading, spacing: 10) {
+                                Text(
+                                    "Displays real-time glucose readings from your CGM. Depending on your user interface settings, this may be displayed in a static (red, green, orange) or dynamic (full color spectrum) coloring scheme."
+                                )
+                                Text(
+                                    "To modify how glucose readings are displayed, go to Settings > Features > User Interface > Glucose Color Scheme."
+                                )
+                            },
                             color: Color.green,
                             color: Color.green,
                             iconString: !state.settingsManager.settings.smoothGlucose ? "circle.fill" : "record.circle.fill"
                             iconString: !state.settingsManager.settings.smoothGlucose ? "circle.fill" : "record.circle.fill"
                         )
                         )
@@ -97,9 +103,14 @@ struct ChartLegendView: View {
 
 
                         DefinitionRow(
                         DefinitionRow(
                             term: "Fat-Protein Carb Equivalent",
                             term: "Fat-Protein Carb Equivalent",
-                            definition: Text(
-                                "Represents carb equivalent for fat and protein, calculated using the Warsaw Method"
-                            ),
+                            definition: VStack(alignment: .leading, spacing: 10) {
+                                Text(
+                                    "Represents carb equivalent for fat and protein, calculated using the Warsaw Method."
+                                )
+                                Text(
+                                    "To enable or configure Warsaw Method application in Trio, go to Settings > Features > Meal Settings."
+                                )
+                            },
                             color: Color.brown,
                             color: Color.brown,
                             iconString: "circle.fill"
                             iconString: "circle.fill"
                         )
                         )
@@ -209,7 +220,7 @@ struct ChartLegendView: View {
                     "For simplicity reasons, oref's various forecast curves are displayed as a \"Cone of Uncertainty\" that depicts a possible, forecasted range of future glucose fluctuation based on the current data and the algothim's result."
                     "For simplicity reasons, oref's various forecast curves are displayed as a \"Cone of Uncertainty\" that depicts a possible, forecasted range of future glucose fluctuation based on the current data and the algothim's result."
                 )
                 )
                 Text(
                 Text(
-                    "Note: To modify the forecast display type, go to Trio Settings > Features > User Interface > Forecast Display Type."
+                    "To modify how the forecast is displayed, go to Settings > Features > User Interface > Forecast Display Type."
                 )
                 )
             },
             },
             color: Color.blue.opacity(0.5)
             color: Color.blue.opacity(0.5)