1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00

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

This commit is contained in:
Shi-Hao Hong
2019-12-30 11:29:43 -08:00
committed by GitHub
parent 6a702fed81
commit 3a73e8a219

View File

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