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 234915

Summary: I18N: error messages on license header are hardcoded
Product: projects Reporter: Masaki Katakai <masaki>
Component: AntAssignee: Milos Kleint <mkleint>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot

Description Masaki Katakai 2013-08-24 02:08:48 UTC
Created attachment 139160 [details]
screenshot

It seems that the following messages are hardcoded so
displayed in English on UI.

./ant/ui/LicenseHeadersPanel.java:                category.setErrorMessage("The project's license with name '" + selection + "' was not found in IDE's license headers.");
./ant/ui/LicenseHeadersPanel.java:            category.setErrorMessage("File at path '" + path + "' doesn't exist.");
./ant/ui/LicenseHeadersPanel.java:                category.setErrorMessage("The project's license with name '" + name + "' was not found in IDE's license headers.");

Please externalize them to resource bundle so that
these can be localized.
Comment 1 Milos Kleint 2013-08-26 05:40:59 UTC
http://hg.netbeans.org/core-main/rev/288c5f78cf6b

sorry