made everything use localizations
fixed one last localization
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
|
||||
|
||||
class SpurGefunden extends StatefulWidget {
|
||||
final TextEditingController spurFund;
|
||||
@@ -35,7 +36,7 @@ class _SpurGefundenState extends State<SpurGefunden> {
|
||||
children: [
|
||||
Row(
|
||||
children: [
|
||||
const Text("Spur gefunden"),
|
||||
Text(AppLocalizations.of(context)!.spurGefunden),
|
||||
Checkbox(
|
||||
value: _spurFundChecked,
|
||||
onChanged: (val) {
|
||||
@@ -53,7 +54,7 @@ class _SpurGefundenState extends State<SpurGefunden> {
|
||||
children: [
|
||||
Align(
|
||||
alignment: Alignment.bottomLeft,
|
||||
child: Text("Gesamtlaenge aller dok. Spuren (m)")),
|
||||
child: Text(AppLocalizations.of(context)!.gesLaengeAllerDokSpuren)),
|
||||
TextField(
|
||||
keyboardType: TextInputType.number,
|
||||
controller: widget.spurLang,
|
||||
@@ -63,14 +64,14 @@ class _SpurGefundenState extends State<SpurGefunden> {
|
||||
),
|
||||
Align(
|
||||
alignment: Alignment.bottomLeft,
|
||||
child: Text("max. Anzahl zus. gefaerhrterter Tiere")),
|
||||
child: Text(AppLocalizations.of(context)!.maxAnzahlZusGefaehrdeterTiere)),
|
||||
TextField(
|
||||
keyboardType: TextInputType.number,
|
||||
controller: widget.spurTiere,
|
||||
),
|
||||
Row(
|
||||
children: [
|
||||
const Text("Sicher"),
|
||||
Text(AppLocalizations.of(context)!.sicher),
|
||||
Checkbox(
|
||||
value: _spSicher,
|
||||
onChanged: (val) {
|
||||
@@ -86,7 +87,7 @@ class _SpurGefundenState extends State<SpurGefunden> {
|
||||
),
|
||||
Row(
|
||||
children: [
|
||||
Text("Welpenspur gefunden"),
|
||||
Text(AppLocalizations.of(context)!.welpenSpurGefunden),
|
||||
Checkbox(
|
||||
value: _welpenSp,
|
||||
onChanged: (val) {
|
||||
@@ -103,7 +104,7 @@ class _SpurGefundenState extends State<SpurGefunden> {
|
||||
children: [
|
||||
Align(
|
||||
alignment: Alignment.bottomLeft,
|
||||
child: Text("Gesamtlaenge aller dok. Spuren (m)")),
|
||||
child: Text(AppLocalizations.of(context)!.gesLaengeAllerDokSpuren)),
|
||||
TextField(
|
||||
keyboardType: TextInputType.number,
|
||||
controller: widget.welpenSp,
|
||||
@@ -111,14 +112,14 @@ class _SpurGefundenState extends State<SpurGefunden> {
|
||||
const SizedBox(height: 20,),
|
||||
Align(
|
||||
alignment: Alignment.bottomLeft,
|
||||
child: Text("max. Anzahl zus. gefaerhrterter Welpen")),
|
||||
child: Text(AppLocalizations.of(context)!.maxAnzahlZusGefaehrdeterTiere)),
|
||||
TextField(
|
||||
keyboardType: TextInputType.number,
|
||||
controller: widget.welpenAnz,
|
||||
),
|
||||
Row(
|
||||
children: [
|
||||
const Text("Sicher"),
|
||||
Text(AppLocalizations.of(context)!.sicher),
|
||||
Checkbox(
|
||||
value: _wpSicher,
|
||||
onChanged: (val) {
|
||||
|
||||
Reference in New Issue
Block a user