mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-02 08:57:19 -04:00
1140727fae
Usage: ninja check-po 2>&1 | less
12 lines
279 B
Bash
Executable File
12 lines
279 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SRC=$(dirname -- ${BASH_SOURCE[0]})
|
|
|
|
for po in "$SRC"/*.po
|
|
do
|
|
lang=$(basename $po .po)
|
|
echo -n "$lang"
|
|
msgfmt --check --check-accelerators="~" --verbose --statistics -o /dev/null "$SRC/$lang.po"
|
|
perl -I"$SRC/perl" "$SRC/perl/msgaccel-check" "$SRC/$lang.po"
|
|
done
|