Fix locales
Reordering locales will make English default now. Additionally, one translation bug was fixed.
This commit is contained in:
parent
e8c70f57cd
commit
e8adeafff9
@ -2,7 +2,7 @@
|
||||
"ok": "OK",
|
||||
"name": "Name",
|
||||
"amount": "Menge",
|
||||
"amountPer": "Amount in 100 g/ml",
|
||||
"amountPer": "Menge in 100 g/ml",
|
||||
"kcalper": "kcal pro 100 g/ml",
|
||||
"kcalToday": "kcal heute",
|
||||
"menu": "Menü",
|
||||
|
@ -77,7 +77,6 @@ class MainApp extends StatelessWidget {
|
||||
}
|
||||
|
||||
return MaterialApp.router(
|
||||
//locale: Locale('de'),
|
||||
routerConfig: GoRouter(
|
||||
routes: [
|
||||
GoRoute(
|
||||
@ -91,7 +90,10 @@ class MainApp extends StatelessWidget {
|
||||
],
|
||||
),
|
||||
localizationsDelegates: AppLocalizations.localizationsDelegates,
|
||||
supportedLocales: AppLocalizations.supportedLocales,
|
||||
supportedLocales: [
|
||||
Locale('en'),
|
||||
Locale('de'),
|
||||
],
|
||||
theme: ThemeData(
|
||||
dividerTheme: const DividerThemeData(space: 2),
|
||||
colorScheme: ColorScheme.fromSeed(
|
||||
|
Loading…
Reference in New Issue
Block a user