Merge lp:~adiroiban/launchpad/bug-431249 into lp:launchpad
Proposed by
Adi Roiban
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Aaron Bentley | ||||
Approved revision: | not available | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~adiroiban/launchpad/bug-431249 | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
365 lines (+142/-50) 8 files modified
lib/lp/translations/browser/configure.zcml (+3/-2) lib/lp/translations/stories/standalone/xx-pofile-translate.txt (+54/-6) lib/lp/translations/stories/standalone/xx-translationmessage-translate.txt (+53/-7) lib/lp/translations/templates/currenttranslationmessage-translate-one.pt (+2/-2) lib/lp/translations/templates/pofile-translate.pt (+2/-15) lib/lp/translations/templates/translationmessage-suggestions.pt (+1/-1) lib/lp/translations/templates/translationmessage-translate.pt (+2/-15) lib/lp/translations/templates/translations-macros.pt (+25/-2) |
||||
To merge this branch: | bzr merge lp:~adiroiban/launchpad/bug-431249 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Aaron Bentley (community) | Approve | ||
Review via email: mp+15767@code.launchpad.net |
Commit message
Create a macro for navigation links from pofile-translate.pt and translationmess
To post a comment you must log in.
= Bug 431249 =
The templates pofile-translate.pt and translationmess age-translate. pt share the same set of navigation links so they should be factored out into their own macro file to be used by both.
== Proposed fix ==
A general +translations- macros view was creating for hosting translations macros. age-translate. pt was renamed to a generic name.
The macro page hosting a single macro for translationmess
The required pages were updated to the new macro path.
The macro required to fix this bug is hosted by translations- macros. pt
== Tests ==
I have added the required test in the required stories.
./bin/test -ct "translationmes sage-translate" -t "pofile-translate"
Note: these tests are using the old formating style, but I left those change to have a clean diff.
If everthing is OK, after the review I can update the formating
== Demo and Q/A ==
For PO file go to this link: translations. launchpad. dev/ubuntu/ hoary/+ source/ evolution/ +pots/evolution -2.2/es/ +translate
http://
For translation message go to this link: translations. launchpad. dev/ubuntu/ hoary/+ source/ evolution/ +pots/evolution -2.2/es/ 5
http://
As an anonymous user or a user with no right for changing the translations you should only see the links to Download translation and Translation details
Translation admin / reviewer also have access to the upload page and they will see all links: Download translation, Upload translation and Translation details
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: translations/ browser/ configure. zcml translations/ stories/ standalone/ xx-pofile- translate. txt translations/ stories/ standalone/ xx-translationm essage- translate. txt translations/ templates/ currenttranslat ionmessage- translate- one.pt translations/ templates/ pofile- translate. pt translations/ templates/ translationmess age-suggestions .pt translations/ templates/ translationmess age-translate. pt translations/ templates/ translations- macros. pt
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/