]> git.wh0rd.org Git - nano.git/commitdiff
Made two strings translatable.
authorJordi Mallach <jordi@gnu.org>
Sun, 23 Dec 2001 00:03:18 +0000 (00:03 +0000)
committerJordi Mallach <jordi@gnu.org>
Sun, 23 Dec 2001 00:03:18 +0000 (00:03 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@939 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
winio.c

index 9d39be4d78199f9a00d1bcf32cc1229a9fdc93d7..40b5ae0059502fb34c2d87f3c7712e501d4077a5 100644 (file)
--- 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 ad312ae918acdce96a99dedde2efc6a9e2fbaeda..c4fe6b23b4b08c253ee24098b571cfc5a9b726bc 100644 (file)
--- 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);
        }
     }