changeset 3930:db3edaef0ba1

some wording corrected
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sun, 03 Aug 2008 22:57:44 +0200
parents a59685636e28
children 9c2fb9246e66
files MoinMoin/PageEditor.py MoinMoin/formatter/text_html_percent.py MoinMoin/mail/sendmail.py
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/PageEditor.py	Sun Aug 03 21:41:54 2008 +0200
+++ b/MoinMoin/PageEditor.py	Sun Aug 03 22:57:44 2008 +0200
@@ -765,7 +765,7 @@
         request = self.request
         now = self._get_local_timestamp()
         u = request.user
-        obfuscate_email_address = encodeSpamSafeEmail(u.email)
+        obfuscated_email_address = encodeSpamSafeEmail(u.email)
         signature = u.signature()
         variables = {
             'PAGE': self.page_name,
@@ -775,7 +775,7 @@
             'USERNAME': signature,
             'USER': "-- %s" % signature,
             'SIG': "-- %s <<DateTime(%s)>>" % (signature, now),
-            'EMAIL': "<<MailTo(%s)>>" % (obfuscate_email_address)
+            'EMAIL': "<<MailTo(%s)>>" % (obfuscated_email_address)
         }
 
         if u.valid and u.name:
--- a/MoinMoin/formatter/text_html_percent.py	Sun Aug 03 21:41:54 2008 +0200
+++ b/MoinMoin/formatter/text_html_percent.py	Sun Aug 03 22:57:44 2008 +0200
@@ -17,7 +17,7 @@
 class Formatter(TextHtmlFormatter):
 
     def _open(self, tag, newline=False, attr=None, allowed_attrs=None, **kw):
-        """ Escape % signs in tags, see also text_html.Formatter._open. """
+        """ Escape % characters in tags, see also text_html.Formatter._open. """
         tagstr = TextHtmlFormatter._open(self, tag, newline, attr, allowed_attrs, **kw)
         return tagstr.replace('%', '%%')
 
--- a/MoinMoin/mail/sendmail.py	Sun Aug 03 21:41:54 2008 +0200
+++ b/MoinMoin/mail/sendmail.py	Sun Aug 03 22:57:44 2008 +0200
@@ -159,7 +159,7 @@
 def encodeSpamSafeEmail(email_address, obfuscation_text=''):
     """ Encodes a standard email address to an obfuscated address
     @param email_address: mail address to encode.
-                          Known signs and their all-uppercase words translation:
+                          Known characters and their all-uppercase words translation:
                           "." -> " DOT "
                           "@" -> " AT "
                           "-" -> " DASH "