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 41876 - I18N - Mnemonic does not work after 9tn.
Summary: I18N - Mnemonic does not work after 9tn.
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2004-04-09 06:27 UTC by yasuhiro
Modified: 2007-08-03 08:51 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yasuhiro 2004-04-09 06:27:41 UTC
===web/core/src/org/netbeans/modules/web/dd/wizards/Bundle.proterites
LBL_ClassName=Class Name:
LBL_Name_Mnemonic=N
LBL_Class_Mnemonic=C
===

LBL_ClassName has 2 mnemonic key,
LBL_Name_Mnemonic and LBL_Class_Mnemonic.

But in general,
if a message is set several mnemonic letters,
it does not work after translation.
Because, like as follows, a translated message has
only 
one letter as a mnemonic letter.

(Original msg)
Label_Help=Help
Label_Help_mne1=H
Label_Help_mne2=e

(translated msg)
Lebel_Help=<t9ned msg>(H) <-- Can't add all
mnemonic letters.
Label_Help_mne1=H
Label_Help_mne2=e 

A message and a mnemonic letter should be set one
to one.

Please do not reuse LBL_ClassName.
Comment 1 Petr Pisl 2004-04-09 13:37:14 UTC
Milan, I think this is in your wizard. Could you fix it into promo-d?
Comment 2 Milan Kuchtiak 2004-06-29 14:25:18 UTC
Fixed in promo D.
Comment 3 Dan Kolar 2007-08-03 08:51:23 UTC
v