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 117213

Summary: I18N - duplicate key in same bundle file
Product: serverplugins Reporter: Ashizawa Kazunori <kasha>
Component: InfrastructureAssignee: Petr Hejl <phejl>
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 07:20:24 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).

j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ui/Bundle.properties:
LBL_Cancel=Cancel
LBL_Cancel=Cancel
Comment 1 Petr Hejl 2007-10-01 10:01:46 UTC
Fixed.

Checking in Bundle.properties;
/cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ui/Bundle.properties,v  <--  Bundle.properties
new revision: 1.31; previous revision: 1.30
done
Comment 2 Petr Hejl 2007-10-01 10:02:52 UTC
Fixed.