diff options
Diffstat (limited to 'docs/installer/update.sh')
-rwxr-xr-x | docs/installer/update.sh | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/docs/installer/update.sh b/docs/installer/update.sh index 68926115..740d10fc 100755 --- a/docs/installer/update.sh +++ b/docs/installer/update.sh @@ -1,6 +1,15 @@ #!/bin/bash POFILE=$1 -echo -n $1".po: " -msgmerge --update $1.po help.pot && \ -msgfmt -o /dev/null --statistics --check $1.po +if [[ $POFILE == "" ]]; then + for i in *.po + do + echo -n $i": " + msgmerge --backup=none --update $i help.pot && \ + msgfmt -o /dev/null --statistics --check $i + done +else + echo -n $1".po: " + msgmerge --update $1.po help.pot && \ + msgfmt -o /dev/null --statistics --check $1.po +fi |