Commit 956916ae authored by Guido Gunther's avatar Guido Gunther Committed by Mohammed Sadiq

Drop translations from property names and descriptions

They're never used anywhere.

Closes: #155, #121
parent 0b35ca10
......@@ -484,15 +484,15 @@ calls_best_match_class_init (CallsBestMatchClass *klass)
props[PROP_VIEW] =
g_param_spec_object ("view",
_("View"),
_("The CallsBestMatchView to monitor"),
"View",
"The CallsBestMatchView to monitor",
CALLS_TYPE_BEST_MATCH_VIEW,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
props[PROP_NAME] =
g_param_spec_string ("name",
_("Name"),
_("The display name of the best match"),
"Name",
"The display name of the best match",
NULL,
G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY);
......
......@@ -133,15 +133,15 @@ calls_call_data_class_init (CallsCallDataClass *klass)
props[PROP_CALL] =
g_param_spec_object ("call",
_("Call"),
_("The call"),
"Call",
"The call",
CALLS_TYPE_CALL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
props[PROP_PARTY] =
g_param_spec_object ("party",
_("Party"),
_("The party participating in the call"),
"Party",
"The party participating in the call",
CALLS_TYPE_PARTY,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
......
......@@ -600,8 +600,8 @@ calls_call_display_class_init (CallsCallDisplayClass *klass)
props[PROP_CALL_DATA] =
g_param_spec_object ("call-data",
_("Call data"),
_("Data for the call this display will be associated with"),
"Call data",
"Data for the call this display will be associated with",
CALLS_TYPE_CALL_DATA,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
......
......@@ -154,8 +154,8 @@ calls_call_holder_class_init (CallsCallHolderClass *klass)
props[PROP_CALL] =
g_param_spec_object ("call",
_("Call"),
_("The call to hold"),
"Call",
"The call to hold",
CALLS_TYPE_CALL,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
......
......@@ -502,15 +502,15 @@ calls_call_record_row_class_init (CallsCallRecordRowClass *klass)
props[PROP_RECORD] =
g_param_spec_object ("record",
_("Record"),
_("The call record for this row"),
"Record",
"The call record for this row",
CALLS_TYPE_CALL_RECORD,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
props[PROP_CONTACTS] =
g_param_spec_object ("contacts",
_("Contacts"),
_("Interface for libfolks"),
"Contacts",
"Interface for libfolks",
CALLS_TYPE_CONTACTS,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
......
......@@ -186,8 +186,8 @@ calls_call_record_class_init (CallsCallRecordClass *klass)
props[PROP_ID] =
g_param_spec_uint ("id",
_("ID"),
_("The row ID"),
"ID",
"The row ID",
0, G_MAXUINT, 0,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
install (ID);
......@@ -195,40 +195,40 @@ calls_call_record_class_init (CallsCallRecordClass *klass)
props[PROP_TARGET] =
g_param_spec_string ("target",
_("Target"),
_("The PTSN phone number or other address of the call"),
"Target",
"The PTSN phone number or other address of the call",
NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
install (TARGET);
props[PROP_INBOUND] =
g_param_spec_boolean ("inbound",
_("Inbound"),
_("Whether the call was an inbound call"),
"Inbound",
"Whether the call was an inbound call",
FALSE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
install (INBOUND);
props[PROP_START] =
g_param_spec_boxed ("start",
_("Start"),
_("Time stamp of the start of the call"),
"Start",
"Time stamp of the start of the call",
G_TYPE_DATE_TIME,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
install (START);
props[PROP_ANSWERED] =
g_param_spec_boxed ("answered",
_("Answered"),
_("Time stamp of when the call was answered"),
"Answered",
"Time stamp of when the call was answered",
G_TYPE_DATE_TIME,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
install (ANSWERED);
props[PROP_END] =
g_param_spec_boxed ("end",
_("End"),
_("Time stamp of the end of the call"),
"End",
"Time stamp of the end of the call",
G_TYPE_DATE_TIME,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
install (END);
......
......@@ -171,8 +171,8 @@ calls_call_selector_item_class_init (CallsCallSelectorItemClass *klass)
props[PROP_HOLDER] =
g_param_spec_object ("holder",
_("Call holder"),
_("The holder for this call"),
"Call holder",
"The holder for this call",
CALLS_TYPE_CALL_HOLDER,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
......
......@@ -120,35 +120,35 @@ calls_call_default_init (CallsCallInterface *iface)
g_object_interface_install_property (
iface,
g_param_spec_boolean ("inbound",
_("Inbound"),
_("Whether the call is inbound"),
"Inbound",
"Whether the call is inbound",
FALSE,
G_PARAM_READABLE));
g_object_interface_install_property (
iface,
g_param_spec_string ("number",
_("Number"),
_("The number the call is connected to if known"),
NULL,
G_PARAM_READABLE));
"Number",
"The number the call is connected to if known",
NULL,
G_PARAM_READABLE));
g_object_interface_install_property (
iface,
g_param_spec_string ("name",
_("Name"),
_("The name of the party the call is connected to, if the network provides it"),
NULL,
G_PARAM_READABLE));
"Name",
"The name of the party the call is connected to, if the network provides it",
NULL,
G_PARAM_READABLE));
g_object_interface_install_property (
iface,
g_param_spec_enum ("state",
_("State"),
_("The current state of the call"),
CALLS_TYPE_CALL_STATE,
CALLS_CALL_STATE_ACTIVE,
G_PARAM_READABLE));
"State",
"The current state of the call",
CALLS_TYPE_CALL_STATE,
CALLS_CALL_STATE_ACTIVE,
G_PARAM_READABLE));
/**
* CallsCall::state-changed:
......
......@@ -125,8 +125,8 @@ calls_encryption_indicator_class_init (CallsEncryptionIndicatorClass *klass)
props[PROP_ENCRYPTED] =
g_param_spec_boolean ("encrypted",
_("Encrypted"),
_("The party participating in the call"),
"Encrypted",
"The party participating in the call",
FALSE,
G_PARAM_READWRITE);
......
......@@ -192,15 +192,15 @@ calls_history_box_class_init (CallsHistoryBoxClass *klass)
props[PROP_MODEL] =
g_param_spec_object ("model",
_("model"),
_("The data store containing call records"),
"model",
"The data store containing call records",
G_TYPE_LIST_MODEL,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
props[PROP_CONTACTS] =
g_param_spec_object ("contacts",
_("Contacts"),
_("Interface for libfolks"),
"Contacts",
"Interface for libfolks",
CALLS_TYPE_CONTACTS,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
......
......@@ -304,15 +304,15 @@ calls_main_window_class_init (CallsMainWindowClass *klass)
props[PROP_RECORD_STORE] =
g_param_spec_object ("record-store",
_("Record store"),
_("The store of call records"),
"Record store",
"The store of call records",
G_TYPE_LIST_MODEL,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
props[PROP_CONTACTS] =
g_param_spec_object ("contacts",
_("Contacts"),
_("Interface for libfolks"),
"Contacts",
"Interface for libfolks",
CALLS_TYPE_CONTACTS,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
......
......@@ -183,15 +183,15 @@ calls_party_class_init (CallsPartyClass *klass)
props[PROP_NAME] =
g_param_spec_string ("name",
_("Name"),
_("The party's name"),
"Name",
"The party's name",
NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
props[PROP_NUMBER] =
g_param_spec_string ("number",
_("Number"),
_("The party's telephone number"),
"Number",
"The party's telephone number",
NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
......
......@@ -67,8 +67,8 @@ calls_provider_default_init (CallsProviderInterface *iface)
props[PROP_STATUS] =
g_param_spec_string ("status",
_("Status"),
_("A text string describing the status for display to the user"),
"Status",
"A text string describing the status for display to the user",
"",
G_PARAM_READABLE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment