aboutsummaryrefslogtreecommitdiff
path: root/update-po.sh
blob: 15e9d53e3ddbea4f88139c2421171c688ee4011d (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

set -x

GETTEXT_DOMAIN=$(cat configure.ac | grep -E "^GETTEXT_PACKAGE=" | sed -e 's/GETTEXT_PACKAGE=//')

cd po/
cat LINGUAS | while read lingua; do touch ${lingua}.po; intltool-update --gettext-package ${GETTEXT_DOMAIN} $(basename ${lingua}); done
cd - 1>/dev/null