Forráskód Böngészése

* dselect/main.cc: fixed three cases where gettext usage was not
possible die to macros inlined in the strings

Ben Collins 27 éve
szülő
commit
a0afabd456
3 módosított fájl, 17 hozzáadás és 4 törlés
  1. 5 0
      ChangeLog
  2. 7 0
      debian/changelog
  3. 5 4
      dselect/main.cc

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+Fri Nov 26 18:36:22 EST 1999 Ben Collins <bcollins@debian.org>
+
+  * dselect/main.cc: fixed three cases where gettext usage was not
+    possible die to macros inlined in the strings
+
 Fri Nov 26 18:09:17 EST 1999 Ben Collins <bcollins@debian.org>
 
   * configure.in: generate utils/Makefile

+ 7 - 0
debian/changelog

@@ -1,3 +1,10 @@
+dpkg (1.6.1) unstable; urgency=low
+
+  * dselect/main.cc: fixed three cases where gettext usage was not
+    possible die to macros inlined in the strings
+      
+ -- Wichert Akkerman <bcollins@debian.org>  UNRELEASED
+
 dpkg (1.6) unstable; urgency=low
 
   * Major overhaul of the buildsystem

+ 5 - 4
dselect/main.cc

@@ -48,7 +48,7 @@ extern "C" {
 #include "pkglist.h"
 
 const char thisname[]= DSELECT;
-const char printforhelp[]= N_("Type " DSELECT " --help for help.");
+const char printforhelp[]= N_("Type %s --help for help.", DSELECT);
 
 modstatdb_rw readwrite;
 const char *admindir= ADMINDIR;
@@ -75,12 +75,13 @@ static const menuentry menuentries[]= {
 };
 
 static const char programdesc[]=
-      N_("Debian Linux `" DSELECT "' package handling frontend.");
+      N_("Debian Linux `%s' package handling frontend.", DSELECT);
 
 static const char copyrightstring[]= N_(
-      "Version " DPKG_VERSION_ARCH ".  Copyright (C) 1994-1996 Ian Jackson.   This is\n"
+      "Version %s.  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");
+      "copying conditions.  There is NO warranty.  See dselect --licence for details.\n",
+      DPKG_VERSION_ARCH);
 
 static void printversion(void) {
   if (fprintf(stdout,"%s\n%s",gettext(programdesc),gettext(copyrightstring)) == EOF) werr("stdout");