Procházet zdrojové kódy

minor typos

missing periods,
HbA1C -> HbA1c,
linting
Mike Plante před 1 rokem
rodič
revize
77b32db29a

+ 1 - 1
FreeAPS/Sources/Modules/GeneralSettings/View/UnitsLimitsSettingsRootView.swift

@@ -115,7 +115,7 @@ extension UnitsLimitsSettings {
                     units: state.units,
                     units: state.units,
                     type: .decimal("maxBasal"),
                     type: .decimal("maxBasal"),
                     label: "Max Basal",
                     label: "Max Basal",
-                    miniHint: "Largest basal rate allowed",
+                    miniHint: "Largest basal rate allowed.",
                     verboseHint:
                     verboseHint:
                     VStack(alignment: .leading, spacing: 10) {
                     VStack(alignment: .leading, spacing: 10) {
                         Text("Default: 2.0 units").bold()
                         Text("Default: 2.0 units").bold()

+ 1 - 1
FreeAPS/Sources/Modules/Stat/View/StatsView.swift

@@ -144,7 +144,7 @@ struct StatsView: View {
                     + " %"
                     + " %"
             )
             )
             VStack(spacing: 5) {
             VStack(spacing: 5) {
-                Text("HbA1C").font(.subheadline).foregroundColor(headline)
+                Text("HbA1c").font(.subheadline).foregroundColor(headline)
                 Text(hba1cString)
                 Text(hba1cString)
             }
             }
             VStack(spacing: 5) {
             VStack(spacing: 5) {

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

@@ -434,7 +434,7 @@ extension UserInterfaceSettings {
                     units: state.units,
                     units: state.units,
                     type: .boolean,
                     type: .boolean,
                     label: "Override HbA1c Unit",
                     label: "Override HbA1c Unit",
-                    miniHint: "Display HbA1c in mmol/mol or %",
+                    miniHint: "Display HbA1c in mmol/mol or %.",
                     verboseHint: Text(
                     verboseHint: Text(
                         "Choose which format you'd prefer the HbA1c value in the statistics view as a percentage (Example: 6.5%) or mmol/mol (Example: 48 mmol/mol)"
                         "Choose which format you'd prefer the HbA1c value in the statistics view as a percentage (Example: 6.5%) or mmol/mol (Example: 48 mmol/mol)"
                     ),
                     ),

+ 1 - 1
FreeAPS/Sources/Modules/WatchConfig/View/WatchConfigAppleWatchView.swift

@@ -61,7 +61,7 @@ struct WatchConfigAppleWatchView: View {
                                     hintLabel = "Display on Watch"
                                     hintLabel = "Display on Watch"
                                     selectedVerboseHint =
                                     selectedVerboseHint =
                                         AnyView(VStack(alignment: .leading, spacing: 10) {
                                         AnyView(VStack(alignment: .leading, spacing: 10) {
-                                            Text("Choose between the following options:")   
+                                            Text("Choose between the following options:")
                                             VStack(alignment: .leading, spacing: 5) {
                                             VStack(alignment: .leading, spacing: 5) {
                                                 Text("• Heart Rate")
                                                 Text("• Heart Rate")
                                                 Text("• Glucose Target")
                                                 Text("• Glucose Target")