#/bin/sh
#
#   Update translation file
#
xgettext \
--output=dschaerf-extensions.pot \
--from-code=UTF-8 \
--keyword=_ \
--copyright-holder="Dieter Schärf" \
--foreign-user \
--package-name=dschaerf-extensions \
--package-version=`date +%Y.%m.%d` \
--msgid-bugs-address=ds@dschaerf.de \
$(find ../ -iname "*.js")
sed -i 's|\\\\u2022|•|' dschaerf-extensions.pot
sed -i 's|\\\\u2192|→|' dschaerf-extensions.pot
