PO template generation script
This commit is contained in:
parent
fff29e804a
commit
9074495c35
11
pot_generator.sh
Executable file
11
pot_generator.sh
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
#
|
||||||
|
# This script automatically updates translation template from
|
||||||
|
# the source code of XQF
|
||||||
|
#
|
||||||
|
POT=po/xqf.pot
|
||||||
|
VERSION=$(git describe --abbrev=0 --tags)
|
||||||
|
|
||||||
|
find ./ -name '*.c' -o -name '*.ui' -o -name 'xqf.desktop.in' | sort | xgettext \
|
||||||
|
\--from-code=UTF-8 --package-name="XQF" --copyright-holder="XQF Team" --msgid-bugs-address="https://github.com/xqf/xqf/issues" --no-location --package-version="${VERSION}" -o ${POT} -k_ -k__ -kCG_TranslateString -ktrap_TranslateString -kTRANSLATE -f -
|
Loading…
x
Reference in New Issue
Block a user