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 117238 - I18N - duplicate key in same bundle file
Summary: I18N - duplicate key in same bundle file
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Craig Conover
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-10-01 07:46 UTC by Ashizawa Kazunori
Modified: 2007-10-31 22:19 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:46: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).

uml/core/src/org/netbeans/modules/uml/core/Bundle.properties:
PSK_ACTIVITYDIAGRAM=Activity
PSK_ACTIVITYDIAGRAM=Activity Diagram
PSK_ASSOCIATIONS=Associations
PSK_ASSOCIATIONS=Associations
PSK_ATTRIBUTES=Attributes
PSK_ATTRIBUTES=Attributes
PSK_CLIENTDEPENDENCIES=Client Dependencies
PSK_CLIENTDEPENDENCIES=ClientDependencies
PSK_COMBINEDFRAGMENTCLR=Combined Fragments
PSK_COMBINEDFRAGMENTCLR=Combined Fragments
PSK_COMBINEDFRAGMENTCLR_HLP=Includes preferences for changing the presentation of combined fragments.
PSK_COMBINEDFRAGMENTCLR_HLP=Includes preferences for changing the presentation of combined fragments.
PSK_CONTAINER=Container
PSK_CONTAINER=Container
PSK_FINALSTATE=Final State
PSK_FINALSTATE=Final State
PSK_GENERALIZATIONS=Generalizations
PSK_GENERALIZATIONS=Generalizations
PSK_LANGUAGE=Language
PSK_LANGUAGE=Language
PSK_NEWPROJECT=New Project
PSK_NEWPROJECT=New Project
PSK_OPERATIONS=Operations
PSK_OPERATIONS=Operations
PSK_OPERATION_ELEMENTS_HLP=Options related to the Reverse Engineer Operation action.
PSK_OPERATION_ELEMENTS_HLP=Options related to the Reverse Engineering action and dialog for source code projects and files.
PSK_PRESENTATION=Presentation
PSK_PRESENTATION=Presentation
PSK_PROVIDEDINTERFACES=Provided Interfaces
PSK_PROVIDEDINTERFACES=Provided Interfaces
PSK_REQUIREDINTERFACES=Required Interfaces
PSK_REQUIREDINTERFACES=Required Interfaces
PSK_SPECIALIZATIONS=Specializations
PSK_SPECIALIZATIONS=Specializations
uml/core/src/org/netbeans/modules/uml/ui/controls/newdialog/Bundle.properties:
PSK_INTERFACE=Interface
PSK_INTERFACE=Interface
uml/core/src/org/netbeans/modules/uml/ui/products/ad/diagramengines/Bundle.properties:
IDS_COMPARTMENT_TITLE=&Compartment
IDS_COMPARTMENT_TITLE=&Compartment
IDS_CTRLSHIFTR=ctrl shift R
IDS_CTRLSHIFTR=ctrl shift R
IDS_DELETE_ATTRIBUTE=Are you sure you want to delete the selected Attribute(s)?
IDS_DELETE_ATTRIBUTE=Are you sure you want to delete the selected Attribute(s)?
IDS_DELETE_OPERATION=Are you sure you want to delete the selected Operation(s)?
IDS_DELETE_OPERATION=Are you sure you want to delete the selected Operation(s)?
IDS_LABELS_TITLE=&Labels
IDS_LABELS_TITLE=&Labels
IDS_POPUPMENU_BKCOLOR=&Background Color
IDS_POPUPMENU_BKCOLOR=&Background Color
IDS_POPUPMENU_BKCOLOR_DESCRIPTION=Sets the background color for the selected area
IDS_POPUPMENU_BKCOLOR_DESCRIPTION=Sets the background color for the selected area
IDS_POPUPMENU_FONTCOLOR=Font &Color
IDS_POPUPMENU_FONTCOLOR=Font &Color
IDS_POPUPMENU_FONTCOLOR_DESCRIPTION=Changes the font color
IDS_POPUPMENU_FONTCOLOR_DESCRIPTION=Changes the font color
IDS_POPUPMENU_SETASDEFAULT=Set as default
IDS_POPUPMENU_SETASDEFAULT=Set as default
IDS_RESETLABELS=&Reset Labels
IDS_RESETLABELS=&Reset Labels
IDS_RESETLABELS_DESCRIPTION=Reset the labels of this edge
IDS_RESETLABELS_DESCRIPTION=Reset the labels of this edge
uml/core/src/org/netbeans/modules/uml/ui/support/commonresources/Bundle.properties:
IDI_CONTROLCLASS=org/netbeans/modules/uml/resources/images/control-class.png
IDI_CONTROLCLASS=org/netbeans/modules/uml/resources/images/control-class.png
uml/designpattern/src/org/netbeans/modules/uml/designpattern/Bundle.properties:
Dialog.InvalidLicense.Text=A valid Modeling license was not found.
Dialog.InvalidLicense.Text=A valid Modeling license was not found.
Dialog.InvalidLicense.Title=Invalid License
Dialog.InvalidLicense.Title=Invalid License
uml/ideintegration/src/org/netbeans/modules/uml/integration/Bundle.properties:
Dialog.InvalidLicense.Text=A valid Modeling license was not found.
Dialog.InvalidLicense.Text=A valid Modeling license was not found.
Dialog.InvalidLicense.Title=Invalid License
Dialog.InvalidLicense.Title=Invalid License
uml/ideintegration/src/org/netbeans/modules/uml/integration/ide/Bundle.properties:
Action.CreateMessage.ToolTip=Create Message
Action.CreateMessage.ToolTip=Create Message
Action.CreateStateTransition.ToolTip=Create a State Transition
Action.CreateStateTransition.ToolTip=Create a State Transition
uml/modelingpalette/src/org/netbeans/modules/uml/palette/ui/Bundle.properties:
HINT_Abstraction=Abstraction
HINT_Abstraction=Abstraction
HINT_Abstraction=Abstraction
HINT_Abstraction=Abstraction
HINT_Abstraction=Abstraction
HINT_Abstraction=Abstraction
HINT_Abstraction=Abstraction
HINT_Actor=Actor
HINT_Actor=Actor
HINT_Actor=Actor
HINT_Actor=Actor
HINT_Actor=Actor
HINT_Actor_Role=Actor Role
HINT_Actor_Role=Actor Role
HINT_Aggregation=Aggregation
HINT_Aggregation=Aggregation
HINT_Aliased_Type=Aliased Type
HINT_Aliased_Type=Aliased Type
HINT_Artifact=Artifact
HINT_Artifact=Artifact
HINT_Artifact=Artifact
HINT_Association=Association
HINT_Association=Association
HINT_Association=Association
HINT_Association=Association
HINT_Association_Class=Association Class
HINT_Association_Class=Association Class
HINT_Boundary_Class=Boundary Class
HINT_Boundary_Class=Boundary Class
HINT_Class=Class
HINT_Class=Class
HINT_Class_Role=Class Role
HINT_Class_Role=Class Role
HINT_Comment=Comment
HINT_Comment=Comment
HINT_Comment=Comment
HINT_Comment=Comment
HINT_Comment=Comment
HINT_Comment=Comment
HINT_Comment=Comment
HINT_Comment=Comment
HINT_Component=Component
HINT_Component=Component
HINT_Composition=Composition
HINT_Composition=Composition
HINT_Control_Class=Control Class
HINT_Control_Class=Control Class
HINT_Datatype=Datatype
HINT_Datatype=Datatype
HINT_Dependency=Dependency
HINT_Dependency=Dependency
HINT_Dependency=Dependency
HINT_Dependency=Dependency
HINT_Dependency=Dependency
HINT_Dependency=Dependency
HINT_Dependency=Dependency
HINT_Deployment_Specification=Deployment Specification
HINT_Deployment_Specification=Deployment Specification
HINT_Derivation_Classifier=Derivation Classifier
HINT_Derivation_Classifier=Derivation Classifier
HINT_Derivation_Edge=Derivation Edge
HINT_Derivation_Edge=Derivation Edge
HINT_Design_Pattern=Design Pattern
HINT_Design_Pattern=Design Pattern
HINT_Entity_Class=Entity Class
HINT_Entity_Class=Entity Class
HINT_Enumeration=Enumeration
HINT_Enumeration=Enumeration
HINT_Generalization=Generalization
HINT_Generalization=Generalization
HINT_Generalization=Generalization
HINT_Generalization=Generalization
HINT_Implementation=Implementation
HINT_Implementation=Implementation
HINT_Implementation=Implementation
HINT_Implementation=Implementation
HINT_Interface=Interface
HINT_Interface=Interface
HINT_Interface=Interface
HINT_Interface_Role=Interface Role
HINT_Interface_Role=Interface Role
HINT_Lifeline=Lifeline
HINT_Lifeline=Lifeline
HINT_Link_Comment=Link Comment
HINT_Link_Comment=Link Comment
HINT_Link_Comment=Link Comment
HINT_Link_Comment=Link Comment
HINT_Link_Comment=Link Comment
HINT_Link_Comment=Link Comment
HINT_Link_Comment=Link Comment
HINT_Link_Comment=Link Comment
HINT_Navigable_Aggregation=Navigable Aggregation
HINT_Navigable_Aggregation=Navigable Aggregation
HINT_Navigable_Association=Navigable Association
HINT_Navigable_Association=Navigable Association
HINT_Navigable_Composition=Navigable Composition
HINT_Navigable_Composition=Navigable Composition
HINT_Nested_Link=Nested Link
HINT_Nested_Link=Nested Link
HINT_Node=Node
HINT_Node=Node
HINT_Node=Node
HINT_Package=Package
HINT_Package=Package
HINT_Package=Package
HINT_Package=Package
HINT_Permission=Permission
HINT_Permission=Permission
HINT_Permission=Permission
HINT_Permission=Permission
HINT_Permission=Permission
HINT_Permission=Permission
HINT_Permission=Permission
HINT_Realize=Realize
HINT_Realize=Realize
HINT_Realize=Realize
HINT_Realize=Realize
HINT_Realize=Realize
HINT_Realize=Realize
HINT_Realize=Realize
HINT_Role=Role
HINT_Role=Role
HINT_Role_Binding=Role Binding
HINT_Role_Binding=Role Binding
HINT_Template_Class=Template Class
HINT_Template_Class=Template Class
HINT_Usage=Usage
HINT_Usage=Usage
HINT_Usage=Usage
HINT_Usage=Usage
HINT_Usage=Usage
HINT_Usage=Usage
HINT_Usage=Usage
HINT_Use_Case_Role=Use Case Role
HINT_Use_Case_Role=Use Case Role
HINT_Utility_Class=Utility Class
HINT_Utility_Class=Utility Class
uml/projectui/src/org/netbeans/modules/uml/project/ui/common/Bundle.properties:
ACSD_ProjectLanguageChoice=Project Langauge Choice
ACSD_ProjectLanguageChoice=Project Langauge Choice
ACSD_SourceGroupsLabel=Select Java Source Groups
ACSD_SourceGroupsLabel=A table of all the source root package folders of the Java Project about to be reverse
engineered. \nColumn1 has checkboxes that indicate whether or not that particular package folder should be reverse
engineered. \nColumn2 is the package folder name and Column3 is the package folder label.
uml/projectui/src/org/netbeans/modules/uml/project/ui/nodes/Bundle.properties:
LBL_Fix_Broken_Links_Action=Resolve Reference Problems...
LBL_Fix_Broken_Links_Action=Resolve Reference Problems...
uml/webreport/src/org/netbeans/modules/uml/reporting/dataobjects/Bundle.properties:
Extension_Point_Summary=Extension Point Summary
Extension_Point_Summary=Extension Point Summary
Comment 1 Craig Conover 2007-10-02 00:52:16 UTC
changed:
PSK_OPERATION_ELEMENTS_HLP=Options related to the Reverse Engineering action and dialog for source code projects and files.
to
PSK_SOURCE_CODE=Options related to the Reverse Engineering action and dialog for source code projects and files.

