зеркало из https://github.com/mozilla/pjs.git
Bug 439133 - "Show Image" is poorly labeled, can be confused with "View Image". ui-r=faaborg, r=mano
This commit is contained in:
Родитель
6af487e184
Коммит
3a032c0e75
|
@ -99,10 +99,10 @@
|
|||
accesskey="&mediaHideControls.accesskey;"
|
||||
oncommand="gContextMenu.mediaCommand('hidecontrols');"/>
|
||||
<menuseparator id="context-media-sep-commands"/>
|
||||
<menuitem id="context-showimage"
|
||||
label="&showImageCmd.label;"
|
||||
accesskey="&showImageCmd.accesskey;"
|
||||
oncommand="gContextMenu.showImage();"/>
|
||||
<menuitem id="context-reloadimage"
|
||||
label="&reloadImageCmd.label;"
|
||||
accesskey="&reloadImageCmd.accesskey;"
|
||||
oncommand="gContextMenu.reloadImage();"/>
|
||||
<menuitem id="context-viewimage"
|
||||
label="&viewImageCmd.label;"
|
||||
accesskey="&viewImageCmd.accesskey;"
|
||||
|
|
|
@ -220,8 +220,8 @@ nsContextMenu.prototype = {
|
|||
.disabled = this.disableSetDesktopBackground();
|
||||
}
|
||||
|
||||
// Show image depends on an image that's not fully loaded
|
||||
this.showItem("context-showimage", (this.onImage && !this.onCompletedImage));
|
||||
// Reload image depends on an image that's not fully loaded
|
||||
this.showItem("context-reloadimage", (this.onImage && !this.onCompletedImage));
|
||||
|
||||
// View image depends on having an image that's not standalone
|
||||
// (or is in a frame), or a canvas.
|
||||
|
@ -740,7 +740,7 @@ nsContextMenu.prototype = {
|
|||
BrowserPageInfo(this.target.ownerDocument);
|
||||
},
|
||||
|
||||
showImage: function(e) {
|
||||
reloadImage: function(e) {
|
||||
urlSecurityCheck(this.mediaURL,
|
||||
this.browser.contentPrincipal,
|
||||
Ci.nsIScriptSecurityManager.DISALLOW_SCRIPT);
|
||||
|
|
|
@ -233,8 +233,8 @@
|
|||
<!ENTITY viewPageInfoCmd.accesskey "I">
|
||||
<!ENTITY viewFrameInfoCmd.label "View Frame Info">
|
||||
<!ENTITY viewFrameInfoCmd.accesskey "I">
|
||||
<!ENTITY showImageCmd.label "Show Image">
|
||||
<!ENTITY showImageCmd.accesskey "S">
|
||||
<!ENTITY reloadImageCmd.label "Reload Image">
|
||||
<!ENTITY reloadImageCmd.accesskey "R">
|
||||
<!ENTITY viewImageCmd.label "View Image">
|
||||
<!ENTITY viewImageCmd.accesskey "I">
|
||||
<!ENTITY viewBGImageCmd.label "View Background Image">
|
||||
|
|
Загрузка…
Ссылка в новой задаче