Bug 1272903 - Missing comment for localization note notADeceptiveSite, notAnAttack. r=frg
authorOnno Ekker <o.e.ekker@gmail.com>
Sat, 14 May 2016 22:56:33 +0200
changeset 8605 63abb96bd3014b252f019a7dbad864c9ec2df4ea
parent 8604 3fd46512aa0eee42dc5f919d09a84b94523fda1e
child 8606 3237b1c68a2fe108eff0bdcd52ad3797f210c10d
push id1
push useraxel@mozilla.com
push dateTue, 10 Oct 2017 22:14:06 +0000
reviewersfrg
bugs1272903
Bug 1272903 - Missing comment for localization note notADeceptiveSite, notAnAttack. r=frg X-Channel-Repo: comm-central X-Channel-Converted-Revision: ad4547cf143742a3266eeeb8f2549d51e2cb4107
suite/chrome/common/notification.properties
suite/chrome/common/safeBrowsing.dtd
--- a/suite/chrome/common/notification.properties
+++ b/suite/chrome/common/notification.properties
@@ -196,16 +196,18 @@ SecurityUnblock.accesskey=U
 SecurityPreferences.label=Preferences
 SecurityPreferences.accesskey=P
 PostToInsecureFromInsecureMessage=The information you have entered is to be sent over an unencrypted connection and could easily be read by a third party.\nAre you sure you want to continue sending this information?
 PostToInsecureFromInsecureShowAgain=Alert me whenever I submit information that's not encrypted.
 PostToInsecureContinue=Continue
 
 # Phishing/Malware Notification Bar.
 # LOCALIZATION NOTE (notADeceptiveSite, notAnAttack)
+# The two button strings will never be shown at the same time, so
+# it's okay for them to have the same access key.
 safebrowsing.getMeOutOfHereButton.label=Get me out of here!
 safebrowsing.getMeOutOfHereButton.accessKey=G
 safebrowsing.deceptiveSite=Deceptive Site!
 safebrowsing.notADeceptiveSiteButton.label=This isn't a deceptive site…
 safebrowsing.notADeceptiveSiteButton.accessKey=d
 safebrowsing.reportedAttackSite=Reported Attack Site!
 safebrowsing.notAnAttackButton.label=This isn't an attack site…
 safebrowsing.notAnAttackButton.accessKey=a
--- a/suite/chrome/common/safeBrowsing.dtd
+++ b/suite/chrome/common/safeBrowsing.dtd
@@ -21,13 +21,14 @@
 <!-- Localization note (safeb.blocked.phishingPage.shortDesc2) - Please don't translate the contents of the <span id="phishing_sitename"/> tag. It will be replaced at runtime with a domain name (e.g. www.badsite.com) -->
 <!ENTITY safeb.blocked.phishingPage.shortDesc2 "This web page at <span id='phishing_sitename'/> has been reported as a deceptive site and has been blocked based on your security preferences.">
 <!ENTITY safeb.blocked.phishingPage.longDesc2 "<p>Deceptive sites are designed to trick you into doing something dangerous, like installing software, or revealing your personal information, like passwords, phone numbers or credit cards.</p><p>Entering any information on this web page may result in identity theft or other fraud.</p>">
 
 <!ENTITY safeb.blocked.forbiddenPage.title2 "Blocked Site">
 <!-- Localization note (safeb.blocked.forbiddenPage.shortDesc2) - Please don't translate the contents of the <span id="forbidden_sitename"/> tag.  It will be replaced at runtime with a domain name (e.g. www.badsite.com) -->
 <!ENTITY safeb.blocked.forbiddenPage.shortDesc2 "The Web page at <span id='forbidden_sitename'/> has been blocked by your admin profile.">
 
+<!-- Localization note (reportDeceptiveSite, notADeceptiveSite) - The two button strings will never be shown at the same time, so it's okay for them to have the same access key. -->
 <!ENTITY reportDeceptiveSite.label "Report deceptive site…">
 <!ENTITY reportDeceptiveSite.accesskey "d">
 <!ENTITY notADeceptiveSite.label "This isn't a deceptive site…">
 <!ENTITY notADeceptiveSite.accesskey "d">