Debian Codegraph @

po/check_translations.sh

raw symbols SCIP
1 #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. bash
2
3 # Go to po directory
4 cd "$(dirnamescip-shell system . . dirname. "${0}")" || exit 1
5
6 RET=0
7
8 for i in *.po; do
9 lang="$(basenamescip-shell system . . basename. "${i}" | sedscip-shell system . . sed. 's,.po,,')"
10 if ! grepscip-shell system . . grep. -q ^"${lang}" "LINGUAS"; then
11 echoscip-shell system . . echo. "*** Language ${lang} is missing from LINGUAS ***"
12 RET=1
13 fi
14 done
15
16 exit "${RET}"