mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
Use a bash script to check the translations as we used to do during the autotools-based distcheck.
15 lines
352 B
Bash
Executable File
15 lines
352 B
Bash
Executable File
#!/bin/bash
|
|
|
|
po_dir=$(dirname $0)
|
|
|
|
for i in $po_dir/*.po ; do
|
|
if ! grep -q `basename $i | sed 's,.po,,'` $po_dir/LINGUAS; then
|
|
echo '**********************************';
|
|
echo '***' `basename $i | sed 's,.po,,'` missing from po/LINGUAS '***' ;
|
|
echo '**********************************';
|
|
exit 1;
|
|
fi;
|
|
done;
|
|
|
|
exit 0
|