Improve sharing information on translation pages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Henning Eggers |
Bug Description
The current information on sharing is fairly useless. It consists of a listing of "templates of the same name" on the template page. It's visually broken, too.
This should be replaced by information about the sharing product series/source package and a link to them. It should also provide a link to a settings page.
Suggested wording:
"This package's translations are shared with the Foo project.
_View the template in Foo_
_View or change translation sharing options_"
"This package is not sharing translations with an upstream project.
_Click here to set up translation sharing_"
It should appear (in variations) on
* Translations page for a productseries/
* Template page
* The actual translate page
Related branches
- Deryck Hodge (community): Approve (code)
-
Diff: 504 lines (+487/-0)3 files modified.bzrignore (+1/-0)
lib/lp/translations/utilities/tests/test_translation_sharing_info.py (+310/-0)
lib/lp/translations/utilities/translationsharinginfo.py (+176/-0)
- Curtis Hovey (community): Approve (ui)
- Abel Deuring (community): Approve (code)
-
Diff: 824 lines (+472/-124)15 files modifiedlib/lp/services/features/flags.py (+4/-0)
lib/lp/translations/browser/pofile.py (+40/-0)
lib/lp/translations/browser/potemplate.py (+36/-17)
lib/lp/translations/browser/productseries.py (+15/-0)
lib/lp/translations/browser/sourcepackage.py (+17/-0)
lib/lp/translations/browser/tests/test_sharing_information.py (+215/-0)
lib/lp/translations/doc/potemplate.txt (+0/-18)
lib/lp/translations/interfaces/potemplate.py (+0/-3)
lib/lp/translations/model/potemplate.py (+0/-7)
lib/lp/translations/stories/standalone/xx-potemplate-index.txt (+36/-26)
lib/lp/translations/templates/pofile-translate.pt (+25/-0)
lib/lp/translations/templates/potemplate-index.pt (+49/-50)
lib/lp/translations/templates/productseries-translations.pt (+15/-0)
lib/lp/translations/templates/sourcepackage-translations.pt (+16/-0)
lib/lp/translations/utilities/translationsharinginfo.py (+4/-3)
- Deryck Hodge (community): Approve (code)
- Curtis Hovey (community): Approve (ui)
-
Diff: 414 lines (+204/-8)9 files modifiedlib/lp/translations/browser/potemplate.py (+19/-1)
lib/lp/translations/browser/productseries.py (+12/-1)
lib/lp/translations/browser/sourcepackage.py (+13/-1)
lib/lp/translations/browser/tests/test_sharing_information.py (+78/-5)
lib/lp/translations/browser/translationsharing.py (+57/-0)
lib/lp/translations/stories/standalone/xx-potemplate-index.txt (+15/-0)
lib/lp/translations/templates/potemplate-index.pt (+3/-0)
lib/lp/translations/templates/productseries-translations.pt (+4/-0)
lib/lp/translations/templates/sourcepackage-translations.pt (+3/-0)
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Changed in launchpad: | |
status: | Fix Released → In Progress |
milestone: | 11.02 → none |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
tags: | removed: qa-untestable |
Changed in launchpad: | |
status: | Fix Released → In Progress |
tags: | added: qa-ok |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Fixed in stable r12320 (http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 12320) by a commit, but not testable.