projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove some g_param_spec_ strings from the translation domain
[pspp]
/
src
/
ui
/
gui
/
psppire-cell-renderer-button.c
diff --git
a/src/ui/gui/psppire-cell-renderer-button.c
b/src/ui/gui/psppire-cell-renderer-button.c
index 6b25b3fa3b649827873ff4c50ba7f0f4d9ec7688..c31a73fce23113fc0d0ef5c04fec45602cc4d4db 100644
(file)
--- 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 "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 *);
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",
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",
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",
"",
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));
FALSE,
G_PARAM_READWRITE));