aboutsummaryrefslogtreecommitdiff
path: root/update-pot.sh
blob: 93371e4bfdd94dd597e2d9e10ffcb694312a3fc7 (plain)
1
2
3
4
5
#!/bin/bash

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

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