mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
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:
@@ -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));
|
||||
|
Reference in New Issue
Block a user