diff options
author | EuAndreh <eu@euandre.org> | 2021-06-26 18:22:37 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-06-26 18:22:37 -0300 |
commit | 491279f5b30b00d3b08fa9e92c275f090bfb50f7 (patch) | |
tree | 11c1c38cbbccfb5166e83be0f85db9db8782bac2 /aux/workflow | |
parent | Makefile: use shorter syntax for cp in "install" target (diff) | |
download | git-permalink-491279f5b30b00d3b08fa9e92c275f090bfb50f7.tar.gz git-permalink-491279f5b30b00d3b08fa9e92c275f090bfb50f7.tar.xz |
aux/workflow/l10n.sh: Mark WARNING message with yellow color
Diffstat (limited to 'aux/workflow')
-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 } |