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