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 117203

Summary: I18N - duplicate key in same bundle file
Product: apisupport Reporter: Ashizawa Kazunori <kasha>
Component: ProjectAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: blocker CC: jf4jbug
Priority: P3 Keywords: I18N
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Ashizawa Kazunori 2007-10-01 06:56:32 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).


apisupport/project/src/org/netbeans/modules/apisupport/project/ui/wizard/options/Bundle.properties:
ACS_CTL_PackageName=Package Name
ACS_CTL_PackageName=Package Name
Comment 1 Ken Frank 2007-10-01 15:39:09 UTC
this is the same key with the same value; so it means it will be used
and is not as serious as if actual same key with different value;
although agree these dups also can increase translation time and/or cost.

ken.frank@sun.com
Comment 2 Jesse Glick 2007-10-01 17:25:13 UTC
Bundle.properties 1.15