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 251020 - I18N: some UI messages are hardcoded in "Add Module Dependency" dialog
Summary: I18N: some UI messages are hardcoded in "Add Module Dependency" dialog
Status: NEW
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Kozeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-09 05:34 UTC by Masaki Katakai
Modified: 2015-03-09 07:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot on pseudo localized NetBeans (47.04 KB, image/jpeg)
2015-03-09 05:34 UTC, Masaki Katakai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2015-03-09 05:34:18 UTC
Created attachment 152487 [details]
screenshot on pseudo localized NetBeans

Product Version: NetBeans IDE Dev (Build 201503080001)
Java: 1.8.0_40; Java HotSpot(TM) 64-Bit Server VM 25.40-b25
Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25

It seems that

"Match Case"
"Show Excl. Modules"
"Cluster:"

are hardcoded on "Add Module Dependency" dialog. Please refer screenshot. It's pseudo localized however these are displayed without [], which means not from resource bundle.

In the source tree, these are hardcoded.

./apisupport.ant/src/org/netbeans/modules/apisupport/project/ui/customizer/AddModulePanel.java:


        org.openide.awt.Mnemonics.setLocalizedText(matchCaseValue, "Match &Case");


        org.openide.awt.Mnemonics.setLocalizedText(showExclModulesCheckBox, "Show &Excl. Modules");


        org.openide.awt.Mnemonics.setLocalizedText(clusterFilterLabel, "C&luster:");


Please extract to resource bundle so that we can translate them.