fix-spell-errors
authorPascal Packaging Team <pkg-pascal-devel@lists.alioth.debian.org>
Sat, 10 Jun 2017 17:13:48 +0000 (18:13 +0100)
committerAbou Al Montacir <abou.almontacir@sfr.fr>
Sat, 10 Jun 2017 17:13:48 +0000 (18:13 +0100)
Gbp-Pq: Name fix-spell-errors.patch

27 files changed:
fpcsrc/ide/fp.pas
fpcsrc/ide/fphelp.pas
fpcsrc/ide/wconstse.inc
fpcsrc/packages/cdrom/src/fpcddb.pp
fpcsrc/packages/fcl-db/src/base/dbconst.pas
fpcsrc/packages/fcl-db/src/sqlite/sqliteds.pas
fpcsrc/packages/fcl-net/src/httpsvlt.pp
fpcsrc/packages/fcl-sdo/src/base/sdo_consts.pas
fpcsrc/packages/fcl-sdo/src/base/sdo_xpath_helper.pas
fpcsrc/packages/fcl-xml/src/xmltextreader.pp
fpcsrc/packages/fcl-xml/tests/testgen.pp
fpcsrc/packages/fv/src/editors.pas
fpcsrc/packages/fv/src/strtxt.inc
fpcsrc/rtl/macos/system.pp
fpcsrc/rtl/objpas/sysconst.pp
fpcsrc/utils/delp.pp
fpcsrc/utils/fpdoc/dglobals.pp
fpcsrc/utils/fpdoc/dwriter.pp
fpcsrc/utils/fpdoc/fpclasschart.pp
fpcsrc/utils/fpdoc/makeskel.pp
fpcsrc/utils/fpdoc/unitdiff.pp
install/man/man1/fp.1
install/man/man1/fpdoc.1
install/man/man1/grab_vcsa.1
install/man/man1/h2pas.1
install/man/man1/pas2jni.1
install/man/man1/ppdep.1

index f1de80bf158cce2ec61daf06df797567d0b38427..005ff19f349bb8c9a585cbdab3aabeaa98385928 100644 (file)
@@ -500,7 +500,7 @@ BEGIN
           end;
         if ideapp.displaymode=dmUser then
           begin
-            writeln('Fatal exception occured while in user screen mode. File save message boxes');
+            writeln('Fatal exception occurred while in user screen mode. File save message boxes');
             writeln('cannot be displayed. We are sorry, but need to terminate now.');
             halt(255);
           end;
index 3315790e29fcbaf6755b45c208ad4dfe58594d10..f5bc312150637481635d70be5e2c0554359ec051 100644 (file)
@@ -96,7 +96,7 @@ const
       hint_systemmenu        = 'System menu';
       hint_update            = 'Refresh and redraw display';
       hint_about             = 'Show version and copyright information';
-      hint_filemenu          = 'File managment commands (Open, New, Save, etc.)';
+      hint_filemenu          = 'File management commands (Open, New, Save, etc.)';
       hint_filenew           = 'Create a new file in a new edit window';
       hint_filenewfromtemplate='Create a new file using a code template';
       hint_fileopen          = 'Locate and open a file in an edit window';
@@ -204,7 +204,7 @@ const
       hint_openini           = 'Load a previously saved options file';
       hint_saveini           = 'Save all the changes made in the options menu';
       hint_saveasini         = 'Save all the changes made under a different name';
-      hint_windowmenu        = 'Windows managment commands';
+      hint_windowmenu        = 'Windows management commands';
       hint_tile              = 'Arrange windows on desktop by tiling';
       hint_cascade           = 'Arrange windows on desktop by cascading';
       hint_closeall          = 'Close all windows on the desktop';
index 81ec61df67ce60c8ac36160e9f8709069ad6f17b..e67fa85ed48eb67662b50f68c83885df630f387c 100644 (file)
@@ -90,7 +90,7 @@
     label_name = '~N~ame';
 
     msg_searchstringnotfound = 'Search string not found.';
