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 117230 - I18N - duplicate key in same bundle file
Summary: I18N - duplicate key in same bundle file
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ pcw
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-10-01 07:38 UTC by Ashizawa Kazunori
Modified: 2007-10-10 00:00 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:38:24 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).

serverplugins/sun/appsrv/src/org/netbeans/modules/j2ee/sun/ide/editors/Bundle.properties:
ERR_DuplicateEntry=Property name already exists
ERR_DuplicateEntry=Property name already exists
ERR_InvalidEntry=Property Name is empty, please enter a name
ERR_InvalidEntry=Property Name is empty, please enter a name
ERR_NoValue=Property Value is empty, please enter a value
ERR_NoValue=Property Value is empty, please enter a value
LBL_NameValuePairEditorDescription=Edit a NameValue Pair
LBL_NameValuePairEditorDescription=Edit a NameValue Pair
LBL_NameValuePairEditorName=NameValuePair Editor
LBL_NameValuePairEditorName=NameValuePair Editor
ParamModel_modelName=Extra Property Info
ParamModel_modelName=Extra Property Info
TXT_MultiParam={0} Extra Properties
TXT_MultiParam={0} Extra Properties
TXT_OneParam=One Extra Property
TXT_OneParam=One Extra Property
TXT_Param=0 Extra Properties
TXT_Param=0 Extra Properties
colHdrParamName=Property Name
colHdrParamName=Property Name
colHdrParamName_Mnemonic=P
colHdrParamName_Mnemonic=P
colHdrParamValue=Property Value
colHdrParamValue=Property Value
colHdrParamValue_Mnemonic=V
colHdrParamValue_Mnemonic=V
tipParamName=a supported extra property
tipParamName=a supported extra property
tipParamValue=a valid value for this property
tipParamValue=a valid value for this property
serverplugins/sun/appsrv/src/org/netbeans/modules/j2ee/sun/ide/sunresources/wizards/Bundle.properties:
LBL_pool-name=JDBC Connection Pool Name:*
LBL_pool-name=JDBC Connection Pool Name:*
LBL_pool-name_Mnemonic=P
LBL_pool-name_Mnemonic=P
SelectFromTheList=< Select from the list >
SelectFromTheList=< Select from the list >
ToolTip_pool-name=JDBC Connection Pool Name:
ToolTip_pool-name=JDBC Connection Pool Name:
serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/Bundle.properties:
ERR_NOT_AN_INSTALL_ROOT=Incorrect Installation Root Directory {0}
ERR_NOT_AN_INSTALL_ROOT=Incorrect Installation Root Directory {0}
serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/ui/Bundle.properties:
TITLE_USERNAME_PASSWORD=Enter credentials
TITLE_USERNAME_PASSWORD=Enter credentials
serverplugins/sun/sunddui/src/org/netbeans/modules/j2ee/sun/ddloaders/multiview/web/Bundle.properties:
ACSD_JNDIName=Enter the JNDI name for this message destination here.
ACSD_JNDIName=The JNDI name for this object.
ACSD_MessageDestinationName=Enter the message destination name here.
ACSD_MessageDestinationName=The name of the message destination being configured.
ACSD_ServletName=Select to have the mapping match by servlet name.
ACSD_ServletName=The name of the servlet being configured.
ACSN_JNDIName=JNDI Name
ACSN_JNDIName=JNDI Name
ACSN_MessageDestinationName=Message Destination Name
ACSN_MessageDestinationName=Message Destination Name
ACSN_ServletName=Servlet Name
ACSN_ServletName=Servlet Name
MNE_Dispatcher=D
MNE_Dispatcher=D
MNE_JNDIName=J
MNE_JNDIName=J
TITLE_MessageDestination=Message Destination
TITLE_MessageDestination=Message Destination
serverplugins/sun/sunddui/src/org/netbeans/modules/j2ee/sun/share/configbean/customizers/webapp/Bundle.properties:
MNE_Dispatcher=D
MNE_Dispatcher=D
Comment 1 Nitya Doraisamy 2007-10-01 09:01:24 UTC
Fixed duplicate entries in appsrv, appsrv81
http://deadlock.netbeans.org/fisheye/changelog/netbeans/serverplugins/sun?cs=MAIN:nityad:20071001073444

Transferring to peter for handling sunddui module since some of the duplicates appear to for accessible name & description
Comment 2 _ pcw 2007-10-10 00:00:42 UTC
Should be fixed in sunddui now as well, closing as fixed.