зеркало из https://github.com/mozilla/pjs.git
bug 48436 r=caillon sr=blake Change "Document: Done" to "Done"
This commit is contained in:
Родитель
c20beeadc6
Коммит
a893aed7c5
|
@ -77,7 +77,6 @@ nsBrowserStatusHandler.prototype =
|
|||
jsStatus : "",
|
||||
jsDefaultStatus : "",
|
||||
overLink : "",
|
||||
startTime : 0,
|
||||
|
||||
statusTimeoutInEffect : false,
|
||||
|
||||
|
@ -213,8 +212,6 @@ nsBrowserStatusHandler.prototype =
|
|||
(aStateFlags & nsIWebProgressListener.STATE_IS_REQUEST &&
|
||||
!aWebProgress.isLoadingDocument &&
|
||||
this.totalRequests == this.finishedRequests)) {
|
||||
// Remember when loading commenced.
|
||||
this.startTime = Date.now();
|
||||
|
||||
// Call start document load listeners (only if this is a network load)
|
||||
if (aStateFlags & nsIWebProgressListener.STATE_IS_NETWORK &&
|
||||
|
@ -272,10 +269,7 @@ nsBrowserStatusHandler.prototype =
|
|||
// If msg is false then we did not have an error (channel may have
|
||||
// been null, in the case of a stray image load).
|
||||
if (!msg) {
|
||||
// Record page loading time.
|
||||
var elapsed = (Date.now() - this.startTime) / 1000;
|
||||
msg = gNavigatorBundle.getString("nv_done");
|
||||
msg = msg.replace(/%elapsed%/, elapsed);
|
||||
}
|
||||
this.status = "";
|
||||
this.setDefaultStatus(msg);
|
||||
|
|
|
@ -191,7 +191,7 @@
|
|||
<!ENTITY homeButton.label "Home">
|
||||
|
||||
<!-- Statusbar -->
|
||||
<!ENTITY statusText.label "Document: Done">
|
||||
<!ENTITY statusText.label "Done">
|
||||
|
||||
<!ENTITY historyCmd.label "History">
|
||||
<!ENTITY historyCmd.accesskey "i">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
nv_done=Document: Done (%elapsed% secs)
|
||||
nv_done=Done
|
||||
nv_timeout=Timed Out
|
||||
nv_stopped=Stopped
|
||||
openFile=Open File
|
||||
|
|
Загрузка…
Ссылка в новой задаче