-    msg_replacethisoccourence = 'Replace this occurence?';
+    msg_replacethisoccourence = 'Replace this occurrence?';
     msg_fileexistsoverwrite = 'File %s already exists. Overwrite?';
     msg_readingwinclipboard = 'Reading windows clipboard';
     msg_copyingwinclipboard = 'Copying to windows clipboard';
index 2ab085beb97b5e4d30e97aabf2f00e01bdd93352..2da43fa2d5f4c5220ceb001d9d950ea6de8cd713 100644 (file)
@@ -184,7 +184,7 @@ implementation
 Resourcestring
   SErrNoDisk         = 'No disk active';
   SErrInvalidTrackNo = 'Invalid track number: %d';
-  SErrParsingLine    = 'An error occured while parsing line %d of the response: %s';
+  SErrParsingLine    = 'An error occurred while parsing line %d of the response: %s';
   SErrCDDBResponse   = 'CDDB error in command response: %s';
 
 function DiscIDToStr(ID: Integer): String;
index 7a575c651ed724af1d676e9f07c23118d0b45b3a..fdf0376a631ae17c806172b36a67e7e375dc4e56 100644 (file)
@@ -87,7 +87,7 @@ Resourcestring
   SInvalidSearchFieldType  = 'Searching in fields of type %s is not supported';
   SDatasetEmpty            = 'The dataset is empty';
   SFieldIsNull             = 'The field is null';
-  SOnUpdateError           = 'An error occured while applying the updates in a record: %s';
+  SOnUpdateError           = 'An error occurred while applying the updates in a record: %s';
   SApplyRecNotSupported    = 'Applying updates is not supported by this TDataset descendent';
   SNoWhereFields           = 'No %s query specified and failed to generate one. (No fields for inclusion in where statement found)';
   SNoUpdateFields          = 'No %s query specified and failed to generate one. (No fields found for insert- or update-statement found)';
index 66e7ffed4a48a41a953f947cf9922cec610e5f58..10442724253e3556184d40b8b95165bea007535a 100644 (file)
@@ -321,7 +321,7 @@ begin
         Exit;
       end;
   else
-    Result := 'Unknow Return Value';
+    Result := 'Unknown Return Value';
   end;
   Result := Result + ' - ' + sqlite_error_string(FReturnCode);
 end;
index 24364711c34e8cc4828bb075558470b318e362d9..84db07745bf0bbec7c670e14ac0809313707d66e 100644 (file)
@@ -478,7 +478,7 @@ begin
     except
       on e: Exception do
       begin
-        s := 'An error occured: ' + ' ' + e.Message;
+        s := 'An error occurred: ' + ' ' + e.Message;
         ResponseHeader.ContentType := 'text/plain';
         ResponseStream.Write(s[1], Length(s));
       end;
index 506f71d00b900e78b6c897444c4692773a644351..5ad96d27a30fb5d68ad0fbdf37d7640d3412f3c0 100644 (file)
@@ -117,7 +117,7 @@ resourcestring
   SERR_OperationNotAllowedOnActivePool = 'Operation not allowed on an active pool.';
   SERR_ParamaterNotFound           = 'Parameter non found : "%s".';
   SERR_Parsing                     = 'Parsing "%s" ...';
-  SERR_RecordExtendedRttiNotFound  = 'Record extended RTTI informations not found in type registry : "%s".';
+  SERR_RecordExtendedRttiNotFound  = 'Record extended RTTI information not found in type registry : "%s".';
   SERR_RootObjectCannotBeNIL       = 'The root object cannot be NIL.';
   SERR_SchemaNodeRequiredAttribute = 'The Schema node must have at least the "%s" attribute.';
   SERR_SerializerInitializationException = 'Unable to initialize the serializer of that type : "%s".';
