This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 24287 - I18N - mnemonic key doesn't work with translated
Summary: I18N - mnemonic key doesn't work with translated
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: David Simonek
URL:
Keywords: A11Y, I18N
Depends on:
Blocks:
 
Reported: 2002-05-31 12:07 UTC by Masafumi Matsuda
Modified: 2008-12-22 23:04 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
snapshot (41.97 KB, image/gif)
2002-05-31 12:08 UTC, Masafumi Matsuda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Masafumi Matsuda 2002-05-31 12:07:02 UTC
Please see attched image file and the following
page. 
http://ministop.japan/Products/Forte/ffj-qa-i18n/docs/misc/mnemonic.html
Mnemonic Keys which was mistaken on the Japanese
is attached.

To reproduce:
- Tools -> Options -> Debugging and Execution ->
Debugger Types
- Hightlight "Default Debugging" -> Right click ->
Copy 
- Hightlight "Debugger Types" -> Right click ->
Paste -> Copy, Default instance

The Mnemonic Keys of "Name"

*OS:Solaris 5.9  
*Orion Build:orion_ml_020528  fcc Build:20.4
*JDK:JDK1.4.0
*locale:ja
Comment 1 Masafumi Matsuda 2002-05-31 12:08:11 UTC
Created attachment 6026 [details]
snapshot
Comment 2 David Simonek 2002-06-03 17:39:06 UTC
InputLine is looking for '&' sign in given string, so fix is simple
IMO: Add '&' sign to japanese bundles, like:
Bundle_key=<Japanese text>(&<mnemonic_key>)

passing to debugger guys.
Comment 3 David Simonek 2002-06-04 13:07:49 UTC
to keep things clear:
for consistency, it's also desirable to add '&' sign to english
bundles. So, english bundle will look like:
BundleKey=&Name of the....

japanese bundle:
BundleKey=<japanese text which means Name of the...>(&N)

hope it's clear now.

Comment 4 Jan Jancura 2002-06-10 15:35:22 UTC

*** This issue has been marked as a duplicate of 23879 ***
Comment 5 Tomas Pavek 2002-06-13 10:34:37 UTC
As openide refuses to fix issue 23879 generally, we (or 
the translators) must fix it one by one (as David Simonek 
described). So then this issue cannot be duplicate of 
23879.
Comment 6 Jan Jancura 2002-06-13 15:53:42 UTC
dialog with "Name" label is not a part of debugger module!!!
Comment 7 _ ttran 2002-06-19 08:22:02 UTC
-> dsimonek to find where the dialog is in the code and fix
it/reassign it correctly
Comment 8 David Simonek 2002-06-19 12:53:53 UTC
ok, fixed, in japanese locale too. I hope I didn't screw anything.
Comment 9 hiroshiy 2002-10-04 10:34:25 UTC
I've verified the fixing in "NetBeans Development Build
(200210030100)".
Comment 10 Jesse Glick 2002-12-23 16:36:56 UTC
Consistent use of the I18N keyword.
Comment 11 Quality Engineering 2003-07-01 16:40:55 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.