mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Clean up additional transation keys
This commit is contained in:
parent
43c8ed3724
commit
5498b712c9
7 changed files with 178 additions and 422 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue