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 117215 - I18N - duplicate key in same bundle file
Summary: I18N - duplicate key in same bundle file
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-10-01 07:22 UTC by Ashizawa Kazunori
Modified: 2007-10-01 17:33 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 07:22:20 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).

java/j2seplatform/src/org/netbeans/modules/java/j2seplatform/platformdefinition/Bundle.properties:
TXT_Javadoc=Javadoc
TXT_Javadoc=Javadoc
TXT_Sources=Sources
TXT_Sources=Sources
java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties:
AD_CustomizerSources_addSourceRoot=N/A
AD_CustomizerSources_addSourceRoot=N/A
Comment 1 Tomas Zezula 2007-10-01 17:33:38 UTC
Checking in Bundle.properties;
/cvs/java/j2seplatform/src/org/netbeans/modules/java/j2seplatform/platformdefinition/Bundle.properties,v  <-- 
Bundle.properties
new revision: 1.19; previous revision: 1.18
done

Checking in Bundle.properties;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties,v  <--  Bundle.properties
new revision: 1.92; previous revision: 1.91
done