Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Tooltips: Some more tooltips and a few changes to the others..
  • Loading branch information
Mark Clarkstone authored and perexg committed Feb 4, 2016
1 parent b614339 commit b3e0f94
Show file tree
Hide file tree
Showing 11 changed files with 88 additions and 26 deletions.
4 changes: 2 additions & 2 deletions src/dvr/dvr_autorec.c
Expand Up @@ -1015,8 +1015,8 @@ const idclass_t dvr_autorec_entry_class = {
.type = PT_STR,
.id = "title",
.name = N_("Title (regexp)"),
.desc = N_("The title of the programme to look for. Note that "
"this accepts case- insensitive regular expressions."),
.desc = N_("The title of the program to look for. Note that "
"this accepts case-insensitive regular expressions."),
.set = dvr_autorec_entry_class_title_set,
.off = offsetof(dvr_autorec_entry_t, dae_title),
},
Expand Down
6 changes: 3 additions & 3 deletions src/dvr/dvr_config.c
Expand Up @@ -868,7 +868,7 @@ const idclass_t dvr_config_class = {
.type = PT_INT,
.id = "cache",
.name = N_("Cache scheme"),
.desc = N_("Select the cache scheme used to store recordings. "
.desc = N_("The cache scheme to use/used to store recordings. "
"Leave as “system” unless you have a special use "
"case for one of the others. See Help for details."),
.off = offsetof(dvr_config_t, dvr_muxcnf.m_cache),
Expand Down Expand Up @@ -903,7 +903,7 @@ const idclass_t dvr_config_class = {
.id = "clone",
.name = N_("Clone scheduled entry on error"),
.desc = N_("If an error occurs clone the scheduled entry and "
"try to record again if possible."),
"try to record again (if possible)."),
.off = offsetof(dvr_config_t, dvr_clone),
.opts = PO_ADVANCED,
.def.u32 = 1,
Expand All @@ -914,7 +914,7 @@ const idclass_t dvr_config_class = {
.id = "rerecord-errors",
.name = N_("Schedule a re-recording if more errors than (0=off)"),
.desc = N_("If more than x errors occur during a recording "
"schedule a re-record if possible."),
"schedule a re-record (if possible)."),
.off = offsetof(dvr_config_t, dvr_rerecord_errors),
.opts = PO_ADVANCED,
.group = 1,
Expand Down
2 changes: 1 addition & 1 deletion src/dvr/dvr_timerec.c
Expand Up @@ -633,7 +633,7 @@ const idclass_t dvr_timerec_entry_class = {
.type = PT_U32,
.id = "removal",
.name = N_("DVR file retention period"),
.desc = N_("Number of days to keep the file."),
.desc = N_("Number of days to keep the recorded file."),
.def.i = DVR_RET_DVRCONFIG,
.off = offsetof(dvr_timerec_entry_t, dte_removal),
.list = dvr_entry_class_removal_list,
Expand Down
6 changes: 3 additions & 3 deletions src/epggrab/channel.c
Expand Up @@ -670,15 +670,15 @@ const idclass_t epggrab_channel_class = {
.type = PT_BOOL,
.id = "enabled",
.name = N_("Enabled"),
.desc = N_("Enable/disable using this EPG data."),
.desc = N_("Enable/disable EPG data for the entry."),
.off = offsetof(epggrab_channel_t, enabled),
.group = 1
},
{
.type = PT_STR,
.id = "modid",
.name = N_("Module ID"),
.desc = N_("Module ID used to grab this EPG data."),
.desc = N_("Module ID used to grab EPG data."),
.get = epggrab_channel_class_modid_get,
.set = epggrab_channel_class_modid_set,
.opts = PO_RDONLY | PO_HIDDEN,
Expand All @@ -688,7 +688,7 @@ const idclass_t epggrab_channel_class = {
.type = PT_STR,
.id = "module",
.name = N_("Module"),
.desc = N_("Name of the module used to grab this EPG data."),
.desc = N_("Name of the module used to grab EPG data."),
.get = epggrab_channel_class_module_get,
.opts = PO_RDONLY | PO_NOSAVE,
.group = 1
Expand Down
10 changes: 10 additions & 0 deletions src/input/mpegts/linuxdvb/linuxdvb_ca.c
Expand Up @@ -186,27 +186,31 @@ const idclass_t linuxdvb_ca_class =
.type = PT_BOOL,
.id = "enabled",
.name = N_("Enabled"),
.desc = N_("Enable/disable this device."),
.off = offsetof(linuxdvb_ca_t, lca_enabled),
.notify = linuxdvb_ca_class_enabled_notify,
},
{
.type = PT_BOOL,
.id = "high_bitrate_mode",
.name = N_("High bitrate mode (CI+ CAMs only)"),
.name = N_("Allow high bitrate mode."),
.off = offsetof(linuxdvb_ca_t, lca_high_bitrate_mode),
.notify = linuxdvb_ca_class_high_bitrate_notify,
},
{
.type = PT_BOOL,
.id = "pin_reply",
.name = N_("Reply to CAM PIN inquiries"),
.desc = N_("Reply to PIN inquiries."),
.off = offsetof(linuxdvb_ca_t, lca_pin_reply),
.opts = PO_ADVANCED,
},
{
.type = PT_STR,
.id = "pin",
.name = N_("PIN"),
.desc = N_("The PIN to use."),
.off = offsetof(linuxdvb_ca_t, lca_pin_str),
.opts = PO_ADVANCED | PO_PASSWORD,
.def.s = "1234",
Expand All @@ -215,6 +219,7 @@ const idclass_t linuxdvb_ca_class =
.type = PT_STR,
.id = "pin_match",
.name = N_("PIN inquiry match string"),
.desc = N_("PIN inquiry match string.")
.off = offsetof(linuxdvb_ca_t, lca_pin_match_str),
.opts = PO_ADVANCED,
.def.s = "PIN",
Expand All @@ -223,6 +228,7 @@ const idclass_t linuxdvb_ca_class =
.type = PT_INT,
.id = "capmt_interval",
.name = N_("CAPMT interval (ms)"),
.desc = N_("CAPMT interval (in ms)."),
.off = offsetof(linuxdvb_ca_t, lca_capmt_interval),
.opts = PO_ADVANCED,
.def.i = 100,
Expand All @@ -231,6 +237,7 @@ const idclass_t linuxdvb_ca_class =
.type = PT_INT,
.id = "capmt_query_interval",
.name = N_("CAPMT query interval (ms)"),
.desc = N_("CAPMT query interval (ms)."),
.off = offsetof(linuxdvb_ca_t, lca_capmt_query_interval),
.opts = PO_ADVANCED,
.def.i = 1200,
Expand All @@ -239,20 +246,23 @@ const idclass_t linuxdvb_ca_class =
.type = PT_BOOL,
.id = "query_before_ok_descrambling",
.name = N_("Send CAPMT query"),
.desc = N_("Send CAPMT OK query before descrambling."),
.off = offsetof(linuxdvb_ca_t, lca_capmt_query),
.opts = PO_ADVANCED,
},
{
.type = PT_STR,
.id = "ca_path",
.name = N_("Device path"),
.desc = N_("Path used by the device."),
.opts = PO_RDONLY | PO_NOSAVE,
.off = offsetof(linuxdvb_ca_t, lca_ca_path),
},
{
.type = PT_STR,
.id = "slot_state",
.name = N_("Slot state"),
.desc = N_("The CAM slot status."),
.opts = PO_RDONLY | PO_NOSAVE,
.off = offsetof(linuxdvb_ca_t, lca_state_str),
},
Expand Down
54 changes: 53 additions & 1 deletion src/input/mpegts/linuxdvb/linuxdvb_frontend.c
Expand Up @@ -62,34 +62,39 @@ const idclass_t linuxdvb_frontend_class =
.type = PT_STR,
.id = "fe_path",
.name = N_("Frontend path"),
.desc = N_("Path to the frontend used by the device."),
.opts = PO_RDONLY | PO_NOSAVE,
.off = offsetof(linuxdvb_frontend_t, lfe_fe_path),
},
{
.type = PT_STR,
.id = "dvr_path",
.name = N_("Input path"),
.desc = N_("The input path used by the device."),
.opts = PO_RDONLY | PO_NOSAVE,
.off = offsetof(linuxdvb_frontend_t, lfe_dvr_path),
},
{
.type = PT_STR,
.id = "dmx_path",
.name = N_("Demux path"),
.desc = N_("The demux path used by the device."),
.opts = PO_RDONLY | PO_NOSAVE,
.off = offsetof(linuxdvb_frontend_t, lfe_dmx_path),
},
{
.type = PT_INT,
.id = "fe_number",
.name = N_("Frontend number"),
.desc = N_("The frontend number given to the device."),
.opts = PO_RDONLY | PO_NOSAVE,
.off = offsetof(linuxdvb_frontend_t, lfe_number),
},
{
.type = PT_INT,
.id = "pids_max",
.name = N_("Maximum PIDs"),
.desc = N_("The frontend number given to the device."),
.off = offsetof(linuxdvb_frontend_t, lfe_pids_max),
.opts = PO_ADVANCED,
.def.i = 32
Expand All @@ -98,40 +103,67 @@ const idclass_t linuxdvb_frontend_class =
.type = PT_BOOL,
.id = "powersave",
.name = N_("Power save"),
.desc = N_("Enable/disable power save mode (if supported by "
"the device)."),
.off = offsetof(linuxdvb_frontend_t, lfe_powersave),
},
{
.type = PT_U32,
.id = "tune_repeats",
.name = N_("# tune repeats"),
.desc = N_("Number of repeats for the tune requests (default is "
"zero - no 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."),
.opts = PO_ADVANCED,
.off = offsetof(linuxdvb_frontend_t, lfe_tune_repeats),
},
{
.type = PT_U32,
.id = "skip_bytes",
.name = N_("Skip initial bytes"),
.desc = N_("If set, the first bytes from the MPEG-TS stream "
"are discarded. It may be required for some "
"drivers or hardware which do not flush the MPEG-TS "
"buffers completely after a frequency/parameter change."),
.opts = PO_ADVANCED,
.off = offsetof(linuxdvb_frontend_t, lfe_skip_bytes),
},
{
.type = PT_U32,
.id = "ibuf_size",
.name = N_("Input buffer (bytes)"),
.desc = N_("The number of bytes to buffer. By default, "
"linuxdvb's input buffer is 18800 bytes long. The "
"accepted range is 18800-1880000 bytes."),
.opts = PO_ADVANCED,
.off = offsetof(linuxdvb_frontend_t, lfe_ibuf_size),
},
{
.type = PT_U32,
.id = "status_period",
.name = N_("Status period (ms)"),
.desc = N_("By default, linuxdvb's status read period is "
"1000ms (one second). The accepted range is 250ms "
"to 8000ms. Note that for some hardware or drivers "
"(like USB), the status operations take too much "
"time and CPU. In this case, increase the default "
"value. For fast hardware, this value might be "
"decreased to make the decision of the re-tune "
"algorithm based on the signal status faster."),
.opts = PO_ADVANCED,
.off = offsetof(linuxdvb_frontend_t, lfe_status_period),
},
{
.type = PT_BOOL,
.id = "old_status",
.name = N_("Force old status"),
.desc = N_("Always use the old ioctls to read the linuxdvb "
"status (signal strength, SNR, error counters). "
"Some drivers are not mature enough to provide the "
"correct values using the new v5 linuxdvb API."),
.opts = PO_ADVANCED,
.off = offsetof(linuxdvb_frontend_t, lfe_old_status),
},
Expand All @@ -149,6 +181,7 @@ const idclass_t linuxdvb_frontend_dvbt_class =
.type = PT_BOOL,
.id = "lna",
.name = N_("LNA (low noise amplifier)"),
.desc = N_("Enable/disable LNA."),
.off = offsetof(linuxdvb_frontend_t, lfe_lna),
},
{}
Expand Down Expand Up @@ -230,7 +263,8 @@ const idclass_t linuxdvb_frontend_dvbs_class =
{
.type = PT_STR,
.id = "satconf",
.name = N_("SatConfig"),
.name = N_("Satellite config"),
.desc = N_("The satellite configuration to use."),
.opts = PO_NOSAVE,
.set = linuxdvb_frontend_dvbs_class_satconf_set,
.get = linuxdvb_frontend_dvbs_class_satconf_get,
Expand All @@ -241,6 +275,15 @@ const idclass_t linuxdvb_frontend_dvbs_class =
.type = PT_STR,
.id = "fe_master",
.name = N_("Master tuner"),
.desc = N_("The signal from the standard universal LNB can be "
"split using a simple coaxial splitter "
"(no multiswitch) to several outputs. In this "
"case, the position, the polarization and low-high "
"band settings must be equal. If you set another "
"tuner as master, then this tuner will act as "
"a slave and tvheadend will assure that this tuner "
"will not use incompatible parameters (position, "
"polarization, lo-hi)."),
.list = linuxdvb_frontend_dvbs_class_master_enum,
.off = offsetof(linuxdvb_frontend_t, lfe_master),
},
Expand All @@ -262,6 +305,15 @@ const idclass_t linuxdvb_frontend_dvbs_slave_class =
.type = PT_STR,
.id = "fe_master",
.name = N_("Master tuner"),
.desc = N_("The signal from the standard universal LNB can be "
"split using a simple coaxial splitter "
"(no multiswitch) to several outputs. In this "
"case, the position, the polarization and low-high "
"band settings must be equal. If you set another "
"tuner as master, then this tuner will act as "
"a slave and tvheadend will assure that this tuner "
"will not use incompatible parameters (position, "
"polarization, lo-hi)."),
.list = linuxdvb_frontend_dvbs_class_master_enum,
.off = offsetof(linuxdvb_frontend_t, lfe_master),
},
Expand Down
4 changes: 2 additions & 2 deletions src/input/mpegts/mpegts_input.c
Expand Up @@ -297,9 +297,9 @@ const idclass_t mpegts_input_class =
.type = PT_U32,
.id = "free_weight",
.name = N_("Free subscription weight"),
.desc = N_("If the subscription weight for this input is below "
.desc = N_("If the subscription weight for the input is below "
"the specified threshold, the tuner is handled as free "
"(according the priority settings). Otherwise, a next "
"(according the priority settings). Otherwise, the next "
"tuner (without any subscriptions) is used. Set this value "
"to 10, if you are willing to override scan and epggrab "
"subscriptions."),
Expand Down
14 changes: 7 additions & 7 deletions src/input/mpegts/mpegts_mux.c
Expand Up @@ -495,7 +495,7 @@ const idclass_t mpegts_mux_class =
.type = PT_BOOL,
.id = "enabled",
.name = N_("Enabled"),
.desc = N_("Enable or disable this mux."),
.desc = N_("Enable or disable the mux."),
.off = offsetof(mpegts_mux_t, mm_enabled),
.def.i = 1,
.notify = mpegts_mux_class_enabled_notify,
Expand All @@ -504,7 +504,7 @@ const idclass_t mpegts_mux_class =
.type = PT_INT,
.id = "epg",
.name = N_("EPG scan"),
.desc = N_("Select the EPG grabber to use on this mux. "
.desc = N_("The EPG grabber to use on the mux. "
"Enable (auto) is the recommended value."),
.off = offsetof(mpegts_mux_t, mm_epg),
.def.i = MM_EPG_ENABLE,
Expand All @@ -514,23 +514,23 @@ const idclass_t mpegts_mux_class =
.type = PT_STR,
.id = "network",
.name = N_("Network"),
.desc = N_("The network this mux is on."),
.desc = N_("The network the mux is on."),
.opts = PO_RDONLY | PO_NOSAVE,
.get = mpegts_mux_class_get_network,
},
{
.type = PT_STR,
.id = "network_uuid",
.name = N_("Network UUID"),
.desc = N_("The networks universally unique identifier (UUID)."),
.desc = N_("The networks' universally unique identifier (UUID)."),
.opts = PO_RDONLY | PO_NOSAVE | PO_HIDDEN | PO_EXPERT,
.get = mpegts_mux_class_get_network_uuid,
},
{
.type = PT_STR,
.id = "name",
.name = N_("Name"),
.desc = N_("The name (or freq) this mux is on."),
.desc = N_("The name (or freq) the mux is on."),
.opts = PO_RDONLY | PO_NOSAVE,
.get = mpegts_mux_class_get_name,
},
Expand Down Expand Up @@ -611,7 +611,7 @@ const idclass_t mpegts_mux_class =
.type = PT_INT,
.id = "num_chn",
.name = N_("# Channels"),
.desc = N_("The number of services on this mux that are "
.desc = N_("The number of services on the mux that are "
"mapped to channels."),
.opts = PO_RDONLY | PO_NOSAVE,
.get = mpegts_mux_class_get_num_chn,
Expand All @@ -620,7 +620,7 @@ const idclass_t mpegts_mux_class =
.type = PT_INT,
.id = "pmt_06_ac3",
.name = N_("AC-3 detection"),
.desc = N_("Use AC-3 detection on this mux."),
.desc = N_("Use AC-3 detection on the mux."),
.off = offsetof(mpegts_mux_t, mm_pmt_ac3),
.def.i = MM_AC3_STANDARD,
.list = mpegts_mux_ac3_list,
Expand Down

0 comments on commit b3e0f94

Please sign in to comment.