Bug 568653 - Change "Last Update" to "Last Sync" in tooltip. r=rnewman

This commit is contained in:
Philipp von Weitershausen 2011-05-30 12:51:34 -07:00
parent ce605c6593
commit 2c6a521a2f
4 changed files with 6 additions and 12 deletions

View File

@ -328,7 +328,7 @@ let gSyncUI = {
// Show the day-of-week and time (HH:MM) of last sync
let lastSyncDate = new Date(lastSync).toLocaleFormat("%a %H:%M");
let lastSyncLabel =
this._stringBundle.formatStringFromName("lastSync.label", [lastSyncDate], 1);
this._stringBundle.formatStringFromName("lastSync2.label", [lastSyncDate], 1);
syncButton.setAttribute("tooltiptext", lastSyncLabel);
},

View File

@ -437,7 +437,7 @@ let WeaveGlue = {
connect.setAttribute("title", self._bundle.GetStringFromName("connecting.label"));
if (aTopic == "weave:service:sync:start")
sync.setAttribute("title", self._bundle.GetStringFromName("lastSyncInProgress.label"));
sync.setAttribute("title", self._bundle.GetStringFromName("lastSyncInProgress2.label"));
} else {
connect.firstChild.disabled = false;
sync.firstChild.disabled = false;
@ -452,7 +452,7 @@ let WeaveGlue = {
let lastSync = Weave.Svc.Prefs.get("lastSync");
if (lastSync != null) {
let syncDate = new Date(lastSync).toLocaleFormat("%a %R");
let dateStr = this._bundle.formatStringFromName("lastSync.label", [syncDate], 1);
let dateStr = this._bundle.formatStringFromName("lastSync2.label", [syncDate], 1);
sync.setAttribute("title", dateStr);
}

View File

@ -1,8 +1,8 @@
# Mobile Sync
# %S is the date and time at which the last sync successfully completed
lastSync.label=Last update: %S
lastSyncInProgress.label=Last update: in progress…
lastSync2.label=Last sync: %S
lastSyncInProgress2.label=Last sync: in progress…
# %S is the username logged in
account.label=Account: %S

View File

@ -2,13 +2,7 @@
client.name2 = %1$S's %2$S on %3$S
# %S is the date and time at which the last sync successfully completed
lastSync.label = Last Update: %S
lastSyncInProgress.label = Last Update: in progress…
# %S is the username logged in
connected.label = Connected: %S
disconnected.label = Disconnected
connecting.label = Connecting…
lastSync2.label = Last sync: %S
mobile.label = Mobile Bookmarks