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 /curs_lib.c | |
parent | dea307bbc2b8cf7639af5a148c6146e21644e6e4 (diff) |
Adding gettext support, based on the patch by Marco d'Itri.
Diffstat (limited to 'curs_lib.c')
-rw-r--r-- | curs_lib.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 (); |