[DRE-maint] Bug#726941: rxgettext: please implement a command-line option to set the copyright YEAR

Francesco Poli (wintermute) invernomuto at paranoici.org
Sun Oct 20 20:08:23 UTC 2013


Package: ruby-gettext
Version: 3.0.2-2
Severity: wishlist

Hello again,
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 [1].

[1] http://bugs.debian.org/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 at 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!


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (800, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.10-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ruby-gettext depends on:
ii  ruby                          1:1.9.3
ii  ruby-locale                   2.0.8-1
ii  ruby-text                     1.2.1-1
ii  ruby1.8 [ruby-interpreter]    1.8.7.358-8
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.448-1

ruby-gettext recommends no packages.

ruby-gettext suggests no packages.

-- no debconf information



More information about the Pkg-ruby-extras-maintainers mailing list