Use bold colors.

This commit is contained in:
Andrius Štikonas 2010-09-08 19:46:11 +03:00
parent 4b47168f30
commit 9c25044730
2 changed files with 7 additions and 6 deletions

View File

@ -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

View File

@ -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"