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 41816

Summary: I18N - Mnemonic does not work after 9tn.
Product: serverplugins Reporter: yasuhiro <yasuhiro>
Component: TomcatAssignee: Martin Grebac <mgrebac>
Status: VERIFIED FIXED    
Severity: blocker CC: jf4jbug
Priority: P3 Keywords: I18N
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description yasuhiro 2004-04-08 06:45:42 UTC
===tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/ide/Bundle.proterites
LBL_file_chooser=Browse ...
LBL_browseHome_Mnem=B
LBL_browseBase_Mnem=r
===

LBL_file_chooser has 2 mnemonic key,
LBL_browseHome_Mnem and LBL_browseBase_Mnem.

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_file_chooser.
Comment 1 Martin Grebac 2004-04-08 08:14:59 UTC
Will fix in trunk soon.
Comment 3 yasuhiro 2004-05-24 03:31:59 UTC
Verified in trunk.
Thanks!

Yasuhiro