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:
@@ -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'));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user