Package: ruby-gettext Version: 2.3.9-1 Severity: normal Hello! First of all, thanks a lot for fixing the bugs I have previously reported (#684182, #684184, and #692487)!
I noticed something new in rxgettext, and it looks like a newly introduced bug. Let's again consider the test case described in bug #684182 [1]. [1] http://bugs.debian.org/684182 If I generate the corresponding .pot file with rxgettext, I get the following result: $ rxgettext --copyright-holder="Francesco Poli" \ --package-name=myapplication --package-version=0.1 \ --msgid-bugs-address="addr...@example.com" \ 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.1\n" "Report-Msgid-Bugs-To: addr...@example.com\n" "POT-Creation-Date: 2013-07-14 18:53+0200\n" "PO-Revision-Date: 2013-07-14 18:53+0200\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <l...@li.org>\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 "" #. %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 ?\\n" msgstr "" #: myapplication.rb:35 msgid "OK, I am tired...\\n" msgstr "" #: myapplication.rb:37 msgid "Goodbye!\\n" msgstr "" Why all the newline '\n' characters are produced with doubled backslashes (as "\\n")? I do not see this behavior, if I use xgettext (from the gettext package). I think this is a bug in rxgettext. If you agree, please fix it 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.9-1-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.5-6 ii ruby-text 1.0.3-1 ii ruby1.8 [ruby-interpreter] 1.8.7.358-7.1 ii ruby1.9.1 [ruby-interpreter] 1.9.3.194-8.1+b1 ruby-gettext recommends no packages. ruby-gettext suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org