1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-17 07:13:02 +01:00
toxic/translations/tools/update_pot.sh
2015-06-29 03:11:21 -04:00

13 lines
344 B
Bash
Executable File

#!/bin/bash
cd $(dirname $0)/..
v=$(grep TOXIC_VERSION ../cfg/global_vars.mk | head -1 | cut -d "=" -f 2 | tr -d " ")
xgettext --default-domain="toxic" \
--from-code="UTF-8" \
--copyright-holder="Toxic Team" \
--msgid-bugs-address="JFreegman@tox.chat" \
--package-name="Toxic" \
--package-version="$v" \
--output="toxic.pot" \
../src/*