Bug 691141 - Improved AB photo handling (strings only). r=aceman
authorSamuel Mueller <samuel.mueller@leven.ch>
Tue, 30 Dec 2014 12:28:18 +0100
changeset 9701 58d2405cf1d6c33c40fb29b7241a1b8ca605f452
parent 9700 e70933626d5794ff85fac7abc66fa725e4a718d5
child 9702 0d7a1c71ba6dc2fd12b0ec186761b73a8d2281ca
push id47
push userfrancesco.lodolo@mozillaitalia.org
push dateTue, 13 Mar 2018 06:36:07 +0000
reviewersaceman
bugs691141
Bug 691141 - Improved AB photo handling (strings only). r=aceman X-Channel-Repo: comm-central X-Channel-Converted-Revision: c5590822b9cde4b5993edc556899c8b2275a3d1d X-Channel-Repo: releases/comm-beta X-Channel-Revision: 5531b31dc93b4fd8b892e5c8f37fb66339781c59 X-Channel-Repo: releases/comm-release X-Channel-Revision: 1735f173c035a8a77fd2f0d2645607b225a61cdc
mail/chrome/messenger/addressbook/abCard.dtd
mail/chrome/messenger/addressbook/addressBook.properties
--- a/mail/chrome/messenger/addressbook/abCard.dtd
+++ b/mail/chrome/messenger/addressbook/abCard.dtd
@@ -149,8 +149,9 @@
 <!ENTITY PhotoFile.accesskey            "n">
 <!ENTITY BrowsePhoto.label              "Browse">
 <!ENTITY BrowsePhoto.accesskey          "r">
 <!ENTITY PhotoURL.label                 "On the Web">
 <!ENTITY PhotoURL.accesskey             "b">
 <!ENTITY PhotoURL.placeholder           "Paste or type the web address of a photo">
 <!ENTITY UpdatePhoto.label              "Update">
 <!ENTITY UpdatePhoto.accesskey          "u">
+<!ENTITY PhotoDropTarget.label          "Drag new photo here">
--- a/mail/chrome/messenger/addressbook/addressBook.properties
+++ b/mail/chrome/messenger/addressbook/addressBook.properties
@@ -156,18 +156,25 @@ cityOrStateAndZip=%1$S %2$S
 
 stateZipSeparator=
 
 prefixTo=To
 prefixCc=Cc
 prefixBcc=Bcc
 addressBook=Address Book
 
+# Contact photo management
 browsePhoto=Contact Photo
 
+stateImageSave=Saving the imageā€¦
+errorInvalidUri=Error: Invalid source image.
+errorNotAvailable=Error: The file is not accessible.
+errorInvalidImage=Error: Only JPG, PNG and GIF image types are supported.
+errorSaveOperation=Error: Could not save the image.
+
 # mailnews.js
 ldap_2.servers.pab.description=Personal Address Book
 ldap_2.servers.history.description=Collected Addresses
 ## LOCALIZATION NOTE (ldap_2.servers.osx.description is only used on Mac OS X)
 ldap_2.servers.osx.description=Mac OS X Address Book
 
 # status bar stuff
 ## LOCALIZATION NOTE (totalContactStatus):