mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 849287 - Clean up strings for Metro site permission notifications [r=jimm]
This commit is contained in:
parent
a1fc44bc09
commit
81de7606e8
@ -42,20 +42,16 @@ var OfflineApps = {
|
||||
OfflineApps.allowSite(notification.documents[i], aTarget);
|
||||
}
|
||||
},{
|
||||
label: strings.GetStringFromName("offlineApps.never"),
|
||||
label: strings.GetStringFromName("contentPermissions.neverForSite"),
|
||||
accessKey: "",
|
||||
callback: function() {
|
||||
for (let i = 0; i < notification.documents.length; i++)
|
||||
OfflineApps.disallowSite(notification.documents[i]);
|
||||
}
|
||||
},{
|
||||
label: strings.GetStringFromName("offlineApps.notNow"),
|
||||
accessKey: "",
|
||||
callback: function() { /* noop */ }
|
||||
}];
|
||||
|
||||
const priority = notificationBox.PRIORITY_INFO_LOW;
|
||||
let message = strings.formatStringFromName("offlineApps.available2", [host], 1);
|
||||
let message = strings.formatStringFromName("offlineApps.wantsTo", [host], 1);
|
||||
notification = notificationBox.appendNotification(message, notificationID, "", priority, buttons);
|
||||
notification.documents = [aRequest];
|
||||
}
|
||||
|
@ -15,8 +15,7 @@ const kEntities = {
|
||||
"geolocation": "geolocation2",
|
||||
"desktop-notification": "desktopNotification",
|
||||
"indexedDB": "offlineApps",
|
||||
"indexedDBQuota": "indexedDBQuota",
|
||||
"openWebappsManage": "openWebappsManage"
|
||||
"indexedDBQuota": "indexedDBQuota"
|
||||
};
|
||||
|
||||
const kIcons = {
|
||||
|
@ -59,22 +59,13 @@ typeError=Error:
|
||||
typeWarning=Warning:
|
||||
|
||||
# Offline web applications
|
||||
offlineApps.available2=%S wants to store data on your device for offline use.
|
||||
offlineApps.allow=Allow
|
||||
offlineApps.never=Don't Allow
|
||||
offlineApps.notNow=Not Now
|
||||
|
||||
# New-style ContentPermissionPrompt values
|
||||
offlineApps.wantsTo=%S wants to store data on your device for offline use.
|
||||
|
||||
# IndexedDB Quota increases
|
||||
indexedDBQuota.allow=Allow
|
||||
indexedDBQuota.wantsTo=%S wants to store a lot of data on your device for offline use.
|
||||
|
||||
# Open Web Apps management API
|
||||
openWebappsManage.allow=Allow
|
||||
openWebappsManage.wantsTo=%S wants to manage applications on your device.
|
||||
|
||||
# Bookmark List
|
||||
bookmarkList.desktop=Desktop Bookmarks
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user