From dbab898f3873987f1c6b9e042d43a169c698ffc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D8=A3=D8=AD=D9=85=D8=AF=20=D8=A7=D9=84=D9=85=D8=AD=D9=85?= =?UTF-8?q?=D9=88=D8=AF=D9=8A=20=28Ahmed=20El-Mahmoudy=29?= Date: Mon, 14 Jan 2019 04:51:10 +0100 Subject: [PATCH] Fix spelling mistakes --- doc/man/man5/elinks.conf.5 | 4 ++-- src/config/options.inc | 4 ++-- src/document/html/parser/general.c | 2 +- src/mime/backend/mailcap.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/man/man5/elinks.conf.5 b/doc/man/man5/elinks.conf.5 index f6c54d44..eb75a8de 100644 --- a/doc/man/man5/elinks.conf.5 +++ b/doc/man/man5/elinks.conf.5 @@ -694,7 +694,7 @@ Format cache options\&. .PP document\&.cache\&.format\&.size \fB\fR (default: 5) .RS 4 -Number of cached formatted pages\&. Do not get too generous here, \'formatted\' means that all the accompanying structures are kept in memory so that you get the cached document immediatelly, but these structures may take a lot \(en 2x the size of the HTML source is probably not unusual, but it can be even more if the document consists of a lot of short lines (padded right, if possible) and links and not much other markup\&. So if you set this to 256 and then you don\'t like your +Number of cached formatted pages\&. Do not get too generous here, \'formatted\' means that all the accompanying structures are kept in memory so that you get the cached document immediately, but these structures may take a lot \(en 2x the size of the HTML source is probably not unusual, but it can be even more if the document consists of a lot of short lines (padded right, if possible) and links and not much other markup\&. So if you set this to 256 and then you don\'t like your ELinks eating 90M, don\'t come complaining to us\&. ;\-) .sp @@ -1030,7 +1030,7 @@ Underline links\&. .PP document\&.html\&.wrap_nbsp \fB[0|1]\fR (default: 0) .RS 4 -If set do not honour non breaking space (the nbsp entity) but allow to wrap the text\&. This can help keeping the width of documents down so no horizontal scrolling is needed\&. +If set do not honour non breaking space (the nbsp entity) but allows one to wrap the text\&. This can help keeping the width of documents down so no horizontal scrolling is needed\&. .RE .SS "document\&.plain (Plain rendering)" Options concerning the display of plain text pages\&. diff --git a/src/config/options.inc b/src/config/options.inc index f2b26a82..c7e331f0 100644 --- a/src/config/options.inc +++ b/src/config/options.inc @@ -557,7 +557,7 @@ static union option_info config_options_info[] = { N_("Number of cached formatted pages. Do not get too " "generous here, 'formatted' means that all the accompanying " "structures are kept in memory so that you get the cached " - "document immediatelly, but these structures may take a lot " + "document immediately, but these structures may take a lot " "- 2x the size of the HTML source is probably not unusual, " "but it can be even more if the document consists of a lot " "of short lines (padded right, if possible) and links and " @@ -819,7 +819,7 @@ static union option_info config_options_info[] = { INIT_OPT_BOOL("document.html", N_("Wrap non breaking space"), "wrap_nbsp", 0, 0, N_("If set do not honour non breaking space (the nbsp entity) " - "but allow to wrap the text. This can help keeping the width " + "but allows one to wrap the text. This can help keeping the width " "of documents down so no horizontal scrolling is needed.")), diff --git a/src/document/html/parser/general.c b/src/document/html/parser/general.c index 0bc8d59e..581d1f53 100644 --- a/src/document/html/parser/general.c +++ b/src/document/html/parser/general.c @@ -845,7 +845,7 @@ roman(struct string *p, unsigned n) } i++; assertm(!(n && !roman_tbl[i].n), - "BUG in roman number convertor"); + "BUG in roman number converter"); if_assert_failed break; } } diff --git a/src/mime/backend/mailcap.c b/src/mime/backend/mailcap.c index 4e7a9224..c6689da8 100644 --- a/src/mime/backend/mailcap.c +++ b/src/mime/backend/mailcap.c @@ -354,7 +354,7 @@ parse_mailcap_file(unsigned char *filename, unsigned int priority) if (!parse_optional_fields(entry, linepos)) { done_mailcap_entry(entry); - usrerror(gettext("Badly formated mailcap entry " + usrerror(gettext("Badly formatted mailcap entry " "for type %s in \"%s\" line %d"), type, filename, lineno); continue;