зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1390644 - Change the mid-sync state of "Syncing…" to "Syncing Tabs…". r=eoger
MozReview-Commit-ID: Ef1aWhWEnZh --HG-- extra : rebase_source : 458685d94d16acfb21d080287484869c93d7a091
This commit is contained in:
Родитель
a4c8935171
Коммит
51f7139dc5
|
@ -492,7 +492,7 @@ var gSync = {
|
|||
|
||||
let broadcaster = document.getElementById("sync-status");
|
||||
broadcaster.setAttribute("syncstatus", "active");
|
||||
broadcaster.setAttribute("label", this.syncStrings.GetStringFromName("syncing2.label"));
|
||||
broadcaster.setAttribute("label", this.syncStrings.GetStringFromName("syncingtabs.label"));
|
||||
broadcaster.setAttribute("disabled", "true");
|
||||
},
|
||||
|
||||
|
|
|
@ -198,7 +198,7 @@ function checkSyncNowButton(buttonId, syncing, tooltip = null) {
|
|||
|
||||
is(remoteTabsButton.hasAttribute("disabled"), syncing, "disabled has the right value");
|
||||
if (syncing) {
|
||||
is(remoteTabsButton.getAttribute("label"), gSync.syncStrings.GetStringFromName("syncing2.label"), "label is set to the right value");
|
||||
is(remoteTabsButton.getAttribute("label"), gSync.syncStrings.GetStringFromName("syncingtabs.label"), "label is set to the right value");
|
||||
} else {
|
||||
is(remoteTabsButton.getAttribute("label"), gSync.syncStrings.GetStringFromName("syncnow.label"), "label is set to the right value");
|
||||
}
|
||||
|
|
|
@ -13,4 +13,4 @@ lastSync2.label = Last sync: %S
|
|||
signInToSync.description = Sign In To Sync
|
||||
|
||||
syncnow.label = Sync Now
|
||||
syncing2.label = Syncing…
|
||||
syncingtabs.label = Syncing Tabs…
|
||||
|
|
Загрузка…
Ссылка в новой задаче