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 117218

Summary: I18N - duplicate key in same bundle file
Product: javame Reporter: Ashizawa Kazunori <kasha>
Component: Game BuilderAssignee: _ kherink <kherink>
Status: VERIFIED FIXED    
Severity: blocker CC: jf4jbug
Priority: P3 Keywords: I18N
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Ashizawa Kazunori 2007-10-01 07:25:55 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).

mobility/cdcplugins/ricoh/src/org/netbeans/modules/j2me/cdc/project/ricoh/Bundle.properties:
ACSN_LoginInformation=Login Information
ACSN_LoginInformation=
LBL_AdvancedOptions=Advanced Options
LBL_AdvancedOptions=Advanced Options
mobility/cdcplugins/semc/src/org/netbeans/modules/j2me/cdc/project/semc/Bundle.properties:
LBL_AppUID=Application &UID:
LBL_AppUID=&Application UID\:
mobility/deployment/deviceanywhere/src/org/netbeans/modules/deployment/deviceanywhere/Bundle.properties:
MSG_NoDevice=No device retrived
MSG_NoDevice=No device available
mobility/deployment/ricoh/src/org/netbeans/modules/mobility/deployment/ricoh/Bundle.properties:
ACSN_LoginInformation=Login Information
ACSN_LoginInformation=
LBL_Password=Passw&ord:
LBL_Password=Passw&ord\:
LBL_TargetServer=&Target Server:
LBL_TargetServer=&Target Server\:
LBL_Username=User&name:
LBL_Username=User&name\:
mobility/designer2/game/src/org/netbeans/modules/vmd/game/editor/scene/Bundle.properties:
ScenePanel.menuBottom.txt=Layer to bottom
ScenePanel.menuBottom.txt=Bottom
ScenePanel.menuTop.txt=Layer to top
ScenePanel.menuTop.txt=Top
mobility/designer2/midp/src/org/netbeans/modules/vmd/midp/propertyeditors/Bundle.properties:
LBL_LAYOUT_STR=&Layout:
LBL_LAYOUT_STR=&Layout:
Comment 1 Lukas Hasik 2007-10-01 13:56:48 UTC
IDE:-------------------------------------------------
IDE: [10/1/07 2:48 PM] Committing started
Checking in deployment/deviceanywhere/src/org/netbeans/modules/deployment/deviceanywhere/Bundle.properties;
/cvs/mobility/deployment/deviceanywhere/src/org/netbeans/modules/deployment/deviceanywhere/Bundle.properties,v  <-- 
Bundle.properties
new revision: 1.8; previous revision: 1.7
done
Checking in cdcplugins/ricoh/src/org/netbeans/modules/j2me/cdc/project/ricoh/Bundle.properties;
/cvs/mobility/cdcplugins/ricoh/src/org/netbeans/modules/j2me/cdc/project/ricoh/Bundle.properties,v  <--  Bundle.properties
new revision: 1.12; previous revision: 1.11
done
Checking in deployment/ricoh/src/org/netbeans/modules/mobility/deployment/ricoh/Bundle.properties;
/cvs/mobility/deployment/ricoh/src/org/netbeans/modules/mobility/deployment/ricoh/Bundle.properties,v  <-- 
Bundle.properties
new revision: 1.6; previous revision: 1.5
done
Checking in designer2/midp/src/org/netbeans/modules/vmd/midp/propertyeditors/Bundle.properties;
/cvs/mobility/designer2/midp/src/org/netbeans/modules/vmd/midp/propertyeditors/Bundle.properties,v  <--  Bundle.properties
new revision: 1.28; previous revision: 1.27
done
Checking in cdcplugins/semc/src/org/netbeans/modules/j2me/cdc/project/semc/Bundle.properties;
/cvs/mobility/cdcplugins/semc/src/org/netbeans/modules/j2me/cdc/project/semc/Bundle.properties,v  <--  Bundle.properties
new revision: 1.5; previous revision: 1.4
done
IDE: [10/1/07 2:48 PM] Committing finished
Comment 2 Lukas Hasik 2007-10-01 13:59:04 UTC
I fixed the listed bundles except of the
mobility/designer2/game/src/org/netbeans/modules/vmd/game/editor/scene/Bundle.properties
I don't know what message is the correct one.


Karle, could you fix it, please? ->reassigning
Comment 3 _ kherink 2007-10-02 07:24:41 UTC
i'll take a look asap
Comment 4 _ kherink 2007-10-07 14:34:09 UTC
fixed in trunk
Comment 5 Lukas Hasik 2007-10-07 19:47:41 UTC
Karle, cvs log? ;)
Comment 6 Lukas Hasik 2007-10-12 07:49:35 UTC
v