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.
5.5.1 cnd/makeproject/src/org/netbeans/modules/cnd/makeproject/ui/utils/Bundle.properties In the DirectoryChooserPanel, the button label "Down" seems to be shared with ListEditorPanel (TARGET_EDITOR_DOWN_BUTON). However, the different mnemonic key is assigned ("w" in the DirectoryChooserPanel, and "D" in the ListEditorPanel). When the dialog is translating into Chinese or Japanese, mnemonic key is embedded in the button label with bracket. see the following URL for image: http://java.sun.com/products/jlf/ed2/book/HIG.Issues3.html I translate TARGET_EDITOR_DOWN_BUTTON to "DOWN_IN_JAPANESE (D)" for ListEditorPanel. In the DirectoryChooserPanel, the button label should be "DOWN_IN_JAPANESE (W)", but "DOWN_IN_JAPANESE (D)" is used. We can not use shared button label with different mnemonic keys in the localized version. Please create different button label for DirectoryChooserPanel.
This bug should be fixed for CND 551U1.
I understand and the fix is to override getDownButtonText in DirectoryChooserPanel: public String getDownButtonText() { return getString("DOWN_BUTTON_TXT"); } and add the following entry to the .../ui/utils/Bundle.properties file: DOWN_BUTTON_TXT=Down Agree?
Please note the proposed fix will change the contents of the bundle file so you will need a new l10n kit. Just making sure you are aware of this.
Thank you for your fixing! Yes, I agree with you to add DOWN_BUTTON_TXT in Bundle.properties. And I make sure in the l10n team to get the new l10n-kit for this fixing.
Fixed and committed to release551u1 branch.
Verified in cnd Build070808. Thank you for your prompt fixing!