Browse Source

Fix some typos

taken from #2287 and #2288
Marc Laporte 10 years ago
parent
commit
cf47ab1770
2 changed files with 6 additions and 6 deletions
  1. 2 2
      src/pdf/pdfcommandlineparser.cc
  2. 4 4
      src/pdf/pdfdocparts.cc

+ 2 - 2
src/pdf/pdfcommandlineparser.cc

@@ -88,7 +88,7 @@ void PdfCommandLineParser::usage(FILE * fd, bool extended) const {
 /*!
   Output the readme/manual
   \param fd The file to output to
-  \param html Do we want the html manaul, or the README
+  \param html Do we want the html manual, or the README
 */
 void PdfCommandLineParser::readme(FILE * fd, bool html) const {
 	Outputter * o = html?Outputter::html(fd):Outputter::text(fd, true);
@@ -204,7 +204,7 @@ void PdfCommandLineParser::parseArguments(int argc, const char ** argv, bool fro
 	}
 
 	if (pageSettings.size() == 0 || argc < 2) {
-		fprintf(stderr, "You need to specify atleast one input file, and exactly one output file\nUse - for stdin or stdout\n\n");
+		fprintf(stderr, "You need to specify at least one input file, and exactly one output file\nUse - for stdin or stdout\n\n");
 		usage(stderr, false);
 		exit(1);
 	}

+ 4 - 4
src/pdf/pdfdocparts.cc

@@ -124,7 +124,7 @@ void PdfCommandLineParser::outputNotPatched(Outputter * o, bool sure) const {
 
 	o->paragraph("Currently the list of features only supported with patch QT includes:");
 	o->beginList();
-	o->listItem("Printing more then one HTML document into a PDF file.");
+	o->listItem("Printing more than one HTML document into a PDF file.");
 	o->listItem("Running without an X11 server.");
 	o->listItem("Adding a document outline to the PDF file.");
 	o->listItem("Adding headers and footers to the PDF file.");
@@ -144,9 +144,9 @@ void PdfCommandLineParser::outputPageBreakDoc(Outputter * o) const {
 	o->beginSection("Page Breaking");
 	o->paragraph(
 		"The current page breaking algorithm of WebKit leaves much to be desired. "
-		"Basically webkit will render everything into one long page, and then cut it up "
+		"Basically Webkit will render everything into one long page, and then cut it up "
 		"into pages. This means that if you have two columns of text where one is "
-		"vertically shifted by half a line. Then webkit will cut a line into to pieces "
+		"vertically shifted by half a line. Then Webkit will cut a line into to pieces "
 		"display the top half on one page. And the bottom half on another page. "
 		"It will also break image in two and so on.  If you are using the patched version of "
 		"QT you can use the CSS page-break-inside property to remedy this somewhat. "
@@ -325,7 +325,7 @@ void PdfCommandLineParser::outputInstallation(Outputter * o) const {
 		"There are several ways to install wkhtmltopdf.  You can download a "
 		"already compiled binary, or you can compile wkhtmltopdf yourself. "
 		"On windows the easiest way to install wkhtmltopdf is to download "
-		"the latest installer. On linux you can download the latest static "
+		"the latest installer. On Linux you can download the latest static "
 		"binary, however you still need to install some other pieces of "
 		"software, to learn more about this read the static version section "
 		"of the manual.");