From: John Darrington Date: Fri, 14 May 2010 16:20:48 +0000 (+0200) Subject: Translate the contents of frequencies and descriptives checkbox treeviews X-Git-Tag: sav-api~266^2~7 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e602cc87f5ae11a383252fa286e1d6c1fd7cf95b;p=pspp Translate the contents of frequencies and descriptives checkbox treeviews Call gettext on the translatable strings which populate the contents of "Statistics" treeviews in checkbox dialogs. Thanks to Harry Thijssen for reporting this. --- diff --git a/src/ui/gui/checkbox-treeview.c b/src/ui/gui/checkbox-treeview.c index 837fcc7895..de85d18ad5 100644 --- a/src/ui/gui/checkbox-treeview.c +++ b/src/ui/gui/checkbox-treeview.c @@ -62,7 +62,7 @@ treeview_create_checkbox_model (GtkTreeView *treeview, GtkTreeIter iter; gtk_list_store_append (list, &iter); gtk_list_store_set (list, &iter, - CHECKBOX_COLUMN_LABEL, items[i].label, + CHECKBOX_COLUMN_LABEL, gettext (items[i].label), CHECKBOX_COLUMN_SELECTED, (default_items & (1u << i)) != 0, -1);