1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-04 23:51:17 +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] = props[PROP_NUMBER_CONSTRUCTOR] =
g_param_spec_string ("number-constructor", g_param_spec_string ("number-constructor",
_("Number (constructor)"), "Number (constructor)",
_("The dialed number (dummy class constructor)"), "The dialed number (dummy class constructor)",
"+441234567890", "+441234567890",
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY); G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
g_object_class_install_property (object_class, PROP_NUMBER_CONSTRUCTOR, props[PROP_NUMBER_CONSTRUCTOR]); g_object_class_install_property (object_class, PROP_NUMBER_CONSTRUCTOR, props[PROP_NUMBER_CONSTRUCTOR]);
props[PROP_INBOUND_CONSTRUCTOR] = props[PROP_INBOUND_CONSTRUCTOR] =
g_param_spec_boolean ("inbound-constructor", g_param_spec_boolean ("inbound-constructor",
_("Inbound (constructor)"), "Inbound (constructor)",
_("Whether the calls is inbound (dummy class constructor)"), "Whether the calls is inbound (dummy class constructor)",
FALSE, FALSE,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY); G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
g_object_class_install_property (object_class, PROP_INBOUND_CONSTRUCTOR, props[PROP_INBOUND_CONSTRUCTOR]); 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] = props[PROP_DUMMY_NAME_CONSTRUCTOR] =
g_param_spec_string ("dummy-name-constructor", g_param_spec_string ("dummy-name-constructor",
_("Name"), "Name",
_("The name of the origin"), "The name of the origin",
"Dummy origin", "Dummy origin",
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY); G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
g_object_class_install_property (object_class, PROP_DUMMY_NAME_CONSTRUCTOR, props[PROP_DUMMY_NAME_CONSTRUCTOR]); 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; object_class->finalize = finalize;
props[PROP_MM_CALL] = g_param_spec_object ("mm-call", props[PROP_MM_CALL] = g_param_spec_object ("mm-call",
_("MM call"), "MM call",
_("A libmm-glib proxy object for the underlying call object"), "A libmm-glib proxy object for the underlying call object",
MM_TYPE_CALL, MM_TYPE_CALL,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY); G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
g_object_class_install_property (object_class, PROP_MM_CALL, props[PROP_MM_CALL]); 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] = props[PROP_MODEM] =
g_param_spec_object ("mm-object", g_param_spec_object ("mm-object",
_("Modem Object"), "Modem Object",
_("A libmm-glib proxy object for the modem"), "A libmm-glib proxy object for the modem",
MM_TYPE_OBJECT, MM_TYPE_OBJECT,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY); G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
g_object_class_install_property (object_class, PROP_MODEM, props[PROP_MODEM]); 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] = props[PROP_VOICE_CALL] =
g_param_spec_object ("voice-call", g_param_spec_object ("voice-call",
_("Voice call"), "Voice call",
_("A GDBO proxy object for the underlying call object"), "A GDBO proxy object for the underlying call object",
GDBO_TYPE_VOICE_CALL, GDBO_TYPE_VOICE_CALL,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY); G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
g_object_class_install_property (object_class, PROP_VOICE_CALL, props[PROP_VOICE_CALL]); g_object_class_install_property (object_class, PROP_VOICE_CALL, props[PROP_VOICE_CALL]);
props[PROP_PROPERTIES] = props[PROP_PROPERTIES] =
g_param_spec_variant ("properties", g_param_spec_variant ("properties",
_("Properties"), "Properties",
_("The a{sv} dictionary of properties for the voice call object"), "The a{sv} dictionary of properties for the voice call object",
G_VARIANT_TYPE_ARRAY, G_VARIANT_TYPE_ARRAY,
NULL, NULL,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY); G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);

View file

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