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 63549 - A11Y/I18N - Mnemonic Issues for other locales
Summary: A11Y/I18N - Mnemonic Issues for other locales
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Libor Kotouc
URL:
Keywords: I18N
: 70807 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-02 05:51 UTC by yasuhiro
Modified: 2006-01-24 13:27 UTC (History)
0 users

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 2005-09-02 05:51:06 UTC
- Case1:
------------------------
serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/ide/ui/AddServerLocationVisualPanel.java:180:
        jButton1.setMnemonic('b');
------------------------
Please extract 'b' to Bundle.properties.
If not, it makes L10N difficult.

- Case2:
------------------------
serverplugins/weblogic9/src/org/netbeans/modules/j2ee/weblogic9/ui/wizard/ServerLocationPanel.java:175:
        locationBrowseButton.setDisplayedMnemonicIndex(2);
serverplugins/websphere6/src/org/netbeans/modules/j2ee/websphere6/ui/wizard/ServerLocationPanel.java:194:
        locationBrowseButton.setDisplayedMnemonicIndex(2);
------------------------
Please do not use setDisplayedMnemonicIndex method.
The 2nd char of L10Ned string is not always alphabet.
Non-alphabet mnemonic does not work.

If there are same issues, please fix them.
For L10N, a mnemonic key should be paired with a message in a Bundle file, like:

BUTTON=Button
BUTTON_MNE=B
Comment 1 Pavel Buzek 2005-11-09 20:02:54 UTC
simple fix
Comment 2 Libor Kotouc 2005-12-13 14:12:05 UTC
Fixed.

Checking in jboss4/src/org/netbeans/modules/j2ee/jboss4/ide/ui/Bundle.properties;
/cvs/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/ide/ui/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.5; previous revision: 1.4
done
Checking in
jboss4/src/org/netbeans/modules/j2ee/jboss4/ide/ui/AddServerLocationVisualPanel.java;
/cvs/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/ide/ui/AddServerLocationVisualPanel.java,v
 <--  AddServerLocationVisualPanel.java
new revision: 1.6; previous revision: 1.5
done
Checking in
weblogic9/src/org/netbeans/modules/j2ee/weblogic9/ui/wizard/ServerLocationPanel.java;
/cvs/serverplugins/weblogic9/src/org/netbeans/modules/j2ee/weblogic9/ui/wizard/ServerLocationPanel.java,v
 <--  ServerLocationPanel.java
new revision: 1.10; previous revision: 1.9
done
Checking in
weblogic9/src/org/netbeans/modules/j2ee/weblogic9/ui/wizard/Bundle.properties;
/cvs/serverplugins/weblogic9/src/org/netbeans/modules/j2ee/weblogic9/ui/wizard/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.8; previous revision: 1.7
done
Checking in
websphere6/src/org/netbeans/modules/j2ee/websphere6/ui/wizard/ServerLocationPanel.java;
/cvs/serverplugins/websphere6/src/org/netbeans/modules/j2ee/websphere6/ui/wizard/ServerLocationPanel.java,v
 <--  ServerLocationPanel.java
new revision: 1.4; previous revision: 1.3
done
Checking in
websphere6/src/org/netbeans/modules/j2ee/websphere6/ui/wizard/Bundle.properties;
/cvs/serverplugins/websphere6/src/org/netbeans/modules/j2ee/websphere6/ui/wizard/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.3; previous revision: 1.2
done
Comment 3 Libor Kotouc 2005-12-13 14:45:41 UTC
Wrong mnemonic for the 'Installation Location' label in the JBoss wizard fixed:

Checking in Bundle.properties;
/cvs/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/ide/ui/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.6; previous revision: 1.5
done
Checking in AddServerLocationVisualPanel.java;
/cvs/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/ide/ui/AddServerLocationVisualPanel.java,v
 <--  AddServerLocationVisualPanel.java
new revision: 1.7; previous revision: 1.6
done
Comment 4 Libor Kotouc 2006-01-02 14:43:38 UTC
*** Issue 70807 has been marked as a duplicate of this issue. ***