1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05: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 2bfc7b3724,
 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"
"have just a single uniform test for these if they are e.g. pushing\n"
"some lite version to them automagically.\n"
"%v in the string means ELinks version\n"
"%s in the string means system identification\n"
"%t in the string means size of the terminal\n"
"%b in the string means number of bars displayed by ELinks\n"
"Use \" \" if you don't want any User-Agent header to be sent at all.")),
"Use \" \" if you don't want any User-Agent header to be sent at all.\n"
"%v in the string means ELinks version,\n"
"%s in the string means system identification,\n"
"%t in the string means size of the terminal,\n"
"%b in the string means number of bars displayed by ELinks.")),
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"
"not match any defined prefixes. Set the value to \"\" to\n"
"disable use of the default template rewrite rule.\n"
"%c in the template means the current URL\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"
"%% in the template means '%'")),
"%c in the template means the current URL,\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"
"%% in the template means '%'.")),
#define INIT_OPT_DUMB_PREFIX(prefix, uri) \
INIT_OPT_STRING("protocol.rewrite.dumb", NULL, prefix, 0, uri, NULL)