mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 568653 - Change "Last Update" to "Last Sync" in tooltip. r=rnewman
This commit is contained in:
parent
ce605c6593
commit
2c6a521a2f
@ -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);
|
||||
},
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user