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 78495

Summary: I18N - duplicate keys with different values in same bundle file
Product: uml Reporter: bugbridge <bugbridge>
Component: ProjectAssignee: Thuy.d Nguyen <thuydn>
Status: VERIFIED FIXED    
Severity: blocker CC: kfrank
Priority: P2 Keywords: I18N
Version: 5.x   
Hardware: Sun   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description bugbridge 2006-06-20 11:25:17 UTC
Description:
there are duplicate key names with different values in the same  bundle file
in this modules

com-sun-tools-ide-modeling

IDS_CF_IO_NEG_DSCR=Set the interaction operator to "neg"
IDS_CF_IO_NEG_DSCR=Set the interaction operator to=neg

IDS_CF_IO_REGION=&region
IDS_CF_IO_REGION=region


IDS_CF_IO_SEQ=se&q
IDS_CF_IO_SEQ=seq

IDS_CF_IO_STRICT=s&trict
IDS_CF_IO_STRICT=strict

IDS_POPUPMENU_SETASDEFAULT_DESCRIPTION=Makes the current settings 
the default
IDS_POPUPMENU_SETASDEFAULT_DESCRIPTION=Updates Preferences to the 
current settings

PSK_REVERSEENGINEERING=Expand Unless Manually Resized
PSK_REVERSEENGINEERING=Reverse Engineering

PSK_SCM_VAR_BINARY_FLAG=Binary Flag Command
PSK_SCM_VAR_BINARY_FLAG=Binary Flag


This means its not clear which value might be used, and also is
a problem for localization work.


There are also some duplicate keys in same bundle file with same values -
it can help if these kind of duplcates are removed in this and all uml
modules since it can reduce l10n costs by not needing to translate duplicates.
Comment 1 George Vasick 2007-07-13 00:42:40 UTC
*** Issue 79034 has been marked as a duplicate of this issue. ***
Comment 2 Thuy.d Nguyen 2007-07-16 16:59:11 UTC
Cleaned up these duplicate keys and integrated to trunk.
(Since I don't have any tool/script to check for duplicate keys/values in all of the bundle files in UML, I only fixed
those duplicate keys listed in this issue.)
Comment 3 Ken Frank 2007-10-31 22:08:38 UTC
v