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

Bug#51357: dpkg: Using macroses in version string definition prevents its proper displaying



Package: dpkg
Version: 1.6.1
Severity: normal

In file dselect/main.c there are three definitions:

const char printforhelp[]= N_("Type " DSELECT " --help for help.");

static const char programdesc[]=
      N_("Debian Linux `" DSELECT "' package handling frontend.");

static const char copyrightstring[]= N_(
      "Version " DPKG_VERSION_ARCH ".  Copyright (C) 1994-1996 Ian Jackson.   This is\n"
      "free software; see the GNU General Public Licence version 2 or later for\n"
      "copying conditions.  There is NO warranty.  See dselect --licence for details.\n");

Here two macroses are used: DSELECT and DPKG_VERSION_ARCH.  This prevents
xgettext from proper processing strings constants, as result these lines
cannot be localized.

--
Mike

-- System Information
Debian Release: potato
Kernel Version: Linux despair 2.2.12 #3 þÔ× îÏÑ 18 23:50:19 MSK 1999 i686 unknown

Versions of the packages dpkg depends on:
ii  libc6           2.1.2-10       GNU C Library: Shared libraries and timezone
ii  libncurses4     4.2-3.4        Shared libraries for terminal handling


Reply to: