From: Ben Pfaff Date: Mon, 25 Mar 2024 16:24:25 +0000 (-0700) Subject: gui: Translate names of aggregation functions in bar chart dialog. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b14d58a37dce5d075787effbaca57d3788a7f9b;p=pspp gui: Translate names of aggregation functions in bar chart dialog. Thanks to Mindaugus for reporting the problem. --- diff --git a/src/ui/gui/psppire-dialog-action-barchart.c b/src/ui/gui/psppire-dialog-action-barchart.c index 20ff009a36..e1c42bc551 100644 --- a/src/ui/gui/psppire-dialog-action-barchart.c +++ b/src/ui/gui/psppire-dialog-action-barchart.c @@ -32,6 +32,8 @@ #include "language/commands/chart-category.h" +#include + static void psppire_dialog_action_barchart_class_init (PsppireDialogActionBarchartClass *class); @@ -99,7 +101,7 @@ populate_combo_model (GtkComboBox *cb) gtk_list_store_append (list, &iter); gtk_list_store_set (list, &iter, - 0, af->description, + 0, gettext (af->description), 1, af->name, -1); }