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 Anzahlen extends StatefulWidget {
|
||||
final TextEditingController losungAnz;
|
||||
@@ -43,8 +44,7 @@ class AnzahlenState extends State<Anzahlen> {
|
||||
child: Align(
|
||||
alignment: Alignment.bottomLeft,
|
||||
child: Text(
|
||||
"Anzahl Losungen",
|
||||
)),
|
||||
AppLocalizations.of(context)!.anzahlLosungen)),
|
||||
),
|
||||
const SizedBox(
|
||||
width: 20,
|
||||
@@ -61,8 +61,7 @@ class AnzahlenState extends State<Anzahlen> {
|
||||
child: Align(
|
||||
alignment: Alignment.bottomLeft,
|
||||
child: Text(
|
||||
"davon eingesammelt",
|
||||
)),
|
||||
AppLocalizations.of(context)!.davonEingesammelt)),
|
||||
),
|
||||
const SizedBox(
|
||||
width: 20,
|
||||
@@ -84,8 +83,7 @@ class AnzahlenState extends State<Anzahlen> {
|
||||
child: Align(
|
||||
alignment: Alignment.bottomLeft,
|
||||
child: Text(
|
||||
"davon Genetikproben",
|
||||
),
|
||||
AppLocalizations.of(context)!.davonGenetikproben),
|
||||
),
|
||||
),
|
||||
const SizedBox(
|
||||
@@ -106,9 +104,8 @@ class AnzahlenState extends State<Anzahlen> {
|
||||
flex: 2,
|
||||
child: Align(
|
||||
alignment: Alignment.bottomLeft,
|
||||
child: Text(
|
||||
"Anzahl Urin-/Makierstellen",
|
||||
)),
|
||||
child: Text(AppLocalizations.of(context)!
|
||||
.anzahlUrinMakierstellen)),
|
||||
),
|
||||
const SizedBox(
|
||||
width: 20,
|
||||
@@ -124,9 +121,8 @@ class AnzahlenState extends State<Anzahlen> {
|
||||
flex: 2,
|
||||
child: Align(
|
||||
alignment: Alignment.bottomLeft,
|
||||
child: Text(
|
||||
"davon Genetikproben",
|
||||
)),
|
||||
child: Text(AppLocalizations.of(context)!
|
||||
.davonGenetikproben)),
|
||||
),
|
||||
const SizedBox(
|
||||
width: 20,
|
||||
@@ -150,8 +146,7 @@ class AnzahlenState extends State<Anzahlen> {
|
||||
child: Align(
|
||||
alignment: Alignment.bottomLeft,
|
||||
child: Text(
|
||||
"Anzahl Oestrusblut",
|
||||
)),
|
||||
AppLocalizations.of(context)!.anzahlOestrusblut)),
|
||||
),
|
||||
const SizedBox(
|
||||
width: 20,
|
||||
@@ -167,9 +162,8 @@ class AnzahlenState extends State<Anzahlen> {
|
||||
flex: 2,
|
||||
child: Align(
|
||||
alignment: Alignment.bottomLeft,
|
||||
child: Text(
|
||||
"davon Genetikproben",
|
||||
)),
|
||||
child: Text(AppLocalizations.of(context)!
|
||||
.davonGenetikproben)),
|
||||
),
|
||||
const SizedBox(
|
||||
width: 20,
|
||||
@@ -193,8 +187,7 @@ class AnzahlenState extends State<Anzahlen> {
|
||||
child: Align(
|
||||
alignment: Alignment.bottomLeft,
|
||||
child: Text(
|
||||
"Anzahl Haarproben",
|
||||
)),
|
||||
AppLocalizations.of(context)!.anzahlHaarproben)),
|
||||
),
|
||||
const SizedBox(
|
||||
width: 20,
|
||||
@@ -210,9 +203,8 @@ class AnzahlenState extends State<Anzahlen> {
|
||||
flex: 2,
|
||||
child: Align(
|
||||
alignment: Alignment.bottomLeft,
|
||||
child: Text(
|
||||
"davon Genetikproben",
|
||||
)),
|
||||
child: Text(AppLocalizations.of(context)!
|
||||
.davonGenetikproben)),
|
||||
),
|
||||
const SizedBox(
|
||||
width: 20,
|
||||
|
||||
Reference in New Issue
Block a user