Closed Bug 1216625 Opened 10 years ago Closed 6 years ago

change .po compile scripts to use --check-header

Categories

(support.mozilla.org :: Code Quality, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: willkg, Unassigned)

Details

+++ This bug was initially created as a clone of Bug #1216624 +++ Sometimes something happens to the Plurals: header in the .po file. If this isn't valid, then all kinds of bad things happen. This has happened to SUMO. After it happened, I decided I'd add some Plurals linting to Dennis. I never did that work, but I still think about it from time to time usually after seeing a shooting star. However, we don't need to do that. msgfmt has a --check-header flag which does this (and more) and errors out if the Plurals is malformed. Given that, we should update our compile scripts and add the --check-header flag.
Component: General → Code Quality
I did this for Input in: https://github.com/mozilla/fjord/pull/696 Might be able to lift that depending on what the localization pipeline looks like these days.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.