From: <dwa...@us...> - 2004-02-26 07:48:00
|
Update of /cvsroot/translate/locale In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24245 Modified Files: check-dates definition install Log Message: * check-dates - accepts a command line locale so you can now check locale date definitions without changing your current locale. * definition - added usage not about removing "locale-archive" to remove cached locale information. * install - only try to install files ignore directories. Avoids attempts to install CVS directory. Index: check-dates =================================================================== RCS file: /cvsroot/translate/locale/check-dates,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- check-dates 24 Feb 2004 12:48:12 -0000 1.1 +++ check-dates 26 Feb 2004 07:40:13 -0000 1.2 @@ -1,6 +1,8 @@ #!/bin/bash -export LC_ALL=$1.utf8 +if [ $# -eq 1 ]; then + export LC_ALL=$1.utf8 +fi echo -n "d_t_fmt (%c): "; date +"%c" echo -n "d_fmt (%x): "; date +"%x" Index: definition =================================================================== RCS file: /cvsroot/translate/locale/definition,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- definition 24 Feb 2004 12:48:12 -0000 1.1 +++ definition 26 Feb 2004 07:40:13 -0000 1.2 @@ -3,8 +3,11 @@ if [ $# -lt 2 ]; then echo "Usage: definition locale_field locale(s)" echo " Note: Only on installed locales" - echo " Checks for "locale_field" within the given locale" + echo " Checks for \"locale_field\" within the given locale" echo " and shoes the definition of that field" + echo + echo "NOTE: Data may be cached in /usr/lib/locale/locale-archive" + echo "Remove this file if your updates do not appear" exit 1 fi Index: install =================================================================== RCS file: /cvsroot/translate/locale/install,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- install 24 Feb 2004 16:04:38 -0000 1.2 +++ install 26 Feb 2004 07:40:13 -0000 1.3 @@ -11,6 +11,9 @@ for locale_file in $* do + if [ ! -f $locale_file ]; then + continue + fi locale=`basename $locale_file` echo "$locale.ISO-8859-1" mkdir -p $install_dir/$locale |