removed dupes
-------------
PSK_ACTIVITYDIAGRAM=Activity
PSK_ASSOCIATIONS=Associations
PSK_ATTRIBUTES=Attributes
PSK_CLIENTDEPENDENCIES=Client Dependencies
PSK_CLIENTDEPENDENCIES=ClientDependencies
PSK_COMBINEDFRAGMENTCLR=Combined Fragments
PSK_COMBINEDFRAGMENTCLR_HLP=Includes preferences for changing the presentation of combined fragments.
PSK_CONTAINER=Container
PSK_FINALSTATE=Final State
PSK_GENERALIZATIONS=Generalizations
PSK_SPECIALIZATIONS=Specializations
PSK_NEWPROJECT=New Project
PSK_OPERATIONS=Operations
PSK_PRESENTATION=Presentation
PSK_PROVIDEDINTERFACES=Provided Interfaces
PSK_REQUIREDINTERFACES=Required Interfaces
PSK_SPECIALIZATIONS=Specializations

PSK_INTERFACE=Interface

IDS_COMPARTMENT_TITLE=&Compartment
IDS_CTRLSHIFTR=ctrl shift R
IDS_DELETE_ATTRIBUTE=Are you sure you want to delete the selected Attribute(s)?
IDS_DELETE_OPERATION=Are you sure you want to delete the selected Operation(s)?
IDS_LABELS_TITLE=&Labels
IDS_POPUPMENU_BKCOLOR=&Background Color
IDS_POPUPMENU_BKCOLOR_DESCRIPTION=Sets the background color for the selected area
IDS_POPUPMENU_FONTCOLOR=Font &Color
IDS_POPUPMENU_FONTCOLOR_DESCRIPTION=Changes the font color
IDS_POPUPMENU_SETASDEFAULT=Set as default
IDS_RESETLABELS=&Reset Labels
IDS_RESETLABELS_DESCRIPTION=Reset the labels of this edge

