From 0d8470597ba48f4e0760ffe6600936a735c9135a Mon Sep 17 00:00:00 2001 From: Daniel Abrecht Date: Fri, 29 May 2020 18:50:19 +0000 Subject: [PATCH] Don't localise property descriptions in calls-call and calls-origin properties --- plugins/dummy/calls-dummy-call.c | 8 ++++---- plugins/dummy/calls-dummy-origin.c | 4 ++-- plugins/mm/calls-mm-call.c | 4 ++-- plugins/mm/calls-mm-origin.c | 4 ++-- plugins/ofono/calls-ofono-call.c | 8 ++++---- plugins/ofono/calls-ofono-origin.c | 4 ++-- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/plugins/dummy/calls-dummy-call.c b/plugins/dummy/calls-dummy-call.c index a9996c1..a97ee75 100644 --- a/plugins/dummy/calls-dummy-call.c +++ b/plugins/dummy/calls-dummy-call.c @@ -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]); diff --git a/plugins/dummy/calls-dummy-origin.c b/plugins/dummy/calls-dummy-origin.c index 365c2e4..adbb343 100644 --- a/plugins/dummy/calls-dummy-origin.c +++ b/plugins/dummy/calls-dummy-origin.c @@ -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]); diff --git a/plugins/mm/calls-mm-call.c b/plugins/mm/calls-mm-call.c index 3e03b1b..13fb3ae 100644 --- a/plugins/mm/calls-mm-call.c +++ b/plugins/mm/calls-mm-call.c @@ -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]); diff --git a/plugins/mm/calls-mm-origin.c b/plugins/mm/calls-mm-origin.c index 02f175c..f911cf9 100644 --- a/plugins/mm/calls-mm-origin.c +++ b/plugins/mm/calls-mm-origin.c @@ -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]); diff --git a/plugins/ofono/calls-ofono-call.c b/plugins/ofono/calls-ofono-call.c index da1e25f..c835cda 100644 --- a/plugins/ofono/calls-ofono-call.c +++ b/plugins/ofono/calls-ofono-call.c @@ -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); diff --git a/plugins/ofono/calls-ofono-origin.c b/plugins/ofono/calls-ofono-origin.c index 6a2dda5..5eafc39 100644 --- a/plugins/ofono/calls-ofono-origin.c +++ b/plugins/ofono/calls-ofono-origin.c @@ -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]);