зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset cbd4339e2ca1 (bug 1368145) for failing browser-chrome test browser_contextmenu_sendpage.js. r=backout
This commit is contained in:
Родитель
d4593a2a0d
Коммит
addc302695
|
@ -326,12 +326,12 @@ var gSync = {
|
||||||
addTargetDevice(client.id, client.name, client.type);
|
addTargetDevice(client.id, client.name, client.type);
|
||||||
}
|
}
|
||||||
|
|
||||||
// "Send to All Devices" menu item
|
// "All devices" menu item
|
||||||
if (clients.length > 1) {
|
if (clients.length > 1) {
|
||||||
const separator = createDeviceNodeFn();
|
const separator = createDeviceNodeFn();
|
||||||
separator.classList.add("sync-menuitem");
|
separator.classList.add("sync-menuitem");
|
||||||
fragment.appendChild(separator);
|
fragment.appendChild(separator);
|
||||||
const allDevicesLabel = this.fxaStrings.GetStringFromName("sendToAllDevices.menuitem");
|
const allDevicesLabel = this.fxaStrings.GetStringFromName("sendTabToAllDevices.menuitem");
|
||||||
addTargetDevice("", allDevicesLabel, "");
|
addTargetDevice("", allDevicesLabel, "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -393,7 +393,7 @@ add_task(async function sendToDevice_devices() {
|
||||||
expectedItems.push(
|
expectedItems.push(
|
||||||
null,
|
null,
|
||||||
{
|
{
|
||||||
label: "Send to All Devices",
|
label: "All Devices",
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
checkSendToDeviceItems(expectedItems);
|
checkSendToDeviceItems(expectedItems);
|
||||||
|
|
|
@ -35,9 +35,9 @@ syncStartNotification.body2 = %S will begin syncing momentarily.
|
||||||
deviceDisconnectedNotification.title = Sync disconnected
|
deviceDisconnectedNotification.title = Sync disconnected
|
||||||
deviceDisconnectedNotification.body = This computer has been successfully disconnected from Firefox Sync.
|
deviceDisconnectedNotification.body = This computer has been successfully disconnected from Firefox Sync.
|
||||||
|
|
||||||
# LOCALIZATION NOTE (sendToAllDevices.menuitem)
|
# LOCALIZATION NOTE (sendTabToAllDevices.menuitem)
|
||||||
# Displayed in the Send Tab/Page/Link to Device context menu when right clicking a tab, a page or a link.
|
# Displayed in the Send Tabs context menu when right clicking a tab, a page or a link.
|
||||||
sendToAllDevices.menuitem = Send to All Devices
|
sendTabToAllDevices.menuitem = All Devices
|
||||||
|
|
||||||
# LOCALIZATION NOTE (tabArrivingNotification.title, tabArrivingNotificationWithDevice.title,
|
# LOCALIZATION NOTE (tabArrivingNotification.title, tabArrivingNotificationWithDevice.title,
|
||||||
# tabsArrivingNotification.title, unnamedTabsArrivingNotification2.body,
|
# tabsArrivingNotification.title, unnamedTabsArrivingNotification2.body,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче