Mercurial > pidgin
diff src/gtkcellview.c @ 13382:7ab959eb857e
[gaim-migrate @ 15755]
A patch sent to gaim-i18n from Bj??rn Voigt:
'I agree with Danilo that we do not need the "property description" i18n
strings in the imported GTK+ files.
My attached patch changes the _() markers to P_() markers in
gtkcellview.c and gtkcombobox.c. The file already had P_() markers. The
files gtkcelllayout.c and gtkcellviewmenuitem.c do not have i18n strings.'
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 03 Mar 2006 00:41:38 +0000 |
parents | d0d1d631ed49 |
children |
line wrap: on
line diff
--- a/src/gtkcellview.c Thu Mar 02 22:55:12 2006 +0000 +++ b/src/gtkcellview.c Fri Mar 03 00:41:38 2006 +0000 @@ -33,18 +33,7 @@ #include <gtk/gtkcellrendererpixbuf.h> #include <gobject/gmarshal.h> -#ifdef ENABLE_NLS -# include <libintl.h> -# define _(x) gettext(x) -# ifdef gettext_noop -# define N_(String) gettext_noop (String) -# else -# define N_(String) (String) -# endif -#else -# define N_(String) (String) -# define _(x) (x) -#endif +#define P_(x) (x) typedef struct _GtkCellViewCellInfo GtkCellViewCellInfo; struct _GtkCellViewCellInfo @@ -195,23 +184,23 @@ g_object_class_install_property (gobject_class, PROP_BACKGROUND, g_param_spec_string ("background", - _("Background color name"), - _("Background color as a string"), + P_("Background color name"), + P_("Background color as a string"), NULL, G_PARAM_WRITABLE)); g_object_class_install_property (gobject_class, PROP_BACKGROUND_GDK, g_param_spec_boxed ("background_gdk", - _("Background color"), - _("Background color as a GdkColor"), + P_("Background color"), + P_("Background color as a GdkColor"), GDK_TYPE_COLOR, G_PARAM_READABLE | G_PARAM_WRITABLE)); #define ADD_SET_PROP(propname, propval, nick, blurb) g_object_class_install_property (gobject_class, propval, g_param_spec_boolean (propname, nick, blurb, FALSE, G_PARAM_READABLE | G_PARAM_WRITABLE)) ADD_SET_PROP ("background_set", PROP_BACKGROUND_SET, - _("Background set"), - _("Whether this tag affects the background color")); + P_("Background set"), + P_("Whether this tag affects the background color")); } static void