Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Change many phrases/sentences from title case to sentence case to mak…
…e things more consistent.
  • Loading branch information
Mark Clarkstone authored and perexg committed Nov 10, 2015
1 parent e07263d commit 39b6b90
Show file tree
Hide file tree
Showing 42 changed files with 387 additions and 387 deletions.
30 changes: 15 additions & 15 deletions src/access.c
Expand Up @@ -1404,7 +1404,7 @@ const idclass_t access_entry_class = {
{
.type = PT_STR,
.id = "langui",
.name = N_("Web Interface Language"),
.name = N_("Web interface language"),
.list = language_get_list,
.off = offsetof(access_entry_t, ae_lang_ui),
},
Expand All @@ -1417,20 +1417,20 @@ const idclass_t access_entry_class = {
{
.type = PT_BOOL,
.id = "adv_streaming",
.name = N_("Advanced Streaming"),
.name = N_("Advanced streaming"),
.off = offsetof(access_entry_t, ae_adv_streaming),
},
{
.type = PT_BOOL,
.id = "htsp_streaming",
.name = N_("HTSP Streaming"),
.name = N_("HTSP streaming"),
.off = offsetof(access_entry_t, ae_htsp_streaming),
},
{
.type = PT_STR,
.islist = 1,
.id = "profile",
.name = N_("Streaming Profiles"),
.name = N_("Streaming profiles"),
.set = access_entry_profile_set,
.get = access_entry_profile_get,
.list = profile_class_get_list,
Expand All @@ -1439,7 +1439,7 @@ const idclass_t access_entry_class = {
{
.type = PT_BOOL,
.id = "dvr",
.name = N_("Video Recorder"),
.name = N_("Video recorder"),
.off = offsetof(access_entry_t, ae_dvr),
},
{
Expand Down Expand Up @@ -1471,7 +1471,7 @@ const idclass_t access_entry_class = {
.type = PT_STR,
.islist = 1,
.id = "dvr_config",
.name = N_("DVR Configuration Profiles"),
.name = N_("DVR configuration profiles"),
.set = access_entry_dvr_config_set,
.get = access_entry_dvr_config_get,
.list = dvr_entry_class_config_name_list,
Expand All @@ -1480,7 +1480,7 @@ const idclass_t access_entry_class = {
{
.type = PT_BOOL,
.id = "webui",
.name = N_("Web Interface"),
.name = N_("Web interface"),
.off = offsetof(access_entry_t, ae_webui),
},
{
Expand All @@ -1492,41 +1492,41 @@ const idclass_t access_entry_class = {
{
.type = PT_INT,
.id = "conn_limit_type",
.name = N_("Connection Limit Type"),
.name = N_("Connection limit type"),
.off = offsetof(access_entry_t, ae_conn_limit_type),
.list = access_entry_conn_limit_type_enum,
},
{
.type = PT_U32,
.id = "conn_limit",
.name = N_("Limit Connections"),
.name = N_("Limit connections"),
.off = offsetof(access_entry_t, ae_conn_limit),
},
{
.type = PT_S64,
.intsplit = CHANNEL_SPLIT,
.id = "channel_min",
.name = N_("Minimal Channel Number"),
.name = N_("Minimal channel number"),
.off = offsetof(access_entry_t, ae_chmin),
},
{
.type = PT_S64,
.intsplit = CHANNEL_SPLIT,
.id = "channel_max",
.name = N_("Maximal Channel Number"),
.name = N_("Maximal channel number"),
.off = offsetof(access_entry_t, ae_chmax),
},
{
.type = PT_BOOL,
.id = "channel_tag_exclude",
.name = N_("Exclude Channel Tags"),
.name = N_("Exclude channel tags"),
.off = offsetof(access_entry_t, ae_chtags_exclude),
},
{
.type = PT_STR,
.islist = 1,
.id = "channel_tag",
.name = N_("Channel Tags"),
.name = N_("Channel tags"),
.set = access_entry_chtag_set,
.get = access_entry_chtag_get,
.list = channel_tag_class_get_list,
Expand Down Expand Up @@ -1841,7 +1841,7 @@ ipblock_entry_class_get_title (idnode_t *self, const char *lang)

if (ib->ib_comment && ib->ib_comment[0] != '\0')
return ib->ib_comment;
return N_("IP Blocking");
return N_("IP blocking");
}

static void
Expand Down Expand Up @@ -1870,7 +1870,7 @@ ipblock_entry_class_prefix_get(void *o)

const idclass_t ipblock_entry_class = {
.ic_class = "ipblocking",
.ic_caption = N_("IP Blocking"),
.ic_caption = N_("IP blocking"),
.ic_event = "ipblocking",
.ic_perm_def = ACCESS_ADMIN,
.ic_save = ipblock_entry_class_save,
Expand Down
18 changes: 9 additions & 9 deletions src/bouquet.c
Expand Up @@ -830,7 +830,7 @@ static char *
bouquet_class_services_rend ( void *obj, const char *lang )
{
bouquet_t *bq = obj;
const char *sc = N_("Services Count %zi");
const char *sc = N_("Services count %zi");
char buf[32];
snprintf(buf, sizeof(buf), tvh_gettext_lang(lang, sc), bq->bq_services->is_count);
return strdup(buf);
Expand Down Expand Up @@ -892,42 +892,42 @@ const idclass_t bouquet_class = {
{
.type = PT_BOOL,
.id = "maptoch",
.name = N_("Auto-Map to Channels"),
.name = N_("Auto-Map to channels"),
.off = offsetof(bouquet_t, bq_maptoch),
.notify = bouquet_class_maptoch_notify,
},
{
.type = PT_BOOL,
.id = "mapnolcn",
.name = N_("Map Zero Numbers"),
.name = N_("Map zero numbers"),
.off = offsetof(bouquet_t, bq_mapnolcn),
.notify = bouquet_class_mapnolcn_notify,
},
{
.type = PT_BOOL,
.id = "mapnoname",
.name = N_("Map No Name"),
.name = N_("Map no name"),
.off = offsetof(bouquet_t, bq_mapnoname),
.notify = bouquet_class_mapnoname_notify,
},
{
.type = PT_BOOL,
.id = "mapradio",
.name = N_("Map Radio"),
.name = N_("Map radio"),
.off = offsetof(bouquet_t, bq_mapradio),
.notify = bouquet_class_mapradio_notify,
},
{
.type = PT_BOOL,
.id = "chtag",
.name = N_("Create Tag"),
.name = N_("Create tag"),
.off = offsetof(bouquet_t, bq_chtag),
.notify = bouquet_class_chtag_notify,
},
{
.type = PT_STR,
.id = "chtag_ref",
.name = N_("Channel Tag Reference"),
.name = N_("Channel tag reference"),
.get = bouquet_class_chtag_ref_get,
.set = bouquet_class_chtag_ref_set,
.rend = bouquet_class_chtag_ref_rend,
Expand Down Expand Up @@ -984,7 +984,7 @@ const idclass_t bouquet_class = {
{
.type = PT_U32,
.id = "services_seen",
.name = N_("# Services Seen"),
.name = N_("# Services seen"),
.off = offsetof(bouquet_t, bq_services_seen),
.opts = PO_RDONLY,
},
Expand All @@ -1004,7 +1004,7 @@ const idclass_t bouquet_class = {
{
.type = PT_U32,
.id = "lcn_off",
.name = N_("Channel Number Offset"),
.name = N_("Channel number offset"),
.off = offsetof(bouquet_t, bq_lcn_offset),
.notify = bouquet_class_lcn_offset_notify,
},
Expand Down
18 changes: 9 additions & 9 deletions src/channels.c
Expand Up @@ -355,7 +355,7 @@ const idclass_t channel_class = {
{
.type = PT_BOOL,
.id = "autoname",
.name = N_("Auto Name"),
.name = N_("Auto name"),
.off = offsetof(channel_t, ch_autoname),
.set = channel_class_autoname_set,
.opts = PO_NOSAVE,
Expand All @@ -380,7 +380,7 @@ const idclass_t channel_class = {
{
.type = PT_STR,
.id = "icon",
.name = N_("User Icon"),
.name = N_("User icon"),
.off = offsetof(channel_t, ch_icon),
.notify = channel_class_icon_notify,
},
Expand All @@ -394,14 +394,14 @@ const idclass_t channel_class = {
{
.type = PT_BOOL,
.id = "epgauto",
.name = N_("Auto EPG Channel"),
.name = N_("Auto EPG channel"),
.off = offsetof(channel_t, ch_epgauto),
},
{
.type = PT_STR,
.islist = 1,
.id = "epggrab",
.name = N_("EPG Source"),
.name = N_("EPG source"),
.set = channel_class_epggrab_set,
.get = channel_class_epggrab_get,
.list = channel_class_epggrab_list,
Expand All @@ -410,21 +410,21 @@ const idclass_t channel_class = {
{
.type = PT_INT,
.id = "dvr_pre_time",
.name = N_("DVR Pre"), // TODO: better text?
.name = N_("DVR start padding"), // TODO: better text?
.off = offsetof(channel_t, ch_dvr_extra_time_pre),
.opts = PO_ADVANCED
},
{
.type = PT_INT,
.id = "dvr_pst_time",
.name = N_("DVR Post"), // TODO: better text?
.name = N_("DVR end padding"), // TODO: better text?
.off = offsetof(channel_t, ch_dvr_extra_time_post),
.opts = PO_ADVANCED
},
{
.type = PT_INT,
.id = "epg_running",
.name = N_("Use EPG Running State"),
.name = N_("Use EPG running state (accurate recordings)"),
.off = offsetof(channel_t, ch_epg_running),
.list = channel_class_epg_running_list,
.opts = PO_ADVANCED
Expand Down Expand Up @@ -1261,7 +1261,7 @@ channel_tag_class_get_list(void *o, const char *lang)

const idclass_t channel_tag_class = {
.ic_class = "channeltag",
.ic_caption = N_("Channel Tag"),
.ic_caption = N_("Channel tag"),
.ic_event = "channeltag",
.ic_save = channel_tag_class_save,
.ic_get_title = channel_tag_class_get_title,
Expand All @@ -1276,7 +1276,7 @@ const idclass_t channel_tag_class = {
{
.type = PT_U32,
.id = "index",
.name = N_("Sort Index"),
.name = N_("Sort index"),
.off = offsetof(channel_tag_t, ct_index),
},
{
Expand Down
10 changes: 5 additions & 5 deletions src/config.c
Expand Up @@ -1909,19 +1909,19 @@ const idclass_t config_class = {
.number = 1,
},
{
.name = N_("Language Settings"),
.name = N_("Language settings"),
.number = 2,
},
{
.name = N_("Web User Interface"),
.name = N_("Web user interface"),
.number = 3,
},
{
.name = N_("DVB Scan Files"),
.name = N_("DVB scan files"),
.number = 4,
},
{
.name = N_("Time Update"),
.name = N_("Time update"),
.number = 5,
},
{
Expand Down Expand Up @@ -1964,7 +1964,7 @@ const idclass_t config_class = {
{
.type = PT_STR,
.id = "cors_origin",
.name = N_("HTTP CORS Origin"),
.name = N_("HTTP CORS origin"),
.set = config_class_cors_origin_set,
.off = offsetof(config_t, cors_origin),
.group = 1
Expand Down
6 changes: 3 additions & 3 deletions src/descrambler/caclient.c
Expand Up @@ -170,7 +170,7 @@ caclient_class_get_title ( idnode_t *in, const char *lang )
static char buf[32];
if (cac->cac_name && cac->cac_name[0])
return cac->cac_name;
snprintf(buf, sizeof(buf), tvh_gettext_lang(lang, N_("CA Client %i")), cac->cac_index);
snprintf(buf, sizeof(buf), tvh_gettext_lang(lang, N_("CA client %i")), cac->cac_index);
return buf;
}

Expand Down Expand Up @@ -233,7 +233,7 @@ caclient_class_status_get(void *o)
const idclass_t caclient_class =
{
.ic_class = "caclient",
.ic_caption = N_("Conditional Access Client"),
.ic_caption = N_("Conditional access client"),
.ic_save = caclient_class_save,
.ic_event = "caclient",
.ic_get_title = caclient_class_get_title,
Expand Down Expand Up @@ -265,7 +265,7 @@ const idclass_t caclient_class =
{
.type = PT_STR,
.id = "name",
.name = N_("Client Name"),
.name = N_("Client name"),
.off = offsetof(caclient_t, cac_name),
.notify = idnode_notify_title_changed,
},
Expand Down
4 changes: 2 additions & 2 deletions src/descrambler/capmt.c
Expand Up @@ -2236,14 +2236,14 @@ const idclass_t caclient_capmt_class =
{
.type = PT_STR,
.id = "camdfilename",
.name = N_("Camd.socket Filename / IP Address (TCP mode)"),
.name = N_("Camd.socket file name / IP Address (TCP mode)"),
.off = offsetof(capmt_t, capmt_sockfile),
.def.s = "/tmp/camd.socket",
},
{
.type = PT_INT,
.id = "port",
.name = N_("Listen/Connect Port"),
.name = N_("Listen / Connect port"),
.off = offsetof(capmt_t, capmt_port),
.def.i = 9000
},
Expand Down

0 comments on commit 39b6b90

Please sign in to comment.