[Pkg-mozext-commits] [firebug] 01/59: Fixed network events translation
David Prévot
taffit at moszumanska.debian.org
Thu Aug 14 14:52:52 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 9e2f028afa13f175dd9118faaf14a2cdcf217e12
Author: Sebastian Zartner <sebastianzartner at gmail.com>
Date: Sun Jul 6 22:53:42 2014 +0200
Fixed network events translation
---
extension/content/firebug/net/netProgress.js | 6 +++---
extension/locale/en-US/firebug.properties | 1 +
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/extension/content/firebug/net/netProgress.js b/extension/content/firebug/net/netProgress.js
index ac35ebb..02c1c8d 100644
--- a/extension/content/firebug/net/netProgress.js
+++ b/extension/content/firebug/net/netProgress.js
@@ -736,7 +736,7 @@ NetProgress.prototype =
return;
var phase = this.context.netProgress.currentPhase;
- var timeStamp = phase.addTimeStamp("MozAfterPaint", "netPaintBar");
+ var timeStamp = phase.addTimeStamp(Locale.$STR("requestinfo.AfterPaint"), "netPaintBar");
timeStamp.time = time;
// Return the first file, so the layout is updated. I can happen that the
@@ -775,7 +775,7 @@ NetProgress.prototype =
// Keep the information also in the phase for now, NetExport and other could need it.
firstPhase.windowLoadTime = time;
- var timeStamp = firstPhase.addTimeStamp("load", "netWindowLoadBar");
+ var timeStamp = firstPhase.addTimeStamp(Locale.$STR("requestinfo.WindowLoad"), "netWindowLoadBar");
timeStamp.time = time;
// Return the first file, so the layout is updated. I can happen that the
@@ -798,7 +798,7 @@ NetProgress.prototype =
// Keep the information also in the phase for now, NetExport and other could need it.
firstPhase.contentLoadTime = time;
- var timeStamp = firstPhase.addTimeStamp("DOMContentLoaded", "netContentLoadBar");
+ var timeStamp = firstPhase.addTimeStamp(Locale.$STR("requestinfo.ContentLoad"), "netContentLoadBar");
timeStamp.time = time;
return null;
diff --git a/extension/locale/en-US/firebug.properties b/extension/locale/en-US/firebug.properties
index 7340e2c..db503f3 100644
--- a/extension/locale/en-US/firebug.properties
+++ b/extension/locale/en-US/firebug.properties
@@ -1157,6 +1157,7 @@ requestinfo.Waiting=Waiting
requestinfo.Receiving=Receiving
requestinfo.ContentLoad='DOMContentLoaded' (event)
requestinfo.WindowLoad='load' (event)
+requestinfo.AfterPaint='MozAfterPaint' (event)
# LOCALIZATION NOTE (requestinfo.started.label, requestinfo.phases.label, requestinfo.timings.label):
# Labels used within a tooltip (aka time-info-tip) for waterfall graph in the Net panel.
requestinfo.started.label=Request start time since the beginning
--
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