Move localization executables to bin folder (#46251)
This commit is contained in:
@@ -165,7 +165,7 @@ app called `gen_localizations`.
|
||||
You can see what that script would generate by running this command:
|
||||
|
||||
```dart
|
||||
dart dev/tools/localizations/gen_localizations.dart packages/flutter_localizations/lib/src/l10n material
|
||||
dart dev/tools/localizations/bin/gen_localizations.dart packages/flutter_localizations/lib/src/l10n material
|
||||
```
|
||||
|
||||
The gen_localizations app just combines the contents of all of the
|
||||
@@ -182,7 +182,7 @@ To in-place update the generated localizations file using the default
|
||||
values, you can just run:
|
||||
|
||||
```dart
|
||||
dart dev/tools/localizations/gen_localizations.dart --overwrite
|
||||
dart dev/tools/localizations/bin/gen_localizations.dart --overwrite
|
||||
```
|
||||
|
||||
|
||||
@@ -195,8 +195,9 @@ more information here: https://github.com/flutter/flutter/issues/36704.
|
||||
Rather than risking developers' editor sessions, the strings in these arb files
|
||||
(and the code generated for them) have been encoded using the appropriate
|
||||
escapes for JSON and Dart. The JSON format arb files were rewritten with
|
||||
dev/tools/localization/encode_kn_arb_files.dart. The localizations code
|
||||
generator uses generateEncodedString() from dev/tools/localization/localizations_utils.
|
||||
dev/tools/localization/bin/encode_kn_arb_files.dart. The localizations code
|
||||
generator uses generateEncodedString()
|
||||
from dev/tools/localization/localizations_utils.dart.
|
||||
|
||||
|
||||
### Translations Status, Reporting Errors
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
// This file has been automatically generated. Please do not edit it manually.
|
||||
// To regenerate the file, use:
|
||||
// dart dev/tools/localization/gen_localizations.dart --overwrite
|
||||
// dart dev/tools/localization/bin/gen_localizations.dart --overwrite
|
||||
|
||||
import 'dart:collection';
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
// This file has been automatically generated. Please do not edit it manually.
|
||||
// To regenerate run (omit --overwrite to print to console instead of the file):
|
||||
// dart --enable-asserts dev/tools/localization/gen_date_localizations.dart --overwrite
|
||||
// dart --enable-asserts dev/tools/localization/bin/gen_date_localizations.dart --overwrite
|
||||
|
||||
/// The subset of date symbols supported by the intl package which are also
|
||||
/// supported by flutter_localizations.
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
// This file has been automatically generated. Please do not edit it manually.
|
||||
// To regenerate the file, use:
|
||||
// dart dev/tools/localization/gen_localizations.dart --overwrite
|
||||
// dart dev/tools/localization/bin/gen_localizations.dart --overwrite
|
||||
|
||||
import 'dart:collection';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user