зеркало из https://github.com/mozilla/gecko-dev.git
Download manager. Not part of build. a=asa
This commit is contained in:
Родитель
c4787ced9f
Коммит
cb7802266b
|
@ -83,15 +83,17 @@ function Startup()
|
|||
key = "Win";
|
||||
else if (navigator.platform.indexOf("Mac") != -1)
|
||||
key = "Mac";
|
||||
else
|
||||
else {
|
||||
key = "Unix";
|
||||
document.getElementById("btn_openfile").hidden = true;
|
||||
}
|
||||
|
||||
var bundle = document.getElementById("dlMgrBundle")
|
||||
var label = bundle.getString("showInShellLabel" + key);
|
||||
var accesskey = bundle.getString("showInShellAccesskey" + key);
|
||||
var btn = document.getElementById("btn_showinshell");
|
||||
btn.setAttribute("label", label);
|
||||
btn.setAttribute("accesskey", accesskey);
|
||||
var showBtn = document.getElementById("btn_showinshell");
|
||||
showBtn.setAttribute("label", label);
|
||||
showBtn.setAttribute("accesskey", accesskey);
|
||||
}
|
||||
|
||||
function openPropertiesDialog()
|
||||
|
|
|
@ -124,7 +124,7 @@
|
|||
<toolbarbutton label="&cmd.remove.label;" accesskey="&cmd.remove.accesskey;"
|
||||
command="cmd_remove"/>
|
||||
<toolbarseparator class="toolbarseparator-standard"/>
|
||||
<toolbarbutton label="&cmd.openfile.label;" accesskey="&cmd.openfile.accesskey;"
|
||||
<toolbarbutton id="btn_openfile" label="&cmd.openfile.label;" accesskey="&cmd.openfile.accesskey;"
|
||||
command="cmd_openfile"/>
|
||||
<toolbarbutton id="btn_showinshell" command="cmd_showinshell"/>
|
||||
</toolbar>
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
<!ENTITY cmd.remove.accesskey "r">
|
||||
<!ENTITY cmd.cancel.label "Cancel">
|
||||
<!ENTITY cmd.cancel.accesskey "c">
|
||||
<!ENTITY cmd.openfile.label "Open File">
|
||||
<!ENTITY cmd.openfile.accesskey "o">
|
||||
<!ENTITY cmd.openfile.label "Launch File">
|
||||
<!ENTITY cmd.openfile.accesskey "L">
|
||||
|
||||
<!ENTITY confirmCancel "Are you sure you want to cancel the saving of this file?">
|
||||
<!ENTITY progressMsgNoRate "#1KB of #2KB">
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
<!ENTITY cmd.remove.accesskey "r">
|
||||
<!ENTITY cmd.cancel.label "Cancel">
|
||||
<!ENTITY cmd.cancel.accesskey "c">
|
||||
<!ENTITY cmd.openfile.label "Open File">
|
||||
<!ENTITY cmd.openfile.accesskey "o">
|
||||
<!ENTITY cmd.openfile.label "Launch File">
|
||||
<!ENTITY cmd.openfile.accesskey "L">
|
||||
|
||||
<!ENTITY confirmCancel "Are you sure you want to cancel the saving of this file?">
|
||||
<!ENTITY progressMsgNoRate "#1KB of #2KB">
|
||||
|
|
Загрузка…
Ссылка в новой задаче