changeset 3:b84fc0132d31

Removed formatting from gettext calls
author Radomir Dopieralski <devel@sheep.art.pl>
date Thu, 13 Dec 2007 11:56:54 +0100
parents 5ff55f128d84
children 702c40ca7835
files mandarin.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mandarin.py	Thu Dec 13 11:50:49 2007 +0100
+++ b/mandarin.py	Thu Dec 13 11:56:54 2007 +0100
@@ -249,7 +249,7 @@
         _ = self.request.getText
         form = self.request.form
         updates = {
-            'search_label' : _('Search:'),
+            'search_label' : _('Search:', formatted=False),
             'search_value': wikiutil.escape(form.get('value', [''])[0], 1),
             'search_full_label' : _('Text', formatted=False),
             'search_title_label' : _('Titles', formatted=False),
@@ -275,9 +275,9 @@
             info = page.lastEditInfo()
             if info:
                 if info['editor']:
-                    info = _("last edited %(time)s by %(editor)s") % info
+                    info = _("last edited %(time)s by %(editor)s", formatted=False) % info
                 else:
-                    info = _("last modified %(time)s") % info
+                    info = _("last modified %(time)s", formatted=False) % info
                 html = '<span class="time"%(lang)s>%(info)s</span>\n' % {
                     'lang': self.ui_lang_attr(),
                     'info': info