Merge lp:~adiroiban/launchpad/bug-146178 into lp:launchpad/db-devel
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~adiroiban/launchpad/bug-146178 |
Merge into: | lp:launchpad/db-devel |
Diff against target: |
469 lines (+204/-71) 5 files modified
lib/lp/registry/interfaces/distroseries.py (+12/-13) lib/lp/translations/browser/distroseries.py (+40/-4) lib/lp/translations/stories/distroseries/xx-distroseries-language-packs.txt (+87/-24) lib/lp/translations/templates/distroseries-language-packs.pt (+59/-22) lib/lp/translations/templates/distroseries-translations.pt (+6/-8) |
To merge this branch: | bzr merge lp:~adiroiban/launchpad/bug-146178 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brad Crittenden (community) | code | Approve | |
Curtis Hovey (community) | ui | Approve | |
Eleanor Berger (community) | ui* | Approve | |
Abel Deuring (community) | code | Abstain | |
Review via email: mp+23760@code.launchpad.net |
Commit message
Add in the UI +latest-
Description of the change
= Bug 146178 =
With the move of language pack exports to production servers we added +latest-
We don't link to them from Launchpad so they are only available to people that knows about it.
We should add them to the +language-packs page.
== Proposed fix ==
Create translation navigation menu entries for distroseries and add them on distroseries@
== Pre-implementation notes ==
The links are of interest only for a few users and this is why they are added only on the +langauge-packs page.
Danilo hinted that when latest and current language packs are the same we should not show the latest language pack and rather use „no updates”
Danilo also mentioned that instead of „none yet” we can use „no updates” (or something similar) and that maybe we can find a better terminology for base / full / update / delta language packs.
== Implementation details ==
Screenshots:
distribution page: http://
language-packs page: http://
I have removed the inline css for "adminlabel" as portlet titles were not aligned.
I have changed the links to use sprites.
Regarding the terminology issue, I used "base" for the base language pack and "update" for the delta language pack that must be applied over the base pack.
I used "language pack" and not "language package" since they are just translation archive and not fully functional distribution packages.
When updating a delta language pack two notification messages were generated, once saying that the changes were applied and another that no changes were submitted. I have fix that issue in this bug and since this page is only used by Ubuntu developers/
== Tests ==
lp-tt distroseries-
== Demo and Q/A ==
Go to: https:/
You should see link to the "Base back" and "Update pack" if they are available, or "none yet" and "no update".
Languages packs can be changes from here:
https:/
On the language packs you should see links to both active, in testing, latest and unused languages packs.
Looking at the screenshots: any reason to still add 'Current' to the titles on distroseries: +translations page? And don't forget to decapitalize "Base" in "Current Base" on the +language-packs page (not to mention that it'd be nice to find better terminology for these, but I am letting you take care of that with the UI reviewer)