Merge branch 'master' into german-trans

This commit is contained in:
Calcitem 2021-05-23 07:45:53 -05:00 committed by GitHub
commit a74f89fc7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{
"@@locale": "en",
"@@locale": "de",
"appName": "Mühle",
"@appName": {
"description": "The App name"

View File

@ -134,7 +134,11 @@ class _SanmillAppState extends State<SanmillApp> {
supportedLocales: [
const Locale('en', ''), // English, no country code
const Locale.fromSubtags(
languageCode: 'zh'), // Chinese *See Advanced Locales below*
languageCode: 'de',
), // Deutsch *See Advanced Locales below*
const Locale.fromSubtags(
languageCode: 'zh',
), // Chinese *See Advanced Locales below*
// ... other locales the app supports
],
theme: ThemeData(primarySwatch: AppTheme.appPrimaryColor),