File: validate.sh

package info (click to toggle)
gpodder 2.20.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 5,228 kB
  • sloc: python: 16,951; makefile: 183; ansic: 140; sh: 97
file content (19 lines) | stat: -rwxr-xr-x 259 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

cat <<EOF

  Checking translations for formal errors...

EOF

for translation in *.po; do
    echo "     Checking: $translation"
    msgfmt --check "$translation" || exit 1
done

cat <<EOF

  Translation check finished. Strings looking good.

EOF