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

@@ -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));
}