Localize the routes, add some detents

This commit is contained in:
Garth Vander Houwen 2023-11-26 12:19:32 -08:00
parent cdaecdd3a8
commit 93d3cb33c8
5 changed files with 7 additions and 1 deletions

View file

@ -29,7 +29,7 @@ struct WaypointForm: View {
@State private var lockedTo: Int64 = 0
var body: some View {
VStack {
NavigationStack {
if editMode {
Text((waypoint.id > 0) ? "Editing Waypoint" : "Create Waypoint")
.font(.largeTitle)
@ -385,5 +385,7 @@ struct WaypointForm: View {
longitude = waypoint.coordinate.longitude
}
}
.presentationDetents([.fraction(0.75)])
.presentationDragIndicator(.visible)
}
}

View file

@ -225,6 +225,7 @@
"received.ack.real"="Recipient Ack";
"ringtone"="Ringtone";
"ringtone.config"="Ringtone Config";
"routes"="Routes";
"routing.acknowledged"="Bestätigt";
"routing.noroute"="Keine Route";
"routing.gotnak"="Negative Empfangsbestätigung empfangen";

View file

@ -228,6 +228,7 @@
"received.ack.real"="Recipient Ack";
"ringtone"="Ringtone";
"ringtone.config"="Ringtone Config";
"routes"="Routes";
"routing.acknowledged"="Acknowledged";
"routing.noroute"="No Route";
"routing.gotnak"="Received a negative acknowledgment";

View file

@ -226,6 +226,7 @@
"received.ack.real"="Odbiorca potwierdzenia";
"ringtone"="Dzwonek";
"ringtone.config"="Konfiguracja dzwonka";
"routes"="Routes";
"routing.acknowledged"="Potwierdzono";
"routing.noroute"="Brak trasy";
"routing.gotnak"="Otrzymano negatywne potwierdzenie";

View file

@ -225,6 +225,7 @@
"received.ack.real"="收件人确认";
"ringtone"="铃声";
"ringtone.config"="铃声设置";
"routes"="Routes";
"routing.acknowledged"="确认";
"routing.noroute"="找不到目标";
"routing.gotnak"="收到否认";