[Pkg-privacy-commits] [xul-ext-monkeysphere] 48/296: fix some broken state setting and status messages

Ximin Luo infinity0 at moszumanska.debian.org
Mon Aug 24 07:39:24 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch debian
in repository xul-ext-monkeysphere.

commit afa54bc3de4ab0978fef0d7d3327d3a707b00aba
Author: Jameson Rollins <jrollins at finestructure.net>
Date:   Tue Jan 12 00:58:59 2010 -0500

    fix some broken state setting and status messages
---
 chrome/content/monkeysphere.js | 6 +++---
 chrome/locale/en-US/messages   | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/chrome/content/monkeysphere.js b/chrome/content/monkeysphere.js
index d64b1f3..a5b7238 100644
--- a/chrome/content/monkeysphere.js
+++ b/chrome/content/monkeysphere.js
@@ -240,7 +240,7 @@ var monkeysphere = {
     if(monkeysphere.checkOverrideStatus(uri)) {
       monkeysphere.log("main", " override set. valid!");
       monkeysphere.setStatus(monkeysphere.states.VAL,
-			     monkeysphere.messages.getString("statusInvalid"));
+			     monkeysphere.messages.getString("statusValid"));
       return;
     } else {
       monkeysphere.log("main", " no override.");
@@ -348,8 +348,8 @@ var monkeysphere = {
           monkeysphere.log("query", "  site valid!");
 	  monkeysphere.securityOverride(browser, cert);
         } else {
-          monkeysphere.log("query", "  site invalid!");
-	  monkeysphere.setStatus(monkeysphere.states.VAL,
+          monkeysphere.log("query", "  site invalid.");
+	  monkeysphere.setStatus(monkeysphere.states.INV,
 				 monkeysphere.messages.getString("statusInvalid"));
 	  return;
         }
diff --git a/chrome/locale/en-US/messages b/chrome/locale/en-US/messages
index eabb81a..1e2b404 100644
--- a/chrome/locale/en-US/messages
+++ b/chrome/locale/en-US/messages
@@ -18,5 +18,5 @@ statusNoCert=Monkeysphere: unable to retrieve a certificate for %1$S
 statusAlreadyValid=Monkeysphere: site already trusted.
 statusNeedsPermission=Monkeysphere: permission required to query validation agent.
 statusInProgress=Monkeysphere: querying validation agent...
-statusValid=Monkeysphere: this site has been Monkeysphere validated.
-statusInvalid=Monkeysphere: this site has been Monkeysphere validated.
+statusValid=Monkeysphere: this site has been Monkeysphere validated!
+statusInvalid=Monkeysphere: this site could not be validated.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/xul-ext-monkeysphere.git



More information about the Pkg-privacy-commits mailing list