Merge ~cristiangsp/launchpad:bugfix-1158242-translations-ui-changes into launchpad:master
Proposed by
Cristian Gonzalez
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | 827603975beb58f83268594dd290d1883225b00f |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cristiangsp/launchpad:bugfix-1158242-translations-ui-changes |
Merge into: | launchpad:master |
Diff against target: |
110 lines (+13/-14) 3 files modified
lib/lp/translations/stories/translations/xx-translations.txt (+0/-1) lib/lp/translations/templates/distroseries-langchart.pt (+10/-10) lib/lp/translations/templates/serieslanguage-index.pt (+3/-3) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | Approve | ||
Review via email: mp+393639@code.launchpad.net |
Commit message
Redistributing "Contributors" and "Length" columns on Translations
Description of the change
This branch introduces the 2 changes requested in bug: https:/
- Moving the "Contributors" column to the end of the table in the distribution's Translations page.
- Converting the "Length" column into "Total" an move it to the end of the table in the distribution series language page.
To post a comment you must log in.
It doesn't show clearly in the web UI, but looks like you've added some spurious trailing whitespace on five lines (more easily visible in `git diff`). Could you remove that again? (Obviously a minor point.)
The actual change looks fine to me, but to my relief there is at least a small amount of test suite fallout that you'll need to adjust to match:
Failure in test lib/lp/ translations/ stories/ translations/ xx-translations .txt translations/ stories/ translations/ xx-translations .txt", line 0
Failed doctest test for xx-translations.txt
File "lib/lp/
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- translations/ stories/ translations/ xx-translations .txt", line 238, in xx-translations.txt extract_ text(evolution_ line))
File "lib/lp/
Failed example:
print(
Differences (ndiff with -expected +actual):
evolution-2.2
- ...
- 15 1 1
- ...
+ 15
+ 1
+ 1
+ 22
+ 2005-06-06
+ Valentina Commissari
Looks like the first of the two ellipses in this doctest example should probably be dropped to match the change in the page template.
Please also link the bug report to this MP. You can do that after the fact using the "Link a bug report" facility here, or (better, for future MPs) mention the bug number in a commit message using the style shown in https:/ /help.launchpad .net/Code/ Git#Linking_ to_bugs so that it can be automatically linked.