From: Jordi Mallach Date: Sun, 23 Dec 2001 00:03:18 +0000 (+0000) Subject: Made two strings translatable. X-Git-Tag: v1.1.5~31 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9335f910858d9f6057a1489f9ba3835607a1f761;p=nano.git Made two strings translatable. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@939 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index 9d39be4d..40b5ae00 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,8 @@ CVS code - update_line() - set realdata check to >= 1 && <= 31, lack of > 0 check screwed high ascii characters. + titlebar() + - gettextized a pair of strings. - m4/gettext.m4: - Back down to 1.1.3 version. - po/sv.po: diff --git a/winio.c b/winio.c index ad312ae9..c4fe6b23 100644 --- a/winio.c +++ b/winio.c @@ -553,9 +553,9 @@ void titlebar(char *path) waddstr(topwin, &what[namelen - space]); } else { if (path == NULL) - mvwaddstr(topwin, 0, COLS / 2 - (namelen / 2 + 1), "File: "); + mvwaddstr(topwin, 0, COLS / 2 - (namelen / 2 + 1), _("File: ")); else - mvwaddstr(topwin, 0, COLS / 2 - (namelen / 2 + 1), " DIR: "); + mvwaddstr(topwin, 0, COLS / 2 - (namelen / 2 + 1), _(" DIR: ")); waddstr(topwin, what); } }