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