Auto-generated translation credits TMs aren't contributions.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Jeroen T. Vermeulen |
Bug Description
Bug 128324 has been fixed by creating special TranslationMessages for translation credits messages.
The creation of these messages is attributed to the POFile's last translator if set; otherwise to its owner, which more or less defaults to (but isn't always) rosetta_experts. A POFileTranslator record is created for the contribution. This causes some wtfs:
1. rosetta_experts is listed in translation credits messages.
2. Spurious contributions might be logged for POFiles you caused to be created but never worked on.
Also, POFile.owner is practically unused otherwise and the semantics for setting it are not terribly meaningful. Changes there (e.g. the fix for bug 443129) affect the translation-credits tests unnecessarily.
It makes more sense to attribute these special messages to rosetta_expert consistently, and to exclude rosetta_experts from contributor lists.
Note that this is not urgent enough to warrant a data conversion—or interrupting the ongoing fixup of existing translation-credits messages.
Related branches
- Michael Nelson (community): Approve (code)
-
Diff: 325 lines (+105/-61)7 files modifiedlib/lp/translations/browser/person.py (+2/-0)
lib/lp/translations/doc/pofile.txt (+39/-12)
lib/lp/translations/model/pofile.py (+9/-2)
lib/lp/translations/model/potmsgset.py (+14/-11)
lib/lp/translations/stories/standalone/xx-translations-to-complete.txt (+25/-0)
lib/lp/translations/tests/test_pofile.py (+1/-0)
lib/lp/translations/tests/test_potmsgset.py (+15/-36)
description: | updated |
Changed in rosetta: | |
status: | In Progress → Fix Committed |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in rosetta: | |
status: | Fix Committed → Fix Released |
This bug was mentioned in stable r9956 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 9956>