1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-06-25 21:29:32 +00:00

Don't localise property descriptions in calls-call and calls-origin properties

This commit is contained in:
Daniel Abrecht 2020-05-29 18:50:19 +00:00 committed by Evangelos Ribeiro Tzaras
parent 4e7a0b8151
commit 0d8470597b
6 changed files with 16 additions and 16 deletions

View file

@ -253,16 +253,16 @@ calls_dummy_call_class_init (CallsDummyCallClass *klass)
props[PROP_NUMBER_CONSTRUCTOR] =
g_param_spec_string ("number-constructor",
_("Number (constructor)"),
_("The dialed number (dummy class constructor)"),
"Number (constructor)",
"The dialed number (dummy class constructor)",
"+441234567890",
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
g_object_class_install_property (object_class, PROP_NUMBER_CONSTRUCTOR, props[PROP_NUMBER_CONSTRUCTOR]);
props[PROP_INBOUND_CONSTRUCTOR] =
g_param_spec_boolean ("inbound-constructor",
_("Inbound (constructor)"),
_("Whether the calls is inbound (dummy class constructor)"),
"Inbound (constructor)",
"Whether the calls is inbound (dummy class constructor)",
FALSE,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
g_object_class_install_property (object_class, PROP_INBOUND_CONSTRUCTOR, props[PROP_INBOUND_CONSTRUCTOR]);

View file

@ -239,8 +239,8 @@ calls_dummy_origin_class_init (CallsDummyOriginClass *klass)
props[PROP_DUMMY_NAME_CONSTRUCTOR] =
g_param_spec_string ("dummy-name-constructor",
_("Name"),
_("The name of the origin"),
"Name",
"The name of the origin",
"Dummy origin",
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
g_object_class_install_property (object_class, PROP_DUMMY_NAME_CONSTRUCTOR, props[PROP_DUMMY_NAME_CONSTRUCTOR]);

View file

@ -391,8 +391,8 @@ calls_mm_call_class_init (CallsMMCallClass *klass)
object_class->finalize = finalize;
props[PROP_MM_CALL] = g_param_spec_object ("mm-call",
_("MM call"),
_("A libmm-glib proxy object for the underlying call object"),
"MM call",
"A libmm-glib proxy object for the underlying call object",
MM_TYPE_CALL,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
g_object_class_install_property (object_class, PROP_MM_CALL, props[PROP_MM_CALL]);

View file

@ -811,8 +811,8 @@ calls_mm_origin_class_init (CallsMMOriginClass *klass)
props[PROP_MODEM] =
g_param_spec_object ("mm-object",
_("Modem Object"),
_("A libmm-glib proxy object for the modem"),
"Modem Object",
"A libmm-glib proxy object for the modem",
MM_TYPE_OBJECT,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
g_object_class_install_property (object_class, PROP_MODEM, props[PROP_MODEM]);

View file

@ -357,16 +357,16 @@ calls_ofono_call_class_init (CallsOfonoCallClass *klass)
props[PROP_VOICE_CALL] =
g_param_spec_object ("voice-call",
_("Voice call"),
_("A GDBO proxy object for the underlying call object"),
"Voice call",
"A GDBO proxy object for the underlying call object",
GDBO_TYPE_VOICE_CALL,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
g_object_class_install_property (object_class, PROP_VOICE_CALL, props[PROP_VOICE_CALL]);
props[PROP_PROPERTIES] =
g_param_spec_variant ("properties",
_("Properties"),
_("The a{sv} dictionary of properties for the voice call object"),
"Properties",
"The a{sv} dictionary of properties for the voice call object",
G_VARIANT_TYPE_ARRAY,
NULL,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);

View file

@ -534,8 +534,8 @@ calls_ofono_origin_class_init (CallsOfonoOriginClass *klass)
props[PROP_MODEM] =
g_param_spec_object ("modem",
_("Modem"),
_("A GDBO proxy object for the underlying modem object"),
"Modem",
"A GDBO proxy object for the underlying modem object",
GDBO_TYPE_MODEM,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
g_object_class_install_property (object_class, PROP_MODEM, props[PROP_MODEM]);