X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=list.c;h=00e149ad50b2ffc442a2769d01424ba41654fc2b;hb=4b8f9231090ada43f7e16987ec46ac7f45a914ec;hp=de47d6b419246c5df21ebf85837bd9312e5514ac;hpb=b5e88fc2db3b9252d7680f3d6b173bac78538cf3;p=pkg%2Fabook.git diff --git a/list.c b/list.c index de47d6b..00e149a 100644 --- a/list.c +++ b/list.c @@ -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);