Browse Source

Use bold colors.

master
Andrius Štikonas 11 years ago
parent
commit
9c25044730
  1. 7
      poupdate
  2. 6
      ths-variables

7
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

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

Loading…
Cancel
Save