Fix failure in setTranslationCreditsToTranslated when pofile.owner has not agreed to licensing terms. Also use pofile.lasttranslator if it's defined, prior to using pofile.owner.
The only code change in model/potmsgset.py is in setTranslationCreditsToTranslated to pass pofile.lasttranslator if it's defined and to pass force_edition_rights=True to updateTranslation call.
This is a CP candidate.
= Tests =
bin/test -vvt setTranslationCreditsToTranslated
= Demo & QA =
Run scripts/rosetta/fix_translation_credits.py over entire DB (that's how we detected the problem in the first place).
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
= Bug 479385 =
Fix failure in setTranslationC reditsToTransla ted when pofile.owner has not agreed to licensing terms. Also use pofile. lasttranslator if it's defined, prior to using pofile.owner.
The only code change in model/potmsgset.py is in setTranslationC reditsToTransla ted to pass pofile. lasttranslator if it's defined and to pass force_edition_ rights= True to updateTranslation call.
This is a CP candidate.
= Tests =
bin/test -vvt setTranslationC reditsToTransla ted
= Demo & QA =
Run scripts/ rosetta/ fix_translation _credits. py over entire DB (that's how we detected the problem in the first place).
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: translations/ model/potmsgset .py translations/ tests/test_ potmsgset. py
lib/lp/
lib/lp/