Translate the contents of frequencies and descriptives checkbox treeviews
authorJohn Darrington <john@darrington.wattle.id.au>
Fri, 14 May 2010 16:20:48 +0000 (18:20 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Fri, 14 May 2010 16:20:48 +0000 (18:20 +0200)
Call gettext on the translatable strings which populate the
contents of "Statistics" treeviews in checkbox dialogs.
Thanks to Harry Thijssen for reporting this.

src/ui/gui/checkbox-treeview.c

index 837fcc789550e13b0463dc28987ca5c34c967985..de85d18ad52aab45f4b6f8ce5b12e280ad2c144e 100644 (file)
@@ -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);