diff --git a/poupdate b/poupdate index a6fdade..1e85171 100755 --- a/poupdate +++ b/poupdate @@ -126,7 +126,7 @@ fi if [ `cd $tpl_tree; find ${updfile}t 2> /dev/null | wc -l` -lt 1 ]; then if [ "$option_verbose" = "Y" ]; then echo - echo "File `basename "$updfile"` does not belong to this translation project," + echo -e "File $RED`basename "$updfile"`$ENDCOLOR does not belong to this translation project," echo "SKIPPING..." find ${updfile}t -print fi @@ -137,12 +137,13 @@ fi if [ `cd "$tra_tree"; find ${updfile} 2> /dev/null | wc -l` -lt 1 ]; then echo - echo "File `basename $updfile` is completely newly translated," + echo -e "File $RED`basename $updfile`$ENDCOLOR is completely newly translated," echo "COPYING it to the appropriate place..." #finding the appropriate tplfile=`cd "$tpl_tree"; find ${updfile}t` secdir=`dirname "$tplfile"` - cp "$upd_dir/$updfile" "$tra_tree/$secdir/$updfile" + cp "$upd_dir/$updfile" "$tra_tree/$updfile" + svn add "$tra_tree/$updfile" fi # perform msgmerge and other actions diff --git a/ths-variables b/ths-variables index 7ae9560..e93fa3b 100644 --- a/ths-variables +++ b/ths-variables @@ -28,7 +28,7 @@ MSGMERGE=`which msgmerge 2> /dev/null` KDIFF3=`which kdiff3 2> /dev/null` # Colors -RED="\033[0;31m" -GREEN="\033[0;32m" -BLUE="\033[0;34m" +RED="\033[1;31m" +GREEN="\033[1;32m" +BLUE="\033[1;34m" ENDCOLOR="\033[0m"