Use P_ for translatable param spec strings

Translatable param spec strings should be annotated with P_() instead of
plain _(). Bug #579830.
This commit is contained in:
Christian Persch
2009-04-22 15:12:37 +02:00
parent 9a3d18d2a6
commit a9c33dbd7a
7 changed files with 44 additions and 44 deletions

View File

@@ -114,8 +114,8 @@ g_socket_address_class_init (GSocketAddressClass *klass)
g_object_class_install_property (gobject_class, PROP_FAMILY,
g_param_spec_enum ("family",
_("Address family"),
_("The family of the socket address"),
P_("Address family"),
P_("The family of the socket address"),
G_TYPE_SOCKET_FAMILY,
G_SOCKET_FAMILY_INVALID,
G_PARAM_READABLE | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_STATIC_NAME));