mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-11 23:07:12 +00:00
Fixed \n / <br/> when composing mails and improved preferences UI.
This commit is contained in:
1 parent
28f66c6fd9
commit
7b65c29b1e
3 files changed
+8
-5
No files matched your search
@@ -209,11 +209,11 @@
|
||||
|
||||
- (WOResponse *) composeAction
|
||||
{
|
||||
SOGoDraftsFolder *drafts;
|
||||
NSString *urlBase, *url, *value, *signature, *nl;
|
||||
SOGoDraftObject *newDraftMessage;
|
||||
NSString *urlBase, *url, *value, *signature;
|
||||
id mailTo;
|
||||
NSMutableDictionary *headers;
|
||||
SOGoDraftsFolder *drafts;
|
||||
id mailTo;
|
||||
BOOL save;
|
||||
|
||||
drafts = [[self clientObject] draftsFolderInContext: context];
|
||||
@@ -246,8 +246,10 @@
|
||||
signature = [[self clientObject] signature];
|
||||
if ([signature length])
|
||||
{
|
||||
nl = ([[[[context activeUser] userDefaults] mailComposeMessageType] isEqualToString: @"html"] ? @"<br/>" : @"\n");
|
||||
|
||||
[newDraftMessage
|
||||
setText: [NSString stringWithFormat: @"\n\n-- \n%@", signature]];
|
||||
setText: [NSString stringWithFormat: @"%@%@-- %@%@", nl, nl, nl, signature]];
|
||||
save = YES;
|
||||
}
|
||||
if (save)
|
||||
|
||||
@@ -141,6 +141,7 @@
|
||||
"messageforward_inline" = "Inline";
|
||||
"messageforward_attached" = "As Attachment";
|
||||
|
||||
"When replying to a message:" = "When replying to a message:";
|
||||
"replyplacement_above" = "Start my reply above the quote";
|
||||
"replyplacement_below" = "Start my reply below the quote";
|
||||
"And place my signature" = "And place my signature";
|
||||
|
||||
@@ -223,7 +223,7 @@
|
||||
const:name="messageForwarding"
|
||||
string="itemMessageForwardingText"
|
||||
selection="userMessageForwarding"/></dd>
|
||||
<dt></dt>
|
||||
<dt><var:string label:value="When replying to a message:"/></dt>
|
||||
<dd><var:popup list="replyPlacementList" item="item"
|
||||
const:id="replyPlacementList"
|
||||
const:name="replyPlacementList"
|
||||
|
||||
Reference in new issue
Block a user