[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#258327: xgettext seems to overquote sh strings



Package: gettext
Version: 0.14.1-2
Severity: normal

Hi there,

When asked to extract the following line:
INVALID_BASENAME=$(gettext 'Invalid basename: %s.\n')

xgettext produce the following entry in the pot:
#: util/orphaner.sh:47
#, sh-format
msgid "Invalid basename: %s.\\n"
msgstr ""

It looks like there is a \ too much. This is at least disorienting for
translators. Why should it be treated different from the C equivalent?

An example can be found here:
http://deborphan.alioth.debian.org/deborphan-1.7.4.1/

I think this is an upstream bug, but I'm not 100% sure. Moreover, since I
failed to find the gnu-bug-gettext@gnu.org archive list, I prefere to go for
the safer way an use the Debian BTS. 

Thanks a lot, Mt.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-1-686
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro

Versions of packages gettext depends on:
 ii  gettext-base                0.14.1-2     GNU Internationalization utilities
 ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries

-- no debconf information



Reply to: