Clean up additional transation keys

This commit is contained in:
Garth Vander Houwen 2025-04-27 09:57:49 -07:00
parent 43c8ed3724
commit 5498b712c9
7 changed files with 178 additions and 422 deletions

File diff suppressed because it is too large Load diff

View file

@ -114,7 +114,7 @@ enum GpsMode: Int, CaseIterable, Equatable {
case .enabled:
return "Eenabled".localized
case .notPresent:
return "gpsmode.notPresent".localized
return "Not Present".localized
}
}
func protoEnumValue() -> Config.PositionConfig.GpsMode {

View file

@ -13,7 +13,7 @@ struct MessagesTip: Tip {
return "tip.messages"
}
var title: Text {
Text("tip.messages.title")
Text("Messages")
}
var message: Text? {
Text("tip.messages.message")

View file

@ -30,7 +30,7 @@ struct ChannelForm: View {
Form {
Section(header: Text("channel details")) {
HStack {
Text("name")
Text("Name")
Spacer()
TextField(
"Channel Name",
@ -170,7 +170,7 @@ struct ChannelForm: View {
}
}
}
Section(header: Text("mqtt")) {
Section(header: Text("MQTT")) {
Toggle(isOn: $uplink) {
Label("Uplink Enabled", systemImage: "arrowshape.up")
}

View file

@ -53,7 +53,7 @@ struct SerialConfig: View {
}
.pickerStyle(DefaultPickerStyle())
.listRowSeparator(/*@START_MENU_TOKEN@*/.visible/*@END_MENU_TOKEN@*/)
Picker("timeout", selection: $timeout ) {
Picker("Timeout", selection: $timeout ) {
ForEach(SerialTimeoutIntervals.allCases) { sti in
Text(sti.description)
}

View file

@ -210,7 +210,7 @@ struct PositionConfig: View {
}
Toggle(isOn: $includeTimestamp) { // 128
Label("timestamp", systemImage: "clock")
Label("Timestamp", systemImage: "clock")
}
.toggleStyle(SwitchToggleStyle(tint: .accentColor))
.onChange(of: includeTimestamp) { _, newIncludeTimestamp in

View file

@ -209,7 +209,7 @@ struct Settings: View {
if isModuleSupported(.mqttConfig) {
NavigationLink(value: SettingsNavigationState.mqtt) {
Label {
Text("mqtt")
Text("MQTT")
} icon: {
Image(systemName: "dot.radiowaves.up.forward")
}