From 08cf0950d52089024113d129063e39e7c1a05cd9 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Tue, 2 Feb 2016 19:55:22 +0100 Subject: [PATCH 1/1] Remove some g_param_spec_ strings from the translation domain --- src/ui/gui/psppire-cell-renderer-button.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) 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)); -- 2.30.2