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.
Summary: | I18N - duplicate key/different value or multiple same key/value in bundle file | ||
---|---|---|---|
Product: | php | Reporter: | Ken Frank <kfrank> |
Component: | Code | Assignee: | rmatous <rmatous> |
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:05:33 UTC
This script might helps: for i in `find php* -name Bundle.properties | grep \/src\/`; do r=`cat "$i" | grep -v '^#.*' | sed -e 's/\(.*\)=.*/\1/' | sort | uniq -d` [ -n "$r" ] && (echo "Bundle '$i' contains duplicates:$r\n") done run it from hg root. The output on the current trunk is: Bundle 'php.project/src/org/netbeans/modules/php/project/connections/Bundle.properties' contains duplicates: LBL_ConnectionName Bundle 'php.refactoring/src/org/netbeans/modules/refactoring/php/findusages/Bundle.properties' contains duplicates: LBL_WhereUsed Bundle 'php.rt/src/org/netbeans/modules/php/rt/providers/impl/local/Bundle.properties' contains duplicates: LBL_DocumentRoot > Bundle 'php.project/src/org/netbeans/modules/php/project/connections/Bundle.properties' contains duplicates: > LBL_ConnectionName Already fixed. > Bundle 'php.refactoring/src/org/netbeans/modules/refactoring/php/findusages/Bundle.properties' contains duplicates: > LBL_WhereUsed Reassigning to Radek. > Bundle 'php.rt/src/org/netbeans/modules/php/rt/providers/impl/local/Bundle.properties' contains duplicates: > LBL_DocumentRoot This module is obsolete and not part of the build. Integrated into 'main-golden', available in build *200808280201* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/9b574f416777 User: Radek Matous <rmatous@netbeans.org> Log: #144760 I18N - duplicate key/different value or multiple same key/value in bundle file |