added title to variable sheet dialogs
authorFriedrich Beckmann <friedrich.beckmann@gmx.de>
Fri, 26 Jun 2020 06:37:17 +0000 (08:37 +0200)
committerFriedrich Beckmann <friedrich.beckmann@gmx.de>
Fri, 26 Jun 2020 07:43:40 +0000 (09:43 +0200)
src/ui/gui/missing-val-dialog.c
src/ui/gui/val-labs-dialog.c
src/ui/gui/var-type-dialog.c

index 09e17c1aaff4046989f0866e7529ab5bb6e45dfb..64b045c616f2076ce59479db209cc3643e702e4c 100644 (file)
@@ -375,7 +375,8 @@ psppire_missing_val_dialog_constructor (GType                  type,
     type, n_properties, properties);
   dialog = PSPPIRE_MISSING_VAL_DIALOG (obj);
 
-  g_object_set (dialog, "help_page", "Missing-Observations", NULL);
+  g_object_set (dialog, "help_page", "Missing-Observations",
+               "title", _("Missing Values"), NULL);
 
   content_area = GTK_CONTAINER (PSPPIRE_DIALOG (dialog));
   xml = builder_new ("missing-val-dialog.ui");
index 4dce3dae0cb6b155392508cdad9931718e354e4f..f46daf7f70d9b04d8ce9611cdd262d207d51ac6b 100644 (file)
@@ -475,7 +475,8 @@ psppire_val_labs_dialog_constructor (GType                  type,
     type, n_properties, properties);
   dialog = PSPPIRE_VAL_LABS_DIALOG (obj);
 
-  g_object_set (dialog, "help_page", "VALUE-LABELS", NULL);
+  g_object_set (dialog, "help_page", "VALUE-LABELS",
+               "title", _("Value Lables"), NULL);
 
   content_area = GTK_CONTAINER (PSPPIRE_DIALOG (dialog));
   gtk_container_add (GTK_CONTAINER (content_area),
index 5d17b2722d7bca343256b2e7bfdbe2ea10d5b7d4..0a2bf3ee7aee2fa927f8fc003f4139928eeca24e 100644 (file)
 #include "ui/gui/psppire-format.h"
 #include "ui/gui/var-type-dialog.h"
 
+#include <gettext.h>
+#define _(msgid) gettext (msgid)
+#define N_(msgid) msgid
+
 static const struct fmt_spec date_format[] =
   {
     {FMT_DATE,  11, 0},
@@ -533,7 +537,8 @@ psppire_var_type_dialog_constructor (GType                  type,
     type, n_properties, properties);
   dialog = PSPPIRE_VAR_TYPE_DIALOG (obj);
 
-  g_object_set (dialog, "help_page", "Input-and-Output-Formats", NULL);
+  g_object_set (dialog, "help_page", "Input-and-Output-Formats",
+               "title", _("Variable Type and Format"), NULL);
 
   xml = builder_new ("var-type-dialog.ui");