Fix handling of empty locales list in project config
Categories
(Localization Infrastructure and Tools :: compare-locales, defect)
Tracking
(Not tracked)
People
(Reporter: Pike, Assigned: Pike)
References
Details
Attachments
(1 file)
Right now,
locales = []
in a child config sets the locales to that of the parent.
Together with this fix, I'll roll in a fix to not require that child configs specify a super-set of locales of the parent config.
That way, we'll allow for the locales list of the parent to be the default locales for all children, but not the full list.
Assignee | ||
Comment 1•6 years ago
|
||
Previously, locale handling in children and paths in project
config was exclusively filtering.
Now support child configs and paths to explicitly add locales,
and make the top-level l10n.toml just specify the default
for the project and paths.
There's quite a bit of fall-out, and also, the cross-project
multi-locale commandline was just broken. If you ran over
desktop and fennec on a fennec-only locale, it would report
tons of desktop stuff.
Assignee | ||
Comment 2•6 years ago
|
||
https://hg.mozilla.org/l10n/compare-locales/rev/10f1e0eeb86b4d970029298f496d24ea71fa565b fixed this.
Description
•