Merge lp:~dholbach/harvest/i18n-fix into lp:harvest

Proposed by Daniel Holbach
Status: Merged
Merged at revision: 305
Proposed branch: lp:~dholbach/harvest/i18n-fix
Merge into: lp:harvest
Diff against target: 12 lines (+1/-1)
1 file modified
harvest/opportunities/feeds.py (+1/-1)
To merge this branch: bzr merge lp:~dholbach/harvest/i18n-fix
Reviewer Review Type Date Requested Status
Daniel Holbach Approve
Review via email: mp+60158@code.launchpad.net

Description of the change

Please have a look at it. To release a new harvest we need to make sure we can update the i18n template.

To post a comment you must log in.
Revision history for this message
Daniel Holbach (dholbach) wrote :

Sitting-in-the-chair-nearby review: James Westby says "go ahead" :)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'harvest/opportunities/feeds.py'
2--- harvest/opportunities/feeds.py 2011-05-06 09:07:13 +0000
3+++ harvest/opportunities/feeds.py 2011-05-06 09:18:46 +0000
4@@ -10,7 +10,7 @@
5
6 class _OpportunitiesFeed(Feed):
7 def item_title(self, opp):
8- return _("%s: %s") % (opp.sourcepackage.name, opp.description)
9+ return _("%(sourcepackage)s: %(description)s") % (opp.sourcepackage.name, opp.description)
10
11 def item_description(self, opp):
12 #this is equivalent to the template opportunities/include/opportunity.html.

Subscribers

People subscribed via source and target branches

to all changes: