From 7f2af815f203766612c0baceed18e972ea9507e0 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Thu, 19 Aug 2010 16:54:45 +0200 Subject: [PATCH] Fix translation of column header. The "var" column header in the data view was not getting translated, due to lack of a call to gettext. Thanks to Mindaugas embar@super.lt for reporting this. --- src/ui/gui/psppire-data-store.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/gui/psppire-data-store.c b/src/ui/gui/psppire-data-store.c index 9833fb49..9a59638f 100644 --- a/src/ui/gui/psppire-data-store.c +++ b/src/ui/gui/psppire-data-store.c @@ -793,7 +793,7 @@ get_column_button_label (const PsppireSheetModel *model, gint col) PsppireDataStore *ds = PSPPIRE_DATA_STORE (model); if ( col >= psppire_dict_get_var_cnt (ds->dict) ) - return g_locale_to_utf8 (null_var_name, -1, 0, 0, 0); + return xstrdup (gettext (null_var_name)); pv = psppire_dict_get_variable (ds->dict, col); -- 2.30.2