[Pkg-mozext-commits] [perspectives-extension] 54/72: Pers_statusbar - Edit confirmation dialog UI

David Prévot taffit at moszumanska.debian.org
Thu Dec 11 02:12:51 UTC 2014


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

taffit pushed a commit to branch master
in repository perspectives-extension.

commit bdf3c0f776ffb6869b9b51211eb807ea2d2c38ee
Author: Dave Schaefer <dave.schaefer at gmail.com>
Date:   Thu Oct 23 22:27:22 2014 -0600

    Pers_statusbar - Edit confirmation dialog UI
    
    Add a newline and quotation marks around the phrase,
    to make sure it does not get cut off part way through
    and ensure it is clear to the user what they should type.
---
 plugin/chrome/content/statusbar.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/plugin/chrome/content/statusbar.js b/plugin/chrome/content/statusbar.js
index 2086cfd..363cbb5 100644
--- a/plugin/chrome/content/statusbar.js
+++ b/plugin/chrome/content/statusbar.js
@@ -132,7 +132,8 @@ var Pers_statusbar = {
 			var prompt = window.prompt(
 				Perspectives.strbundle.getString("distrustAllWarning"    ) + "\n" +
 				Perspectives.strbundle.getString("distrustAllDescription") + "\n" +
-				Perspectives.strbundle.getString("distrustAllPrompt"     ) + " " + Perspectives.strbundle.getString("distrustAllPhrase"));
+				Perspectives.strbundle.getString("distrustAllPrompt"     ) + "\n\"" +
+				Perspectives.strbundle.getString("distrustAllPhrase") + "\"");
 			var phrase = Perspectives.strbundle.getString("distrustAllPhrase");
 			if(prompt.toLowerCase() === phrase.toLowerCase()) {
 				var Cc = Components.classes

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/perspectives-extension.git



More information about the Pkg-mozext-commits mailing list