Merge lp:~danilo/launchpad/bug-516317 into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Данило Шеган |
Approved revision: | no longer in the source branch. |
Merged at revision: | 12155 |
Proposed branch: | lp:~danilo/launchpad/bug-516317 |
Merge into: | lp:launchpad |
Diff against target: |
654 lines (+88/-112) 21 files modified
lib/canonical/launchpad/pagetests/basics/notfound-traversals.txt (+2/-2) lib/lp/registry/browser/configure.zcml (+0/-7) lib/lp/registry/browser/distribution.py (+2/-2) lib/lp/registry/browser/product.py (+1/-9) lib/lp/registry/configure.zcml (+2/-8) lib/lp/registry/interfaces/distribution.py (+4/-3) lib/lp/registry/interfaces/product.py (+2/-2) lib/lp/translations/browser/configure.zcml (+5/-6) lib/lp/translations/browser/distribution.py (+10/-9) lib/lp/translations/browser/product.py (+11/-14) lib/lp/translations/stories/distribution/xx-distribution-translations.txt (+6/-5) lib/lp/translations/stories/standalone/xx-potemplate-index.txt (+9/-18) lib/lp/translations/stories/translationfocus/xx-product-translationfocus.txt (+6/-4) lib/lp/translations/stories/translationgroups/10-distro-translation-group.txt (+3/-3) lib/lp/translations/stories/translationgroups/15-product-translation-group.txt (+4/-4) lib/lp/translations/stories/translationgroups/45-test-distro-restricted-permissions.txt (+2/-1) lib/lp/translations/stories/translationgroups/46-test-distro-structured-permissions.txt (+1/-1) lib/lp/translations/stories/translationgroups/xx-change-translation-policy.txt (+10/-9) lib/lp/translations/templates/distribution-translations.pt (+4/-0) lib/lp/translations/templates/hastranslationgroup-portlet-translation-groups-and-permission.pt (+0/-5) lib/lp/translations/templates/project-translations.pt (+4/-0) |
To merge this branch: | bzr merge lp:~danilo/launchpad/bug-516317 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Henning Eggers (community) | ui,code | Approve | |
Launchpad code reviewers | Pending | ||
Review via email: mp+44746@code.launchpad.net |
Commit message
[r=henninge]
Description of the change
= Bug 516317 =
Merge +settings and +configure-
Caveats:
- At the moment, products have double link to "configure translations" page: http://
- At the moment, Ubuntu doesn't have "configure translations" near the top, even though I think it should (where it says what's the default focus): http://
- I haven't updated the project group page (see eg. https:/
- Ideally, we'd have all this ajaxified and we could eg. change permissions just-in-place, be able to set up per-series translation settings while choosing translation focus... But hey :)
- I am unsure about "custom language codes" link: I feel it should be close to "Configure translations" link (maybe even available from the settings page)
Though I'd like to fix all of these, I still think getting these onto single translations configuration page is a win in itself and I'd probably be happy if I get your input on the first two points: should I keep the double "configure translations" link on the project page (I'd like to get rid of the first one, but since that one was added by registry, I want second opinion :), and what should I do for the distro page (I'd like to have a "change" button near the translation focus description)?
FWIW, remaining lint issue is due to comment being treated as empty line.
== Tests ==
bin/test -cvvm lp.translations -t stories
== Demo and Q/A ==
https:/
https:/
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
./lib/lp/
982: E301 expected 1 blank line, found 2
Hi Danilo,
thank you for doing this and also for pointing out the caveats - makes life easy for me. ;)
I think there should be only one "Configure translations" link and it should be near the top. I guess the intention of that placement near the help link is to make it easy for project maintainers to start on translations. That is not so important on distributions as they don't get started very often. Also, the current placement at the bottom is in the "permissions" portlet but this page is not just about permissions any more, even before this branch. So, a general placement in the top portlet seems logical.
Another little thing: The check box on the distribution configuration page is labelled "Translations for this project are done in Launchpad" - can you put "distribution" there, please?
Cheers,
Henning