index e0b91be787d43b06c50dea383d313282158cf793..56085536200d4fc747e85d7babb187d9c992b4b6 100644 (file)
@@ -1085,7 +1085,7 @@ var
     locTmpNode := FTermStack.Pop() as TXPathNode;
     if not locTmpNode.InheritsFrom(TXPathRigthSquareBraketNode) then begin
       FTermStack.Push(locTmpNode);
-      raise EXpathException.Create('Predicate begining expected.');
+      raise EXpathException.Create('Predicate beginning expected.');
     end;
     FreeAndNil(locTmpNode);
     locExp := FTermStack.Pop() as TXPathNode;
index 644fbd151a9e3cbad0cdb76b3a869f9bce0913ad..9f7f60a4e32bde044b2fba69b88b7e68d8d232bc 100644 (file)
@@ -2208,7 +2208,7 @@ begin
           SkipWhitespace;
           CheckName([cnToken]);
           if not AttDef.AddEnumToken(FName.Buffer, FName.Length) then
-            ValidationError('Duplicate token in enumerated attibute declaration', [], FName.Length);
+            ValidationError('Duplicate token in enumerated attribute declaration', [], FName.Length);
           SkipWhitespace;
         until not CheckForChar('|');
         ExpectChar(')');
index 3a6bfcc10fde3978016c47798651af69bb6b500b..c0420351e74a756e3030627fd7f9c33078576386 100644 (file)
@@ -932,7 +932,7 @@ begin
       try
         ConvertTest(root, sl);
       except
-        Writeln('An exception occured while converting ', casename);
+        Writeln('An exception occurred while converting ', casename);
         raise;
       end;
       if sl.Count > 0 then
index 4503b8359c87f0b5e546578b6e1282aeb0c42b40..11ca11b2bc375359a81eb94c05591ab5ee168c9f 100644 (file)
@@ -428,7 +428,7 @@ resourcestring  sClipboard='Clipboard';
                 sReformatNotPossible='Paragraph reformat not possible while trying to wrap current line with current margins.';
                 sReformattingTheDocument='Reformatting the document:';
                 sReplaceNotPossible='Wordwrap on:  Replace not possible in current margins when at end of line.';
-                sReplaceThisOccurence='Replace this occurence?';
+                sReplaceThisOccurence='Replace this occurrence?';
                 sRightMargin='Right Margin';
                 sSearchStringNotFound='Search string not found.';
                 sSelectWhereToBegin='Please select where to begin.';
