Remove gettext markup from g_param_spec arguments. fc11-i386-build60 fc11-x64-build57 lenny-x64-build81 sid-i386-build127
authorJohn Darrington <john@darrington.wattle.id.au>
Fri, 18 Dec 2009 18:48:44 +0000 (19:48 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Fri, 18 Dec 2009 18:48:44 +0000 (19:48 +0100)
These strings are never seen by users, so there's little
point in translating them.

src/ui/gui/customentry.c
src/ui/gui/psppire-buttonbox.c
src/ui/gui/psppire-dictview.c

index b40c11cd0301588c14309485e348a86723e19764..7b3104693589d95d28aa03745d8811baa9b8e176 100644 (file)
@@ -54,9 +54,6 @@
  */
 
 #include <config.h>
-#include <gettext.h>
-#define _(msgid) gettext (msgid)
-
 
 #include <gtk/gtksignal.h>
 #include <gtk/gtkentry.h>
@@ -331,7 +328,7 @@ psppire_custom_entry_class_init (PsppireCustomEntryClass *klass)
     (widget_class,
      g_param_spec_enum ("shadow_type",
                        "Shadow Type",
-                       _("Style of bevel around the custom entry button"),
+                       "Style of bevel around the custom entry button",
                        GTK_TYPE_SHADOW_TYPE,
                        GTK_SHADOW_ETCHED_IN,
                        G_PARAM_READABLE),
index 071751ad6fdeb6372cdd590c1ea8dcf47a347a5e..282116548e2e1091b49766663de5046125ff611e 100644 (file)
@@ -140,8 +140,8 @@ psppire_button_box_class_init (PsppireButtonBoxClass *class)
 
   button_flags =
     g_param_spec_flags ("buttons",
-                       _("Buttons"),
-                       _("The mask that decides what buttons appear in the button box"),
+                       "Buttons",
+                       "The mask that decides what buttons appear in the button box",
                        PSPPIRE_TYPE_BUTTON_MASK,
                        PSPPIRE_BUTTON_OK_MASK |
                        PSPPIRE_BUTTON_CANCEL_MASK |
index 4c07d1fdc9a79291a34df4768fe2a505c35b2a62..4d56eda9052318128e2b6575edfe296b6226dbd8 100644 (file)
@@ -198,14 +198,14 @@ psppire_dict_view_class_init (PsppireDictViewClass *class)
   GParamSpec *predicate_spec =
     g_param_spec_pointer ("predicate",
                          "Predicate",
-                         _("A predicate function"),
+                         "A predicate function",
                          G_PARAM_READABLE | G_PARAM_WRITABLE);
 
 
   GParamSpec *selection_mode_spec =
     g_param_spec_enum ("selection-mode",
                       "Selection Mode",
-                      _("How many things can be selected"),
+                      "How many things can be selected",
                       GTK_TYPE_SELECTION_MODE,
                       GTK_SELECTION_MULTIPLE,
                       G_PARAM_CONSTRUCT | G_PARAM_READABLE | G_PARAM_WRITABLE);