Index: openacs-4/packages/acs-lang/bin/check-catalog.sh =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-lang/bin/check-catalog.sh,v diff -u -N -r1.11 -r1.12 --- openacs-4/packages/acs-lang/bin/check-catalog.sh 9 Dec 2002 16:04:39 -0000 1.11 +++ openacs-4/packages/acs-lang/bin/check-catalog.sh 19 Dec 2002 17:49:10 -0000 1.12 @@ -6,19 +6,24 @@ # specifically the script does the following: # # 1) Checks that the info in the catalog filename matches info in -# its xml content (package_key, locale and charset). +# its xml content (package_key, locale and charset). # # 2) Checks that the set of keys in the message catalog is identical to the -# set of keys in the adp, info, sql, and tcl files in the package. +# set of keys in the adp, info, sql, and tcl files in the package. # # 3) Checks that the set of keys in non-en_US catalog files is present # in the en_US catalog file of the package. # +# 4) Checks that all keys in non-en_US catalog files are present in the en_US one. +# +# 5) Checks that the package version in every catalog file is consistent with what +# is in the corresponding info file. +# # The scripts assumes that message lookups in adp and info files are # on the format #package_key.message_key#, and that message lookups # in tcl files are always done with the underscore procedure. # -# usage: check-catalog.sh [package_key] +# usage: check-catalog.sh [package_key package_key ...] # # @author Peter Marklund (peter@collaboraid.biz) @@ -28,10 +33,24 @@ echo $(${script_path}/mygrep '