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:
Steve Armand 2017-08-28 21:38:49 -04:00
Родитель a4c8935171
Коммит 51f7139dc5
3 изменённых файлов: 3 добавлений и 3 удалений

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

@ -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