浏览代码

Adding final -s to "table of contents"

Not all occurrences had the correct form.
John Muccigrosso 8 年之前
父节点
当前提交
884638ee41
共有 1 个文件被更改,包括 9 次插入9 次删除
  1. 9 9
      src/pdf/pdfdocparts.cc

+ 9 - 9
src/pdf/pdfdocparts.cc

@@ -47,7 +47,7 @@ void PdfCommandLineParser::outputSynopsis(Outputter * o) const {
 	o->beginSection("Document objects");
 	o->beginParagraph();
 	o->text("wkhtmltopdf is able to put several objects into the output file, an object is either "
-			"a single webpage, a cover webpage or a table of content.  The objects are put into "
+			"a single webpage, a cover webpage or a table of contents.  The objects are put into "
 			"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");
@@ -66,17 +66,17 @@ void PdfCommandLineParser::outputSynopsis(Outputter * o) const {
 	o->endParagraph();
 
 	o->paragraph("A cover objects puts the content of a single webpage into the output document, "
-				 "the page does not appear in the table of content, and does not have headers and footers.");
+				 "the page does not appear in the table of contents, and does not have headers and footers.");
 	o->verbatim("cover <input url/file name> [PAGE OPTION]...");
 	o->paragraph("All options that can be specified for a page object can also be specified for a cover.");
 
-	o->paragraph("A table of content object inserts a table of content into the output document.");
+	o->paragraph("A table of contents object inserts a table of contents into the output document.");
 	o->verbatim("toc [TOC OPTION]...");
 	o->beginParagraph();
 	o->text("All options that can be specified for a page object can also be specified for a toc, "
 			"further more the options from the ");
 	o->sectionLink("TOC Options");
-	o->text(" section can also be applied. The table of content is generated via XSLT which means "
+	o->text(" section can also be applied. The table of contents is generated via XSLT which means "
 			"that it can be styled to look however you want it to look. To get an aide of how to "
 			"do this you can dump the default xslt document by supplying the --dump-default-toc-xsl, and the outline it works on by supplying --dump-outline, see the ");
 	o->sectionLink("Outline Options");
@@ -225,11 +225,11 @@ void PdfCommandLineParser::outputHeaderFooterDoc(Outputter * o) const {
 }
 
 void PdfCommandLineParser::outputTableOfContentDoc(Outputter * o) const {
-	o->beginSection("Table Of Content");
-	o->paragraph("A table of content can be added to the document by adding a toc object "
+	o->beginSection("Table Of Contents");
+	o->paragraph("A table of contents can be added to the document by adding a toc object "
 				 "to the command line. For example:");
 	o->verbatim("wkhtmltopdf toc http://qt-project.org/doc/qt-4.8/qstring.html qstring.pdf\n");
-	o->paragraph("The table of content is generated based on the H tags in the input "
+	o->paragraph("The table of contents is generated based on the H tags in the input "
 				 "documents. First a XML document is generated, then it is converted to "
 				 "HTML using XSLT.");
 	o->paragraph("The generated XML document can be viewed by dumping it to a file using "
@@ -272,7 +272,7 @@ void PdfCommandLineParser::outputOutlineDoc(Outputter * o) const {
 		"book marks, this can be enabled by specifying the --outline switch. "
 		"The outlines are generated based on the <h?> tags, for a in-depth "
 		"description of how this is done see the ");
-	o->sectionLink("Table Of Content");
+	o->sectionLink("Table Of Contents");
 	o->text(" section. ");
 	o->endParagraph();
 	o->paragraph(
@@ -373,7 +373,7 @@ void PdfCommandLineParser::outputExamples(Outputter * o) const {
 	o->verbatim("wkhtmltopdf my.html my.pdf\n");
 	o->paragraph("Produce the eler2.pdf sample file:");
 	o->verbatim("wkhtmltopdf -H  http://geekz.co.uk/lovesraymond/archive/eler-highlights-2008 eler2.pdf\n");
-	o->paragraph("Printing a book with a table of content:");
+	o->paragraph("Printing a book with a table of contents:");
 	o->verbatim("wkhtmltopdf -H cover cover.html toc chapter1.html chapter2.html chapter3.html book.pdf\n");
 	o->endSection();
 }