diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-10-01 09:27:57 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-10-01 09:27:57 +0000 |
commit | 691bd529e512097f427d230c947ff4cf0adb8a38 (patch) | |
tree | 3bdaff6c2d27ecf7d4f1ddc78d1eef87089d33ed /hook.c | |
parent | dea307bbc2b8cf7639af5a148c6146e21644e6e4 (diff) |
Adding gettext support, based on the patch by Marco d'Itri.
Diffstat (limited to 'hook.c')
-rw-r--r-- | hook.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; } |