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 58937 - I18N - message is used as message with/without mnemonic key
Summary: I18N - message is used as message with/without mnemonic key
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2005-05-16 06:37 UTC by ohsumi
Modified: 2006-03-24 13:01 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
snapshot for TXT_Classes in C (11.01 KB, image/gif)
2005-05-16 06:39 UTC, ohsumi
Details
snapshot for TXT_Classes in ja locale (11.10 KB, image/gif)
2005-05-16 06:40 UTC, ohsumi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ohsumi 2005-05-16 06:37:53 UTC
1. Select [Tools] > [Server Manager]
2. Click [Bundled Tomcat (5.5.7)]

At this point, the [Server Manager] window has the following three tabs
that have one label.

tab              label
Classes          Classes  (mnemonic key is 'C')
Sources          Sources  (mnemonic key is 'S')
Javadocs         Javadocs (mnemonic key is 'J')

These messages are defined in the following file.

tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/ide/Bundle.properties
TXT_Classes=Classes
TXT_Sources=Sources
TXT_Javadoc=Javadocs
MNE_Classes=C
MNE_Sources=S
MNE_Javadoc=J

However, one message are used as two messages, one is tab's label without
mnemonic key and another is label with mnemonic key.
When the above messages are translated into Japanese, ja messages are as follows
and ja tab's label is displayed with mnemonic key.
Please see the attached snapshots.

TXT_Classes=Japanese_Classes(C)
TXT_Sources=Japanese_Sources(S)
TXT_Javadoc=Javanese_Javadocs(J)

To fix this problem, please add tab's labels without mnemonic key.
For example:

TXT_tab_Classes=Classes
TXT_tab_Sources=Sources
TXT_tab_Javadoc=Javadocs
TXT_Classes=Classes
TXT_Sources=Sources
TXT_Javadoc=Javadocs
MNE_Classes=C
MNE_Sources=S
MNE_Javadoc=J
Comment 1 ohsumi 2005-05-16 06:39:16 UTC
Created attachment 22135 [details]
snapshot for TXT_Classes in C
Comment 2 ohsumi 2005-05-16 06:40:19 UTC
Created attachment 22136 [details]
snapshot for TXT_Classes in ja locale
Comment 3 Sherold Dev 2005-08-02 13:00:06 UTC
F.

Checking in tomcat5/src/org/netbeans/modules/tomcat5/customizer/Bundle.properties;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/customizer/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.3; previous revision: 1.2
done
Checking in tomcat5/src/org/netbeans/modules/tomcat5/customizer/Customizer.java;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/customizer/Customizer.java,v
 <--  Customizer.java
new revision: 1.3; previous revision: 1.2
done
Comment 4 Jaroslav Pospisil 2005-12-15 10:14:53 UTC
Verified