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 -r1.4 -r1.5 --- openacs-4/packages/acs-lang/bin/check-catalog.sh 29 Oct 2002 08:04:53 -0000 1.4 +++ openacs-4/packages/acs-lang/bin/check-catalog.sh 29 Oct 2002 17:58:27 -0000 1.5 @@ -3,6 +3,9 @@ # Check consistency of the en_US message catalog of the given package. # Checks that the set of keys in the message catalog is identical to the # set of keys in the adp, info, and tcl files in the package. +# Also checks that the info in the catalog filename matches info in +# its xml content (package_key, locale and charset). +# # 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. @@ -84,6 +87,9 @@ package_path="${script_path}/../../${package_key}" cd $package_path +echo "$0: $package_key - checking catalog file name" +${script_path}/check-catalog-file-path.pl $catalog_file_path + echo "$0: $package_key - checking catalog keys are in lookups" check_catalog_keys_have_lookups $package_key