[haiku-commits] r41163 - haiku/trunk/src/apps/mail

  • From: jonas@xxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 1 Apr 2011 22:25:35 +0200 (CEST)

Author: kirilla
Date: 2011-04-01 22:25:25 +0200 (Fri, 01 Apr 2011)
New Revision: 41163
Changeset: https://dev.haiku-os.org/changeset/41163
Ticket: https://dev.haiku-os.org/ticket/6721

Modified:
   haiku/trunk/src/apps/mail/MailApp.cpp
   haiku/trunk/src/apps/mail/MailWindow.cpp
   haiku/trunk/src/apps/mail/Prefs.cpp
Log:
Unburying the bug of ticket #6721.

Modified: haiku/trunk/src/apps/mail/MailApp.cpp
===================================================================
--- haiku/trunk/src/apps/mail/MailApp.cpp       2011-04-01 20:14:01 UTC (rev 
41162)
+++ haiku/trunk/src/apps/mail/MailApp.cpp       2011-04-01 20:25:25 UTC (rev 
41163)
@@ -122,7 +122,7 @@
        fAutoMarkRead = true;
        fSignature = (char*)malloc(strlen(B_TRANSLATE("None")) + 1);
        strcpy(fSignature, B_TRANSLATE("None"));
-       fReplyPreamble = strdup(B_TRANSLATE("%e wrote:%b"));
+       fReplyPreamble = strdup(B_TRANSLATE("%e wrote:\\n"));
 
        fMailWindowFrame.Set(0, 0, 0, 0);
        fSignatureWindowFrame.Set(6, TITLE_BAR_HEIGHT, 6 + kSigWidth,

Modified: haiku/trunk/src/apps/mail/MailWindow.cpp
===================================================================
--- haiku/trunk/src/apps/mail/MailWindow.cpp    2011-04-01 20:14:01 UTC (rev 
41162)
+++ haiku/trunk/src/apps/mail/MailWindow.cpp    2011-04-01 20:25:25 UTC (rev 
41163)
@@ -2123,9 +2123,7 @@
        preamble.ReplaceAll("%n", name);
        preamble.ReplaceAll("%e", address);
        preamble.ReplaceAll("%d", date);
-       preamble.ReplaceAll("%b", "\n");
        preamble.ReplaceAll("\\n", "\n");
-               // backwards compatability with older settings
 
        // insert (if selection) or load (if whole mail) message text into text 
view
 

Modified: haiku/trunk/src/apps/mail/Prefs.cpp
===================================================================
--- haiku/trunk/src/apps/mail/Prefs.cpp 2011-04-01 20:14:01 UTC (rev 41162)
+++ haiku/trunk/src/apps/mail/Prefs.cpp 2011-04-01 20:25:25 UTC (rev 41163)
@@ -694,7 +694,7 @@
 
        menu->AddSeparatorItem();
 
-       menu->AddItem(new BMenuItem(B_TRANSLATE("%b - Line break"),
+       menu->AddItem(new BMenuItem(B_TRANSLATE("\\n - Newline"),
                new BMessage(P_REPLY_PREAMBLE)));
 
        return menu;


Other related posts:

  • » [haiku-commits] r41163 - haiku/trunk/src/apps/mail - jonas