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 117205 - I18N - duplicate key in same bundle file
Summary: I18N - duplicate key in same bundle file
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Thomas Preisler
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-10-01 07:02 UTC by Ashizawa Kazunori
Modified: 2007-11-06 15:10 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:02:00 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).

cnd/classview/src/org/netbeans/modules/cnd/classview/resources/Bundle.properties:
CTL_ClassViewAction=Cl&asses
CTL_ClassViewAction=Cl&asses
HINT_ClassViewAction=Display the Class View
HINT_ClassViewAction=Display the Class View
cnd/core/src/org/netbeans/modules/cnd/makewizard/Bundle.properties:
BTN_Approve=OK
BTN_Approve=OK
cnd/core/src/org/netbeans/modules/cnd/resources/cplusplus/Bundle.properties:
NAME_coloring_cc-sys-include=System Include
NAME_coloring_cc-sys-include=System Include
NAME_coloring_cc-user-include=System Include
NAME_coloring_cc-user-include=System Include
cnd/makeproject/src/org/netbeans/modules/cnd/makeproject/api/configurations/Bundle.properties:
CompilerCollectionHint=Compiler collection
CompilerCollectionHint=Compiler collection
CompilerCollectionTxt=Compiler Collection
CompilerCollectionTxt=Compiler Collection
InheritedValuesTxt=Inherited values:
InheritedValuesTxt=Inherited Values:
InheritedValuesTxt=Inherited values:
cnd/makeproject/src/org/netbeans/modules/cnd/makeproject/ui/options/Bundle.properties:
MAKE_OPTIONS=Make Options\:
MAKE_OPTIONS=Make Options\:
MAKE_OPTIONS_AD=Make Options
MAKE_OPTIONS_AD=Make Options
MAKE_OPTIONS_TXT=The make command (including options) to use when building projects.
MAKE_OPTIONS_TXT=The make options to use when building projects.
Comment 1 Sergey Grinev 2007-10-01 10:17:19 UTC
fixed except for makeproject's ones, not sure about correct way, so assigning to Thomas

http://deadlock.netbeans.org/fisheye/changelog/~author=sergius/netbeans/?cs=MAIN:sergius:20071001090924
Comment 2 Thomas Preisler 2007-10-01 18:33:37 UTC
Fixed.
Comment 3 Alexander Ioffe 2007-11-06 15:10:01 UTC
Verified in build 31102007