Add gen_l10n sorting tests (#46247)
* Add tests for sorting arbPathString, supportedLocales and supportedLanguageCodes alphabetically * Plural arbPathStrings * Factor out singleZhMessageArbFileString * Make translations more accurate and generic
This commit is contained in:
@@ -92,7 +92,7 @@ Future<void> main(List<String> arguments) async {
|
||||
'--output-dir=${localizationsGenerator.l10nDirectory.path}',
|
||||
'--no-use-deferred-loading',
|
||||
localizationsGenerator.outputFile.path,
|
||||
...localizationsGenerator.arbFilenames,
|
||||
...localizationsGenerator.arbPathStrings,
|
||||
]);
|
||||
if (generateFromArbResult.exitCode != 0) {
|
||||
stderr.write(generateFromArbResult.stderr);
|
||||
|
||||
Reference in New Issue
Block a user