Bug 856577 - Make new message import from movemail more robust and fail cleanly if the file can't be parsed. r=jcranmer
authoraceman <acelists@atlas.sk>
Thu, 16 May 2013 16:50:00 -0400
changeset 8033 70b7fcdca39294cae6d858df0cdec2a33cfd7ca5
parent 8032 b0e33165c71cc2b117e193039999c41d53006e88
child 8034 8af1507009a8ed0055814ac8d672a48b857aa24a
push id1
push useraxel@mozilla.com
push dateTue, 10 Oct 2017 22:14:06 +0000
reviewersjcranmer
bugs856577
Bug 856577 - Make new message import from movemail more robust and fail cleanly if the file can't be parsed. r=jcranmer X-Channel-Repo: comm-central X-Channel-Converted-Revision: 98c3da4179afb7cc8734a67921f927ace4d64664
mail/chrome/messenger/localMsgs.properties
suite/chrome/mailnews/localMsgs.properties
--- a/mail/chrome/messenger/localMsgs.properties
+++ b/mail/chrome/messenger/localMsgs.properties
@@ -98,16 +98,19 @@ movemailCantOpenSpoolFile=Unable to open
 movemailCantCreateLock=Unable to create lock file %S. For movemail to work, it is necessary to create lock files in the mail spool directory. On many systems, this is best accomplished by making the spool directory be mode 01777.
 
 movemailCantDeleteLock=Unable to delete lock file %S.
 
 movemailCantTruncateSpoolFile=Unable to truncate spool file %S.
 
 movemailSpoolFileNotFound=Unable to locate mail spool file.
 
+#LOCALIZATION NOTE (movemailCantParseSpool): %S is file name
+movemailCantParseSpool=Unable to parse spool file %S. The file may be corrupt or not valid.
+
 pop3TmpDownloadError=There was an error downloading the following message:   \nFrom: %S\n   Subject: %S\n This message may contain a virus or there is not enough disk space. Skip this message?
 
 # Status - the server doesn't support UIDL…
 # LOCALIZATION NOTE(pop3ServerDoesNotSupportUidlEtc): The following sentence should be translated in this way:
 # Do not translate "POP3"
 # Do not translate "%S". Place %S in your translation where the name of the server should appear.
 # Do not translate "UIDL"
 pop3ServerDoesNotSupportUidlEtc=The POP3 mail server (%S) does not support UIDL or XTND XLST, which are required to implement the ``Leave on Server'', ``Maximum Message Size'' or ``Fetch Headers Only'' options. To download your mail, turn off these options in the Server Settings for your mail server in the Account Settings window.
--- a/suite/chrome/mailnews/localMsgs.properties
+++ b/suite/chrome/mailnews/localMsgs.properties
@@ -98,16 +98,19 @@ movemailCantOpenSpoolFile=Unable to open
 movemailCantCreateLock=Unable to create lock file %S. For movemail to work, it is necessary to create lock files in the mail spool directory. On many systems, this is best accomplished by making the spool directory be mode 01777.
 
 movemailCantDeleteLock=Unable to delete lock file %S.
 
 movemailCantTruncateSpoolFile=Unable to truncate spool file %S.
 
 movemailSpoolFileNotFound=Unable to locate mail spool file.
 
+#LOCALIZATION NOTE (movemailCantParseSpool): %S is file name
+movemailCantParseSpool=Unable to parse spool file %S. The file may be corrupt or not valid.
+
 pop3TmpDownloadError=There was an error downloading the following message:   \nFrom: %S\n   Subject: %S\n This message may contain a virus or there is not enough disk space. Skip this message?
 
 # Status - the server doesn't support UIDL…
 # LOCALIZATION NOTE(pop3ServerDoesNotSupportUidlEtc): The following sentence should be translated in this way:
 # Do not translate "POP3"
 # Do not translate "%S". Place %S in your translation where the name of the server should appear.
 # Do not translate "UIDL"
 pop3ServerDoesNotSupportUidlEtc=The POP3 mail server (%S) does not support UIDL or XTND XLST, which are required to implement the ``Leave on Server'', ``Maximum Message Size'' or ``Fetch Headers Only'' options. To download your mail, turn off these options in the Server Settings for your mail server in the Account Settings window.