summaryrefslogtreecommitdiffstats
path: root/curs_lib.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 /curs_lib.c
parentdea307bbc2b8cf7639af5a148c6146e21644e6e4 (diff)
Adding gettext support, based on the patch by Marco d'Itri.
Diffstat (limited to 'curs_lib.c')
-rw-r--r--curs_lib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/curs_lib.c b/curs_lib.c
index 700fd73f..26ad60fc 100644
--- a/curs_lib.c
+++ b/curs_lib.c
@@ -164,7 +164,7 @@ void mutt_query_exit (void)
curs_set (1);
if (Timeout)
timeout (-1); /* restore blocking operation */
- if (mutt_yesorno ("Exit Mutt?", 1) == 1)
+ if (mutt_yesorno (_("Exit Mutt?"), 1) == 1)
{
endwin ();
exit (0);
@@ -239,7 +239,7 @@ void mutt_perror (const char *s)
dprint (1, (debugfile, "%s: %s (errno = %d)\n", s,
p ? p : "unknown error", errno));
- mutt_error ("%s: %s (errno = %d)", s, p ? p : "unknown error", errno);
+ mutt_error ("%s: %s (errno = %d)", s, p ? p : _("unknown error"), errno);
}
int mutt_any_key_to_continue (const char *s)
@@ -259,7 +259,7 @@ int mutt_any_key_to_continue (const char *s)
if (s)
fputs (s, stdout);
else
- fputs ("Press any key to continue...", stdout);
+ fputs (_("Press any key to continue..."), stdout);
fflush (stdout);
ch = fgetc (stdin);
fflush (stdin);
@@ -297,7 +297,7 @@ int mutt_enter_fname (const char *prompt, char *buf, size_t blen, int *redraw, i
int i;
mvaddstr (LINES-1, 0, (char *) prompt);
- addstr (" ('?' for list): ");
+ addstr _(" ('?' for list): ");
if (buf[0])
addstr (buf);
clrtoeol ();