Modify gallery grinder script to use preferred-ordered-locales (#203)

pull/204/head
Shi-Hao Hong 6 years ago committed by GitHub
parent 6a702fed81
commit 3a73e8a219
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -37,6 +37,7 @@ Future<void> generateLocalizations() async {
'--template-arb-file=intl_en_US.arb', '--template-arb-file=intl_en_US.arb',
'--output-localization-file=gallery_localizations.dart', '--output-localization-file=gallery_localizations.dart',
'--output-class=GalleryLocalizations', '--output-class=GalleryLocalizations',
'--preferred-supported-locales=["en_US"]'
]); ]);
await format(path: path.join('lib', 'l10n')); await format(path: path.join('lib', 'l10n'));
} }

Loading…
Cancel
Save