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: v0.7.5~25^2~7 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e602cc87f5ae11a383252fa286e1d6c1fd7cf95b;p=pspp-builds.git 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 837fcc78..de85d18a 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);