Unburying the bug of ticket #6721.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41163 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jonas Sundström 2011-04-01 20:25:25 +00:00
parent 8e9e1577cc
commit 8afad97685
3 changed files with 2 additions and 4 deletions

View File

@ -122,7 +122,7 @@ TMailApp::TMailApp()
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,

View File

@ -2123,9 +2123,7 @@ TMailWindow::Reply(entry_ref *ref, TMailWindow *window, uint32 type)
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

View File

@ -694,7 +694,7 @@ TPrefsWindow::_BuildReplyPreambleMenu()
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;