From 9f23ea3feac2bc00d9598ed2709c88ca5b4ee3a9 Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Thu, 29 Dec 2022 16:36:43 -0800 Subject: [PATCH] Additionally localized strings --- Meshtastic/Views/Bluetooth/InvalidVersion.swift | 2 +- Meshtastic/Views/Settings/Channels.swift | 2 +- Meshtastic/Views/Settings/ShareChannels.swift | 10 +++++----- de.lproj/Localizable.strings | 4 ++++ en.lproj/Localizable.strings | 4 ++++ 5 files changed, 15 insertions(+), 7 deletions(-) diff --git a/Meshtastic/Views/Bluetooth/InvalidVersion.swift b/Meshtastic/Views/Bluetooth/InvalidVersion.swift index d4539b54..989723aa 100644 --- a/Meshtastic/Views/Bluetooth/InvalidVersion.swift +++ b/Meshtastic/Views/Bluetooth/InvalidVersion.swift @@ -51,7 +51,7 @@ struct InvalidVersion: View { Button { dismiss() } label: { - Label("Close", systemImage: "xmark") + Label("close", systemImage: "xmark") } .buttonStyle(.bordered) diff --git a/Meshtastic/Views/Settings/Channels.swift b/Meshtastic/Views/Settings/Channels.swift index 427b1dd3..2f70dfcd 100644 --- a/Meshtastic/Views/Settings/Channels.swift +++ b/Meshtastic/Views/Settings/Channels.swift @@ -263,7 +263,7 @@ struct Channels: View { Button { isPresentingEditView = false } label: { - Label("Close", systemImage: "xmark") + Label("close", systemImage: "xmark") } .buttonStyle(.bordered) .buttonBorderShape(.capsule) diff --git a/Meshtastic/Views/Settings/ShareChannels.swift b/Meshtastic/Views/Settings/ShareChannels.swift index 5810b5cf..663926a3 100644 --- a/Meshtastic/Views/Settings/ShareChannels.swift +++ b/Meshtastic/Views/Settings/ShareChannels.swift @@ -56,15 +56,15 @@ struct ShareChannels: View { Grid() { GridRow { Spacer() - Text("Include") + Text("include") .font(.caption) .fontWeight(.bold) .padding(.trailing) - Text("Channel") + Text("channel") .font(.caption) .fontWeight(.bold) .padding(.trailing) - Text("Encrypted") + Text("encrypted") .font(.caption) .fontWeight(.bold) } @@ -246,7 +246,7 @@ struct ShareChannels: View { Button { isPresentingHelp = false } label: { - Label("Close", systemImage: "xmark") + Label("close", systemImage: "xmark") } .buttonStyle(.bordered) .buttonBorderShape(.capsule) @@ -254,7 +254,7 @@ struct ShareChannels: View { .padding() #endif } - .navigationTitle("Generate QR Code") + .navigationTitle("generate.qr.code") .navigationBarTitleDisplayMode(.inline) .navigationBarItems(trailing: ZStack { diff --git a/de.lproj/Localizable.strings b/de.lproj/Localizable.strings index bc42706c..17586228 100644 --- a/de.lproj/Localizable.strings +++ b/de.lproj/Localizable.strings @@ -35,6 +35,7 @@ "channel.role.secondary"="Sekundär"; "channels"="Kanäle"; "clear.app.data"="App Daten löschen"; +"close"="Close"; "connected.radio"="Verbundenes Gerät"; "communicating"="Verbinde mit Gerät..."; "connected"="Derzeit verbunden"; @@ -58,9 +59,11 @@ "echo"="Echo"; "email.address"="Email Adresse"; "enabled"="Aktiviert"; +"encrypted"="Encrypted"; "external.notification"="Externe Benachrichtigung"; "external.notification.config"="Einstellungen der externen Benachrichtigung"; "firmware.version"="Firmware Version"; +"generate.qr.code"="Generate QR Code"; "gpsformat.dec"="Dezimalgrad Format"; "gpsformat.dms"="Grad Minuten Sekunden"; "gpsformat.utm"="Universal Transversal Mercator"; @@ -70,6 +73,7 @@ "heard"="Gehört"; "heard.last"="Zuletzt gehört"; "hybrid"="Hybrid"; +"include"="Include"; "inputevent.none"="Keins"; "inputevent.up"="Hoch"; "inputevent.down"="Runter"; diff --git a/en.lproj/Localizable.strings b/en.lproj/Localizable.strings index 0f9c881e..8ce5133e 100644 --- a/en.lproj/Localizable.strings +++ b/en.lproj/Localizable.strings @@ -35,6 +35,7 @@ "channel.role.secondary"="Secondary"; "channels"="Channels"; "clear.app.data"="Clear App Data"; +"close"="Close"; "connected.radio"="Connected Radio"; "communicating"="Communicating with device. ."; "connected"="Currently Connected"; @@ -58,9 +59,11 @@ "echo"="Echo"; "email.address"="Email Address"; "enabled"="Enabled"; +"encrypted"="Encrypted"; "external.notification"="External Notification"; "external.notification.config"="External Notification Config"; "firmware.version"="Firmware Version"; +"generate.qr.code"="Generate QR Code"; "gpsformat.dec"="Decimal Degrees Format"; "gpsformat.dms"="Degrees Minutes Seconds"; "gpsformat.utm"="Universal Transverse Mercator"; @@ -70,6 +73,7 @@ "heard"="Heard"; "heard.last"="Last Heard"; "hybrid"="Hybrid"; +"include"="Include"; "inputevent.none"="None"; "inputevent.up"="Up"; "inputevent.down"="Down";