0
0
mirror of https://github.com/rkd77/elinks.git synced 2025-06-30 22:19:29 -04:00

Minor fixes and improvements to option strings

This syncs some changes (ie. -> e.g. etc.) from elinks-0.12 or beyond.
I noticed them while updating the web pages, and apologize that I will
not spent the time to attribute it to the individual commits.

(cherry picked from commit 2bfc7b37241b88816cb0454399ec615b8511680a,
 omitting generated files)
This commit is contained in:
Jonas Fonseca 2008-03-03 03:03:11 +01:00 committed by Kalle Olavi Niemitalo
parent 34a18bd597
commit e04b420897
2 changed files with 9 additions and 9 deletions

View File

@ -195,11 +195,11 @@ static struct option_info http_options[] = {
"a standard for new textmode user agents, so that the webmasters can\n" "a standard for new textmode user agents, so that the webmasters can\n"
"have just a single uniform test for these if they are e.g. pushing\n" "have just a single uniform test for these if they are e.g. pushing\n"
"some lite version to them automagically.\n" "some lite version to them automagically.\n"
"%v in the string means ELinks version\n" "Use \" \" if you don't want any User-Agent header to be sent at all.\n"
"%s in the string means system identification\n" "%v in the string means ELinks version,\n"
"%t in the string means size of the terminal\n" "%s in the string means system identification,\n"
"%b in the string means number of bars displayed by ELinks\n" "%t in the string means size of the terminal,\n"
"Use \" \" if you don't want any User-Agent header to be sent at all.")), "%b in the string means number of bars displayed by ELinks.")),
INIT_OPT_TREE("protocol", N_("HTTPS"), INIT_OPT_TREE("protocol", N_("HTTPS"),

View File

@ -98,10 +98,10 @@ static struct option_info uri_rewrite_options[] = {
"(i.e. contains no '.', ':' or '/' characters), and does\n" "(i.e. contains no '.', ':' or '/' characters), and does\n"
"not match any defined prefixes. Set the value to \"\" to\n" "not match any defined prefixes. Set the value to \"\" to\n"
"disable use of the default template rewrite rule.\n" "disable use of the default template rewrite rule.\n"
"%c in the template means the current URL\n" "%c in the template means the current URL,\n"
"%s in the template means the whole string from the goto dialog\n" "%s in the template means the whole string from the goto dialog,\n"
"%0,%1,...,%9 mean the 1st,2nd,...,10th space-delimited part of %s\n" "%0,%1,...,%9 mean the 1st,2nd,...,10th space-delimited part of %s,\n"
"%% in the template means '%'")), "%% in the template means '%'.")),
#define INIT_OPT_DUMB_PREFIX(prefix, uri) \ #define INIT_OPT_DUMB_PREFIX(prefix, uri) \
INIT_OPT_STRING("protocol.rewrite.dumb", NULL, prefix, 0, uri, NULL) INIT_OPT_STRING("protocol.rewrite.dumb", NULL, prefix, 0, uri, NULL)