index 361b1b98b7f789bdf24cb0127585f7214aaa7561..cb2164f9389be02bab59849c44161257edc72f12 100644 (file)
@@ -75,7 +75,7 @@ const standard_string_count=107;
           (nr:sReplace;text:'Replace'),
           (nr:sReplaceFile;text:'Replace file?'#13#10#13#3'%s'),
           (nr:sReplaceNotPossible;text:'Wordwrap on:  Replace not possible in current margins when at end of line.'),
-          (nr:sReplaceThisOccurence;text:'Replace this occurence?'),
+          (nr:sReplaceThisOccurence;text:'Replace this occurrence?'),
           (nr:sRightMargin;text:'Right Margin'),
           (nr:sSaveAs;text:'Save As'),
           (nr:sScrollbarIcons;text:'Scroll bar icons'),
index 54d2b00f7e107ac7104babfc5792720da57ea4dd..72e0b2a43ca55e23e8d193d80f010c57ffa582ba 100644 (file)
@@ -450,7 +450,7 @@ begin
           if IsConsole then
             Writeln( '### Program exited with exit code ' + s)
           else if macosHasSysDebugger then
-            DebugStr('A possible error occured, exit code: ' + s + '. Type "g" and return to continue.')
+            DebugStr('A possible error occurred, exit code: ' + s + '. Type "g" and return to continue.')
           else
             {Be quiet}
         end;
index b7456ea4d0dc4d274c4fb09e2b1d85f9e8d56f49..a6f8ef462abc19b9d985ffc1a19613f66cec21c7 100644 (file)
@@ -120,7 +120,7 @@ resourcestring
   SVarUnexpected                = 'Unexpected variant error';
   SZeroDivide                   = 'Floating point division by zero';
 
-  SFallbackError                = 'An error, whose error code is larger than can be returned to the OS, has occured';
+  SFallbackError                = 'An error, whose error code is larger than can be returned to the OS, has occurred';
 
   SNoToolserver                 = 'Toolserver is not installed, cannot execute Tool';
 
index 4f893443b95df636b1a18cbcfcb34c19a70439ef..9664b4bb0e8c58df4688a1edf3310e8e1a0db87a 100644 (file)
@@ -167,7 +167,7 @@ begin
   writeln('  -r    Recurse into directories.');
   writeln('  -n    Do not actually delete files.');
   writeln('  -m N  Maximum depth to recurse into directories (1 based, zero is no max).');
-  writeln('  -q    Quietly perfoms deleting.');
+  writeln('  -q    Quietly performs deleting.');
   writeln('  -v    Verbose (print names of deleted files).');
   Halt(1);
 end;
index 5884bda9f105ec5dfd8b08e62fdaf8bf8e92ff2f..5ef5af83f69ff9517d2fd50a43af46ed9aa05210 100644 (file)
@@ -159,7 +159,7 @@ resourcestring
   SUsageOption140  = '--lang=lng        Select output language.';
   SUsageOption150  = '--ostarget=value  Set the target OS for the scanner.';
   SUsageOption160  = '--output=name     use name as the output name.';
-  SUsageOption170  = '                  Each backend interpretes this as needed.';
+  SUsageOption170  = '                  Each backend interprets this as needed.';
   SUsageOption180  = '--package=name    Set the package name for which to create output,';
   SUsageOption190  = '                  e.g. --package=fcl';
   SUsageOption200  = '--project=file    Use file as project file';
index f0fe1de8138de8aef1de2e59bf546ac48685b886..02de0304d65b4feb074b0bfe160f481a5c83dd55 100644 (file)
@@ -28,7 +28,7 @@ interface
 uses Classes, DOM, dGlobals, PasTree, SysUtils;
 
 resourcestring
-  SErrFileWriting = 'An error occured during writing of file "%s": %s';
+  SErrFileWriting = 'An error occurred during writing of file "%s": %s';
 
   SErrInvalidShortDescr = 'Invalid short description';
   SErrInvalidDescr = 'Invalid description (illegal XML element: "%s")';
index 3cb7bcd871066072860baa133029d8f287833094..a3a68f64e95dfd6672a2abc2c2198839f8497415 100644 (file)
@@ -714,7 +714,7 @@ begin
     if FileExists(MOFilename) then
       gettext.TranslateResourceStrings(MoFileName)
     else
-      writeln('NOTE: unable to find tranlation file ',MOFilename);
+      writeln('NOTE: unable to find translation file ',MOFilename);
     // Translate internal documentation strings
     TranslateDocStrings(DocLang);
     end;
index d68e79211546a934f26f7631bb5bcbf0e338aee5..3c5a9b7abe62c7e5def0c35c73a04aa208321abf 100644 (file)
@@ -588,7 +588,7 @@ begin
     if FileExists(MOFilename) then
       gettext.TranslateResourceStrings(MoFileName)
     else
-      writeln('NOTE: unable to find tranlation file ',MOFilename);
+      writeln('NOTE: unable to find translation file ',MOFilename);
     // Translate internal documentation strings
     TranslateDocStrings(DocLang);
     end;
index da638f32be45e06519922f98b20388982ac42391..a7259cb47235a07cb50aa0adf3362cdff41e2c79 100644 (file)
@@ -189,7 +189,7 @@ begin
     if FileExists(MOFilename) then
       gettext.TranslateResourceStrings(MoFileName)
     else
-      writeln('NOTE: unable to find tranlation file ',MOFilename);
+      writeln('NOTE: unable to find translation file ',MOFilename);
     // Translate internal documentation strings
     TranslateDocStrings(DocLang);
     end;
index c7fc6ba600c01eacf1c284f134f89554e709312d..7e164a58443fea246e46f8b243b25a75a1643038 100644 (file)
@@ -49,7 +49,7 @@ on-line help system and a debugger.
 
 A text mode windowing system is the base of the user interface. The mouse is supported,
 but most people will use the keyboard. The user will usually open a few text editor
-windows in which he will design his program, during which he can regularily check and
+windows in which he will design his program, during which he can regularly check and
 debug through the use of hot keys. The high speed of the compiler ensures that programmers
 can do this often and therefore allows speedy development of code.
 
index 3104ef93e4dbf069f0f62ab0e35575b7b6455837..0aacf10c0cd7cad91d676407b66c04fef4fc21a0 100644 (file)
@@ -43,7 +43,7 @@ option.
 .BI \-\-cputarget=value
 This option tells 
 .B fpdoc
-for which CPU to generate documentation. This simply defines the approriate CPU macros.
+for which CPU to generate documentation. This simply defines the appropriate CPU macros.
 .TP
 .BI \-\-descr=descfile
 This option specifies the name of a description file
@@ -190,7 +190,7 @@ where to look for the translation files that can be used to internationalize  fp
 .BI \-\-ostarget=value
 This option tells 
 .B fpdoc
-for which operating system to generate documentation. This simply defines the approriate operating system macros.
+for which operating system to generate documentation. This simply defines the appropriate operating system macros.
 .TP
 .BI \-\-output=name 
 This option tells 
index 9f5e949a531feb307170f9b1580b60c430691bd9..7404c90a18a692c4c0b20e31deb6ba3d21786e50 100644 (file)
@@ -37,7 +37,7 @@ work). The permissions are automatically reverted on logout.
 
 .B grab_vcsa
 is used by the Free Pascal video unit. The video unit allows programmers to
