Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
A few more tooltips..
  • Loading branch information
Mark Clarkstone authored and perexg committed Dec 5, 2015
1 parent 21fe78d commit 130c903
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/config.c
Expand Up @@ -2134,6 +2134,8 @@ const idclass_t config_class = {
.type = PT_BOOL,
.id = "prefer_picon",
.name = N_("Prefer picons over channel name"),
.desc = N_("If both a picon and a channel-specific "
"(e.g. channelname.jpg) icon are defined, use the picon."),
.off = offsetof(config_t, prefer_picon),
.opts = PO_ADVANCED,
.group = 6,
Expand All @@ -2142,6 +2144,10 @@ const idclass_t config_class = {
.type = PT_STR,
.id = "chiconpath",
.name = N_("Channel icon path (see Help)"),
.desc = N_("Path to an icon for this channel. This can be "
"named however you wish, as either a local "
"(file://) or remote (http://) image. "
"See Help for more infomation."),
.off = offsetof(config_t, chicon_path),
.opts = PO_ADVANCED,
.group = 6,
Expand All @@ -2150,6 +2156,7 @@ const idclass_t config_class = {
.type = PT_BOOL,
.id = "chiconlowercase",
.name = N_("Channel icon name lower-case"),
.desc = N_("Use icons with lower-case filenames only."),
.off = offsetof(config_t, chicon_lowercase),
.opts = PO_ADVANCED,
.group = 6,
Expand All @@ -2158,6 +2165,9 @@ const idclass_t config_class = {
.type = PT_STR,
.id = "piconpath",
.name = N_("Picon path (see Help)"),
.desc = N_("Path to a directory (folder) containing your picon "
"collection. See Help for more detailed "
"information."),
.off = offsetof(config_t, picon_path),
.opts = PO_ADVANCED,
.group = 6,
Expand Down
10 changes: 10 additions & 0 deletions src/imagecache.c
Expand Up @@ -82,24 +82,34 @@ const idclass_t imagecache_class = {
.type = PT_BOOL,
.id = "enabled",
.name = N_("Enabled"),
.desc = N_("Select whether or not to enable caching. Note: "
"even with this disabled you can still specify "
"local (file://) icons and these will be served by "
"the built-in webserver."),
.off = offsetof(struct imagecache_config, enabled),
},
{
.type = PT_BOOL,
.id = "ignore_sslcert",
.name = N_("Ignore invalid SSL certificate"),
.desc = N_("Ignore invalid/unverifiable (expired, "
"self-certified, etc.) certificates"),
.off = offsetof(struct imagecache_config, ignore_sslcert),
},
{
.type = PT_U32,
.id = "ok_period",
.name = N_("Re-fetch period (hours)"),
.desc = N_("How frequently the upstream provider is checked "
"for changes."),
.off = offsetof(struct imagecache_config, ok_period),
},
{
.type = PT_U32,
.id = "fail_period",
.name = N_("Re-try period (hours)"),
.desc = N_("How frequently it will re-try fetching an image "
"that has failed to be fetched."),
.off = offsetof(struct imagecache_config, fail_period),
},
{}
Expand Down

0 comments on commit 130c903

Please sign in to comment.