Duplicate key entry in resource bundle

Description

Some keys are duplicated in the bundle files:

[resourceCheck] duplicate key check: key in_itmInfoLabelTextRange defined more than once (2319:Range) (src/pcgen/code/src/java/pcgen/resources/lang/LanguageBundle.properties:2311:Range + 2319:Range)
[resourceCheck] duplicate key check: key in_mn_Prefs_skinnedLAF defined more than once (3201:I) (src/pcgen/code/src/java/pcgen/resources/lang/LanguageBundle.properties:3195:f + 3201:I)
[resourceCheck] duplicate key check: key Warnings.PCGenParser.UnknownStat defined more than once (4071:Missing = in tag: {0}:{1}) (src/java/pcgen/resources/lang/LanguageBundle.properties:4067:Unknown stat: {0}:{1} + 4071:Missing = in tag: {0}:{1})

I used http://rscbundlecheck.sourceforge.net/ to find them. It could be added to the ant compilation process.

When using the translate toolkit to update the properties from edited po file, it provoke errors, as mentioned in http://bugs.locamotion.org/show_bug.cgi?id=1712

Environment

None

Activity

Show:
Vincent Hatakeyama
February 15, 2012, 12:14 AM

Ant build file used to launch duplicate key detection (using rscbundlecheck).

James Dempsey
February 15, 2012, 9:42 PM

Wow, those dated back ages - nice find. We have to do a cull of no longer used entries as well in the near future.

Vincent Hatakeyama
September 4, 2012, 7:54 AM

That was fixed a long time ago (I get error when update translation if there is duplicates so no test).

Assignee

James Dempsey

Reporter

Vincent Hatakeyama

Labels

None

Theme

I18N

Epic/Theme

None

Pending User Input

None

Components

Fix versions

Affects versions

Priority

Minor
Configure