mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1135237 - update message for EME notification, r=dolske
This commit is contained in:
parent
3f3b420a20
commit
bf2d6b33c7
@ -25,15 +25,6 @@ let gEMEHandler = {
|
||||
return "<label class='text-link' href='" + baseURL + "drm-content'>" +
|
||||
text + "</label>";
|
||||
},
|
||||
getDRMLabel: function(keySystem) {
|
||||
if (keySystem.startsWith("com.adobe")) {
|
||||
return "Adobe Primetime";
|
||||
}
|
||||
if (keySystem == "org.w3.clearkey") {
|
||||
return "ClearKey";
|
||||
}
|
||||
return gNavigatorBundle.getString("emeNotifications.unknownDRMSoftware");
|
||||
},
|
||||
onDontAskAgain: function(menuPopupItem) {
|
||||
let button = menuPopupItem.parentNode.anchorNode;
|
||||
let bar = button.parentNode;
|
||||
@ -158,12 +149,11 @@ let gEMEHandler = {
|
||||
}
|
||||
|
||||
let msgPrefix = "emeNotifications.drmContentPlaying.";
|
||||
let msgId = msgPrefix + "message";
|
||||
let msgId = msgPrefix + "message2";
|
||||
let btnLabelId = msgPrefix + "button.label";
|
||||
let btnAccessKeyId = msgPrefix + "button.accesskey";
|
||||
|
||||
let drmProvider = this.getDRMLabel(keySystem);
|
||||
let message = gNavigatorBundle.getFormattedString(msgId, [drmProvider, this._brandShortName]);
|
||||
let message = gNavigatorBundle.getFormattedString(msgId, [this._brandShortName]);
|
||||
let anchorId = "eme-notification-icon";
|
||||
|
||||
let mainAction = {
|
||||
|
@ -591,8 +591,8 @@ getUserMedia.sharingMenuMicrophoneWindow = %S (microphone and window)
|
||||
# origin for the sharing menu if no readable origin could be deduced from the URL.
|
||||
getUserMedia.sharingMenuUnknownHost = Unknown origin
|
||||
|
||||
# LOCALIZATION NOTE(emeNotifications.drmContentPlaying.message): %1$S is the vendor name of the DRM that's in use, %2$S is brandShortName.
|
||||
emeNotifications.drmContentPlaying.message = Some audio or video on this site uses %1$S DRM software, which may limit what %2$S can let you do with it.
|
||||
# LOCALIZATION NOTE(emeNotifications.drmContentPlaying.message2): %S is brandShortName.
|
||||
emeNotifications.drmContentPlaying.message2 = Some audio or video on this site uses DRM software, which may limit what %S can let you do with it.
|
||||
emeNotifications.drmContentPlaying.button.label = Configure…
|
||||
emeNotifications.drmContentPlaying.button.accesskey = C
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user