Package: bash
Version: 3.0-16
Severity: minor
Tags: l10n

Bash wraps empty strings in N_().  In a PO file, the empty string is
the header message, and so when they're translated, the header gets
inserted.  For example:

  $ unset LC_ALL
  $ export LC_MESSAGES=en_US
  $ export [EMAIL PROTECTED]
  $ bash -c "help let" | head -16
  let: let arg [arg ...]
      Each ARG is an arithmetic expression to be evaluated.  Evaluation
      is done in fixed-width integers with no check for overflow, though
      division by 0 is trapped and flagged as an error.  The following
      list of operators is grouped into levels of equal-precedence
      operators.
      The levels are listed in order of decreasing precedence.
      Project-Id-Version: GNU bash 3.0-rc1
  POT-Creation-Date: 2003-12-22 15:34-0500
  PO-Revision-Date: 2003-12-22 15:34-0500
  Last-Translator: Automatically generated
  Language-Team: none
  MIME-Version: 1.0
  Content-Type: text/plain; charset=UTF-8
  Content-Transfer-Encoding: 8bit
  Report-Msgid-Bugs-To: bug-bash@gnu.org
  Plural-Forms: nplurals=2; plural=(n != 1);

The source file bash/po/bash.pot file lists the places that attempt to
translate the emptry string.  Most of them are in builtins.c, so
mkbuiltins.c will be need to be fixed.  I can try to come up with a
patch if you'd like.

For examples of this bug in other programs, see e.g.

  http://archives.seul.org/geda/dev/Mar-2005/msg00086.html
  http://bugs.debian.org/79852

-jim

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.12-1-k7
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages bash depends on:
ii  base-files              3.1.2            Debian base system miscellaneous f
ii  libc6                   2.3.5-4          GNU C Library: Shared libraries an
ii  libncurses5             5.4-9            Shared libraries for terminal hand
ii  passwd                  1:4.0.3-31sarge1 change and administer password and

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to