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 117236

Summary: I18N - duplicate key in same bundle file
Product: webservices Reporter: Ashizawa Kazunori <kasha>
Component: CodeAssignee: Milan Kuchtiak <mkuchtiak>
Status: VERIFIED 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:44:12 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).

websvc/core/src/org/netbeans/modules/websvc/core/webservices/action/Bundle.properties:
LBL_WebServiceActionGroup=Web Service
LBL_WebServiceActionGroup=Web Service
websvc/design/src/org/netbeans/modules/websvc/design/view/actions/Bundle.properties:
LBL_AddSchema_mnem=X
LBL_AddSchema_mnem=B
websvc/manager/src/org/netbeans/modules/websvc/manager/util/Bundle.properties:
IMAGE_COPY_ERROR=Could not copy the image
IMAGE_COPY_ERROR=Could not copy the image
websvc/wsitconf/src/org/netbeans/modules/websvc/wsitconf/ui/Bundle.properties:
COMBO_Never=Never
COMBO_Never=Never
Comment 2 Ken Frank 2008-05-30 19:02:21 UTC
v