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 117211 - I18N - duplicate key in same bundle file
Summary: I18N - duplicate key in same bundle file
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: martin_adamek
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-10-01 07:16 UTC by Ashizawa Kazunori
Modified: 2008-07-22 18:36 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:16:39 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).

j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/Bundle.properties:
MSG_Javadoc_Constructor=Creates a new instance of {0} with the specified values.\n
MSG_Javadoc_Constructor=Creates a new instance of {0} with the specified values.\n
MSG_Javadoc_ConstructorParam=@param {0} the {0} of the {1}\n
MSG_Javadoc_ConstructorParam=@param {0} the {0} of the {1}\n
j2ee/persistence/verification/src/org/netbeans/modules/j2ee/jpa/verification/fixes/Bundle.properties:
PickOrCreateFieldPanel.lblType.AccessibleContext.accessibleName=&Type\:
PickOrCreateFieldPanel.lblType.AccessibleContext.accessibleName=&Type\:
PickOrCreateFieldPanel.txtNewFieldName.text=id
PickOrCreateFieldPanel.txtNewFieldName.text=id
PickOrCreateFieldPanel.txtType.text=Long
PickOrCreateFieldPanel.txtType.text=Long
j2ee/archiveproject/src/org/netbeans/modules/j2ee/archive/wizard/Bundle.properties:
LBL_CreateProjectStep=Select Source Archive
LBL_CreateProjectStep=Create a new Deployable Archive project
j2ee/earproject/src/org/netbeans/modules/j2ee/earproject/ui/wizards/Bundle.properties:
LBL_NEAP_CreateCarModule=Create &Application Client Module\:
LBL_NEAP_CreateCarModule=Create &Application Client Module\:
j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/ui/wizards/Bundle.properties:
LBL_ProjectNameAndLocationLabel=Specify a name and location for the new project.
LBL_ProjectNameAndLocationLabel=Specify a name and location for the new project.
MSG_IllegalProjectName=Project Name is not a valid folder name.
MSG_IllegalProjectName=Project Name is not a valid folder name.
MSG_ProjectFolderExists=Project Folder already exists and is not empty.
MSG_ProjectFolderExists=Project Folder already exists and is not empty.
MSG_ProjectFolderHasDeletedProject=The Project Folder was recently used by another project. Please restart the IDE to
reuse folder.
MSG_ProjectFolderHasDeletedProject=The Project Folder was recently used by another project. Please restart the IDE to
reuse folder.
MSG_ProjectFolderInvalid=Cannot place the project in a Project Folder that already contains {0}.
MSG_ProjectFolderInvalid=Cannot place the project in a Project Folder that already contains {0}.
MSG_ProjectFolderReadOnly=Project Folder is read-only.
MSG_ProjectFolderReadOnly=Project Folder is read-only.
TXT_BuildFolder="build" folder
TXT_BuildFolder="build" folder
TXT_BuildXML="build.xml" file
TXT_BuildXML="build.xml" file
TXT_DistFolder="dist" folder
TXT_DistFolder="dist" folder
TXT_Manifest="manifest.mf" file
TXT_Manifest="manifest.mf" file
TXT_NetBeansProject=NetBeans project
TXT_NetBeansProject=NetBeans project
Comment 2 Ken Frank 2008-07-22 18:36:19 UTC
v