Closed Bug 1542690 Opened 6 years ago Closed 6 years ago

Fix handling of empty locales list in project config

Categories

(Localization Infrastructure and Tools :: compare-locales, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

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.

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.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Blocks: 1544048
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: