summaryrefslogtreecommitdiff
path: root/mh/repl.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2003-01-26 13:47:54 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2003-01-26 13:47:54 +0000
commit2fce3d14de6bfd91076a514d4c13c809b17511d5 (patch)
treea3b25f38de914245ae4b0918c01b436e82ca5efc /mh/repl.c
parent755f928e2b8b1ee601482a2839de961de2049930 (diff)
downloadmailutils-2fce3d14de6bfd91076a514d4c13c809b17511d5.tar.gz
mailutils-2fce3d14de6bfd91076a514d4c13c809b17511d5.tar.bz2
Use ngettext
Diffstat (limited to 'mh/repl.c')
-rw-r--r--mh/repl.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/mh/repl.c b/mh/repl.c
index 4f0ab7ce6..a998514e8 100644
--- a/mh/repl.c
+++ b/mh/repl.c
@@ -22,7 +22,8 @@
#include <unistd.h>
const char *argp_program_version = "reply (" PACKAGE_STRING ")";
-static char doc[] = "GNU MH repl";
+static char doc[] = N_("GNU MH repl\v"
+"Use -help to obtain the list of traditional MH options.");
static char args_doc[] = N_("[+folder] [msg]");
#define ARG_NOEDIT 1
@@ -65,7 +66,6 @@ static struct argp_option options[] = {
{"whatnowproc", ARG_WHATNOWPROC, N_("PROG"), 0,
N_("Set the replacement for whatnow program")},
{"use", 'u', N_("BOOL"), OPTION_ARG_OPTIONAL, N_("Use draft file preserved after the last session") },
- { N_("\nUse -help switch to obtain the list of traditional MH options. "), 0, 0, OPTION_DOC, "" },
{ 0 }
};
@@ -222,7 +222,9 @@ make_draft (mailbox_t mbox, int disp, struct mh_whatnow_env *wh)
disp = DISP_USE;
else
{
- printf (_("Draft \"%s\" exists (%lu bytes).\n"),
+ printf (ngettext ("Draft \"%s\" exists (%lu byte).\n",
+ "Draft \"%s\" exists (%lu bytes).\n",
+ st.st_size),
wh->draftfile, (unsigned long) st.st_size);
disp = mh_disposition (wh->draftfile);
}

Return to:

Send suggestions and report system problems to the System administrator.