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

form/src/org/netbeans/modules/form/Bundle.properties:
MSG_BindingCustomizer_Cancel=Cancel
MSG_BindingCustomizer_Cancel=Cancel
form/src/org/netbeans/modules/form/editors/Bundle.properties:
LBL_TableCustomizer_Editable=Editable
LBL_TableCustomizer_Editable=&Editable
LBL_TableCustomizer_Resizable=Resizable
LBL_TableCustomizer_Resizable=Resi&zable
form/swingapp/src/org/netbeans/modules/swingapp/Bundle.properties:
GlobalActionPanel.deleteActionButton.text=Delete Action
GlobalActionPanel.deleteActionButton.text=Delete Action
Comment 1 Tomas Pavek 2007-10-01 14:17:03 UTC
Thanks for finding the duplicates. Fixed.

/cvs/form/src/org/netbeans/modules/form/Bundle.properties
new revision: 1.215; previous revision: 1.214
/cvs/form/swingapp/src/org/netbeans/modules/swingapp/Bundle.properties
new revision: 1.14; previous revision: 1.13
/cvs/form/src/org/netbeans/modules/form/editors/Bundle.properties
new revision: 1.17; previous revision: 1.16