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 95874 - I18N - same key names with different values in same bundle file
Summary: I18N - same key names with different values in same bundle file
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: Pavel Flaska
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-02-17 19:44 UTC by Ken Frank
Modified: 2007-05-25 20:41 UTC (History)
0 users

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 Ken Frank 2007-02-17 19:44:27 UTC
if different values in keys with same name in a given bundle file, its not
clear which one will be shown to user, so this is not just i18n situation
for localized

the ones below, I realize there might not be any problem in showing
Class vs class, but wanted to point it out.

org-netbeans-modules-refactoring-java

LBL_Class=Class
LBL_Class=class


LBL_Field=Field
LBL_Field=field

LBL_Method=Method
LBL_Method=method
Comment 1 Pavel Flaska 2007-03-22 22:38:20 UTC
Key has to be unique. LBL_DefaultPackage is also duplicated.
Comment 2 Pavel Flaska 2007-03-22 22:51:23 UTC
Checking in src/org/netbeans/modules/refactoring/java/ui/Bundle.properties;
/cvs/refactoring/java/src/org/netbeans/modules/refactoring/java/ui/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.8; previous revision: 1.7
done
Comment 3 Ken Frank 2007-05-25 20:41:43 UTC
v