[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r18021: {projects} Beautify the response email to a badly formatted request (projects/gettor)



Author: kaner
Date: 2009-01-08 07:48:09 -0500 (Thu, 08 Jan 2009)
New Revision: 18021

Modified:
   projects/gettor/gettor_responses.py
Log:
Beautify the response email to a badly formatted request


Modified: projects/gettor/gettor_responses.py
===================================================================
--- projects/gettor/gettor_responses.py	2009-01-08 11:27:07 UTC (rev 18020)
+++ projects/gettor/gettor_responses.py	2009-01-08 12:48:09 UTC (rev 18021)
@@ -55,7 +55,7 @@
 
     (We apologize if you didn't ask for this mail. Since your email is from
     a service that doesn't use DKIM, we're sending a short explanation,
-    and then we'll ignore this email address for the next day or so.
+    and then we'll ignore this email address for the next day or so.)
         """)
         help = self.constructMessage(message, source, destination)
         try:
@@ -69,12 +69,12 @@
     def sendPackageHelp(self, packageList, source, destination):
         """ Send a helpful message to the user interacting with us """
         self.setLang(self.mailLang)
-        message = [_("Hello, I'm a robot. ")]
-        message.append(_("Your request was not understood. Please select one of the following package names:\n"))
+        message = [_('Hello, This is the "gettor" robot.\n\n')]
+        message.append(_("Your request was not understood. Please select one of the following package names:\n\n"))
 
         for key in packageList.keys():
             message.append(key + "\n")
-        message.append(_("Please send me another email. It only needs a single package name anywhere in the body of your email.\n"))
+        message.append(_("\nPlease send me another email.\nIt only needs a single package name anywhere in the body of your email.\n"))
         help = self.constructMessage(''.join(message), source, destination)
         try:
             status = self.sendMessage(help, source, destination)