diff MoinMoin/action/edit.py @ 3122:a1322262398a

refactored _() getText calls to match new api
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Wed, 27 Feb 2008 00:23:46 +0100
parents a875b3c6dabc
children db48ab0b2bf8
line wrap: on
line diff
--- a/MoinMoin/action/edit.py	Tue Feb 26 22:40:33 2008 +0100
+++ b/MoinMoin/action/edit.py	Wed Feb 27 00:23:46 2008 +0100
@@ -121,7 +121,7 @@
     # a full interface for categories (add, delete) or just add them by
     # markup.
 
-    if category and category != _('<No addition>', formatted=False): # opera 8.5 needs this
+    if category and category != _('<No addition>'): # opera 8.5 needs this
         # strip trailing whitespace
         savetext = savetext.rstrip()
 
@@ -160,7 +160,7 @@
         try:
             from MoinMoin.security.textcha import TextCha
             if not TextCha(request).check_answer_from_form():
-                raise pg.SaveError(_('TextCha: Wrong answer! Go back and try again...', formatted=False))
+                raise pg.SaveError(_('TextCha: Wrong answer! Go back and try again...'))
             savemsg = pg.saveText(savetext, rev, trivial=trivial, comment=comment)
         except pg.EditConflict, e:
             msg = e.message