forked from flutter/flutter
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename and define
FlutterManifest.generateLocalizations
. (flutter#1…
…60401) Part of flutter#102983. `<FlutterManifest>.generateSyntheticPackage` _never_ meant generate a synthetic package 😒, it only meant "we _might_ need to generate a synthetic package because localizations are being generated and the default, unless otherwise specified, is to generate a synthetic package". Renamed as `generateLocalizations` and added some strategic TODOs in places where removing the `package:flutter_gen` feature (flutter#102983) will allow us to cleanup this erroneous code and technical debt. Simplified a bit code (just a refactor) in the process, and fixes a bug that `flutter packages get` would generate internationalization files even if `flutter: generate: true` was not present in `pubspec.yaml` that was revealed as part of fixing this up. /cc @sigurdm.
- Loading branch information
1 parent
eb926ea
commit 27ef196
Showing
8 changed files
with
85 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters