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 - I18N - duplicate key/different value or multiple same key/value in bundle file
Summary: I18N - duplicate key/different value or multiple same key/value in bundle file
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-08-21 20:23 UTC by Ken Frank
Modified: 2008-08-28 06:33 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 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