From: John Darrington Date: Tue, 2 Feb 2016 18:55:22 +0000 (+0100) Subject: Remove some g_param_spec_ strings from the translation domain X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp;a=commitdiff_plain;h=08cf0950d52089024113d129063e39e7c1a05cd9 Remove some g_param_spec_ strings from the translation domain --- diff --git a/src/ui/gui/psppire-cell-renderer-button.c b/src/ui/gui/psppire-cell-renderer-button.c index 6b25b3fa3b..c31a73fce2 100644 --- a/src/ui/gui/psppire-cell-renderer-button.c +++ b/src/ui/gui/psppire-cell-renderer-button.c @@ -27,8 +27,7 @@ #include "gl/configmake.h" #include "gl/relocatable.h" -#include "gettext.h" -#define _(msgid) gettext (msgid) +#define P_(msgid) (msgid) static void psppire_cell_renderer_button_dispose (GObject *); static void psppire_cell_renderer_button_finalize (GObject *); @@ -489,24 +488,24 @@ psppire_cell_renderer_button_class_init (PsppireCellRendererButtonClass *class) g_object_class_install_property (gobject_class, PROP_EDITABLE, g_param_spec_boolean ("editable", - "Editable", - "Whether the button may be clicked.", + P_("Editable"), + P_("Whether the button may be clicked."), FALSE, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_LABEL, g_param_spec_string ("label", - "Label", - "Text to appear in button.", + P_("Label"), + P_("Text to appear in button."), "", G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_SLASH, g_param_spec_boolean ("slash", - _("Diagonal slash"), - _("Whether to draw a diagonal slash across the button."), + P_("Diagonal slash"), + P_("Whether to draw a diagonal slash across the button."), FALSE, G_PARAM_READWRITE));