diff options
author | TingPing <tngpng@gmail.com> | 2013-03-24 05:14:15 -0300 |
---|---|---|
committer | TingPing <tngpng@gmail.com> | 2013-03-24 05:14:15 -0300 |
commit | ba55e90465761d2c2a05a4845259672e4990edc3 (patch) | |
tree | a80154a953ccb460246c3976a676dd45d4f8dc7c /src | |
parent | 8b7ddbee59552f50acdf429d733ef39bab960330 (diff) |
Translate type column entries too
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-gtk/banlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |