Skip to content
This repository has been archived by the owner on Jan 31, 2019. It is now read-only.

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

Open
squall77it opened this issue May 18, 2018 · 2 comments
Open

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

squall77it opened this issue May 18, 2018 · 2 comments

Comments

@squall77it
Copy link
Contributor

squall77it commented May 18, 2018

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

@rastersoft
Copy link
Owner

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.

@squall77it
Copy link
Contributor Author

Great !!!!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants