From ba55e90465761d2c2a05a4845259672e4990edc3 Mon Sep 17 00:00:00 2001 From: TingPing Date: Sun, 24 Mar 2013 05:14:15 -0300 Subject: Translate type column entries too --- src/fe-gtk/banlist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/fe-gtk/banlist.c b/src/fe-gtk/banlist.c index 74cc79d5..8089c721 100644 --- a/src/fe-gtk/banlist.c +++ b/src/fe-gtk/banlist.c @@ -233,7 +233,7 @@ fe_add_ban_list (struct session *sess, char *mask, char *who, char *when, int rp store = get_store (sess); gtk_list_store_append (store, &iter); - gtk_list_store_set (store, &iter, TYPE_COLUMN, modes[i].type, MASK_COLUMN, mask, + gtk_list_store_set (store, &iter, TYPE_COLUMN, _(modes[i].type), MASK_COLUMN, mask, FROM_COLUMN, who, DATE_COLUMN, when, -1); banl->line_ct++; @@ -428,7 +428,7 @@ banlist_unban_inner (gpointer none, banlist_info *banl, int mode_num) gtk_tree_model_get (model, &iter, TYPE_COLUMN, &type, MASK_COLUMN, &mask, -1); /* If it's the wrong type of mask, just continue */ - if (strcmp (modes[mode_num].type, type) != 0) + if (strcmp (_(modes[mode_num].type), type) != 0) continue; /* Otherwise add it to our array of mask pointers */ -- cgit 1.4.1