2
0

fpdocstrs.pp 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. unit fpdocstrs;
  2. {$mode objfpc}{$H+}
  3. interface
  4. resourcestring
  5. // Output strings
  6. SDocPackageTitle = 'Reference for package ''%s''';
  7. SDocPackageMenuTitle = 'Package ''%s''';
  8. SDocPackageLinkTitle = 'Package';
  9. SDocPrograms = 'Programs';
  10. SDocUnits = 'Units';
  11. SDocUnitTitle = 'Reference for unit ''%s''';
  12. SDocUnitMenuTitle = 'Unit ''%s''';
  13. SDocInheritanceHierarchy = 'Inheritance Hierarchy';
  14. SDocInterfaceSection = 'Interface section';
  15. SDocImplementationSection = 'Implementation section';
  16. SDocUsedUnits = 'Used units';
  17. SDocUsedUnitsByUnitXY = 'Used units by unit ''%s''';
  18. SDocConstsTypesVars = 'Constants, types and variables';
  19. SDocResStrings = 'Resource strings';
  20. SDocTypes = 'Types';
  21. SDocType = 'Type';
  22. SDocConstants = 'Constants';
  23. SDocConstant = 'Constant';
  24. SDocClasses = 'Classes';
  25. SDocClass = 'Class';
  26. SDocProceduresAndFunctions = 'Procedures and functions';
  27. SDocProcedureOrFunction = 'Procedure/function';
  28. SDocVariables = 'Variables';
  29. SDocVariable = 'Variable';
  30. SDocIdentifierIndex = 'Index';
  31. SDocPackageClassHierarchy = 'Class hierarchy';
  32. SDocModuleIndex = 'Index of all identifiers in unit ''%s''';
  33. SDocPackageIndex = 'Index of all identifiers in package ''%s''';
  34. SDocUnitOverview = 'Overview of unit ''%s''';
  35. SDocOverview = 'Overview';
  36. SDocSearch = 'Search';
  37. SDocDeclaration = 'Declaration';
  38. SDocDescription = 'Description';
  39. SDocErrors = 'Errors';
  40. SDocVersion = 'Version info';
  41. SDocSeeAlso = 'See also';
  42. SDocExample = 'Example';
  43. SDocArguments = 'Arguments';
  44. SDocFunctionResult = 'Function result';
  45. SDocRemark = 'Remark: ';
  46. SDocMethodOverview = 'Method overview';
  47. SDocPropertyOverview = 'Property overview';
  48. SDocEventOverview = 'Event overview';
  49. SDocInterfacesOverview = 'Interfaces overview';
  50. SDocInterface = 'Interfaces';
  51. SDocPage = 'Page';
  52. SDocMember = 'Member';
  53. SDocMembers = 'Members';
  54. SDocField = 'Field';
  55. SDocMethod = 'Method';
  56. SDocProperty = 'Property';
  57. SDocAccess = 'Access';
  58. SDocInheritance = 'Inheritance';
  59. SDocProperties = 'Properties';
  60. SDocMethods = 'Methods';
  61. SDocEvents = 'Events';
  62. SDocByName = 'by Name';
  63. SDocByInheritance = 'By inheritance';
  64. SDocValue = 'Value';
  65. SDocExplanation = 'Explanation';
  66. SDocProcedure = 'Procedure';
  67. SDocValuesForEnum = 'Enumeration values for type %s';
  68. SDocSourcePosition = 'Source position: %s line %d';
  69. SDocSynopsis = 'Synopsis';
  70. SDocVisibility = 'Visibility';
  71. SDocOpaque = 'Opaque type';
  72. SDocDateGenerated = 'Documentation generated on: %s';
  73. // The next line requires leading/trailing space due to XML comment layout:
  74. SDocGeneratedByComment = ' Generated using FPDoc - (c) 2000-2021 FPC contributors and Sebastian Guenther, [email protected] ';
  75. SDocNotes = 'Notes';
  76. SDocName = 'Name';
  77. SDocType_s = 'Type(s)';
  78. SDocTopic = 'Topic';
  79. SDocNoneAVailable = 'No members available';
  80. // Topics
  81. SDocRelatedTopics = 'Related topics';
  82. SDocUp = 'Up';
  83. SDocNext = 'Next';
  84. SDocPrevious = 'Previous';
  85. // Various backend constants
  86. SDocChapter = 'Chapter';
  87. SDocSection = 'Section';
  88. SDocSubSection = 'Subsection';
  89. SDocTable = 'Table';
  90. SDocListing = 'Listing';
  91. // Man page usage
  92. SManUsageManSection = 'Use ASection as the man page section';
  93. SManUsageNoUnitPrefix = 'Do not prefix man pages with unit name.';
  94. SManUsageWriterDescr = 'UNIX man page output.';
  95. SManUsagePackageDescription = 'Use descr as the description of man pages';
  96. // HTML usage
  97. SHTMLUsageFooter = 'Append xhtml (@filename reads from file) as footer to html page';
  98. SHTMLUsageNavigator = 'Append xhtml (@filename reads from file) in navigator bar';
  99. SHTMLUsageHeader = 'Append xhtml (@filename reads from file) as header to html page below navigation bar';
  100. SHTMLUsageFooterDate = 'Append footer with date. fmt is Optional format for FormatDateTime';
  101. SHTMLUsageCharset = 'Set the HTML character set';
  102. SHTMLHtmlSearch = 'Add search page with given name to the menu bar';
  103. SHTMLIndexColcount = 'Use N columns in the identifier index pages';
  104. SHTMLImageUrl = 'Prefix image URLs with url';
  105. SHTMLDisableMenuBrackets = 'Disable ''['' and '']'' characters around menu items at the top of the page. Useful for custom css';
  106. // CHM usage
  107. SCHMUsageTOC = 'Use [File] as the table of contents. Usually a .hhc file.';
  108. SCHMUsageIndex = 'Use [File] as the index. Usually a .hhk file.';
  109. SCHMUsageDefPage = 'Set the "Home" page relative to where it lives in the chm. i.e. "/index.html"';
  110. SCHMUsageOtrFiles= 'A txt file containing a list of files to be added relative to the working directory.';
  111. SCHMUsageCSSFile = 'Filename of a .css file to be included in the chm.';
  112. SCHMUsageAutoTOC = 'Automatically generate a Table of Contents. Ignores --toc-file';
  113. SCHMUsageAutoIDX = 'Automatically generate an Index. Ignores --index-file';
  114. SCHMUsageMakeSearch = 'Automatically generate a Search Index from filenames that match *.htm*';
  115. SCHMUsageChmTitle= 'Title of the chm. Defaults to the value from --package';
  116. // MarkDown usage
  117. SMDUsageFooter = 'Append markdown (@filename reads from file) as footer to every markdown page';
  118. SMDUsageHeader = 'Prepend markdown (@filename reads from file) as header to every markdown page';
  119. SMDIndexColcount = 'Use N columns in the identifier index pages';
  120. SMDImageUrl = 'Prefix image URLs with url';
  121. SMDTheme = 'Use name as theme name';
  122. SMDNavigation = 'Use scheme for navigation tree, here scheme is one of:';
  123. SMDNavSubtree = ' UnitSubTree : put all units in a sub tree of a Units node';
  124. SMDNavTree = ' UnitTree : put every units as a node on the same level as packages node';
  125. SXMLUsageFlatStructure = 'Use a flat output structure of XML files and directories';
  126. SXMLUsageSource = 'Include source file and line info in generated XML';
  127. // Linear usage
  128. SLinearUsageDupLinkedDocsP1 = 'Duplicate linked element documentation in';
  129. SLinearUsageDupLinkedDocsP2 = 'descendant classes.';
  130. STitle = 'FPDoc - Free Pascal Documentation Tool';
  131. SVersion = 'Version %s [%s]';
  132. SCopyright1 = '(c) 2000 - 2003 Areca Systems GmbH / Sebastian Guenther, [email protected]';
  133. SCopyright2 = '(c) 2005 - 2021 various FPC contributors';
  134. SCmdLineHelp = 'Usage: %s [options]';
  135. SUsageOption008 = '--base-descr-dir=DIR prefix all description files with this directory';
  136. SUsageOption009 = '--base-input-dir=DIR prefix all input files with this directory';
  137. SUsageOption010 = '--content Create content file for package cross-references';
  138. SUsageOption020 = '--cputarget=value Set the target CPU for the scanner.';
  139. SUsageOption030 = '--descr=file use file as description file, e.g.: ';
  140. SUsageOption035 = ' --descr=c:\WIP\myzipperdoc.xml';
  141. SUsageOption040 = ' This option is allowed more than once';
  142. SUsageOption050 = '--descr-dir=Dir Add All XML files in Dir to list of description files';
  143. SUsageOption055 = '--example-dir=DIR Look for examples in directory DIR';
  144. SUsageOption060 = '--format=fmt Select output format.';
  145. SUsageOption070 = '--help Show this help.';
  146. SUsageOption080 = '--hide-protected Do not show protected methods in overview';
  147. SUsageOption090 = '--import=file Import content file for package cross-references';
  148. SUsageOption100 = '--input=cmd use cmd as input for the parser, e.g.:';
  149. SUsageOption110 = ' --input=C:\fpc\packages\paszlib\src\zipper.pp';
  150. SUsageOption120 = ' At least one input option is required.';
  151. SUsageOption130 = '--input-dir=Dir Add All *.pp and *.pas files in Dir to list of input files';
  152. SUsageOption140 = '--lang=lng Select output language.';
  153. SUsageOption145 = '--macro=name=value Define a macro to preprocess the project file with.';
  154. SUsageOption150 = '--ostarget=value Set the target OS for the scanner.';
  155. SUsageOption160 = '--output=name use name as the output name.';
  156. SUsageOption170 = ' Each backend interprets this as needed.';
  157. SUsageOption180 = '--package=name Set the package name for which to create output,';
  158. SUsageOption190 = ' e.g. --package=fcl';
  159. SUsageOption200 = '--project=file Use file as project file';
  160. SUsageOption210 = '--show-private Show private methods.';
  161. SUsageOption211 = '--fallback-seealso-links';
  162. SUsageOption212 = ' Simplify seealso links by exluding last link level';
  163. SUsageOption215 = '--stop-on-parser-error';
  164. SUsageOption215A = ' Stop when a parser error occurs. Default is to ignore parser errors.';
  165. SUsageOption220 = '--warn-no-node Warn if no documentation node was found.';
  166. SUsageOption221 = '--warn-documentation-empty Warn if documentation is empty.';
  167. SUsageOption222 = '--warn-xct Warn if an external class could not be resolved.';
  168. SUsageOption223 = '--info-used-file Output the file path of an implicitly processed file.';
  169. SUsageOption230 = '--mo-dir=dir Set directory where language files reside to dir';
  170. SUsageOption240 = '--parse-impl (Experimental) try to parse implementation too';
  171. SUsageOption250 = '--dont-trim Do not trim XML contents. Useful for preserving';
  172. SUsageOption260 = ' formatting inside e.g <pre> tags';
  173. SUsageOption270 = '--write-project=file';
  174. SUsageOption280 = ' Do not write documentation, create project file instead';
  175. SUsageOption290 = '--verbose Write more information on the screen';
  176. SUsageOption300 = '--dry-run Only parse sources and XML, do not create output';
  177. SUsageOption310 = '--write-project=file';
  178. SUsageOption320 = ' Write all command-line options to a project file';
  179. SUsageSubNames = 'Use the file subnames instead the indexes as postfixes';
  180. SUsageOnlyPages = 'Only write pages in LIST, LIST is comma-separated list of filenames or @filename where the named file contains 1 file per line.';
  181. SUsageFormats = 'The following output formats are supported by this fpdoc:';
  182. SUsageBackendHelp = 'Specify an output format, combined with --help to get more help for this backend.';
  183. SUsageFormatSpecific = 'Output format "%s" supports the following options:';
  184. SCmdLineErrInvalidMacro = 'Macro needs to be in the form name=value';
  185. SCmdLineInvalidOption = 'Ignoring unknown option "%s"';
  186. SCmdLineInvalidFormat = 'Invalid format "%s" specified';
  187. SCmdLineOutputOptionMissing = 'Need an output filename, please specify one with --output=<filename>';
  188. SWritingPages = 'Writing %d pages...';
  189. SNeedPackageName = 'No package name specified. Please specify one using the --package option.';
  190. SAvailablePackages = 'Available packages: ';
  191. SDone = 'Done.';
  192. SErrCouldNotCreateOutputDir = 'Could not create output directory "%s"';
  193. SErrCouldNotCreateFile = 'Could not create file "%s": %s';
  194. SSeeURL = '(See %s)'; // For linear text writers.
  195. SParsingUsedUnit = 'Parsing used unit "%s" with commandLine "%s"';
  196. SErrFileWriting = 'An error occurred during writing of file "%s": %s';
  197. SErrInvalidShortDescr = 'Invalid short description';
  198. SErrInvalidDescr = 'Invalid description (illegal XML element: "%s")';
  199. SErrInvalidParaContent = 'Invalid paragraph content';
  200. SErrInvalidElementInList = 'Invalid element in list - only "li" allowed';
  201. SErrInvalidListContent = 'Invalid list content';
  202. SErrInvalidRemarkContent = 'Invalid <remark> content (illegal XML element: "%s")';
  203. SErrListIsEmpty = 'List is empty - need at least one "li" element';
  204. SErrInvalidDefinitionTermContent = 'Invalid content in definition term';
  205. SErrDefinitionEntryMissing = 'Definition entry after definition term is missing';
  206. SErrInvalidBorderValue = 'Invalid "border" value for %s';
  207. SErrInvalidTableContent = 'Invalid table content';
  208. SErrTableRowEmpty = 'Table row is empty (no "td" elements found)';
  209. SErrInvalidContentBeforeSectionTitle = 'Invalid content before section title';
  210. SErrSectionTitleExpected = 'Section title ("title" element) expected';
  211. SErrDescrTagUnknown = 'Warning: Unknown tag "%s" in description';
  212. SErrUnknownEntityReference = 'Warning: Unknown entity reference "&%s;" found';
  213. SErrUnknownLinkID = 'Warning: Target ID of <link> in unit "%s", element "%s", is unknown: "%s"';
  214. SErrUnknownPrintShortID = 'Warning: Target ID of <printshort> is unknown: "%s"';
  215. SErrUnknownLink = 'Could not resolve link to "%s"';
  216. SErralreadyRegistered = 'Class for output format "%s" already registered';
  217. SErrUnknownWriterClass = 'Unknown output format "%s"';
  218. SErrCannotChangeIndentSizeWhenIndented = 'Cannot change indent size while text is indented.';
  219. SErrIndentMismatch = 'Indent mismatch: trying to undent when current indent too small';
  220. SErrNotInList = 'Not in list';
  221. SErrPopListStack = 'Pop list stack list type mismatch';
  222. SErrMinListStack = 'Min list stack reached';
  223. SErrMaxListStack = 'Max list stack reached';
  224. SErrMinIndentStack = 'Min indent stack reached';
  225. SErrMaxIndentStack = 'Max indent stack reached';
  226. // doc xml
  227. SErrInvalidRootNode = 'Invalid options root node: Got "%s", expected "docproject"';
  228. SErrNoPackagesNode = 'No "packages" node found in docproject';
  229. SErrNoInputFile = 'unit tag without file attribute found';
  230. SErrNoDescrFile = 'description tag without file attribute';
  231. SErrNoImportFile = 'Import tag without file attribute';
  232. SErrNoImportPrefix = 'Import tag without prefix attribute';
  233. implementation
  234. end.