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 - I18N - duplicate key in same bundle file
Summary: I18N - duplicate key in same bundle file
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-10-01 06:56 UTC by Ashizawa Kazunori
Modified: 2007-10-01 17:25 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

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