changeset 5953:33ebf6ecc401

pw recovery notification msgs: add i18n again
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 10 Mar 2013 16:38:07 +0100
parents f6a74810da73
children a36af2908724
files MoinMoin/user.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/user.py	Sun Mar 10 15:28:04 2013 +0100
+++ b/MoinMoin/user.py	Sun Mar 10 16:38:07 2013 +0100
@@ -1143,21 +1143,21 @@
         if text_intro is None:
             text_intro = ''
         if text_msg is None:
-            text_msg = """\
+            text_msg = _("""\
 Somebody has requested to email you a password recovery token.
 
 If you lost your password, please go to the password reset URL below or
 go to the password recovery page again and enter your username and the
 recovery token.
-"""
+""")
         if text_data is None:
-            text_data = """\
+            text_data = _("""\
 Login Name: %s
 
 Password recovery token: %s
 
 Password reset URL: %s?action=recoverpass&name=%s&token=%s
-"""
+""")
         # note: text_intro is for custom stuff, we do not have i18n for it anyway
         text = text_intro + '\n' + _(text_msg) + '\n' + _(text_data) % (
                         self.name,