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 - I18N - Mnemonic does not work after 9tn.
Summary: I18N - Mnemonic does not work after 9tn.
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Grebac
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2004-04-08 06:45 UTC by yasuhiro
Modified: 2006-01-04 15:47 UTC (History)
1 user (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-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