renamed steps

This commit is contained in:
Nico
2024-03-24 15:46:11 +01:00
parent a902541591
commit 4eca4557fd
7 changed files with 45 additions and 38 deletions

View File

@@ -1,14 +1,11 @@
todo: todo:
maybe auch vorschläge aus templates in dropdown menüs anzeigen maybe auch vorschläge aus templates in dropdown menüs anzeigen
im englischen abändern im englischen abändern
gespeicherten ordner anzeigen
zurückfeld in datenansicht zurückfeld in datenansicht
überschriften für view cams überschriften für view cams
dropdown menü fixen dropdown menü fixen (ai fragen)
fehler beim speichern anzeigen fehler beim speichern anzeigen
nach koordinaten lkr auswählen (esri-leaflet-geocoder) nach koordinaten lkr auswählen (esri-leaflet-geocoder)
dropdown button in add_cam_main fixen
schritte latlang umbenennen
fix ktage und nebeneinander positioniere fix ktage und nebeneinander positioniere
textdateien auch an server senden textdateien auch an server senden
ausvon und ausbis fixen (falsches datum übergeben (20000-01-01)) ausvon und ausbis fixen (falsches datum übergeben (20000-01-01))
@@ -19,6 +16,8 @@ eintrg in db wenn http response (in sent column)
not to do: not to do:
schritte latlang umbenennen
gespeicherten ordner anzeigen
Überall absätze machen und textfeld größer wenn langer text Überall absätze machen und textfeld größer wenn langer text
beim nächsten schritt als template beim nächsten schritt als template
add primary ke add primary ke

View File

