damned-lies r1464 - in trunk: . templates/feeds vertimus



Author: claudep
Date: Wed Mar  4 18:50:35 2009
New Revision: 1464
URL: http://svn.gnome.org/viewvc/damned-lies?rev=1464&view=rev

Log:
2009-03-04  Claude Paroz  <claude 2xlibre net>

	* templates/feeds/actions_description.html:
	* vertimus/feeds.py: Strings improvement regarding the new feeds
	fonctionality.

Modified:
   trunk/ChangeLog
   trunk/templates/feeds/actions_description.html
   trunk/vertimus/feeds.py

Modified: trunk/templates/feeds/actions_description.html
==============================================================================
--- trunk/templates/feeds/actions_description.html	(original)
+++ trunk/templates/feeds/actions_description.html	Wed Mar  4 18:50:35 2009
@@ -3,7 +3,7 @@
 {% if obj.comment %}
 {{ obj.comment }}
 {% else %}
-{% trans 'Without comment' %}
+{% trans 'No comment' %}
 {% endif %}
 </p>
 

Modified: trunk/vertimus/feeds.py
==============================================================================
--- trunk/vertimus/feeds.py	(original)
+++ trunk/vertimus/feeds.py	Wed Mar  4 18:50:35 2009
@@ -39,7 +39,8 @@
 
     def title(self, obj):
         current_site = Site.objects.get_current()
-        return _("%s - Vertimus actions for the %s language") % (current_site, obj.name)
+        return _("%(site)s - Vertimus actions for the %(lang)s language") % {
+                  'site': current_site, 'lang': obj.name }
 
     def link(self, obj):
         if not obj:
@@ -47,7 +48,7 @@
         return obj.get_team_url()
 
     def description(self, obj):
-        return _("Last actions of the GNOME translation project for the %s language") % obj.name
+        return _("Latest actions of the GNOME Translation Project for the %s language") % obj.name
 
     def items(self, obj):
         # The Django ORM doesn't provide the UNION SQL feature :-(
@@ -82,7 +83,8 @@
 
     def title(self, obj):
         current_site = Site.objects.get_current()
-        return _("%s - Vertimus actions of the %s team") % (current_site, obj)
+        return _("%(site)s - Vertimus actions of the %(lang)s team") % {
+                  'site': current_site, 'lang': obj}
 
     def link(self, obj):
         if not obj:
@@ -90,7 +92,7 @@
         return obj.get_absolute_url()
 
     def description(self, obj):
-        return _("Last actions made by the %s team of the GNOME translation project") % obj
+        return _("Latest actions made by the %s team of the GNOME Translation Project") % obj
 
     def items(self, obj):
         # The Django ORM doesn't provide the UNION SQL feature :-(



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]