X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fval-labs-dialog.c;h=efeb548e29d61060c5a781c1057716cff103fdab;hb=a9b46fb9e208c694e39d6f173bfa6fe631a30129;hp=14eacabfadddb5842e81f444855233b0e903ec03;hpb=3bbb4370239deb29ebbf813d258aef6249e2a431;p=pspp diff --git a/src/ui/gui/val-labs-dialog.c b/src/ui/gui/val-labs-dialog.c index 14eacabfad..efeb548e29 100644 --- a/src/ui/gui/val-labs-dialog.c +++ b/src/ui/gui/val-labs-dialog.c @@ -30,6 +30,10 @@ #include "psppire-var-store.h" #include +#include +#define _(msgid) gettext (msgid) +#define N_(msgid) msgid + struct val_labs_dialog { GtkWidget *window; @@ -324,7 +328,7 @@ on_remove (GtkWidget *w, gpointer data) struct val_labs_dialog *dialog = data; union value value; - const struct val_lab *vl; + struct val_lab *vl; get_selected_tuple (dialog, &value, NULL); vl = val_labs_lookup (dialog->labs, &value); @@ -508,7 +512,7 @@ repopulate_dialog (struct val_labs_dialog *dialog) value_to_text (vl->value, dialog->dict, *var_get_write_format (dialog->pv)); - gchar *const text = g_strdup_printf ("%s = \"%s\"", + gchar *const text = g_strdup_printf (_("%s = `%s'"), vstr, val_lab_get_label (vl)); gtk_list_store_append (list_store, &iter);