← Back to team overview

harvest-dev team mailing list archive

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

 

Daniel Holbach has proposed merging lp:~dholbach/harvest/i18n-fix into lp:harvest.

Requested reviews:
  harvest-dev (harvest-dev)

For more details, see:
https://code.launchpad.net/~dholbach/harvest/i18n-fix/+merge/60158

Please have a look at it. To release a new harvest we need to make sure we can update the i18n template.
-- 
https://code.launchpad.net/~dholbach/harvest/i18n-fix/+merge/60158
Your team harvest-dev is requested to review the proposed merge of lp:~dholbach/harvest/i18n-fix into lp:harvest.
=== modified file 'harvest/opportunities/feeds.py'
--- harvest/opportunities/feeds.py	2011-05-06 09:07:13 +0000
+++ harvest/opportunities/feeds.py	2011-05-06 09:18:28 +0000
@@ -10,7 +10,7 @@
 
 class _OpportunitiesFeed(Feed):
 	def item_title(self, opp):
-		return _("%s: %s") % (opp.sourcepackage.name, opp.description)
+		return _("%(sourcepackage)s: %(description)s") % (opp.sourcepackage.name, opp.description)
 	
 	def item_description(self, opp):
 		#this is equivalent to the template opportunities/include/opportunity.html.