changeset 2982:24854dcf16ba

Make string 'rev' translateable (port from 1.6)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 05 Jan 2008 23:41:20 +0100
parents 0b9c89023917
children 7b0aadb97d01
files MoinMoin/search/results.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/search/results.py	Sat Jan 05 23:23:43 2008 +0100
+++ b/MoinMoin/search/results.py	Sat Jan 05 23:41:20 2008 +0100
@@ -742,9 +742,9 @@
         size_str = '%.1fk' % (p.size()/1024.0)
         revisions = p.getRevList()
         if len(revisions) and rev == revisions[0]:
-            rev_str = 'rev: %d (%s)' % (rev, _('current'))
+            rev_str = '%s: %d (%s)' % (_('rev'), rev, _('current'))
         else:
-            rev_str = 'rev: %d' % (rev, )
+            rev_str = '%s: %d' % (_('rev'), rev, )
         lastmod_str = _('last modified: %s') % p.mtime_printable(request)
 
         result = f.paragraph(1, attr={'class': 'searchhitinfobar'}) + \