summaryrefslogtreecommitdiffstats
path: root/postpone.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-10-01 09:27:57 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-10-01 09:27:57 +0000
commit691bd529e512097f427d230c947ff4cf0adb8a38 (patch)
tree3bdaff6c2d27ecf7d4f1ddc78d1eef87089d33ed /postpone.c
parentdea307bbc2b8cf7639af5a148c6146e21644e6e4 (diff)
Adding gettext support, based on the patch by Marco d'Itri.
Diffstat (limited to 'postpone.c')
-rw-r--r--postpone.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/postpone.c b/postpone.c
index 5f35ff85..42a31f5b 100644
--- a/postpone.c
+++ b/postpone.c
@@ -108,7 +108,7 @@ static HEADER *select_msg (void)
menu->make_entry = post_entry;
menu->menu = MENU_POST;
menu->max = PostContext->msgcount;
- menu->title = "Postponed Messages";
+ menu->title = _("Postponed Messages");
menu->data = PostContext;
menu->help = mutt_compile_help (helpstr, sizeof (helpstr), MENU_POST, PostponeHelp);
@@ -179,7 +179,7 @@ int mutt_get_postponed (CONTEXT *ctx, HEADER *hdr, HEADER **cur)
if ((PostContext = mx_open_mailbox (Postponed, M_NOSORT, NULL)) == NULL)
{
PostCount = 0;
- mutt_error ("No postponed messages.");
+ mutt_error _("No postponed messages.");
return (-1);
}
@@ -188,7 +188,7 @@ int mutt_get_postponed (CONTEXT *ctx, HEADER *hdr, HEADER **cur)
PostCount = 0;
mx_close_mailbox (PostContext);
safe_free ((void **) &PostContext);
- mutt_error ("No postponed messages.");
+ mutt_error _("No postponed messages.");
return (-1);
}
@@ -316,7 +316,7 @@ int mutt_parse_pgp_hdr (char *p, int set_signas)
if (*p!='>')
{
- mutt_error ("Illegal PGP header");
+ mutt_error _("Illegal PGP header");
return 0;
}
}
@@ -336,7 +336,7 @@ int mutt_parse_pgp_hdr (char *p, int set_signas)
if(*p != '>')
{
- mutt_error("Illegal PGP header");
+ mutt_error _("Illegal PGP header");
return 0;
}
}
@@ -345,7 +345,7 @@ int mutt_parse_pgp_hdr (char *p, int set_signas)
break;
default:
- mutt_error ("Illegal PGP header");
+ mutt_error _("Illegal PGP header");
return 0;
}