@@ -405,8 +405,9 @@ class _AddCamMainState extends State<AddCamMain> {
Widget build(BuildContext context) { Widget build(BuildContext context) {
// List with the steps. The steps itself will be "shown" later // List with the steps. The steps itself will be "shown" later
List<Step> getSteps() => [ List<Step> getSteps() => [
// First step
Step( Step(
title: Text(AppLocalizations.of(context)!.firstStep), title: Text(AppLocalizations.of(context)!.firststep),
content: Column( content: Column(
children: [ children: [
Align( Align(
@@ -509,9 +510,9 @@ class _AddCamMainState extends State<AddCamMain> {
], ],
)), )),
// Second step (location) // Second step
Step( Step(
title: Text(AppLocalizations.of(context)!.locations), title: Text(AppLocalizations.of(context)!.secondstep),
content: Column( content: Column(
children: [ children: [
Align( Align(
@@ -595,9 +596,9 @@ class _AddCamMainState extends State<AddCamMain> {
), ),
], ],
)), )),
// Date Step // Third step
Step( Step(
title: Text(AppLocalizations.of(context)!.date), title: Text(AppLocalizations.of(context)!.thirdstep),
content: Column( content: Column(
children: [ children: [
Datum( Datum(
@@ -656,8 +657,9 @@ class _AddCamMainState extends State<AddCamMain> {
), ),
], ],
)), )),
// Fourth step
Step( Step(
title: Text(AppLocalizations.of(context)!.kontakt), title: Text(AppLocalizations.of(context)!.fourthstep),
content: Column( content: Column(
children: [ children: [
const SizedBox( const SizedBox(

View File

@@ -1,7 +1,6 @@
// ignore_for_file: non_constant_identifier_names // ignore_for_file: non_constant_identifier_names
import 'package:fforte/db_helper.dart'; import 'package:fforte/db_helper.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart'; import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:flutter_map/flutter_map.dart'; import 'package:flutter_map/flutter_map.dart';
import 'package:geolocator/geolocator.dart'; import 'package:geolocator/geolocator.dart';
@@ -234,7 +233,7 @@ class Karte extends StatefulWidget {
} }
class KarteState extends State<Karte> { class KarteState extends State<Karte> {
List<Marker> markers = [Marker(point: LatLng(0, 0), child: Icon(Icons.location_on))]; List<Marker> markers = [const Marker(point: LatLng(0, 0), child: Icon(Icons.location_on))];
LatLng? selectedPosition; LatLng? selectedPosition;
Position? updatedPosition; Position? updatedPosition;
bool saveVisible = false; bool saveVisible = false;

View File

@@ -6,12 +6,12 @@
"deleteEverything": "Alles löschen?", "deleteEverything": "Alles löschen?",
"deleteEverythingContent": "Alle Standorte werden lokal gelöscht!", "deleteEverythingContent": "Alle Standorte werden lokal gelöscht!",
"camLink": "ID der Kamera", "camLink": "ID der Kamera",
"secondStep": "DATUM, KONTAKT, ORT", "firststep": "ORT, KAMERA, TERRETORIUM",
"date": "DATUM, AUFBAU, KONTROLLE", "secondstep": "ORT, UMGEBUNG",
"kontakt": "KONTAKT, ANSPRECHPARTNER", "thirdstep": "DATUM, AUFBAU, KONTROLLE",
"fourthstep": "KONTAKT, ANSPRECHPARTNER",
"status": "Status", "status": "Status",
"viewplacesappbar": "Standorte ansehen", "viewplacesappbar": "Standorte ansehen",
"locations": "ORT, UMGEBUNG",
"rudel": "Territorium", "rudel": "Territorium",
"adresse1": "Adresse 1", "adresse1": "Adresse 1",
"adresse2": "Adresse 2", "adresse2": "Adresse 2",
@@ -82,5 +82,7 @@
"apiaddress": "Api-Adresse", "apiaddress": "Api-Adresse",
"benutzername": "Benutzername", "benutzername": "Benutzername",
"filelocation": "Ort der zuletzt gespeicherten Datei:", "filelocation": "Ort der zuletzt gespeicherten Datei:",
"open": "öffnen" "open": "öffnen",
"date": "Datum",
"location": "Standort"
} }

View File

@@ -27,15 +27,26 @@
"@camLink": { "@camLink": {
"description": "Camera link textfield" "description": "Camera link textfield"
}, },
"firstStep": "PLACE, CAMERA, TERRITORY",
"firststep": "PLACE, CAMERA, TERRITORY",
"@firstStep": { "@firstStep": {
"description": "title first step" "description": "title first step"
}, },
"secondstep": "Place, neighbouhood",
"@secondstep": {
"description": "second step header"
},
"date": "Installation and control date ", "thirdstep": "Installation and control date ",
"@date": { "@thirdstep": {
"description": "date step" "description": "date step"
}, },
"fourthstep": "Contact",
"@fourthstep": {
"description": "contact header"
},
"settings": "Settings", "settings": "Settings",
"@settings": { "@settings": {
@@ -47,18 +58,10 @@
"description": "Change name and state header" "description": "Change name and state header"
}, },
"secondStep": "Date, Contact",
"@secondStep": {
"description": "title second step"
},
"viewplacesappbar": "View Places", "viewplacesappbar": "View Places",
"@viewplacesappbar": { "@viewplacesappbar": {
"description": "view places appbar" "description": "view places appbar"
}, },
"locations": "Place, neighbouhood",
"@locations": {
"description": "Location textfield"
},
"rudel": "Pack", "rudel": "Pack",
"@rudel": { "@rudel": {
"description": "Rudel textfield" "description": "Rudel textfield"
@@ -202,10 +205,6 @@
"description": "summertime header" "description": "summertime header"
}, },
"kontakt": "Contact",
"@kontakt": {
"description": "contact header"
},
"auftrag": "Order", "auftrag": "Order",
"@auftrag": { "@auftrag": {
@@ -398,6 +397,16 @@
"open": "Open", "open": "Open",
"@open": { "@open": {
"description": "open button" "description": "open button"
},
"date": "Date",
"@date": {
"description": "date text"
},
"location": "Location",
"@location": {
"description": "Location text"
} }
} }

View File

@@ -199,7 +199,7 @@ class _ViewCamsState extends State<ViewCams> {
Text( Text(
'${AppLocalizations.of(context)!.betreuung}: ${place['Betreuung']}'), '${AppLocalizations.of(context)!.betreuung}: ${place['Betreuung']}'),
Text( Text(
'${AppLocalizations.of(context)!.locations}: ${place['Standort']}'), '${AppLocalizations.of(context)!.location}: ${place['Standort']}'),
Text( Text(
'${AppLocalizations.of(context)!.adresse3}: ${place['Adresse3']}'), '${AppLocalizations.of(context)!.adresse3}: ${place['Adresse3']}'),
Text( Text(

View File

@@ -1,5 +1 @@
{ {}
"de": [
"firstStep"
]
}