aboutsummaryrefslogtreecommitdiff
path: root/update-pot.sh
blob: 814074e5dc8ddc5329a23f47e120248e50e8d1fd (plain)
1
2
3
4
5
6
7
#!/bin/bash

set -x

GETTEXT_DOMAIN=$(cat CMakeLists.txt | grep 'set.*(.*GETTEXT_PACKAGE' | sed -r -e 's/.*\"([^"]+)\"\)/\1/')

cd po/ && intltool-update --gettext-package ${GETTEXT_DOMAIN} --pot