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 24059 - I18N - mnemonic key doesn't work with translated
Summary: I18N - mnemonic key doesn't work with translated
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: corba (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords: A11Y, I18N, UI
Depends on:
Blocks:
 
Reported: 2002-05-27 08:57 UTC by Masafumi Matsuda
Modified: 2003-06-30 17:07 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
snap shot (9.28 KB, image/gif)
2002-05-27 08:58 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-27 08:57:19 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:
Explorer [Runtime] -> Highlight CORBA Naming
Service -> Right click -> From Initial
References...
The Mnemonic Keys of "Name"

*OS:Solaris 5.9  
*Orion Build:orion_ml_020520  fcc Build:20.4
*JDK:JDK1.4.0
*locale:ja
Comment 1 Masafumi Matsuda 2002-05-27 08:58:23 UTC
Created attachment 5961 [details]
snap shot
Comment 2 Dusan Balek 2002-05-30 18:32:59 UTC
NotifyDescriptor.InputLine is responsible for this - it 
simply takes the first character of the passed message and 
makes it a mnemonic. Perhaps it should check whether the 
character is ASCII (or better whether it can be pressed on 
keyboard). Reassigning to openide...

Comment 3 David Simonek 2002-06-03 17:36:13 UTC
Of course, I can check if first character is ascii or non-ascii, but
what it would be good for?
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>)
?
Comment 4 David Simonek 2002-06-04 13:04:38 UTC
Little more explanation to keep things clear:
& addition is needed to the english bundles too, to be consistent with
japanese bundles. Mnemonic "N" is probably good choice here, so in
english bundle:
BundleKey=&Name

in japanese
BundleKey=<japanese text which means Name>(&N)
Comment 5 Dusan Balek 2002-06-04 13:48:45 UTC
Fixed in main trunk.
Comment 6 David Kaspar 2002-07-22 11:04:48 UTC
Verified
Comment 7 Jesse Glick 2002-12-23 16:36:23 UTC
Consistent use of the I18N keyword.
Comment 8 Quality Engineering 2003-06-30 17:07:28 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.