Merge lp:~jtv/launchpad/henninge_validate_translation-cleanup into lp:~launchpad/launchpad/recife
Status: | Rejected |
---|---|
Rejected by: | Henning Eggers |
Proposed branch: | lp:~jtv/launchpad/henninge_validate_translation-cleanup |
Merge into: | lp:~launchpad/launchpad/recife |
Diff against target: |
220 lines (+47/-47) 4 files modified
lib/lp/translations/model/potmsgset.py (+3/-20) lib/lp/translations/scripts/gettext_check_messages.py (+6/-5) lib/lp/translations/utilities/tests/test_validate.py (+25/-10) lib/lp/translations/utilities/validate.py (+13/-12) |
To merge this branch: | bzr merge lp:~jtv/launchpad/henninge_validate_translation-cleanup |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Graham Binns (community) | code | Approve | |
Review via email: mp+36683@code.launchpad.net |
Commit message
Henning's validate_
Description of the change
= Henning's validate_
For the Recife feature branch. I extracted this from Henning's ongoing feature work in his absence, since it'll take a lot of diff out of his main branch.
What it does is make the validate_
En passant this also eliminates another helper. Unlike msgstrs, msgids have a fixed set of plural forms: "normal" messages have only a singular and an optional plural. There's no need to generalize that into a list.
To test this, best run all the Translations tests:
{{{
./bin/test -vvc lp.translations
}}}
No lint.
Jeroen
it seems plausible to me but i've never looked at this before