damned-lies r1411 - in trunk: . stats
- From: claudep svn gnome org
- To: svn-commits-list gnome org
- Subject: damned-lies r1411 - in trunk: . stats
- Date: Fri, 30 Jan 2009 21:24:22 +0000 (UTC)
Author: claudep
Date: Fri Jan 30 21:24:22 2009
New Revision: 1411
URL: http://svn.gnome.org/viewvc/damned-lies?rev=1411&view=rev
Log:
2009-01-30 Claude Paroz <claude 2xlibre net>
* stats/models.py: Place translator comment for date format just before
the appropriate string.
Fixes bug #569897.
Modified:
trunk/ChangeLog
trunk/stats/models.py
Modified: trunk/stats/models.py
==============================================================================
--- trunk/stats/models.py (original)
+++ trunk/stats/models.py Fri Jan 30 21:24:22 2009
@@ -1039,8 +1039,10 @@
def pot_text(self):
""" Return stat table header: 'POT file (n messages) - updated on ??-??-???? tz' """
msg_text = ungettext(u"%(count)s message", "%(count)s messages", self.pot_size()) % {'count': self.pot_size()}
- # Date format syntax is similar to PHP http://www.php.net/date
- upd_text = _(u"updated on %(date)s") % {'date': dateformat.format(self.date, _("Y-m-d g:i a O"))}
+ upd_text = _(u"updated on %(date)s") % {
+ # Date format syntax is similar to PHP http://www.php.net/date
+ 'date': dateformat.format(self.date, _("Y-m-d g:i a O"))
+ }
if self.fig_count():
fig_text = ungettext(u"%(count)s figure", "%(count)s figures", self.fig_count()) % {'count': self.fig_count()}
text = _(u"POT file (%(messages)s, %(figures)s) â %(updated)s") % \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]