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

Bug#51792: dpkg: translated empty string



Package: dpkg
Version: 1.6.1
Severity: normal

I've found an empty string is gettextized so it makes problems with
non-english translations.

The empty string is reserved for informations about translation file.

My solution:

--- pkgdisplay.cc       Tue Nov  9 18:38:55 1999
+++ pkgdisplay.cc.new   Thu Dec  2 13:12:44 1999
@@ -37,17 +37,17 @@
 const char
   *const wantstrings[]=   { N_("new package"),
                            N_("install"),
                            N_("hold"),
                            N_("remove"),
                            N_("purge"),
                            0 },

-  *const eflagstrings[]=   { N_(""),
+  *const eflagstrings[]=   { "",
                             N_("REINSTALL"),
                             0 },

   *const statusstrings[]= { N_("not installed"),
                            N_("unpacked (not set up)"),
                            N_("failed config"),
                            N_("installed"),
                            N_("half installed"),


-- System Information
Debian Release: potato
Kernel Version: Linux purple 2.2.12 #1 Wed Sep 29 15:56:52 CEST 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: