autovala icon indicating copy to clipboard operation
autovala copied to clipboard

[Feature Request] More tags -- options for "autovala po".

Open squall77it opened this issue 6 years ago • 2 comments

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:

  1. --package-name= --> project_name (already existing in avrpj)
  2. --package-version= --> version (already existing in avrpj)
  3. --copyright-holder= --> po_copyright_holder
  4. --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

squall77it avatar May 18 '18 00:05 squall77it

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.

rastersoft avatar May 19 '18 16:05 rastersoft

Great !!!!!

squall77it avatar May 19 '18 18:05 squall77it