summaryrefslogtreecommitdiffstats
path: root/hook.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 /hook.c
parentdea307bbc2b8cf7639af5a148c6146e21644e6e4 (diff)
Adding gettext support, based on the patch by Marco d'Itri.
Diffstat (limited to 'hook.c')
-rw-r--r--hook.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hook.c b/hook.c
index 259c2352..e0ca8f5d 100644
--- a/hook.c
+++ b/hook.c
@@ -58,7 +58,7 @@ int mutt_parse_hook (BUFFER *buf, BUFFER *s, unsigned long data, BUFFER *err)
if (!MoreArgs (s))
{
- strfcpy (err->data, "too few arguments", err->dsize);
+ strfcpy (err->data, _("too few arguments"), err->dsize);
goto error;
}
@@ -66,13 +66,13 @@ int mutt_parse_hook (BUFFER *buf, BUFFER *s, unsigned long data, BUFFER *err)
if (!command.data)
{
- strfcpy (err->data, "too few arguments", err->dsize);
+ strfcpy (err->data, _("too few arguments"), err->dsize);
goto error;
}
if (MoreArgs (s))
{
- strfcpy (err->data, "too many arguments", err->dsize);
+ strfcpy (err->data, _("too many arguments"), err->dsize);
goto error;
}