mau_mau_bot/genpot.sh
pan93412 ddc9ac3d22 i18n: add pot generator and ...
- let more strings translatable.
- regenerate the pot file.
- let plural forms can be extracted properly.

Co-authored-by: Jim Chen <jimchen5209@gmail.com>
2019-08-28 15:07:20 +08:00

12 lines
No EOL
278 B
Bash

#!/usr/bin/bash
currentVer='1.0'
xgettext *.py -o ./locales/unobot.pot --foreign-user \
--package-name="uno_bot" \
--package-version="$currentVer" \
--msgid-bugs-address='uno@jhoeke.de' \
--keyword=__ \
--keyword=_ \
--keyword=_:1,2 \
--keyword=__:1,2