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 32813

Summary: I18N - duplicate message keys with different messages in same bundle file
Product: java Reporter: Ken Frank <kfrank>
Component: JavadocAssignee: issues@java <issues>
Status: VERIFIED FIXED    
Severity: blocker CC: jchalupa, johnjullion
Priority: P1 Keywords: I18N
Version: 3.x   
Hardware: Sun   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description Ken Frank 2003-04-10 23:31:05 UTC
If in same bundle file, are duplicate message
keys but with different messages, both will be
translated but its unknown which would show when
user runs localized product.
./org/netbeans/modules/javadoc/search/Bundle.properties


CTL_INDICES_MenuItem=Javadoc &Indices
CTL_INDICES_MenuItem=Documentation &Indices
Comment 1 Milan Kubec 2003-04-11 08:50:37 UTC
John, please could you advise which text is better to leave in the
bundle. Thanks.
Comment 2 Jan Chalupa 2003-04-14 09:53:08 UTC
Please fix for 3.5. Thanks.
Comment 3 John Jullion-ceccarelli 2003-04-14 16:34:59 UTC
CTL_INDICES_MenuItem=Documentation &Indices 

This one is better, I think. Not a very big difference 
between the two, but Javadoc is trademarked (I believe) so 
it's better to use the generic Documentation because I 
don't know if "index" is on the official list of approved 
nouns for use with Javadoc.
Comment 4 Tomas Hurka 2003-04-15 08:57:28 UTC
Fixed in trunk.
Checking in Bundle.properties;
/cvs/javadoc/src/org/netbeans/modules/javadoc/search/Bundle.properties,v  <--  Bundle.properties
new revision: 1.54; previous revision: 1.53
done
Comment 5 _ ttran 2003-04-18 09:48:35 UTC
approved for 3.5
Comment 6 Tomas Hurka 2003-04-18 12:32:57 UTC
Fixed in release35 branch.
Checking in Bundle.properties;
/cvs/javadoc/src/org/netbeans/modules/javadoc/search/Bundle.properties,v  <--  Bundle.properties
new revision: 1.50.18.4; previous revision: 1.50.18.3
done
Comment 7 hiroshiy 2003-06-13 11:21:22 UTC
I've verified the fixing in Nevada RC7 Build
    and S1S Trunk Build (030612).

Thank you for your fixing !!