Bug 398699 - "DOM Inspector Find Nodes dialog does not have access keys" [p=ehsan.akhgari@gmail.com (Ehsan Akhgari) r=sdwilsh sr=Neil a1.9=schrep]

This commit is contained in:
reed@reedloden.com 2007-11-12 22:43:39 -08:00
parent 619264c693
commit a31f8f7333
2 changed files with 34 additions and 6 deletions

View File

@ -20,6 +20,7 @@
- the Initial Developer. All Rights Reserved.
-
- Contributor(s):
- Ehsan Akhgari <ehsan.akhgari@gmail.com>
-
- Alternatively, the contents of this file may be used under the terms of
- either the GNU General Public License Version 2 or later (the "GPL"), or
@ -62,14 +63,26 @@
<rows>
<row id="rwRow1">
<deck id="rwRow1Text">
<label id="txText1Id" value="&findNodesById.label;"/>
<label id="txText1Tag" value="&findNodesByTag.label;"/>
<label id="txText1Attr" value="&findNodesByAttr.label;"/>
<label id="txText1Id"
value="&findNodesById.label;"
accesskey="&findNodesById.accesskey;"
control="tfText1"/>
<label id="txText1Tag"
value="&findNodesByTag.label;"
accesskey="&findNodesByTag.accesskey;"
control="tfText1"/>
<label id="txText1Attr"
value="&findNodesByAttr.label;"
accesskey="&findNodesByAttr.accesskey;"
control="tfText1"/>
</deck>
<textbox id="tfText1"/>
</row>
<row id="rwRow2">
<label id="txText2" value="&findNodesByAttrValue.label;"/>
<label id="txText2"
value="&findNodesByAttrValue.label;"
accesskey="&findNodesByAttrValue.accesskey;"
control="tfText2"/>
<textbox id="tfText2"/>
</row>
</rows>
@ -81,12 +94,15 @@
<radiogroup id="rgType">
<radio id="rdType_id" value="id"
label="&findNodesById.label;"
accesskey="&findNodesById.accesskey2;"
oncommand="dialog.toggleType('id')"/>
<radio id="rdType_tag" value="tag"
label="&findNodesByTag.label;"
accesskey="&findNodesByTag.accesskey2;"
oncommand="dialog.toggleType('tag')"/>
<radio id="rdType_attr" value="attr"
label="&findNodesByAttr.label;"
accesskey="&findNodesByAttr.accesskey2;"
oncommand="dialog.toggleType('attr')"/>
</radiogroup>
</groupbox>
@ -94,9 +110,11 @@
<caption label="&findNodesDirection.label;"/>
<radiogroup id="rgDirection">
<radio id="rdDir_up" value="up"
label="&findNodesDirectionUp.label;"/>
label="&findNodesDirectionUp.label;"
accesskey="&findNodesDirectionUp.accesskey;"/>
<radio id="rdDir_down" value="down"
label="&findNodesDirectionDown.label;"/>
label="&findNodesDirectionDown.label;"
accesskey="&findNodesDirectionDown.accesskey;"/>
</radiogroup>
</groupbox>
</hbox>

View File

@ -21,6 +21,7 @@
-
- Contributor(s):
- Shawn Wilsher <me@shawnwilsher.com>
- Ehsan Akhgari <ehsan.akhgari@gmail.com>
-
- Alternatively, the contents of this file may be used under the terms of
- either the GNU General Public License Version 2 or later (the "GPL"), or
@ -83,13 +84,22 @@
<!ENTITY findNodes.title "Find Nodes">
<!ENTITY findNodesById.label "Id">
<!ENTITY findNodesById.accesskey "I">
<!ENTITY findNodesById.accesskey2 "d">
<!ENTITY findNodesByTag.label "Tag">
<!ENTITY findNodesByTag.accesskey "T">
<!ENTITY findNodesByTag.accesskey2 "g">
<!ENTITY findNodesByAttr.label "Attr">
<!ENTITY findNodesByAttr.accesskey "A">
<!ENTITY findNodesByAttr.accesskey2 "r">
<!ENTITY findNodesByAttrValue.label "Value">
<!ENTITY findNodesByAttrValue.accesskey "V">
<!ENTITY findNodesSearchBy.label "Search By">
<!ENTITY findNodesDirection.label "Direction">
<!ENTITY findNodesDirectionUp.label "Up">
<!ENTITY findNodesDirectionUp.accesskey "U">
<!ENTITY findNodesDirectionDown.label "Down">
<!ENTITY findNodesDirectionDown.accesskey "w">
<!ENTITY findNodesFind.label "Find">
<!ENTITY findNodesCancel.label "Cancel">