aboutsummaryrefslogtreecommitdiffstats
path: root/docs/installer/update.sh
diff options
context:
space:
mode:
authorYuri Chornoivan <yurchor@mageia.org>2013-07-07 09:00:53 +0000
committerYuri Chornoivan <yurchor@mageia.org>2013-07-07 09:00:53 +0000
commit2a6ab6a500cfcc25ff165f8fcd0ae82b40f2e81f (patch)
tree12f56f077e64db48ba62d653d7cef4b75c88c0bb /docs/installer/update.sh
parentcb86d82bc23852fad47e1092917312bfd4ef8b54 (diff)
downloadtools-2a6ab6a500cfcc25ff165f8fcd0ae82b40f2e81f.tar
tools-2a6ab6a500cfcc25ff165f8fcd0ae82b40f2e81f.tar.gz
tools-2a6ab6a500cfcc25ff165f8fcd0ae82b40f2e81f.tar.bz2
tools-2a6ab6a500cfcc25ff165f8fcd0ae82b40f2e81f.tar.xz
tools-2a6ab6a500cfcc25ff165f8fcd0ae82b40f2e81f.zip
Update PO for configure X_card_list change
Diffstat (limited to 'docs/installer/update.sh')
-rwxr-xr-xdocs/installer/update.sh15
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