X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=list.c;h=1c250850402f7399d78a5f1a9abf26e2bd1819f9;hb=03f9ed0d7defd9030b896b4761849432650d1959;hp=40db302ef26e3d45a495dd408d69ea38c6ddb3be;hpb=addc54efb596b39b0e4e6ce219ee0f1506337475;p=pkg%2Fabook.git diff --git a/list.c b/list.c index 40db302..1c25085 100644 --- a/list.c +++ b/list.c @@ -1,6 +1,6 @@ /* - * $Id: list.c,v 1.26 2005/08/13 10:49:25 jheinonen Exp $ + * $Id: list.c,v 1.27 2005/09/17 10:10:26 jheinonen Exp $ * * by JH * @@ -14,6 +14,7 @@ #include "ui.h" #include "database.h" #include "edit.h" +#include "gettext.h" #include "list.h" #include "misc.h" #include "options.h" @@ -164,10 +165,10 @@ list_headerline() #if defined(A_BOLD) && defined(A_NORMAL) attrset(A_BOLD); #endif - mvaddstr(2, NAMEPOS, abook_fields[NAME].name); - mvaddstr(2, EMAILPOS, abook_fields[EMAIL].name); + mvaddstr(2, NAMEPOS, gettext(abook_fields[NAME].name)); + mvaddstr(2, EMAILPOS, gettext(abook_fields[EMAIL].name)); if(extra_column > 0) - mvaddnstr(2, EXTRAPOS, abook_fields[extra_column].name, + mvaddnstr(2, EXTRAPOS, gettext(abook_fields[extra_column].name), COLS-EXTRAPOS); #if defined(A_BOLD) && defined(A_NORMAL) attrset(A_NORMAL);