diff options
-rwxr-xr-x | aux/workflow/l10n.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/aux/workflow/l10n.sh b/aux/workflow/l10n.sh index 91d3d11..e1fd3bb 100755 --- a/aux/workflow/l10n.sh +++ b/aux/workflow/l10n.sh @@ -18,6 +18,8 @@ if [ -z "$LANGS" ]; then exit 2 fi +end="\033[0m" +yellow="\033[0;33m" manpage() { from_f="$1" for l in $LANGS; do @@ -29,7 +31,7 @@ manpage() { po4a-translate -f man -m "$from_f" -p "doc/po/$l.po" -l "$to_f" -k 0 -v 2>&1 | tee "$OUT" >&2 if ! grep -qF ' is 100% translated (' "$OUT"; then - printf '\n\tWARNING!\n Missing translations for %s\n\n' "$to_f" >&2 + printf "\n\t${yellow}WARNING${end}!\n Missing translations for %s\n\n" "$to_f" >&2 fi done } |