Your message dated Thu, 26 Dec 2013 21:23:18 +0000
with message-id <[email protected]>
and subject line Bug#726949: fixed in ruby-gettext 3.0.3-1
has caused the Debian Bug report #726949,
regarding ruby-gettext: rxgettext should split messages at newline characters
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
726949: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726949
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ruby-gettext
Version: 3.0.2-2
Severity: wishlist

Hello once again!   ;-)

I prepared a small revision of my test case, in order to show another
thing that I noticed about rxgettext:

  $ cat myapplication.rb
  #!/usr/bin/ruby
  # Copyright (C) 2012-2013 Francesco Poli
  #
  #  This program is free software; you can redistribute it and/or modify
  #  it under the terms of the GNU General Public License as published by
  #  the Free Software Foundation; either version 2 of the License, or
  #  (at your option) any later version.
  #
  #  This program is distributed in the hope that it will be useful,
  #  but WITHOUT ANY WARRANTY; without even the implied warranty of
  #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  #  GNU General Public License for more details.
  #
  #  You should have received a copy of the GNU General Public License with
  #  the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL;
  #  if not, write to the Free Software Foundation, Inc., 59 Temple Place,
  #  Suite 330, Boston, MA  02111-1307  USA
  
  require 'gettext'
  include GetText
  GetText::bindtextdomain("myapplication")
  
  count = 0
  print _("Hello everybody!\n")
  count += 1
  
  print _("You are running an internationalized Ruby program.\n")
  count += 1
  
  # TRANSLATORS: %d is the number of already printed messages
  print _("You have already seen %d translatable messages.\n") % count
  
  print _("Is this message # 3 or # 4 ?\nDoes it matter?\n")
  
  print _("OK, I am tired...\n")
  
  print _("Goodbye!\n")

Let's use xgettext in order to generate the corresponding .pot file:

  $ xgettext --add-comments=TRANSLATORS --no-wrap \
             --copyright-holder="Francesco Poli" \
             --package-name=myapplication --package-version=0.2 \
             --msgid-bugs-address="[email protected]" \
             --language=python \
             myapplication.rb -o myapplication_XGETTEXT.pot
  $ cat myapplication_XGETTEXT.pot
  # SOME DESCRIPTIVE TITLE.
  # Copyright (C) YEAR Francesco Poli
  # This file is distributed under the same license as the PACKAGE package.
  # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  #
  #, fuzzy
  msgid ""
  msgstr ""
  "Project-Id-Version: myapplication 0.2\n"
  "Report-Msgid-Bugs-To: [email protected]\n"
  "POT-Creation-Date: 2013-10-20 22:49+0200\n"
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  "Language-Team: LANGUAGE <[email protected]>\n"
  "Language: \n"
  "MIME-Version: 1.0\n"
  "Content-Type: text/plain; charset=CHARSET\n"
  "Content-Transfer-Encoding: 8bit\n"
  
  #: myapplication.rb:24
  msgid "Hello everybody!\n"
  msgstr ""
  
  #: myapplication.rb:27
  msgid "You are running an internationalized Ruby program.\n"
  msgstr ""
  
  #. TRANSLATORS: %d is the number of already printed messages
  #: myapplication.rb:31
  #, python-format
  msgid "You have already seen %d translatable messages.\n"
  msgstr ""
  
  #: myapplication.rb:33
  msgid ""
  "Is this message # 3 or # 4 ?\n"
  "Does it matter?\n"
  msgstr ""
  
  #: myapplication.rb:35
  msgid "OK, I am tired...\n"
  msgstr ""
  
  #: myapplication.rb:37
  msgid "Goodbye!\n"
  msgstr ""

As you can see the message at line 33 is split up into two strings
for easier reading by translators. This is done since the message
is actually intended to be printed onto two separate lines; so it makes
sense that the translator has the opportunity to see it formatted in
a way closer to how the program user will see it.

Unfortunately, rxgettext does not do the same:

  $ rxgettext --add-comments=TRANSLATORS --no-wrap \
              --copyright-holder="Francesco Poli" \
              --package-name=myapplication --package-version=0.2 \
              --msgid-bugs-address="[email protected]" \
              myapplication.rb -o myapplication_RXGETTEXT.pot
  $ cat myapplication_RXGETTEXT.pot
  # SOME DESCRIPTIVE TITLE.
  # Copyright (C) YEAR Francesco Poli
  # This file is distributed under the same license as the myapplication 
package.
  # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  #
  #, fuzzy
  msgid ""
  msgstr ""
  "Project-Id-Version: myapplication 0.2\n"
  "Report-Msgid-Bugs-To: [email protected]\n"
  "POT-Creation-Date: 2013-10-20 23:01+0200\n"
  "PO-Revision-Date: 2013-10-20 23:01+0200\n"
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  "Language-Team: LANGUAGE <[email protected]>\n"
  "Language: \n"
  "MIME-Version: 1.0\n"
  "Content-Type: text/plain; charset=UTF-8\n"
  "Content-Transfer-Encoding: 8bit\n"
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
  
  #: myapplication.rb:24
  msgid "Hello everybody!\n"
  msgstr ""
  
  #: myapplication.rb:27
  msgid "You are running an internationalized Ruby program.\n"
  msgstr ""
  
  #. TRANSLATORS: %d is the number of already printed messages
  #: myapplication.rb:31
  msgid "You have already seen %d translatable messages.\n"
  msgstr ""
  
  #: myapplication.rb:33
  msgid "Is this message # 3 or # 4 ?\nDoes it matter?\n"
  msgstr ""
  
  #: myapplication.rb:35
  msgid "OK, I am tired...\n"
  msgstr ""
  
  #: myapplication.rb:37
  msgid "Goodbye!\n"
  msgstr ""

