From: Ben Pfaff Date: Fri, 15 Jan 2016 15:47:45 +0000 (-0800) Subject: psppire-button-editable: Don't mark spec parameter text as translatable. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp;a=commitdiff_plain;h=8d2d55361082c9cb688c4ce8d565aa3b2ffaf849 psppire-button-editable: Don't mark spec parameter text as translatable. The P_ prefix seems to be used by other GTK+ code, so use it here too. Reported by Elias Estatistics . --- diff --git a/src/ui/gui/psppire-button-editable.c b/src/ui/gui/psppire-button-editable.c index 05cc0057dd..f77e3ce217 100644 --- a/src/ui/gui/psppire-button-editable.c +++ b/src/ui/gui/psppire-button-editable.c @@ -1,5 +1,5 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2011, 2012 Free Software Foundation, Inc. + Copyright (C) 2011, 2012, 2016 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -21,6 +21,7 @@ #include #define _(msgid) gettext (msgid) #define N_(msgid) msgid +#define P_(STRING) STRING /* GtkCellEditable interface. */ static void gtk_cell_editable_interface_init (GtkCellEditableIface *iface); @@ -132,8 +133,8 @@ psppire_button_editable_class_init (PsppireButtonEditableClass *class) g_object_class_install_property (gobject_class, PROP_PATH, g_param_spec_string ("path", - _("TreeView path"), - _("The path to the row in the GtkTreeView, as a string"), + P_("TreeView path"), + P_("The path to the row in the GtkTreeView, as a string"), "", G_PARAM_READWRITE));