summaryrefslogtreecommitdiff
path: root/dselect
diff options
context:
space:
mode:
authorBen Collins <bcollins@debian.org>1999-11-26 23:40:03 +0000
committerBen Collins <bcollins@debian.org>1999-11-26 23:40:03 +0000
commita0afabd4567801393f8046b719467167e0734570 (patch)
treee6da7b816fc98607edd4b8f1761cf3daabfc48ac /dselect
parent4e634f6ee2897b6e3042fca3b3b4ce12b73b5ddd (diff)
downloaddpkg-a0afabd4567801393f8046b719467167e0734570.tar.gz
* dselect/main.cc: fixed three cases where gettext usage was not
possible die to macros inlined in the strings
Diffstat (limited to 'dselect')
-rw-r--r--dselect/main.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/dselect/main.cc b/dselect/main.cc
index 6c44f58b6..d25e3b5b7 100644
--- a/dselect/main.cc
+++ b/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");