1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-15 12:55:36 +00:00

Drop translations from property names and descriptions

They're never used anywhere.

Closes: #155, #121
This commit is contained in:
Guido Günther 2020-05-29 07:38:11 +02:00 committed by Mohammed Sadiq
parent 0b35ca102a
commit 956916ae1f
13 changed files with 61 additions and 61 deletions

View file

@ -484,15 +484,15 @@ calls_best_match_class_init (CallsBestMatchClass *klass)
props[PROP_VIEW] = props[PROP_VIEW] =
g_param_spec_object ("view", g_param_spec_object ("view",
_("View"), "View",
_("The CallsBestMatchView to monitor"), "The CallsBestMatchView to monitor",
CALLS_TYPE_BEST_MATCH_VIEW, CALLS_TYPE_BEST_MATCH_VIEW,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY); G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
props[PROP_NAME] = props[PROP_NAME] =
g_param_spec_string ("name", g_param_spec_string ("name",
_("Name"), "Name",
_("The display name of the best match"), "The display name of the best match",
NULL, NULL,
G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY); G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY);

View file

@ -133,15 +133,15 @@ calls_call_data_class_init (CallsCallDataClass *klass)
props[PROP_CALL] = props[PROP_CALL] =
g_param_spec_object ("call", g_param_spec_object ("call",
_("Call"), "Call",
_("The call"), "The call",
CALLS_TYPE_CALL, CALLS_TYPE_CALL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT); G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
props[PROP_PARTY] = props[PROP_PARTY] =
g_param_spec_object ("party", g_param_spec_object ("party",
_("Party"), "Party",
_("The party participating in the call"), "The party participating in the call",
CALLS_TYPE_PARTY, CALLS_TYPE_PARTY,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT); G_PARAM_READWRITE | G_PARAM_CONSTRUCT);

View file

@ -600,8 +600,8 @@ calls_call_display_class_init (CallsCallDisplayClass *klass)
props[PROP_CALL_DATA] = props[PROP_CALL_DATA] =
g_param_spec_object ("call-data", g_param_spec_object ("call-data",
_("Call data"), "Call data",
_("Data for the call this display will be associated with"), "Data for the call this display will be associated with",
CALLS_TYPE_CALL_DATA, CALLS_TYPE_CALL_DATA,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY); G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);

View file

@ -154,8 +154,8 @@ calls_call_holder_class_init (CallsCallHolderClass *klass)
props[PROP_CALL] = props[PROP_CALL] =
g_param_spec_object ("call", g_param_spec_object ("call",
_("Call"), "Call",
_("The call to hold"), "The call to hold",
CALLS_TYPE_CALL, CALLS_TYPE_CALL,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY); G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);

View file

@ -502,15 +502,15 @@ calls_call_record_row_class_init (CallsCallRecordRowClass *klass)
props[PROP_RECORD] = props[PROP_RECORD] =
g_param_spec_object ("record", g_param_spec_object ("record",
_("Record"), "Record",
_("The call record for this row"), "The call record for this row",
CALLS_TYPE_CALL_RECORD, CALLS_TYPE_CALL_RECORD,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY); G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
props[PROP_CONTACTS] = props[PROP_CONTACTS] =
g_param_spec_object ("contacts", g_param_spec_object ("contacts",
_("Contacts"), "Contacts",
_("Interface for libfolks"), "Interface for libfolks",
CALLS_TYPE_CONTACTS, CALLS_TYPE_CONTACTS,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY); G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);

View file

@ -186,8 +186,8 @@ calls_call_record_class_init (CallsCallRecordClass *klass)
props[PROP_ID] = props[PROP_ID] =
g_param_spec_uint ("id", g_param_spec_uint ("id",
_("ID"), "ID",
_("The row ID"), "The row ID",
0, G_MAXUINT, 0, 0, G_MAXUINT, 0,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT); G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
install (ID); install (ID);
@ -195,40 +195,40 @@ calls_call_record_class_init (CallsCallRecordClass *klass)
props[PROP_TARGET] = props[PROP_TARGET] =
g_param_spec_string ("target", g_param_spec_string ("target",
_("Target"), "Target",
_("The PTSN phone number or other address of the call"), "The PTSN phone number or other address of the call",
NULL, NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT); G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
install (TARGET); install (TARGET);
props[PROP_INBOUND] = props[PROP_INBOUND] =
g_param_spec_boolean ("inbound", g_param_spec_boolean ("inbound",
_("Inbound"), "Inbound",
_("Whether the call was an inbound call"), "Whether the call was an inbound call",
FALSE, FALSE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT); G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
install (INBOUND); install (INBOUND);
props[PROP_START] = props[PROP_START] =
g_param_spec_boxed ("start", g_param_spec_boxed ("start",
_("Start"), "Start",
_("Time stamp of the start of the call"), "Time stamp of the start of the call",
G_TYPE_DATE_TIME, G_TYPE_DATE_TIME,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT); G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
install (START); install (START);
props[PROP_ANSWERED] = props[PROP_ANSWERED] =
g_param_spec_boxed ("answered", g_param_spec_boxed ("answered",
_("Answered"), "Answered",
_("Time stamp of when the call was answered"), "Time stamp of when the call was answered",
G_TYPE_DATE_TIME, G_TYPE_DATE_TIME,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT); G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
install (ANSWERED); install (ANSWERED);
props[PROP_END] = props[PROP_END] =
g_param_spec_boxed ("end", g_param_spec_boxed ("end",
_("End"), "End",
_("Time stamp of the end of the call"), "Time stamp of the end of the call",
G_TYPE_DATE_TIME, G_TYPE_DATE_TIME,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT); G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
install (END); install (END);

View file

@ -171,8 +171,8 @@ calls_call_selector_item_class_init (CallsCallSelectorItemClass *klass)
props[PROP_HOLDER] = props[PROP_HOLDER] =
g_param_spec_object ("holder", g_param_spec_object ("holder",
_("Call holder"), "Call holder",
_("The holder for this call"), "The holder for this call",
CALLS_TYPE_CALL_HOLDER, CALLS_TYPE_CALL_HOLDER,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY); G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);

View file

@ -120,32 +120,32 @@ calls_call_default_init (CallsCallInterface *iface)
g_object_interface_install_property ( g_object_interface_install_property (
iface, iface,
g_param_spec_boolean ("inbound", g_param_spec_boolean ("inbound",
_("Inbound"), "Inbound",
_("Whether the call is inbound"), "Whether the call is inbound",
FALSE, FALSE,
G_PARAM_READABLE)); G_PARAM_READABLE));
g_object_interface_install_property ( g_object_interface_install_property (
iface, iface,
g_param_spec_string ("number", g_param_spec_string ("number",
_("Number"), "Number",
_("The number the call is connected to if known"), "The number the call is connected to if known",
NULL, NULL,
G_PARAM_READABLE)); G_PARAM_READABLE));
g_object_interface_install_property ( g_object_interface_install_property (
iface, iface,
g_param_spec_string ("name", g_param_spec_string ("name",
_("Name"), "Name",
_("The name of the party the call is connected to, if the network provides it"), "The name of the party the call is connected to, if the network provides it",
NULL, NULL,
G_PARAM_READABLE)); G_PARAM_READABLE));
g_object_interface_install_property ( g_object_interface_install_property (
iface, iface,
g_param_spec_enum ("state", g_param_spec_enum ("state",
_("State"), "State",
_("The current state of the call"), "The current state of the call",
CALLS_TYPE_CALL_STATE, CALLS_TYPE_CALL_STATE,
CALLS_CALL_STATE_ACTIVE, CALLS_CALL_STATE_ACTIVE,
G_PARAM_READABLE)); G_PARAM_READABLE));

View file

@ -125,8 +125,8 @@ calls_encryption_indicator_class_init (CallsEncryptionIndicatorClass *klass)
props[PROP_ENCRYPTED] = props[PROP_ENCRYPTED] =
g_param_spec_boolean ("encrypted", g_param_spec_boolean ("encrypted",
_("Encrypted"), "Encrypted",
_("The party participating in the call"), "The party participating in the call",
FALSE, FALSE,
G_PARAM_READWRITE); G_PARAM_READWRITE);

View file

@ -192,15 +192,15 @@ calls_history_box_class_init (CallsHistoryBoxClass *klass)
props[PROP_MODEL] = props[PROP_MODEL] =
g_param_spec_object ("model", g_param_spec_object ("model",
_("model"), "model",
_("The data store containing call records"), "The data store containing call records",
G_TYPE_LIST_MODEL, G_TYPE_LIST_MODEL,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY); G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
props[PROP_CONTACTS] = props[PROP_CONTACTS] =
g_param_spec_object ("contacts", g_param_spec_object ("contacts",
_("Contacts"), "Contacts",
_("Interface for libfolks"), "Interface for libfolks",
CALLS_TYPE_CONTACTS, CALLS_TYPE_CONTACTS,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY); G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);

View file

@ -304,15 +304,15 @@ calls_main_window_class_init (CallsMainWindowClass *klass)
props[PROP_RECORD_STORE] = props[PROP_RECORD_STORE] =
g_param_spec_object ("record-store", g_param_spec_object ("record-store",
_("Record store"), "Record store",
_("The store of call records"), "The store of call records",
G_TYPE_LIST_MODEL, G_TYPE_LIST_MODEL,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY); G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
props[PROP_CONTACTS] = props[PROP_CONTACTS] =
g_param_spec_object ("contacts", g_param_spec_object ("contacts",
_("Contacts"), "Contacts",
_("Interface for libfolks"), "Interface for libfolks",
CALLS_TYPE_CONTACTS, CALLS_TYPE_CONTACTS,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY); G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);

View file

@ -183,15 +183,15 @@ calls_party_class_init (CallsPartyClass *klass)
props[PROP_NAME] = props[PROP_NAME] =
g_param_spec_string ("name", g_param_spec_string ("name",
_("Name"), "Name",
_("The party's name"), "The party's name",
NULL, NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT); G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
props[PROP_NUMBER] = props[PROP_NUMBER] =
g_param_spec_string ("number", g_param_spec_string ("number",
_("Number"), "Number",
_("The party's telephone number"), "The party's telephone number",
NULL, NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT); G_PARAM_READWRITE | G_PARAM_CONSTRUCT);

View file

@ -67,8 +67,8 @@ calls_provider_default_init (CallsProviderInterface *iface)
props[PROP_STATUS] = props[PROP_STATUS] =
g_param_spec_string ("status", g_param_spec_string ("status",
_("Status"), "Status",
_("A text string describing the status for display to the user"), "A text string describing the status for display to the user",
"", "",
G_PARAM_READABLE); G_PARAM_READABLE);