Repository navigation
Update gen-l10n options table for removed synthetic package - #14174
Open
Evvvaaaaan wants to merge 1 commit into
Open
Evvvaaaaan wants to merge 1 commit into
Evvvaaaaan wants to merge 1 commit into
Conversation
The synthetic-package option can no longer be enabled, and setting it to false has no effect. Remove the outdated instruction from the output-dir row and describe the current behavior in the synthetic-package row.
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the internationalization documentation. It adds a missing period, removes a reference to the synthetic-package flag from the output-dir option description, and updates the synthetic-package option description to mark it as deprecated with a link to the breaking changes documentation. I have no feedback to provide.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of what this PR is changing or adding, and why:
The
gen-l10noptions table on the internationalization page still describessynthetic-packageas a flag that istrueby default, and theoutput-dirrow says you must set
synthetic-packageto false. Both are outdated:the synthetic
package:flutter_genwas removed, enabling the option nowfails with an error, and setting it to
falseonly prints a warning.This PR:
synthetic-packageflag to false."from the
output-dirrow.synthetic-packagerow to say the option is deprecated,what happens if it's set, and where files are generated,
with a link to the existing breaking-change page.
that i18n docs have out of date info on file generation #11853 quotes.
Regarding #11853: the issue reported that generated files land in
.dart_tool/flutter_gen/gen_l10n. That was the synthetic-package behavior.In current Flutter, the files are generated in
arb-dir(oroutput-dir),so the step 6 sentence is correct again. The remaining inconsistency
was this options table, which this PR fixes.
Issues fixed by this PR (if any): Fixes #11853
PRs or commits this PR depends on (if any): None
Presubmit checklist
of 80 characters or fewer.