-develop portable programs accross Dos, Linux, FreeBSD, Windows, OS/2 and
+develop portable programs across Dos, Linux, FreeBSD, Windows, OS/2 and
 other operating systems while they can still assume being able to use the
 full VGA character set.
 
index 1d7c1df4b5ffdc76e2fa5a6a535268aa18a316fd..94fae8315827cfafd9f0575ae98fa4eb9a2f7d08 100644 (file)
@@ -101,7 +101,7 @@ macros are changed - wherever possible to functions; however the arguments
 are all integers, so these must be changed manually. Simple expressions 
 in define staments are recognized, as are most arithmetic operators: 
 addition, substraction, multiplication, division, logical operators, 
-comparision operators, shift operators. The C construct ( A ? B : C)
+comparison operators, shift operators. The C construct ( A ? B : C)
 is also recognized and translated to a pascal construct with an IF
 statement (this is buggy, however).
 
index cfea45009b36b3d1928f773a5260b1136d78c4fe..7b053a6314bae5be63423e402aa0de0c11fa7fef 100644 (file)
@@ -9,7 +9,7 @@ pas2jni - Free Pascal Java Native Interface generation tool
 Generate a Java native interface description and library from compiled Free Pascal units.
 pas2jni generates per unit 2 files: a library that provides access to the functions and 
 procedures in the pascal unit in a manner that Java understands, and a .java file that 
-describes the library, and can be used to access the libary from Java.
+describes the library, and can be used to access the library from Java.
 
 .SH OPTIONS
 .TP
index f773b495f8466ba1c8747242320ba20790555a3c..24ea8bc2265d79298d3359f0c59bd0cec364e161 100644 (file)
@@ -20,7 +20,7 @@ implementation section of the unit, and it can handle conditional defines.
 You can invoke 
 .B ppdep
 with as the only required argument the name of the
-file (program or unit) whose dependecies you wish to list. You don't need 
+file (program or unit) whose dependencies you wish to list. You don't need
 to specify an extension, by default 
 .B .pp
 is assumed.