Merge lp:~abentley/launchpad/capitalize-last into lp:launchpad

Proposed by Aaron Bentley
Status: Merged
Approved by: Aaron Bentley
Approved revision: not available
Merged at revision: 14452
Proposed branch: lp:~abentley/launchpad/capitalize-last
Merge into: lp:launchpad
Diff against target: 28 lines (+3/-3)
2 files modified
lib/lp/bugs/browser/tests/test_bugtask.py (+2/-2)
lib/lp/bugs/templates/buglisting.mustache (+1/-1)
To merge this branch: bzr merge lp:~abentley/launchpad/capitalize-last
Reviewer Review Type Date Requested Status
Aaron Bentley (community) Approve
Review via email: mp+84657@code.launchpad.net

Commit message

Change capitalization of 'Last updated'

Description of the change

= Summary =
Fix bug #897174: "last updated" should be "Last updated"

= Launchpad lint =

Checking for conflicts and issues in changed files.

Linting changed files:
  lib/lp/bugs/browser/configure.zcml
  lib/lp/bugs/browser/tests/test_bugtask.py
  lib/lp/bugs/templates/buglisting.mustache
  lib/lp/registry/browser/person.py
  lib/lp/bugs/browser/tests/person-bug-views.txt

./lib/lp/bugs/browser/tests/person-bug-views.txt
       1: narrative uses a moin header.
      19: narrative uses a moin header.
      46: narrative uses a moin header.
     131: narrative uses a moin header.
     167: narrative uses a moin header.
     240: want exceeds 78 characters.
     244: want exceeds 78 characters.
     248: want exceeds 78 characters.
     252: want exceeds 78 characters.
     259: want exceeds 78 characters.
     266: want exceeds 78 characters.
     282: want exceeds 78 characters.
     294: want exceeds 78 characters.
     296: want exceeds 78 characters.
     298: want exceeds 78 characters.
     300: want exceeds 78 characters.
     456: narrative uses a moin header.
     484: narrative uses a moin header.
     495: narrative uses a moin header.
     540: narrative uses a moin header.
     571: narrative uses a moin header.
     592: narrative uses a moin header.
     614: narrative uses a moin header.

To post a comment you must log in.
Revision history for this message
Aaron Bentley (abentley) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/lp/bugs/browser/tests/test_bugtask.py'
2--- lib/lp/bugs/browser/tests/test_bugtask.py 2011-12-02 21:47:43 +0000
3+++ lib/lp/bugs/browser/tests/test_bugtask.py 2011-12-06 19:28:24 +0000
4@@ -2241,9 +2241,9 @@
5 """Showing last_updated shows the text."""
6 navigator, mustache_model = self.getNavigator()
7 self.assertIn('show_last_updated', navigator.field_visibility)
8- self.assertNotIn('last updated updated1', navigator.mustache)
9+ self.assertNotIn('Last updated updated1', navigator.mustache)
10 mustache_model['bugtasks'][0]['show_last_updated'] = True
11- self.assertIn('last updated updated1', navigator.mustache)
12+ self.assertIn('Last updated updated1', navigator.mustache)
13
14
15 class TestBugListingBatchNavigator(TestCaseWithFactory):
16
17=== modified file 'lib/lp/bugs/templates/buglisting.mustache'
18--- lib/lp/bugs/templates/buglisting.mustache 2011-11-25 21:16:04 +0000
19+++ lib/lp/bugs/templates/buglisting.mustache 2011-12-06 19:28:24 +0000
20@@ -40,7 +40,7 @@
21 {{/show_milestone_name}}
22 {{#show_last_updated}}
23 <span class="sprite milestone field">
24- last updated {{last_updated}}
25+ Last updated {{last_updated}}
26 </span>
27 {{/show_last_updated}}
28 {{#show_assignee}}