I think it would far better, if rxgettext behaved like xgettext in
this respect.

Please implement this 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

--- End Message ---
--- Begin Message ---
Source: ruby-gettext
Source-Version: 3.0.3-1

We believe that the bug you reported is fixed in the latest version of
ruby-gettext, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Hleb Valoshka <[email protected]> (supplier of updated ruby-gettext package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 26 Dec 2013 20:40:26 +0300
Source: ruby-gettext
Binary: ruby-gettext
Architecture: source all
Version: 3.0.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Extras Maintainers 
<[email protected]>
Changed-By: Hleb Valoshka <[email protected]>
Description: 
 ruby-gettext - gettext for Ruby
Closes: 726941 726949
Changes: 
 ruby-gettext (3.0.3-1) unstable; urgency=medium
 .
   * New upstream release (Closes: #726941, #726949).
   * Drop upstreamed patch
     0006-Add-missing-require-in-lib-gettext-tools-xgettext.rb.patch.
   * Bump Standards-Version to 3.9.5 (no changes).
   * Build against gem2deb >= 0.5.0~ to add ruby2.0 and drop ruby1.8 support.
Checksums-Sha1: 
 402ea0977355de91eff30518f3520b7cf25a543f 2138 ruby-gettext_3.0.3-1.dsc
 58cf7731290f0e40b3237d69a5ee09bfa74de0a6 221285 ruby-gettext_3.0.3.orig.tar.gz
 587b0f0e0dd0cb1de0ae1d1e95f14d493fd67999 15130 
ruby-gettext_3.0.3-1.debian.tar.gz
 ff9683c9d87247848e565e0a739cc6fd47a99987 117644 ruby-gettext_3.0.3-1_all.deb
Checksums-Sha256: 
 70995382d1e77c9a7bf1d444fd8ac6f51a8ba52014fdea277ea232ce3ad395bb 2138 
ruby-gettext_3.0.3-1.dsc
 7b5a4ee0e76e9648cc33e314bc0c5b589921379cb2a0522e7ff1a2a5ef04d1ca 221285 
ruby-gettext_3.0.3.orig.tar.gz
 a8b39e1bd0899232ee2ed17aa337441670b386615c4159a8502bc46a32fbfcf2 15130 
ruby-gettext_3.0.3-1.debian.tar.gz
 c6f61de6023119a0f07d749a7573b097cc1eb3a20fded38abd27073a58cfde11 117644 
ruby-gettext_3.0.3-1_all.deb
Files: 
 eedd410429e1a1d6bf833a3d34746c01 2138 ruby optional ruby-gettext_3.0.3-1.dsc
 7540518dcc6315acb27ee19e469f7882 221285 ruby optional 
ruby-gettext_3.0.3.orig.tar.gz
 d56efb34f3a200e8ff2981bb159c66d3 15130 ruby optional 
ruby-gettext_3.0.3-1.debian.tar.gz
 23359d1a1417571b69e50268820804dd 117644 ruby optional 
ruby-gettext_3.0.3-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iQIcBAEBCAAGBQJSvI+KAAoJEKkHZFuPn48JvMwP/RuIqG0aXnGcDkkX7YIsC1br
aKx1aD1C0o4aTUf1NsqQqI5ZyNHqLUKUdfgy3cXs4Rmo0saJd6Ny+DmJvVJH3O3d
8Lr9zqKC4cnDq9jJ3gyrR4la1LlmG7EaZdIsZGJVrLrQDRC108aCGDIibi0oSFOQ
RnKUPnXZ+q1bLkBtgpYcmwEU5J5dr0ZyaFODfvaX8qRgx+wCL+1Q9fu0OyRfsgLx
ZPOMHl+8MZzaBDwBTQKZP45j4TsW5kSzNkKDkkFv3sf3Sqk2o+N6p9648bFj2iZb
mDSAbBV1aFQYAcZXqUrvVCU7pEbScFkcskCdWLAkg5ZNAL+iOEBO6iUufKuD2OU+
bAuhbXyg27UnDxlq5bBGssmIZWkJzK3G5w6LFiasScAnZdY/xAZHS9v9J11WwIh0
xIp4IC9qvso7V9g8OUQ96AmCXPpToVLVrq9UcR6PpHsZ2zCp9tmBllC57504316V
qXMAZhqiO18xnnOXglyD8fCaUy7vnt4XhJqJrqXwTkrrAawMXgJFdEbZqA3bS4eL
wTskOc3xPEDsvzohWVkXm9OI+ovDVxW0EjIsUxkIfIvKEQCMFGLKD5zvRfSrD4PJ
rt4ydnDl82ayUPSymTQEJBYGri0eS0y6cwQJwMyd1PRn2iBBJI5efbdXUT7IdupU
qzD/+tqXTx3Xk9o1kgdq
=W5UO
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to