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:
@@ -144,8 +144,8 @@ g_unix_output_stream_class_init (GUnixOutputStreamClass *klass)
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_FD,
|
||||
g_param_spec_int ("fd",
|
||||
_("File descriptor"),
|
||||
_("The file descriptor to write to"),
|
||||
P_("File descriptor"),
|
||||
P_("The file descriptor to write to"),
|
||||
G_MININT, G_MAXINT, -1,
|
||||
G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
|
||||
|
||||
@@ -159,8 +159,8 @@ g_unix_output_stream_class_init (GUnixOutputStreamClass *klass)
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_CLOSE_FD,
|
||||
g_param_spec_boolean ("close-fd",
|
||||
_("Close file descriptor"),
|
||||
_("Whether to close the file descriptor when the stream is closed"),
|
||||
P_("Close file descriptor"),
|
||||
P_("Whether to close the file descriptor when the stream is closed"),
|
||||
TRUE,
|
||||
G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
|
||||
}
|
||||
|
Reference in New Issue
Block a user