Closed
Bug 232594
Opened 21 years ago
Closed 21 years ago
navigation keys (alt+left arrow: VK_LEFT, alt+right arrow: VK_RIGHT) shouldn't be hard coded
Categories
(Core :: Internationalization: Localization, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: tsahi_75, Assigned: neil)
Details
Attachments
(1 file, 1 obsolete file)
7.03 KB,
patch
|
smontagu
:
review+
jag+mozilla
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent:
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; he-IL; rv:1.6) Gecko/20040113
in the Go menu you can see that you can go back in history by pressing alt+left
arrow, and forward with alt+right arrow.
that's fine as long as you're using a LTR language pack. however i made modified
themes for using with a RTL language pack. with such a language pack, the
interface is flipped right to left. therefore, in the modified theme, the back
button naturally has an arrow pointing right on it, and the forward arrow has an
arrow pointing left on it, in contrast to the navigation keys.
therefore, the accesskeys for going back and forward should be modifiable via
the language pack, so a localizer of a RTL language pack will be able to decide
which are best for his locale.
Reproducible: Always
Steps to Reproduce:
1. install a hebrew/arabic/persian language pack
2. press alt+left arrow
Actual Results:
you go back in history
Expected Results:
you go forward in history
Comment 1•21 years ago
|
||
Neil, can we use keycode values like VK_LEFT and VK_RIGHT in localizable
accesskey definitions?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter | ||
Comment 2•21 years ago
|
||
(In reply to comment #1)
> Neil, can we use keycode values like VK_LEFT and VK_RIGHT in localizable
> accesskey definitions?
VK_F3 is already used throughout the language pack to open the Find dialog box,
and VK_RETURN is also used twice.
hey, this Reply thing is realy neat :)
Assignee | ||
Comment 3•21 years ago
|
||
Putting the keybindings in platform-region files should work, right?
(IIRC ar-mac.jar, ar-unix.jar, ar-win.jar, he-mac.jar etc.)
Assignee | ||
Updated•21 years ago
|
Assignee: localization → neil.parkwaycc.co.uk
Status: NEW → ASSIGNED
Assignee | ||
Updated•21 years ago
|
Attachment #140238 -
Flags: review?(smontagu)
Reporter | ||
Comment 4•21 years ago
|
||
why do you think it should be in platform specific, and not in platform neutral
(like en-US.jar)?
Assignee | ||
Comment 5•21 years ago
|
||
(In reply to comment #4)
> why do you think it should be in platform specific, and not in platform
> neutral (like en-US.jar)?
The .xul file is already platform specific - macs use different modifiers.
Reporter | ||
Comment 6•21 years ago
|
||
and another thing: the localization note format is
<!-- LOCALIZATION NOTE (entity_name): comments -->
Assignee | ||
Comment 7•21 years ago
|
||
So what's the format for a 4 entities (or file-wide!)?
Reporter | ||
Comment 8•21 years ago
|
||
never mind, i didn't notice it's for two entities each.
Comment 9•21 years ago
|
||
Comment on attachment 140238 [details] [diff] [review]
Put keys in language specific files
Don't you want to make "[" and "]" localizable as well on Mac (as they already
are on Unix)?
Comment 10•21 years ago
|
||
Comment on attachment 140238 [details] [diff] [review]
Put keys in language specific files
r=smontagu with that change and the other things we discussed on IRC (i.e.
adding <!DOCTYPE overlay SYSTEM ... where necessary -- I'll leave it up to you
whether to merge the .dtds)
Attachment #140238 -
Flags: review?(smontagu) → review+
Assignee | ||
Comment 11•21 years ago
|
||
Attachment #140238 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #140268 -
Flags: superreview?(jag)
Updated•21 years ago
|
Attachment #140268 -
Flags: review+
Comment 12•21 years ago
|
||
Comment on attachment 140268 [details] [diff] [review]
Also localize alternate Mac keybindings
sr=jag
Attachment #140268 -
Flags: superreview?(jag) → superreview+
Assignee | ||
Comment 13•21 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•