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"
|
||||
minSdk = flutter.minSdkVersion
|
||||
targetSdk = flutter.targetSdkVersion
|
||||
versionCode = 2
|
||||
versionName = "1.0.2"
|
||||
versionCode = 3
|
||||
versionName = "1.0.3"
|
||||
}
|
||||
|
||||
signingConfigs {
|
||||
|
@ -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