diff --git a/.gitattributes b/.gitattributes index 3ca636bbf6..ed6b3f6917 100644 --- a/.gitattributes +++ b/.gitattributes @@ -9,6 +9,7 @@ components/codetools/codecompletiontool.pas svneol=native#text/pascal components/codetools/codetoolmanager.pas svneol=native#text/pascal components/codetools/codetoolmemmanager.pas svneol=native#text/pascal components/codetools/codetools.inc svneol=native#text/pascal +components/codetools/codetoolsstrconsts.pas svneol=native#text/pascal components/codetools/codetree.pas svneol=native#text/pascal components/codetools/customcodetool.pas svneol=native#text/pascal components/codetools/definetemplates.pas svneol=native#text/pascal diff --git a/components/codetools/codetoolsstrconsts.pas b/components/codetools/codetoolsstrconsts.pas new file mode 100644 index 0000000000..c9d64a3941 --- /dev/null +++ b/components/codetools/codetoolsstrconsts.pas @@ -0,0 +1,65 @@ +{ + *************************************************************************** + * * + * This source is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This code is distributed in the hope that it will be useful, but * + * WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * + * General Public License for more details. * + * * + * A copy of the GNU General Public License is available on the World * + * Wide Web at . You can also * + * obtain it by writing to the Free Software Foundation, * + * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * * + *************************************************************************** + + Author: Mattias Gaertner + + Abstract: + This unit contains all resource strings for the codetools. + +} +unit CodeToolsStrConsts; + +{$mode objfpc}{$H+} + +interface + +uses + Classes, SysUtils; + +ResourceString + ctsUnknownSubDescriptor = '(unknown subdescriptor %s)'; + ctsForward = 'Forward'; + ctsUnparsed = 'Unparsed'; + + ctsIdentExpectedButAtomFound = 'identifier expected, but %s found'; + ctsIdentExpectedButKeyWordFound = 'identifier expected, but keyword %s found'; + ctsCharExpectedButAtomFound = '%s expected, but %s found'; + + ctsIdentExpectedButEOFFound = 'unexpected end of file (identifier expected)'; + ctsBracketOpenExpectedButAtomFound = 'bracket open expected, but %s found'; + ctsBracketCloseExpectedButAtomFound = 'bracket close expected, but %s found'; + ctsBracketNotFound = 'bracket %s not found'; + ctsNoNodeFoundAtCursor = 'no node found at cursor'; + ctsUnknownMainFilename = '(unknown mainfilename)'; + + ctsPropertySpecifierAlreadyDefined = 'property specifier already defined: %s'; + ctsErrorInParamList = 'error in paramlist'; + ctsPropertTypeExpectedButAtomFound = 'property type expected, but %s found'; + ctsIndexSpecifierRedefined = 'index specifier redefined'; + ctsIndexParameterExpectedButAtomFound = 'index parameter expected, but %s found'; + ctsDefaultSpecifierRedefined = 'default specifier redefined'; + ctsDefaultParameterExpectedButAtomFound = 'default parameter expected, but %s found'; + ctsNodefaultSpecifierDefinedTwice = 'nodefault specifier defined twice'; + + +implementation + +end. +