[Pkg-mozext-commits] [firebug] 35/48: Improved tooltip for pretty-printing within Script panel to include a hint that it doesn't work for inline scripts (related to issue 7305)

David Prévot taffit at moszumanska.debian.org
Tue Jun 3 01:47:45 UTC 2014


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

taffit pushed a commit to branch master
in repository firebug.

commit 7f621b61c3961e3390e1caf60a733e28d3b42336
Author: Sebastian Zartner <sebastianzartner at gmail.com>
Date:   Thu May 29 01:42:12 2014 +0200

    Improved tooltip for pretty-printing within Script panel to include a
    hint that it doesn't work for inline scripts (related to issue 7305)
---
 extension/content/firebug/firebugOverlay.xul | 4 ++--
 extension/locale/en-US/firebug.properties    | 9 ++++++---
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/extension/content/firebug/firebugOverlay.xul b/extension/content/firebug/firebugOverlay.xul
index 2ef6391..db9f1ad 100644
--- a/extension/content/firebug/firebugOverlay.xul
+++ b/extension/content/firebug/firebugOverlay.xul
@@ -370,7 +370,7 @@
                                         <toolbarbutton id="fbToggleScriptPrettyPrinting"
                                             type="checkbox"
                                             class="toolbar-image-button fbInternational"
-                                            tooltiptext="script.tip.PrettyPrint"
+                                            tooltiptext="script.prettyPrintTooltip"
                                             command="cmd_firebug_toggleScriptPrettyPrinting"/>
                                     </hbox>
 
@@ -493,7 +493,7 @@
                                     oncommand="Firebug.CommandLine.copyBookmarklet(Firebug.currentContext)"/>
                                 <toolbarbutton id="fbCmdLinePrettyPrintButton" label="script.PrettyPrint"
                                     class="toolbar-text-button fbInternational"
-                                    tooltiptext="script.tip.PrettyPrint"
+                                    tooltiptext="commandEditor.prettyPrintTooltip"
                                     oncommand="Firebug.CommandEditor.prettyPrint(Firebug.currentContext)"/>
                                 <toolbarbutton id="fbCommandEditorHistoryButton"
                                     label="firebug.History"
diff --git a/extension/locale/en-US/firebug.properties b/extension/locale/en-US/firebug.properties
index d442f07..b720573 100644
--- a/extension/locale/en-US/firebug.properties
+++ b/extension/locale/en-US/firebug.properties
@@ -1615,10 +1615,13 @@ script.tip.Step_Out=Execute the rest of the function's body and returns to its c
 firebug.RunUntil=Run to This Line
 script.tip.Run_Until=Execute the JavaScript until the specified line
 
-# LOCALIZATION NOTE (script.PrettyPrint, script.tip.PrettyPrint)
-# Labels used in Script's panel context menu. The menu item is used to prettify the source.
+# LOCALIZATION NOTE (script.PrettyPrint, script.prettyPrintTooltip,
+# commandEditor.prettyPrintTooltip)
+# Labels used in Script panel's and Command Editor's toolbar.
+# The option is used to prettify the source code.
 script.PrettyPrint=Pretty Print
-script.tip.PrettyPrint=Format the current script
+script.prettyPrintTooltip=Format the current script (not available for inline scripts)
+commandEditor.prettyPrintTooltip=Format the entered script
 
 # LOCALIZATION NOTE (firebug.Inspect, firebug.InspectElement, firebug.InspectElementWithFirebug)
 # Labels for Firebug Inspector. Used by a button (available in Firefox Customize Toolbar dialog)

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



More information about the Pkg-mozext-commits mailing list