IDI_CONTROLCLASS=org/netbeans/modules/uml/resources/images/control-class.png

Dialog.InvalidLicense.Text=A valid Modeling license was not found.
Dialog.InvalidLicense.Title=Invalid License

Action.CreateMessage.ToolTip=Create Message
Action.CreateStateTransition.ToolTip=Create a State Transition

HINT_Abstraction=Abstraction
HINT_Actor=Actor
HINT_Actor_Role=Actor Role
HINT_Aggregation=Aggregation
HINT_Aliased_Type=Aliased Type
HINT_Artifact=Artifact
HINT_Association=Association
HINT_Association_Class=Association Class
HINT_Boundary_Class=Boundary Class
HINT_Class=Class
HINT_Class_Role=Class Role
HINT_Comment=Comment
HINT_Component=Component
HINT_Composition=Composition
HINT_Control_Class=Control Class
HINT_Datatype=Datatype
HINT_Dependency=Dependency
HINT_Deployment_Specification=Deployment Specification
HINT_Derivation_Classifier=Derivation Classifier
HINT_Derivation_Edge=Derivation Edge
HINT_Design_Pattern=Design Pattern
HINT_Entity_Class=Entity Class
HINT_Enumeration=Enumeration
HINT_Generalization=Generalization
HINT_Implementation=Implementation
HINT_Interface=Interface
HINT_Interface_Role=Interface Role
HINT_Lifeline=Lifeline
HINT_Link_Comment=Link Comment
HINT_Navigable_Composition=Navigable Composition
HINT_Nested_Link=Nested Link
HINT_Node=Node
HINT_Package=Package
HINT_Permission=Permission
HINT_Realize=Realize
HINT_Role=Role
HINT_Role=Role
HINT_Role_Binding=Role Binding
HINT_Template_Class=Template Class
HINT_Usage=Usage
HINT_Use_Case_Role=Use Case Role
HINT_Utility_Class=Utility Class

ACSD_ProjectLanguageChoice=Project Langauge Choice

LBL_Fix_Broken_Links_Action=Resolve Reference Problems...

Extension_Point_Summary=Extension Point Summary


removed unused keys:
ACSD_SourceGroupsLabel

Comment 2 Ken Frank 2007-10-31 22:19:05 UTC
v