Closed Bug 1138401 Opened 9 years ago Closed 9 years ago

There's a spurious \n in the mailnews/suite version of smtpServerError

Categories

(SeaMonkey :: Composer, defect)

defect
Not set
trivial

Tracking

(seamonkey2.40 fixed)

RESOLVED FIXED
seamonkey2.40
Tracking Status
seamonkey2.40 --- fixed

People

(Reporter: nONoNonO, Assigned: nONoNonO)

References

()

Details

Attachments

(2 files, 1 obsolete file)

One of the strings modified in bug 952493 is wrong I think...
smtpServerError ends with :  %s\n.
I think the \n will cause the trailing period to appear on an empty line, but I'm not quite sure about it (can't test because I'm on Windows)
Yeah, the TB version of the strings doesn't have the \n.
Will you fix it or should we?
Attachment #8571801 - Flags: review?(syshagarwal)
Hmz... typo in the file name of the patch, should be bug 1138401 instead of 113401 :-/
Attachment #8571801 - Attachment is obsolete: true
Attachment #8571801 - Flags: review?(syshagarwal)
Attachment #8571803 - Flags: review?(syshagarwal)
Comment on attachment 8571803 [details] [diff] [review]
bug1138401_mailnews_smtpServerError_typo.patch

Review of attachment 8571803 [details] [diff] [review]:
-----------------------------------------------------------------

::: suite/locales/en-US/chrome/mailnews/compose/composeMsgs.properties
@@ +33,1 @@
>  unableToSendLater=Sorry, we were unable to save your message for sending later.

I am sorry for making so many typos. 
Looks good to me.
Can we also remove this extra space between the %s string and the message? 

Thanks.
Attachment #8571803 - Flags: review?(syshagarwal) → review+
I've "s/  %s/ %s/"-ed in both mail and mailnews composeMsgs.properties, but there are more double spaces in the messages, especially following a period or colon. I see this more in texts, to better show where a new sentence starts and I don't know *how* the error messages are shown. if the strings are displayed as html, all white space will be shown as a single space anyway...
Assignee: nobody → o.e.ekker
NO, they are not shown in HTML mode. So the double spaces will be visible. However it may be intentional formatting. I wouldn't try to decide about that in this bug. We can make a new one for fixing the double spacing globally.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #8571803 - Flags: review?(neil)
Comment on attachment 8571861 [details] [diff] [review]
bug1138401_change_double_space_to_single.patch

I would propose to move this patch to a new  bug, where it can be decided why the double spaces were there and if they are still needed. This issue does not relate to the bug here.
Attachment #8571861 - Flags: feedback+
Attachment #8571803 - Flags: review?(neil) → review+
Component: Composition → Composer
Keywords: checkin-needed
Product: MailNews Core → SeaMonkey
Version: 38 → Trunk
http://hg.mozilla.org/comm-central/rev/87e3cb843f65
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.40
(In reply to :aceman from comment #8)
> Comment on attachment 8571861 [details] [diff] [review]
> bug1138401_change_double_space_to_single.patch
> 
> I would propose to move this patch to a new  bug, where it can be decided
> why the double spaces were there and if they are still needed. This issue
> does not relate to the bug here.
Did anyone file a new bug for this. Note both Thunderbird and SeaMonkey versions of this file has double spaces.
Flags: needinfo?(acelists)
Hi, I wouldn't ask the author to file the bug if I knew it was already filed. I see no further progress since I asked that.
Flags: needinfo?(acelists)
As I understand it the double spaces is an old form of making parts more clearly separated. I don't think they are needed per se, but also do little harm.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: