]> git.deb.at Git - pkg/abook.git/blobdiff - list.c
Imported Upstream version 0.5.5
[pkg/abook.git] / list.c
diff --git a/list.c b/list.c
index 40db302ef26e3d45a495dd408d69ea38c6ddb3be..1c250850402f7399d78a5f1a9abf26e2bd1819f9 100644 (file)
--- 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 <jheinonen@users.sourceforge.net>
  *
@@ -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);