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]

This commit is contained in:
reed@reedloden.com 2007-12-16 23:22:06 -08:00
parent d358051e76
commit eddca6bc27
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">