Bug 282068 - RFE: Ability to collapse attachment pane; r=bwinton ui-r=clarkbw
authorJim Porter <squibblyflabbetydoo@gmail.com>
Mon, 28 Mar 2011 12:27:35 -0500
changeset 7550 92e59dcc7f96990aa4cdb2e971d3767635a6e93c
parent 7549 9800a91ab79f19e4b7e927b4cce67bb3b340b22f
child 7551 3a6a6a28b36e50ff71e5ee5212e58a6d7c12be4e
push id1
push useraxel@mozilla.com
push dateTue, 10 Oct 2017 22:14:06 +0000
reviewersbwinton, clarkbw
bugs282068
Bug 282068 - RFE: Ability to collapse attachment pane; r=bwinton ui-r=clarkbw X-Channel-Repo: comm-central X-Channel-Converted-Revision: 7c7f54344b22d1ca15febe4e546a7761cccd8243
mail/chrome/messenger/messenger.properties
mail/chrome/messenger/msgHdrViewOverlay.dtd
--- a/mail/chrome/messenger/messenger.properties
+++ b/mail/chrome/messenger/messenger.properties
@@ -340,16 +340,26 @@ detachLabel=Detach…
 detachLabelAccesskey=D
 deleteLabel=Delete
 deleteLabelAccesskey=E
 deleteAttachments=The following attachments will be permanently deleted from this message:\n%S\nThis action cannot be undone. Do you wish to continue?
 detachAttachments=The following attachments have been successfully saved and will now be permanently deleted from this message:\n%S\nThis action cannot be undone. Do you wish to continue?
 deleteAttachmentFailure=Failed to delete the selected attachments.
 emptyAttachment=This attachment appears to be empty.\nPlease check with the person who sent this.\nOften company firewalls or antivirus programs will destroy attachments.
 
+# LOCALIZATION NOTE (attachmentCount): Semi-colon list of plural forms.
+# See: http://developer.mozilla.org/en/Localization_and_Plurals
+# #1 number of attachments
+attachmentCount=#1 attachment;#1 attachments
+
+# LOCALIZATION NOTE (attachmentCountAndName): This is the format for the
+# attachment header when a message has only one attachment. %1$S is the
+# attachment count, and %2$S is the attachment's filename.
+attachmentCountAndName=%1$S: %2$S
+
 # This is the format for prepending accesskeys to the
 # each of the attachments in the file|attachments menu:
 #   ie: 1 file.txt
 #       2 another file.txt
 attachmentDisplayNameFormat=%S %S
 
 # This is the heading for the attachment summary when printing an email
 attachmentsPrintHeader=Attachments:
--- a/mail/chrome/messenger/msgHdrViewOverlay.dtd
+++ b/mail/chrome/messenger/msgHdrViewOverlay.dtd
@@ -94,29 +94,52 @@
 <!ENTITY markAsUnreadMenuItem.accesskey "r">
 <!ENTITY saveAsMenuItem.label "save as…">
 <!ENTITY saveAsMenuItem.accesskey "s">
 <!ENTITY viewSourceMenuItem.label "view source">
 <!ENTITY viewSourceMenuItem.accesskey "v">
 <!ENTITY otherActionsPrint.label "print…">
 <!ENTITY otherActionsPrint.accesskey "p">
 
+<!-- Attachment context menu items -->
 <!ENTITY openAttachmentCmd.label    "Open">
 <!ENTITY openAttachmentCmd.accesskey    "O">
 <!ENTITY saveAsAttachmentCmd.label    "Save As…">
 <!ENTITY saveAsAttachmentCmd.accesskey    "A">
 <!ENTITY detachAttachmentCmd.label    "Detach…">
+<!ENTITY detachAttachmentCmd.accesskey    "T">
 <!ENTITY deleteAttachmentCmd.label    "Delete">
+<!ENTITY deleteAttachmentCmd.accesskey    "L">
 <!ENTITY openAllAttachmentsCmd.label    "Open All…">
 <!ENTITY openAllAttachmentsCmd.accesskey    "O">
 <!ENTITY saveAllAttachmentsCmd.label    "Save All…">
 <!ENTITY saveAllAttachmentsCmd.accesskey    "S">
 <!ENTITY detachAllAttachmentsCmd.label    "Detach All…">
 <!ENTITY detachAllAttachmentsCmd.accesskey    "D">
 <!ENTITY deleteAllAttachmentsCmd.label    "Delete All…">
 <!ENTITY deleteAllAttachmentsCmd.accesskey    "E">
 
+<!-- Attachment toolbar items -->
+<!ENTITY saveAttachmentButton.label       "save">
+<!ENTITY saveAttachmentButton.tooltip     "save the attached file">
+<!ENTITY saveAllAttachmentsButton.label   "save all">
+<!ENTITY saveAllAttachmentsButton.tooltip "save all the attached files">
+<!ENTITY openAttachmentMenuItem.label     "open">
+<!ENTITY openAttachmentMenuItem.accesskey    "o">
+<!ENTITY saveAsAttachmentMenuItem.label    "save as…">
+<!ENTITY saveAsAttachmentMenuItem.accesskey    "s">
+<!ENTITY detachAttachmentMenuItem.label    "detach…">
+<!ENTITY detachAttachmentMenuItem.accesskey    "d">
+<!ENTITY deleteAttachmentMenuItem.label    "delete">
+<!ENTITY deleteAttachmentMenuItem.accesskey    "e">
+<!ENTITY saveAllAttachmentsMenuItem.label    "save all…">
+<!ENTITY saveAllAttachmentsMenuItem.accesskey    "s">
+<!ENTITY detachAllAttachmentsMenuItem.label    "detach all…">
+<!ENTITY detachAllAttachmentsMenuItem.accesskey    "d">
+<!ENTITY deleteAllAttachmentsMenuItem.label    "delete all…">
+<!ENTITY deleteAllAttachmentsMenuItem.accesskey    "e">
+
 <!ENTITY copyLinkCmd.label        "Copy Link Location">
 <!ENTITY copyLinkCmd.accesskey    "C">
 
 <!ENTITY CopyMessageId.label "Copy Message-ID">
 <!ENTITY OpenMessageForMsgId.label "Open Message For ID">
 <!ENTITY OpenBrowserWithMsgId.label "Open Browser With Message-ID">