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 251312 - I18N: "Default" and "Customer..." are hardcoded on maven preference dialog
Summary: I18N: "Default" and "Customer..." are hardcoded on maven preference dialog
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2015-03-20 07:04 UTC by Masaki Katakai
Modified: 2015-03-22 06:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
maven preference dialog (97.03 KB, image/jpeg)
2015-03-20 07:04 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-20 07:04:25 UTC
Created attachment 152739 [details]
maven preference dialog

"Default" and "Customer..." are hardcoded on maven preference dialog.

Please refer the screenshot. "Default" and "Custom..." are not with [], which means they are not from resource bundle. It seems that

maven/src/org/netbeans/modules/maven/options/SettingsPanel.java:

        cbProjectNodeNameMode.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Default", "${project.artifactId}", "${project.artifactId}-TRUNK", "${project.artifactId}-${project.version}", "${project.groupId}.${project.artifactId}", "${project.groupId}.${project.artifactId}-${project.version}", "Custom..." }));

Please extract them to Bundle.properties for translation.
Comment 1 Tomas Stupka 2015-03-20 18:28:25 UTC
fixed in jet-main #bfbfaa2769be
Comment 2 Quality Engineering 2015-03-22 06:18:01 UTC
Integrated into 'main-silver', will be available in build *201503220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/bfbfaa2769be
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #251312 - I18N: "Default" and "Customer..." are hardcoded on maven preference dialog