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 - I18N: error messages on license header are hardcoded
Summary: I18N: error messages on license header are hardcoded
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-24 02:08 UTC by Masaki Katakai
Modified: 2013-08-26 05:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (18.85 KB, image/png)
2013-08-24 02:08 UTC, Masaki Katakai
Details

Note You need to log in before you can comment on or make changes to this bug.
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