Bug 232594 RTL languages should be able to swap back/forward navigation keys r=smontagu sr=jag

This commit is contained in:
neil%parkwaycc.co.uk 2004-01-31 12:47:02 +00:00
Родитель 575f7c4977
Коммит 49ca3103b8
8 изменённых файлов: 29 добавлений и 8 удалений

Просмотреть файл

@ -1,14 +1,16 @@
<?xml version="1.0"?>
<!DOCTYPE overlay SYSTEM "chrome://navigator-platform/locale/platformNavigationBindings.dtd">
<overlay id="platformNavigationBindings"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<keyset id="navigationKeys">
<!-- proper arrow key navigation, 4.xP -->
<key id="goBackKb" keycode="VK_LEFT" command="Browser:Back" modifiers="accel"/>
<key id="goForwardKb" keycode="VK_RIGHT" command="Browser:Forward" modifiers="accel"/>
<key key="[" command="Browser:Back" modifiers="accel"/>
<key key="]" command="Browser:Forward" modifiers="accel"/>
<key id="goBackKb" keycode="&goBackCmd.keyCode;" command="Browser:Back" modifiers="accel"/>
<key id="goForwardKb" keycode="&goForwardCmd.keyCode;" command="Browser:Forward" modifiers="accel"/>
<key key="&goBackCmd.commandKey;" command="Browser:Back" modifiers="accel"/>
<key key="&goForwardCmd.commandKey;" command="Browser:Forward" modifiers="accel"/>
<key key="." oncommand="BrowserStop();" modifiers="accel"/>
<key id="goHome" keycode="VK_HOME" command="Browser:Home" modifiers="meta"/>
<key id="key_newTabWithTarget" keycode="VK_INSERT" modifiers="shift" command="cmd_newTabWithTarget"/>

Просмотреть файл

@ -7,8 +7,8 @@
<keyset id="navigationKeys">
<!-- proper arrow key navigation, 4.xP -->
<key id="goBackKb" keycode="VK_LEFT" command="Browser:Back" modifiers="alt"/>
<key id="goForwardKb" keycode="VK_RIGHT" command="Browser:Forward" modifiers="alt"/>
<key id="goBackKb" keycode="&goBackCmd.keyCode;" command="Browser:Back" modifiers="alt"/>
<key id="goForwardKb" keycode="&goForwardCmd.keyCode;" command="Browser:Forward" modifiers="alt"/>
<!-- Some people apparently use this combination too on Unix...
we live and learn. -->

Просмотреть файл

@ -1,13 +1,15 @@
<?xml version="1.0"?>
<!DOCTYPE overlay SYSTEM "chrome://navigator-platform/locale/platformNavigationBindings.dtd">
<overlay id="platformNavigationBindings"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<keyset id="navigationKeys">
<!-- back and forward accelerators on Windows, strangely enough, are
Alt+Left arrow and Alt+Right arrow. -->
<key id="goBackKb" keycode="VK_LEFT" command="Browser:Back" modifiers="alt"/>
<key id="goForwardKb" keycode="VK_RIGHT" command="Browser:Forward" modifiers="alt"/>
<key id="goBackKb" keycode="&goBackCmd.keyCode;" command="Browser:Back" modifiers="alt"/>
<key id="goForwardKb" keycode="&goForwardCmd.keyCode;" command="Browser:Forward" modifiers="alt"/>
<!-- Supporting IE forward and back accelerators out of courtesy
to transitioning IE users -->

Просмотреть файл

@ -1,3 +1,4 @@
en-mac.jar:
locale/en-US/navigator-platform/contents.rdf (contents-platform.rdf)
locale/en-US/navigator-platform/platformNavigationBindings.dtd
locale/en-US/navigator-platform/navigator.properties

Просмотреть файл

@ -0,0 +1,7 @@
<!-- LOCALIZATION NOTE: RTL languages may wish to switch these -->
<!ENTITY goBackCmd.keyCode "VK_LEFT">
<!ENTITY goForwardCmd.keyCode "VK_RIGHT">
<!ENTITY goBackCmd.commandKey "[">
<!ENTITY goForwardCmd.commandKey "]">

Просмотреть файл

@ -1,3 +1,6 @@
<!-- LOCALIZATION NOTE: RTL languages may wish to switch these -->
<!ENTITY goBackCmd.keyCode "VK_LEFT">
<!ENTITY goForwardCmd.keyCode "VK_RIGHT">
<!ENTITY goBackCmd.commandKey "[">
<!ENTITY goForwardCmd.commandKey "]">

Просмотреть файл

@ -1,3 +1,4 @@
en-win.jar:
locale/en-US/navigator-platform/contents.rdf (contents-platform.rdf)
locale/en-US/navigator-platform/platformNavigationBindings.dtd
locale/en-US/navigator-platform/navigator.properties

Просмотреть файл

@ -0,0 +1,5 @@
<!-- LOCALIZATION NOTE: RTL languages may wish to switch these -->
<!ENTITY goBackCmd.keyCode "VK_LEFT">
<!ENTITY goForwardCmd.keyCode "VK_RIGHT">