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

git-svn-id: svn://10.0.0.236/trunk@241536 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
reed%reedloden.com
2007-12-17 07:22:06 +00:00
parent 6d34283ba3
commit a7b180fabc
2 changed files with 15 additions and 4 deletions

View File

@@ -24,10 +24,15 @@
<groupbox style="width: 25em;">
<caption label="&pseudoClasses.title;"/>
<vbox>
<!-- These don't need to be localized, since they are CSS APIs -->
<checkbox id="cbxStateHover" label=":hover"/>
<checkbox id="cbxStateActive" label=":active"/>
<checkbox id="cbxStateFocus" label=":focus"/>
<!--
The labels don't need to be localized, since they are CSS APIs,
but the access keys are localizable, because an English
keyboard may not always be available
see: https://bugzilla.mozilla.org/show_bug.cgi?id=398704#c1
-->
<checkbox id="cbxStateHover" label=":hover" accesskey="&cbxStateHover.accesskey;"/>
<checkbox id="cbxStateActive" label=":active" accesskey="&cbxStateActive.accesskey;"/>
<checkbox id="cbxStateFocus" label=":focus" accesskey="&cbxStateFocus.accesskey;"/>
</vbox>
</groupbox>

View File

@@ -150,3 +150,9 @@
<!ENTITY namespaceTitle.XMLEvents.label "XML Events">
<!ENTITY namespaceTitle.WAIRoles.label "WAI Roles">
<!ENTITY namespaceTitle.WAIProperties.label "WAI Properties">
<!-- LOCALIZATION NOTE: Localizers can choose not to translate the following access keys. For a discussion about the pros and cons of such a decision, see https://bugzilla.mozilla.org/show_bug.cgi?id=398704, comments 1 and 2. -->
<!ENTITY cbxStateHover.accesskey "h">
<!ENTITY cbxStateActive.accesskey "a">
<!ENTITY cbxStateFocus.accesskey "f">