|
|
@@ -72,7 +72,7 @@ struct G7SettingsView: View {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- Section("Last Reading") {
|
|
|
+ Section(LocalizedString("Last Reading", comment: "")) {
|
|
|
LabeledValueView(label: LocalizedString("Glucose", comment: "Field label"),
|
|
|
value: viewModel.lastGlucoseString)
|
|
|
LabeledDateView(label: LocalizedString("Time", comment: "Field label"),
|
|
|
@@ -82,7 +82,7 @@ struct G7SettingsView: View {
|
|
|
value: viewModel.lastGlucoseTrendString)
|
|
|
}
|
|
|
|
|
|
- Section("Bluetooth") {
|
|
|
+ Section(LocalizedString("Bluetooth", comment: "")) {
|
|
|
if let name = viewModel.sensorName {
|
|
|
HStack {
|
|
|
Text(LocalizedString("Name", comment: "title for g7 settings row showing BLE Name"))
|
|
|
@@ -114,7 +114,7 @@ struct G7SettingsView: View {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- Section("Configuration") {
|
|
|
+ Section(LocalizedString("Configuration", comment: "")) {
|
|
|
HStack {
|
|
|
Toggle(LocalizedString("Upload Readings", comment: "title for g7 config settings to upload readings"), isOn: $viewModel.uploadReadings)
|
|
|
}
|
|
|
@@ -122,7 +122,7 @@ struct G7SettingsView: View {
|
|
|
|
|
|
Section () {
|
|
|
if !self.viewModel.scanning {
|
|
|
- Button("Scan for new sensor", action: {
|
|
|
+ Button(LocalizedString("Scan for new sensor", comment: ""), action: {
|
|
|
self.viewModel.scanForNewSensor()
|
|
|
})
|
|
|
}
|