autovala
autovala copied to clipboard
[Feature Request] More tags -- options for "autovala po".
Hi,
i have some request for the "autovala po" command, now the command executed to generate the pot file is;
xgettext --from-code=UTF-8 -d wifi-qrcode -o wifi-qrcode.pot -p po --keyword='_' --add-comments=Translators -f po/POTFILES.in
can you add same options to the xgettext command with the relative tags in the avprj file? The options --> tags to add are the seguent:
- --package-name= --> project_name (already existing in avrpj)
- --package-version= --> version (already existing in avrpj)
- --copyright-holder= --> po_copyright_holder
- --msgid-bugs-address= --> po_msgid_bugs_address
to have a command like this and a more complete pot file:
xgettext --from-code=UTF-8 -d wifi-qrcode -o wifi-qrcode.pot -p po --keyword='_' --add-comments=Translators -f po/POTFILES.in --copyright-holder="Copyright Info" --package-name=wifi-qrcode --package-version=0.20 --msgid-bugs-address=www.mybugzilla.bug
The xgettext option are explained in this page: https://www.gnu.org/software/gettext/manual/html_node/xgettext-Invocation.html
thanks
I launched version 1.10.0 that implements package name and version. I will implement the other two as soon as I decide the best way of configuring the copyright holder and the address.
Great !!!!!