changeset 2423:76bf8b6b3061

use formatted=False for userprefs titles
author Johannes Berg <johannes AT sipsolutions DOT net>
date Thu, 19 Jul 2007 23:56:40 +0200
parents 2142eea37033
children 26fe624bdbd6
files MoinMoin/userprefs/changepass.py MoinMoin/userprefs/oid.py MoinMoin/userprefs/prefs.py MoinMoin/userprefs/suid.py
diffstat 4 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/userprefs/changepass.py	Thu Jul 19 21:17:22 2007 +0200
+++ b/MoinMoin/userprefs/changepass.py	Thu Jul 19 23:56:40 2007 +0200
@@ -22,7 +22,7 @@
         self._ = request.getText
         _ = request.getText
         self.cfg = request.cfg
-        self.title = _("Change password")
+        self.title = _("Change password", formatted=False)
         self.name = 'changepass'
 
 
--- a/MoinMoin/userprefs/oid.py	Thu Jul 19 21:17:22 2007 +0200
+++ b/MoinMoin/userprefs/oid.py	Thu Jul 19 23:56:40 2007 +0200
@@ -28,7 +28,8 @@
         self.request = request
         self._ = request.getText
         self.cfg = request.cfg
-        self.title = self._("OpenID settings")
+        _ = self._
+        self.title = _("OpenID settings", formatted=False)
         openid_auth = False
         if not _openid_disabled:
             for authm in self.request.cfg.auth:
--- a/MoinMoin/userprefs/prefs.py	Thu Jul 19 21:17:22 2007 +0200
+++ b/MoinMoin/userprefs/prefs.py	Thu Jul 19 23:56:40 2007 +0200
@@ -34,7 +34,8 @@
         self.request = request
         self._ = request.getText
         self.cfg = request.cfg
-        self.title = self._("Preferences")
+        _ = self._
+        self.title = _("Preferences", formatted=False)
         self.name = 'prefs'
 
     def _decode_pagelist(self, key):
--- a/MoinMoin/userprefs/suid.py	Thu Jul 19 21:17:22 2007 +0200
+++ b/MoinMoin/userprefs/suid.py	Thu Jul 19 23:56:40 2007 +0200
@@ -19,7 +19,8 @@
         self.request = request
         self._ = request.getText
         self.cfg = request.cfg
-        self.title = self._("Switch user")
+        _ = self._
+        self.title = _("Switch user", formatted=False)
         self.name = 'suid'
 
     def allowed(self):