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 144764

Summary: I18N - duplicate key/different value or multiple same key/value in bundle file
Product: ruby Reporter: Ken Frank <kfrank>
Component: CodeAssignee: Martin Krauskopf <mkrauskopf>
Status: RESOLVED FIXED    
Severity: blocker Keywords: I18N
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Ken Frank 2008-08-21 20:23:30 UTC
a specific bundle file should not have either a :

duplicate key/value that is the same since costs more for
duplicate translation

or

same key with 2 different values

items below were found during scan of bundle files,
but might not  know which module or which bundle in it
if its not mentioned below but
am assuming it can found in the source code

 - please review all bundles to make sure no others like
these:
RailsEnv=Environment\:
RailsEnv=Rails E&nvironment:
Comment 1 Martin Krauskopf 2008-08-26 15:17:37 UTC
I've checked all Ruby bundles with:

  for i in `find ruby* -name Bundle.properties | grep \/src\/`; do
    cat "$i" | grep -v '^#.*' | sed -e 's/\(.*\)=.*/\1/' | sort | uniq -d
  done

RailsEnv was the only one.

Fixed: #18bcc3492dd5
Comment 2 Quality Engineering 2008-08-28 06:33:50 UTC
Integrated into 'main-golden', available in build *200808280201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/18bcc3492dd5
User: Martin Krauskopf <mkrauskopf@netbeans.org>
Log: #144764: I18N - duplicate key/different value or multiple same key/value in bundle file