Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Tooltips: Lots more descriptions and some changes to existing ones.
  • Loading branch information
Mark Clarkstone authored and perexg committed Feb 4, 2016
1 parent b3e0f94 commit 3027405
Show file tree
Hide file tree
Showing 9 changed files with 122 additions and 15 deletions.
43 changes: 43 additions & 0 deletions src/channels.c
Expand Up @@ -350,12 +350,15 @@ const idclass_t channel_class = {
.type = PT_BOOL,
.id = "enabled",
.name = N_("Enabled"),
.desc = N_("Enable/disable the channel."),
.off = offsetof(channel_t, ch_enabled),
},
{
.type = PT_BOOL,
.id = "autoname",
.name = N_("Automatically name from network"),
.desc = N_("Automatically name from network. "
"Always use the name defined by the network."),
.off = offsetof(channel_t, ch_autoname),
.set = channel_class_autoname_set,
.opts = PO_ADVANCED,
Expand All @@ -365,6 +368,8 @@ const idclass_t channel_class = {
.type = PT_STR,
.id = "name",
.name = N_("Name"),
.desc = N_("Name. The name given to/of the channel (This is "
"how it`ll appear in your EPG.)"),
.off = offsetof(channel_t, ch_name),
.set = channel_class_set_name,
.get = channel_class_get_name,
Expand All @@ -375,13 +380,20 @@ const idclass_t channel_class = {
.intsplit = CHANNEL_SPLIT,
.id = "number",
.name = N_("Number"),
.desc = N_("Number. The position the channel will appear on "
"your EPG. This is not used by Tvheadend "
"internally, but rather intended to be used by "
"HTSP clients for mapping to remote control "
"buttons, presentation order, etc."),
.off = offsetof(channel_t, ch_number),
.get = channel_class_get_number,
},
{
.type = PT_STR,
.id = "icon",
.name = N_("User icon"),
.desc = N_("User icon. The URL (or path) to the icon to use/used "
"for the channel."),
.off = offsetof(channel_t, ch_icon),
.notify = channel_class_icon_notify,
.opts = PO_ADVANCED,
Expand All @@ -390,13 +402,20 @@ const idclass_t channel_class = {
.type = PT_STR,
.id = "icon_public_url",
.name = N_("Icon URL"),
.desc = N_("Icon URL. The imagecache path to the icon to use/used "
"for the channel."),
.get = channel_class_get_icon,
.opts = PO_RDONLY | PO_NOSAVE | PO_HIDDEN | PO_EXPERT,
},
{
.type = PT_BOOL,
.id = "epgauto",
.name = N_("Automatically map EPG source"),
.desc = N_("Automatically map EPG source. Automatically link "
"EPG data to the channel (using the channel name "
"for matching). If you turn this option off, only "
"the OTA EPG grabber will be used for this channel "
"unless the EPG Source option is not set manually."),
.off = offsetof(channel_t, ch_epgauto),
.opts = PO_ADVANCED,
},
Expand All @@ -405,6 +424,9 @@ const idclass_t channel_class = {
.islist = 1,
.id = "epggrab",
.name = N_("EPG source"),
.desc = N_("EPG source. Name of the module, grabber or channel "
"that should be used to update this channels "
"EPG info."),
.set = channel_class_epggrab_set,
.get = channel_class_epggrab_get,
.list = channel_class_epggrab_list,
Expand All @@ -414,20 +436,35 @@ const idclass_t channel_class = {
.type = PT_INT,
.id = "dvr_pre_time",
.name = N_("Pre-recording padding"), // TODO: better text?
.desc = N_("Pre-recording padding. Start recording earlier "
"than the EPG/timer defined "
"start time by x minutes, for example if a program "
"is to start at 13:00 and you set a padding of 5 "
"minutes it will start recording at 12:54:30 "
"(including a warming-up time of 30 seconds). If this "
"isn't set the pre-recording padding if set in the "
"DVR entry or DVR profile will be used."),
.off = offsetof(channel_t, ch_dvr_extra_time_pre),
.opts = PO_ADVANCED
},
{
.type = PT_INT,
.id = "dvr_pst_time",
.name = N_("Post-recording padding"), // TODO: better text?
.desc = N_("Post-recording padding. Continue recording for x "
"minutes after scheduled stop time."),
.off = offsetof(channel_t, ch_dvr_extra_time_post),
.opts = PO_ADVANCED
},
{
.type = PT_INT,
.id = "epg_running",
.name = N_("Use EPG running state"),
.desc = N_("Use EPG running state. Use EITp/f to decide "
"event start/stop. This is also known as accurate "
"recording. Note that this can have unexpected "
"results if the broadcaster isn`t very good at "
"time keeping."),
.off = offsetof(channel_t, ch_epg_running),
.list = channel_class_epg_running_list,
.opts = PO_ADVANCED
Expand All @@ -437,6 +474,7 @@ const idclass_t channel_class = {
.islist = 1,
.id = "services",
.name = N_("Services"),
.desc = N_("Services. Services associated with the channel."),
.get = channel_class_services_get,
.set = channel_class_services_set,
.list = channel_class_services_enum,
Expand All @@ -448,6 +486,7 @@ const idclass_t channel_class = {
.islist = 1,
.id = "tags",
.name = N_("Tags"),
.desc = N_("Tags. Tags linked/to link to the channel."),
.get = channel_class_tags_get,
.set = channel_class_tags_set,
.list = channel_tag_class_get_list,
Expand All @@ -457,6 +496,8 @@ const idclass_t channel_class = {
.type = PT_STR,
.id = "bouquet",
.name = N_("Bouquet (auto)"),
.desc = N_("Bouquet (auto). The bouquet the channel is "
"associated with."),
.get = channel_class_bouquet_get,
.set = channel_class_bouquet_set,
.list = bouquet_class_get_list,
Expand All @@ -466,6 +507,8 @@ const idclass_t channel_class = {
.type = PT_STR,
.id = "epg_parent",
.name = N_("Reuse EPG from"),
.name = N_("Reuse EPG from. Reuse the EPG from another "
"channel."),
.set = channel_class_epg_parent_set,
.list = channel_class_get_list,
.off = offsetof(channel_t, ch_epg_parent),
Expand Down
5 changes: 3 additions & 2 deletions src/dvr/dvr_db.c
Expand Up @@ -2841,8 +2841,9 @@ const idclass_t dvr_entry_class = {
.type = PT_TIME,
.id = "start_real",
.name = N_("Scheduled start time"),
.desc = N_("The scheduled start time, including any pre-recording padding "
"and a warm-up time of 30 seconds."),
.desc = N_("The scheduled start time, including any "
"pre-recording padding and a warm-up time of 30 "
"seconds."),
.get = dvr_entry_class_start_real_get,
.opts = PO_RDONLY | PO_NOSAVE,
},
Expand Down
1 change: 1 addition & 0 deletions src/input/mpegts/linuxdvb/linuxdvb_adapter.c
Expand Up @@ -90,6 +90,7 @@ const idclass_t linuxdvb_adapter_class =
.type = PT_STR,
.id = "rootpath",
.name = N_("Device path"),
.desc = N_("Path used by device."),
.opts = PO_RDONLY,
.off = offsetof(linuxdvb_adapter_t, la_rootpath),
},
Expand Down
2 changes: 1 addition & 1 deletion src/input/mpegts/linuxdvb/linuxdvb_ca.c
Expand Up @@ -186,7 +186,7 @@ const idclass_t linuxdvb_ca_class =
.type = PT_BOOL,
.id = "enabled",
.name = N_("Enabled"),
.desc = N_("Enable/disable this device."),
.desc = N_("Enable/disable the device."),
.off = offsetof(linuxdvb_ca_t, lca_enabled),
.notify = linuxdvb_ca_class_enabled_notify,
},
Expand Down
28 changes: 28 additions & 0 deletions src/input/mpegts/linuxdvb/linuxdvb_satconf.c
Expand Up @@ -220,6 +220,9 @@ const idclass_t linuxdvb_satconf_class =
.type = PT_BOOL,
.id = "early_tune",
.name = N_("Tune before DiseqC"),
.desc = N_("One tune request (setup) is sent before the "
"DiseqC sequence (voltage, tone settings). "
"Some linux drivers require this procedure."),
.off = offsetof(linuxdvb_satconf_t, ls_early_tune),
.opts = PO_ADVANCED,
.def.i = 1
Expand All @@ -228,6 +231,12 @@ const idclass_t linuxdvb_satconf_class =
.type = PT_INT,
.id = "diseqc_repeats",
.name = N_("DiseqC repeats"),
.desc = N_("Number of repeats for the DiseqC commands "
"(default is zero - no DiseqC repeats). "
"Note: this represents the number of repeats, not "
"the number of requests - so 0 means 'send once: "
"don't repeat', 1 means 'send twice: send once, "
"then send one repeat', etc."),
.off = offsetof(linuxdvb_satconf_t, ls_diseqc_repeats),
.opts = PO_ADVANCED,
.def.i = 0
Expand All @@ -236,6 +245,11 @@ const idclass_t linuxdvb_satconf_class =
.type = PT_BOOL,
.id = "diseqc_full",
.name = N_("Full DiseqC"),
.desc = N_("Always send the whole DiseqC sequence including "
"LNB setup (voltage, tone). If this is not "
"checked, only changed settings are sent, which "
"may cause issues with some drivers. If the tuning "
"is not reliable, try activating this option."),
.off = offsetof(linuxdvb_satconf_t, ls_diseqc_full),
.opts = PO_ADVANCED,
.def.i = 1
Expand All @@ -244,6 +258,9 @@ const idclass_t linuxdvb_satconf_class =
.type = PT_BOOL,
.id = "lnb_poweroff",
.name = N_("Turn off LNB when idle"),
.desc = N_("Switch off the power to the LNB when idle. Note: "
"this may cause interference with other devices "
"when the LNB is powered back up."),
.off = offsetof(linuxdvb_satconf_t, ls_lnb_poweroff),
.opts = PO_ADVANCED,
.def.i = 1
Expand Down Expand Up @@ -289,6 +306,7 @@ const idclass_t linuxdvb_satconf_2port_class =
.type = PT_STR,
.id = "network_a",
.name = N_("A"),
.desc = N_("Network for port A."),
.islist = 1,
.get = linuxdvb_satconf_class_network_get0,
.set = linuxdvb_satconf_class_network_set0,
Expand All @@ -300,6 +318,7 @@ const idclass_t linuxdvb_satconf_2port_class =
.type = PT_STR,
.id = "network_b",
.name = N_("B"),
.desc = N_("Network for port B."),
.islist = 1,
.get = linuxdvb_satconf_class_network_get1,
.set = linuxdvb_satconf_class_network_set1,
Expand All @@ -324,6 +343,7 @@ const idclass_t linuxdvb_satconf_4port_class =
.type = PT_STR,
.id = "network_aa",
.name = N_("AA"),
.desc = N_("Network for port AA."),
.islist = 1,
.get = linuxdvb_satconf_class_network_get0,
.set = linuxdvb_satconf_class_network_set0,
Expand All @@ -335,6 +355,7 @@ const idclass_t linuxdvb_satconf_4port_class =
.type = PT_STR,
.id = "network_ab",
.name = N_("AB"),
.desc = N_("Network for port AB."),
.islist = 1,
.get = linuxdvb_satconf_class_network_get1,
.set = linuxdvb_satconf_class_network_set1,
Expand All @@ -346,6 +367,7 @@ const idclass_t linuxdvb_satconf_4port_class =
.type = PT_STR,
.id = "network_ba",
.name = N_("BA"),
.desc = N_("Network for port BA."),
.islist = 1,
.get = linuxdvb_satconf_class_network_get2,
.set = linuxdvb_satconf_class_network_set2,
Expand All @@ -357,6 +379,7 @@ const idclass_t linuxdvb_satconf_4port_class =
.type = PT_STR,
.id = "network_bb",
.name = N_("BB"),
.desc = N_("Network for port BB."),
.islist = 1,
.get = linuxdvb_satconf_class_network_get3,
.set = linuxdvb_satconf_class_network_set3,
Expand Down Expand Up @@ -438,6 +461,7 @@ const idclass_t linuxdvb_satconf_en50494_class =
.type = PT_U16,
.id = "id",
.name = N_("SCR (ID)"),
.desc = N_("SCR (Satellite Channel Router) ID."),
.get = linuxdvb_satconf_class_en50494_id_get,
.set = linuxdvb_satconf_class_en50494_id_set,
.list = linuxdvb_en50494_id_list,
Expand All @@ -447,6 +471,7 @@ const idclass_t linuxdvb_satconf_en50494_class =
.type = PT_U16,
.id = "pin",
.name = N_("PIN"),
.desc = N_("PIN."),
.get = linuxdvb_satconf_class_en50494_pin_get,
.set = linuxdvb_satconf_class_en50494_pin_set,
.list = linuxdvb_en50494_pin_list,
Expand All @@ -456,6 +481,7 @@ const idclass_t linuxdvb_satconf_en50494_class =
.type = PT_U16,
.id = "frequency",
.name = N_("Frequency (MHz)"),
.desc = N_("Frequency (in MHz)."),
.get = linuxdvb_satconf_class_en50494_freq_get,
.set = linuxdvb_satconf_class_en50494_freq_set,
.opts = PO_NOSAVE,
Expand All @@ -464,6 +490,7 @@ const idclass_t linuxdvb_satconf_en50494_class =
.type = PT_STR,
.id = "network_a",
.name = N_("Network A"),
.desc = N_("Network for port A."),
.islist = 1,
.get = linuxdvb_satconf_class_network_get0,
.set = linuxdvb_satconf_class_network_set0,
Expand All @@ -475,6 +502,7 @@ const idclass_t linuxdvb_satconf_en50494_class =
.type = PT_STR,
.id = "network_b",
.name = N_("Network B"),
.desc = N_("Network for port B."),
.islist = 1,
.get = linuxdvb_satconf_class_network_get1,
.set = linuxdvb_satconf_class_network_set1,
Expand Down

0 comments on commit 3027405

Please sign in to comment.