Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rxgettext: please implement a command-line option to set the copyright YEAR #25

Closed
375gnu opened this issue Oct 21, 2013 · 1 comment
Closed

Comments

@375gnu
Copy link
Contributor

375gnu commented Oct 21, 2013

This issue is originally reported as Debain bug 726941.

it would be great if rxgettext had a command-line option to specify what should be put in the output .pot file in stead of the "YEAR" in the copyright notice.

In other words, let's consider (again) the test case described in bug #684182.

If I create the .pot with rxgettext:

  $ rxgettext --add-comments=TRANSLATORS --no-wrap \
              --copyright-holder="Francesco Poli" \
              --package-name=myapplication --package-version=0.1 \
              --msgid-bugs-address="address@example.com" \
              myapplication.rb -o myapplication_RXGETTEXT.pot

the copyright notice in the output .pot is:

  $ grep Copyright myapplication_RXGETTEXT.pot 
  # Copyright (C) YEAR Francesco Poli

As far as I know, there's no way to tell rxgettext to replace that "YEAR" with, say, "2012", "1999-2013", or "1998, 2005-2007, 2012".

I think it would be useful to have some command-line option to do that. Something like

  $ rxgettext ... --copyright-year="1999-2013" ...

Please implement this additional feature and/or forward this bug report upstream.
Thanks for your time!

@kou kou closed this as completed in 0cbe746 Oct 23, 2013
@kou
Copy link
Member

kou commented Oct 23, 2013

Thanks for your suggestion!
I've added it.

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

No branches or pull requests

2 participants