The templates pofile-translate.pt and translationmessage-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.
The macro page hosting a single macro for translationmessage-translate.pt was renamed to a generic name.
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.
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
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.
= 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/