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 117223 - I18N - duplicate key in same bundle file
Summary: I18N - duplicate key in same bundle file
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-10-01 07:29 UTC by Ashizawa Kazunori
Modified: 2008-12-22 11: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:29:04 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).

openide/awt/src/org/openide/awt/Bundle.properties:
ACSD_HtmlBrowser=N/A
ACSD_HtmlBrowser=N/A
openide/explorer/src/org/openide/explorer/propertysheet/Bundle.properties:
CTL_Help=Help
CTL_Help=Help
Comment 1 Antonin Nebuzelsky 2007-10-01 08:51:39 UTC
Stando, please, remove the duplicities.
Comment 2 Stanislav Aubrecht 2007-10-01 09:52:36 UTC
fixed

/cvs/openide/explorer/src/org/openide/explorer/propertysheet/Bundle.properties,v  <--  Bundle.properties
new revision: 1.8; previous revision: 1.7
done
Checking in awt/src/org/openide/awt/Bundle.properties;
/cvs/openide/awt/src/org/openide/awt/Bundle.properties,v  <--  Bundle.properties
new revision: 1.8; previous revision: 1.7