Bug 603717 - Change "Loading..." to "Connecting..." for initial state for tabs r=beltzner a=blocking-beta7

This commit is contained in:
Margaret Leibovic 2010-10-12 14:25:17 -07:00
Родитель 4052aa000a
Коммит 1566bfd815
3 изменённых файлов: 17 добавлений и 3 удалений

Просмотреть файл

@ -464,7 +464,7 @@
if (location.scheme == "keyword")
this.mBrowser.userTypedValue = null;
if (this.mTab.label == this.mTabBrowser.mStringBundle.getString("tabs.loading"))
if (this.mTab.label == this.mTabBrowser.mStringBundle.getString("tabs.connecting"))
this.mTabBrowser.setTabTitle(this.mTab);
if (this.mTab.selected)
@ -874,7 +874,7 @@
<parameter name="aTab"/>
<body>
<![CDATA[
aTab.label = this.mStringBundle.getString("tabs.loading");
aTab.label = this.mStringBundle.getString("tabs.connecting");
aTab.crop = "end";
this._tabAttrModified(aTab);
]]>

Просмотреть файл

@ -3515,7 +3515,7 @@ SessionStoreService.prototype = {
* @returns aString that has been updated with the new title
*/
_replaceLoadingTitle : function sss_replaceLoadingTitle(aString, aTabbrowser, aTab) {
if (aString == aTabbrowser.mStringBundle.getString("tabs.loading")) {
if (aString == aTabbrowser.mStringBundle.getString("tabs.connecting")) {
aTabbrowser.setTabTitle(aTab);
[aString, aTab.label] = [aTab.label, aString];
}

Просмотреть файл

@ -1,4 +1,18 @@
# LOCALIZATION NOTE: the following strings can be used in the tab title or
# location bar to represent various states as a web page loads:
# tabs.connecting = Firefox is sending a HTTP connection request
# tabs.encryptingConnection = Firefox is sending a HTTPS connection request
# tabs.searching = Firefox is searching for something (Awesomebar or Web search)
# tabs.loading = Firefox is loading the web page
# tabs.waiting = Firefox is waiting for a web resource to load
# tabs.downloading = Firefox is downloading a file for a helper application (PDF)
tabs.connecting=Connecting…
tabs.encryptingConnection=Securing connection…
tabs.searching=Searching…
tabs.loading=Loading…
tabs.waiting=Waiting…
tabs.downloading=Downloading…
tabs.emptyTabTitle=New Tab
tabs.closeTab=Close Tab
tabs.close=Close