mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Localization key updates
This commit is contained in:
parent
57687be704
commit
de4fed6577
8 changed files with 802 additions and 1173 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -78,7 +78,7 @@ enum UserTrackingModes: Int, CaseIterable, Identifiable {
|
|||
var description: String {
|
||||
switch self {
|
||||
case .none:
|
||||
return "map.usertrackingmode.none".localized
|
||||
return "None".localized
|
||||
case .follow:
|
||||
return "map.usertrackingmode.follow".localized
|
||||
case .followWithHeading:
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ enum InputEventChars: Int, CaseIterable, Identifiable {
|
|||
switch self {
|
||||
|
||||
case .none:
|
||||
return "inputevent.none".localized
|
||||
return "None".localized
|
||||
case .up:
|
||||
return "inputevent.up".localized
|
||||
case .down:
|
||||
|
|
|
|||
|
|
@ -152,17 +152,17 @@ enum RebroadcastModes: Int, CaseIterable, Identifiable {
|
|||
var name: String {
|
||||
switch self {
|
||||
case .all:
|
||||
return "All"
|
||||
return "All".localized
|
||||
case .allSkipDecoding:
|
||||
return "All Skip Decoding"
|
||||
return "All Skip Decoding".localized
|
||||
case .localOnly:
|
||||
return "Local Only"
|
||||
return "Local Only".localized
|
||||
case .knownOnly:
|
||||
return "Known Only"
|
||||
return "Known Only".localized
|
||||
case .none:
|
||||
return "None"
|
||||
return "None".localized
|
||||
case .corePortnums:
|
||||
return "Core Portnums Only"
|
||||
return "Core Portnums Only".localized
|
||||
}
|
||||
}
|
||||
var description: String {
|
||||
|
|
|
|||
|
|
@ -46,21 +46,21 @@ enum Tapbacks: Int, CaseIterable, Identifiable {
|
|||
var description: String {
|
||||
switch self {
|
||||
case .wave:
|
||||
return "tapback.wave".localized
|
||||
return "Wave".localized
|
||||
case .heart:
|
||||
return "tapback.heart".localized
|
||||
return "Heart".localized
|
||||
case .thumbsUp:
|
||||
return "tapback.thumbsup".localized
|
||||
return "Thumbs Up".localized
|
||||
case .thumbsDown:
|
||||
return "tapback.thumbsdown".localized
|
||||
return "Thumbs Down".localized
|
||||
case .haHa:
|
||||
return "tapback.haha".localized
|
||||
return "HaHa".localized
|
||||
case .exclamation:
|
||||
return "tapback.exclamation".localized
|
||||
return "Exclamation".localized
|
||||
case .question:
|
||||
return "tapback.question".localized
|
||||
return "Question".localized
|
||||
case .poop:
|
||||
return "tapback.poop".localized
|
||||
return "Poop".localized
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ enum LoRaSignalStrength: Int {
|
|||
var description: String {
|
||||
switch self {
|
||||
case .none:
|
||||
return "lora.signal.strength.none".localized
|
||||
return "None".localized
|
||||
case .bad:
|
||||
return "lora.signal.strength.bad".localized
|
||||
case .fair:
|
||||
|
|
|
|||
|
|
@ -75,11 +75,11 @@ struct AppLog: View {
|
|||
}
|
||||
} else {
|
||||
Table(logs, selection: $selection, sortOrder: $sortOrder) {
|
||||
TableColumn("log.time") { value in
|
||||
TableColumn("Time") { value in
|
||||
Text(value.date.formatted(dateFormatStyle))
|
||||
}
|
||||
.width(min: 125, max: 150)
|
||||
TableColumn("log.level") { value in
|
||||
TableColumn("Level") { value in
|
||||
Text(value.level.description)
|
||||
.foregroundStyle(value.level.color)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ struct LogDetail: View {
|
|||
/// Time
|
||||
Label {
|
||||
HStack {
|
||||
Text("log.time".localized + ":")
|
||||
Text("Time".localized + ":")
|
||||
.font(idiom == .phone ? .caption : .title)
|
||||
.frame(width: idiom == .phone ? 115 : 190, alignment: .trailing)
|
||||
Text(log.date.formatted(dateFormatStyle))
|
||||
|
|
@ -56,7 +56,7 @@ struct LogDetail: View {
|
|||
/// Subsystem
|
||||
Label {
|
||||
HStack {
|
||||
Text("log.subsystem".localized + ":")
|
||||
Text("Subsystem".localized + ":")
|
||||
.font(idiom == .phone ? .caption : .title)
|
||||
.frame(width: idiom == .phone ? 115 : 190, alignment: .trailing)
|
||||
Text(log.subsystem)
|
||||
|
|
@ -73,7 +73,7 @@ struct LogDetail: View {
|
|||
/// Process
|
||||
Label {
|
||||
HStack {
|
||||
Text("log.process".localized + ":")
|
||||
Text("Process".localized + ":")
|
||||
.font(idiom == .phone ? .caption : .title)
|
||||
.frame(width: idiom == .phone ? 115 : 190, alignment: .trailing)
|
||||
Text(log.process)
|
||||
|
|
@ -90,7 +90,7 @@ struct LogDetail: View {
|
|||
/// Level
|
||||
Label {
|
||||
HStack {
|
||||
Text("log.level".localized + ":")
|
||||
Text("Level".localized + ":")
|
||||
.font(idiom == .phone ? .caption : .title)
|
||||
.frame(width: idiom == .phone ? 115 : 190, alignment: .trailing)
|
||||
Text(log.level.description)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue