changeset 447:0bc7b0127323

change getText call to be compatible with moin releases after 2/2008 (late 1.7, all 1.8)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 06 Oct 2009 18:20:23 +0200
parents a5bf869a26de
children 025ee36eefdd
files data/plugin/theme/sinorca4moin.py
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/theme/sinorca4moin.py	Tue Oct 06 17:45:50 2009 +0200
+++ b/data/plugin/theme/sinorca4moin.py	Tue Oct 06 18:20:23 2009 +0200
@@ -53,7 +53,7 @@
             try:
                 interwiki_list = wikiutil.load_wikimap(self.request)
                 wiki_url = interwiki_list[cfg.interwikiname]
-                rc = _("RecentChanges", formatted=False)
+                rc = _("RecentChanges")
                 linkList.append(''.join([
                     u' <a title="%s" href="%s"%s>%s</a>' %
                         (cfg.sitename, wiki_url, highlight, cfg.interwikiname),
@@ -112,8 +112,7 @@
                     curpage).link_to(self.request, s))
                 curpage += '/'
             link_text = segments[-1]
-            link_title = _('Click to do a full-text search for this title',
-                           formatted=False)
+            link_title = _('Click to do a full-text search for this title')
             link_query = {
                 'action': 'fullsearch',
                 'value': 'linkto:"%s"' % d['page_name'],