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 117225

Summary: I18N - duplicate key in same bundle file
Product: utilities Reporter: Ashizawa Kazunori <kasha>
Component: PropertiesAssignee: Marian Petras <mpetras>
Status: RESOLVED FIXED    
Severity: blocker CC: jf4jbug
Priority: P3 Keywords: I18N, SIMPLEFIX
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Ashizawa Kazunori 2007-10-01 07:32:09 UTC
The same key appears multiple times in a bundle file.  If each
messages should be different or should be used independently,
then each messages should have different keys.  If the message
is used at a single place, then multiple occurrences should be
unified.

This duplication means that it's not known at runtime which
message will be used.  This issue also increases translation
cost (time and effort).

properties/src/org/netbeans/modules/properties/Bundle.properties:
ACS_CTL_NameText=N/A
ACS_CTL_NameText=N/A
Comment 1 Marian Petras 2007-10-17 12:33:17 UTC
Confirmed. One entry comes from file BundleNodeCustomizer.java, the other one from LocaleNodeCustomizer.java.