зеркало из https://github.com/mozilla/pjs.git
Bug 598452: add access key to "Clear Console" button, r=gavin, a=blocking
--HG-- extra : rebase_source : f656f37acba8804a98705f7d62dd72a027fd7195
This commit is contained in:
Родитель
6d7d6ba179
Коммит
8924308fbe
|
@ -3254,7 +3254,9 @@ HeadsUpDisplay.prototype = {
|
|||
menuPopup.appendChild(this.makeXULNode("menuseparator"));
|
||||
|
||||
let clearItem = this.makeXULNode("menuitem");
|
||||
clearItem.setAttribute("label", this.getStr("itemClear"));
|
||||
clearItem.setAttribute("label", this.getStr("clearConsoleCmd.label"));
|
||||
clearItem.setAttribute("accesskey",
|
||||
this.getStr("clearConsoleCmd.accesskey"));
|
||||
clearItem.setAttribute("hudId", this.hudId);
|
||||
clearItem.setAttribute("buttonType", "clear");
|
||||
clearItem.setAttribute("oncommand", "HUDConsoleUI.command(this);");
|
||||
|
|
|
@ -33,7 +33,8 @@ tipConsoleLog=Log calls to console.log()
|
|||
btnGlobal=Global Messages
|
||||
tipGlobal=Toggle Global Message logging
|
||||
localConsole=Local Console
|
||||
itemClear=Clear Console
|
||||
clearConsoleCmd.label=Clear Console
|
||||
clearConsoleCmd.accesskey=e
|
||||
stringFilter=Filter
|
||||
close.button=Close
|
||||
close.accesskey=C
|
||||
|
|
Загрузка…
Ссылка в новой задаче