Remaining use of TranslationMessage.pofile
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Henning Eggers |
Bug Description
With message sharing, TranslationMess
As an experiment I set a bunch of TranslationMess
I caught a few in CurrentTranslat
OOPS-1634S155, OOPS-1634S93
OOPS-1634S156, OOPS-1634S94
The line that breaks is:
current_
The pofile itself isn't needed for that check AFAICS, but the project[group] or distribution owning it is. The view will have to gain some knowledge of the context it's viewing from, since that is no longer obvious from just the TranslationMessage.
Related branches
- Jeroen T. Vermeulen (community): Approve (code)
-
Diff: 1384 lines (+279/-572)18 files modifiedlib/lp/translations/browser/tests/translationmessage-views.txt (+6/-34)
lib/lp/translations/browser/translationmessage.py (+69/-42)
lib/lp/translations/doc/gettext-check-messages.txt (+9/-44)
lib/lp/translations/doc/pofile.txt (+1/-1)
lib/lp/translations/doc/potmsgset.txt (+5/-3)
lib/lp/translations/doc/remove-upstream-translations-script.txt (+0/-142)
lib/lp/translations/interfaces/pofile.py (+7/-0)
lib/lp/translations/interfaces/translationmessage.py (+6/-0)
lib/lp/translations/model/pofile.py (+37/-15)
lib/lp/translations/model/potmsgset.py (+0/-1)
lib/lp/translations/model/translationmessage.py (+11/-1)
lib/lp/translations/scripts/gettext_check_messages.py (+4/-29)
lib/lp/translations/templates/currenttranslationmessage-translate-one.pt (+12/-12)
lib/lp/translations/templates/translationmessage-translate.pt (+1/-1)
lib/lp/translations/tests/pofiletranslator.txt (+1/-12)
lib/lp/translations/tests/test_doc.py (+2/-6)
lib/lp/translations/tests/test_pofile.py (+108/-2)
scripts/rosetta/remove-upstream-translations.py (+0/-227)
tags: | added: message-sharing |
Changed in rosetta: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in rosetta: | |
assignee: | nobody → Henning Eggers (henninge) |
milestone: | none → 10.09 |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in rosetta: | |
status: | Fix Committed → Fix Released |
I just added an XXX to POFileTranslati onActions. test_diverge_ and_force_ suggestion_ mutual_ exclusion in lp.translations .windmill. tests.test_ pofile_ translate that depends on this bug being fixed.