Browse Source

Fixes minor typos from issue #2529 in help text. (#3965)

Fixes minor typos in help text.
Tomsgu 7 years ago
parent
commit
4f1b79df10
2 changed files with 7 additions and 7 deletions
  1. 3 3
      src/pdf/pdfarguments.cc
  2. 4 4
      src/pdf/pdfdocparts.cc

+ 3 - 3
src/pdf/pdfarguments.cc

@@ -242,8 +242,8 @@ PdfCommandLineParser::PdfCommandLineParser(PdfGlobal & s, QList<PdfObject> & ps)
 	addarg("include-in-outline", 0, "Include the page in the table of contents and outlines", new ConstSetter<bool>(od.includeInOutline, true));
 	addarg("exclude-from-outline", 0, "Do not include the page in the table of contents and outlines", new ConstSetter<bool>(od.includeInOutline, false));
 
-	addarg("disable-smart-shrinking", 0, "Disable the intelligent shrinking strategy used by WebKit that makes the pixel/dpi ratio none constant",new ConstSetter<bool>(od.web.enableIntelligentShrinking, false));
- 	addarg("enable-smart-shrinking", 0, "Enable the intelligent shrinking strategy used by WebKit that makes the pixel/dpi ratio none constant",new ConstSetter<bool>(od.web.enableIntelligentShrinking, true));
+	addarg("disable-smart-shrinking", 0, "Disable the intelligent shrinking strategy used by WebKit that makes the pixel/dpi ratio non-constant",new ConstSetter<bool>(od.web.enableIntelligentShrinking, false));
+ 	addarg("enable-smart-shrinking", 0, "Enable the intelligent shrinking strategy used by WebKit that makes the pixel/dpi ratio non-constant",new ConstSetter<bool>(od.web.enableIntelligentShrinking, true));
 
 	extended(false);
  	qthack(true);
@@ -295,7 +295,7 @@ PdfCommandLineParser::PdfCommandLineParser(PdfGlobal & s, QList<PdfObject> & ps)
 	mode(toc);
  	extended(true);
  	qthack(true);
- 	addarg("xsl-style-sheet",0,"Use the supplied xsl style sheet for printing the table of content", new QStrSetter(od.tocXsl,"file"));
+ 	addarg("xsl-style-sheet",0,"Use the supplied xsl style sheet for printing the table of contents", new QStrSetter(od.tocXsl,"file"));
 
 	addarg("toc-header-text",0,"The header text of the toc", new QStrSetter(od.toc.captionText, "text"));
 	addarg("disable-toc-links",0,"Do not link from toc to sections", new ConstSetter<bool>(od.toc.forwardLinks, false));

+ 4 - 4
src/pdf/pdfdocparts.cc

@@ -51,7 +51,7 @@ void PdfCommandLineParser::outputSynopsis(Outputter * o) const {
 			"the output document in the order they are specified on the command line, options can "
 			"be specified on a per object basis or in the global options area. Options from the ");
 	o->sectionLink("Global Options");
-	o->text(" section can only be placed in the global options area");
+	o->text(" section can only be placed in the global options area.");
 	o->endParagraph();
 
 	o->paragraph("A page objects puts the content of a single webpage into the output document.");
@@ -180,7 +180,7 @@ void PdfCommandLineParser::outputHeaderFooterDoc(Outputter * o) const {
 " * [sitepage]   Replaced by the number of the page in the current site being converted\n"
 " * [sitepages]  Replaced by the number of pages in the current site being converted\n"
 "\n");
-	o->paragraph("As an example specifying --header-right \"Page [page] of [toPage]\", "
+	o->paragraph("As an example specifying --header-right \"Page [page] of [topage]\", "
 				 "will result in the text \"Page x of y\" where x is the number of the "
 				 "current page and y is the number of the last page, to appear in the upper "
 				 "left corner in the document.");
@@ -350,8 +350,8 @@ void PdfCommandLineParser::outputInstallation(Outputter * o) const {
 void PdfCommandLineParser::outputPageSizes(Outputter * o) const {
 	o->beginSection("Page sizes");
 	o->beginParagraph();
-	o->text("The default page size of the rendered document is A4, but using this --page-size option"
-			"this can be changed to almost anything else, such as: A3, Letter and Legal.  "
+	o->text("The default page size of the rendered document is A4, but by using the --page-size "
+			"option this can be changed to almost anything else, such as: A3, Letter and Legal.  "
 			"For a full list of supported pages sizes please see ");
 	o->link("http://qt-project.org/doc/qt-4.8/qprinter.html#PaperSize-enum");
 	o->text(".");