1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295
|
{
***************************************************************************
* *
* 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 <http://www.gnu.org/copyleft/gpl.html>. You can also *
* obtain it by writing to the Free Software Foundation, *
* Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1335, USA. *
* *
***************************************************************************
Author: Mattias Gaertner
Abstract:
This unit contains all resource strings for the codetools.
}
unit CodeToolsStrConsts;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
ResourceString
// codetree
ctsUnknownSubDescriptor = '(unknown subdescriptor %s)';
ctsForward = 'Forward';
ctsUnparsed = 'Unparsed';
ctsHasError = 'HasError';
// linkscanner
ctsInvalidFlagValueForDirective = 'invalid flag value "%s" for directive %s';
ctsInvalidMode = 'invalid mode "%s"';
ctsInvalidModeSwitch = 'invalid mode switch "%s"';
ctsAwithoutB = '%s without %s';
ctsIncludeFileNotFound = 'include file not found "%s"';
ctsErrorInDirectiveExpression = 'error in directive expression';
ctsIncludeCircleDetected = 'Include circle detected';
ctsfileIsReadOnly = 'file is read only';
ctsCommentEndNotFound = 'Comment end not found';
// customcodetool
ctsIdentExpectedButAtomFound = 'identifier expected, but %s found';
ctsIdentExpectedButKeyWordFound = 'identifier expected, but keyword %s found';
ctsStrExpectedButAtomFound = 'expected %s, but %s found';
ctsCanNotAddAUnitToTheImplementationBecauseOnlyAUnitH = 'cannot add a unit '
+'to the implementation, because only a unit has one';
ctsEndOfFile = 'end of file';
ctsPositionNotInSource = 'Position not in source';
ctsInvalidClassName = 'invalid class name="%s"';
ctsInvalidPositionForInsertionOfStatements = 'invalid position for insertion'
+' of statements';
ctsclassNotFound = 'class "%s" not found';
ctsinvalidClassName2 = 'invalid class name "%s"';
ctsinvalidVariableName = 'invalid variable name "%s"';
ctsinvalidVariableType = 'invalid variable type "%s"';
ctsClassSNotFound = 'Class %s not found';
ctsIdentExpectedButEOFFound = 'unexpected end of file (identifier expected)';
ctsOperatorExpectedButEOFFound = 'unexpected end of file (operator expected)';
ctsOperatorExpectedButAtomFound = 'operator expected, but %s found';
ctsBracketOpenExpectedButAtomFound = 'bracket open expected, but %s found';
ctsBracketCloseExpectedButAtomFound = 'bracket close expected, but %s found';
ctsBracketNotFound = 'bracket %s not found';
ctsUnknownMainFilename = '(unknown mainfilename)';
// pascal parser
ctsUnexpectedKeyword = 'unexpected keyword "%s"';
ctsNoPascalCodeFound = 'no pascal code found (first token is %s)';
ctsStringConstant = 'string constant';
crsClosingBracketNotFound = 'closing bracket not found';
crsBracketNotFound = 'bracket ) not found';
crsBracketNotFound2 = 'bracket ] not found';
crsRecordEndNotFound = 'record end not found';
crsFoundUnexpectedAt = '%s, found unexpected %s at %s';
ctsAnonymDefinitionsAreNotAllowed = 'Anonymous %s definitions are not allowed';
ctsNestedDefinitionsAreNotAllowed = 'Nested %s definitions are not allowed';
ctsHelperIsNotAllowed = 'Helper after %s is not allowed';
ctsEndForRecordNotFound = 'end for record not found';
ctsMissingEnumList = 'missing enum list';
ctsMissingTypeIdentifier = 'missing type identifier';
ctsProcedureOrFunctionOrConstructorOrDestructor = 'procedure or function or constructor or destructor';
ctsMethodName = 'method name';
ctsIdentifier = 'identifier';
ctsSemicolonNotFound = 'semicolon not found';
ctsKeyword = 'keyword';
ctsKeywordExampleExpectedButAtomFound = 'keyword (e.g. %s) expected, but %s found';
ctsConstant = 'constant';
ctsSemicolonAfterPropSpecMissing =
'; expected after "%s" property specifier, but %s found';
ctsUnexpectedSectionKeyword = 'unexpected section keyword %s found';
ctsIllegalQualifier = 'illegal qualifier %s found';
ctsMethodSignatureSNotFoundInClass = 'Method signature %s not found in class';
ctsUnexpectedEndOfSource = 'unexpected end of source';
ctsEndofSourceExpectedButAtomFound = 'expected end., but %s found';
ctsPointStartAt = '. start at ';
ctsUnexpectedKeywordInAsmBlock = 'unexpected keyword "%s" in asm block found';
ctsUnexpectedKeywordInBeginEndBlock =
'unexpected keyword "%s" in begin..end found';
ctsUnexpectedKeywordWhileReadingBackwards =
'unexpected keyword "%s" found while reading blocks backwards';
ctsWordNotFound = '"%s" not found';
ctsPointHintProcStartAt = '. Hint: proc start at ';
ctsMissingPointAfterEnd = 'missing . after end';
ctsEndForClassNotFound = '"end" for class/object not found';
ctsVarIsOnlyAllowedInGenericsEndOfClassNotFound = 'var is only allowed in '
+'generics, end of class not found';
ctsTypeIsOnlyAllowedInGenericsEndOfClassNotFound = 'type is only allowed in '
+'generics, end of class not found';
ctsUnexpectedSubRangeOperatorFound = 'unexpected subrange operator ''..'' found';
ctsInvalidSubrange = 'invalid subrange';
ctsExportsClauseOnlyAllowedInLibraries = 'exports clause only allowed in libraries';
// find declaration
ctsUnitNotFound = 'unit not found: %s';
ctsSourceNotFoundUnit = 'source not found: unit %s. Check your FPC source directory.';
ctsNeededByMode = ' (needed by mode "%s")';
ctsIdentifierNotFound = 'identifier not found: %s';
ctsNotEnoughGenParams = 'Not enough actual generic parameters';
ctsExpected = '"%s" expected';
ctsNoContextNodeFoundAtCursor = 'no context node found at cursor';
ctsInheritedKeywordOnlyAllowedInMethods =
'inherited keyword only allowed in methods';
ctsCircleInDefinitions = 'circle in definitions';
ctsForwardClassDefinitionNotResolved = 'Forward class definition not resolved: %s';
ctsClassOfDefinitionNotResolved = '"class of" definition not resolved: %s';
ctsTypeIdentifier = 'type identifier';
ctsGenericIdentifier = 'generic identifier';
ctsAncestorIsNotProperty = 'ancestor of untyped property is not a property';
ctsBaseTypeOfNotFound = 'base type of "%s" not found';
ctsClassIdentifierExpected = 'class identifier expected';
ctsDefaultClassAncestorTObjectNotFound = 'default class ancestor TObject not found';
ctsDefaultInterfaceAncestorIInterfaceNotFound =
'default interface ancestor IInterface not found';
ctsDefaultDispinterfaceAncestorIDispatchNotFound = 'default dispinterface '
+'ancestor IDispatch not found';
ctsDefaultJavaClassAncestorJLObjectNotFound = 'default java class ancestor '
+'JLObject not found';
ctsDefaultAncestorNotFound = 'default ancestor %s not found';
ctsExprTypeMustBeClassOrRecord = 'expression type must be class or record type';
ctsClassWithoutName = 'class without name';
ctsBinaryOperator = 'binary operator';
ctsInvalidType = 'invalid type';
ctsKeywordIn = 'keyword "in"';
ctsIllegalCircleInUsedUnits = 'illegal circle using unit: %s';
ctsSourceIsNotUnit = 'source is not unit';
ctsInterfaceSectionNotFound = 'interface section not found';
ctsUsedUnitIsNotAPascalUnit = 'used unit is not a pascal unit';
ctsDuplicateIdentifier = 'duplicate identifier: %s';
ctsQualifierExpectedButAtomFound = 'qualifier expected but %s found';
ctsIncompatibleTypesGotExpected = 'incompatibles types: expected "%s" but got "%s"';
ctsDefaultPropertyNotFound = 'default property not found';
ctsFunctionGetEnumeratorNotFoundInThisClass = 'function GetEnumerator not '
+'found in this class';
ctsFunctionGetEnumeratorNotFoundInThisClass2 = 'function GetEnumerator not '
+'found in this class';
ctsResultTypeOfFunctionGetEnumeratorNotFound = 'result type of function '
+'GetEnumerator not found';
ctsPropertyCurrentNotFound = 'property Current not found';
ctsEnumerationType = 'enumeration type';
ctsType = 'type';
ctsExpectedSemicolonOfStatementButFound = 'expected ; of statement, but found %s';
ctsUnexpectedKeyword2 = 'unexpected keyword %s';
ctsBeginAtWithoutEnd = 'begin at %s without end';
ctsThenExpectedButFound = 'then expected, but %s found';
ctsExpectedButFound = 'expected (, but found %s';
ctsExpectedIdentifierButFound = 'expected identifier, but found %s';
ctsExpectedButFound2 = 'expected ), but found %s';
ctsMissing = 'missing :=';
ctsExpectedButFound3 = 'expected :=, but %s found';
ctsCharacterConstantOutOfRange = 'character constant out of range';
ctsOperatorExpectedButFound = 'operator expected but %s found';
ctsOperandExpectedButFound = 'operand expected but %s found';
ctsOperandExpectedButFound2 = 'operand expected, but %s found';
ctsInvalidOperator = 'invalid operator %s';
ctsOperatorExpectedButFound2 = 'operator expected, but %s found';
// codecompletion
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';
ctsImplementationNodeNotFound = 'implementation node not found';
ctsDispidSpecifierRedefined = 'dispid specifier redefined';
ctsDispidParameterExpectedButAtomFound = 'dispid parameter expected, but %s found';
ctsClassNodeWithoutParentNode = 'class node without parent node';
ctsTypeSectionOfClassNotFound = 'type section of class not found';
ctsUnableToCompleteProperty = 'unable to complete property';
ctsErrorDuringInsertingNewClassParts = 'error during inserting new class parts';
ctsErrorDuringCreationOfNewProcBodies = 'error during creation of new proc bodies';
ctsErrorDuringInsertingNewUsesSection = 'error during inserting new units to the main uses section';
ctsUnableToApplyChanges = 'unable to apply changes';
ctsEndOfSourceNotFound = 'End of source not found.';
ctsCursorPosOutsideOfCode = 'cursor pos outside of code';
ctsNewProcBodyNotFound = 'new proc body not found';
ctsIdentifierAlreadyDefined = 'Identifier %s already defined';
ctsTermNotSimple = 'Term has no simple type';
// codetoolsmanager
ctsNoScannerFound = 'No scanner found for "%s".'
+' If this is an include file, please open the main source first.';
ctsNoScannerAvailable = 'No scanner available';
// definetemplates
ctsUnknownFunction = 'Unknown function %s';
ctsSyntaxErrorInExpr = 'Syntax Error in expression "%s"';
ctsDefaultFPCSymbol = 'Default fpc symbol';
ctsDefaultFPCTargetOperatingSystem = 'Default fpc target Operating System';
ctsDefaultFPCSourceOperatingSystem = 'Default fpc source Operating System';
ctsDefaultFPCSource2OperatingSystem = 'Default fpc source Operating System 2';
ctsDefaultFPCTargetProcessor = 'Default fpc target processor';
ctsFreePascalCompilerInitialMacros = 'Free Pascal Compiler initial macros';
ctsScannedFiles = 'Scanned files: %s';
ctsFreePascalSourcesPlusDesc = 'Free Pascal Sources, %s';
ctsSourceFilenamesForStandardFPCUnits =
'Source filenames for the standard fpc units';
ctsFreePascalSourceDir = 'Free Pascal Source Directory';
ctsSrcPathInitialization = 'SrcPath Initialization';
ctsUnitPathInitialization = 'UnitPath Initialization';
ctsDefineLCL = 'Define LCL';
ctsDefineLCLWidgetset = 'Define LCLwidgetset, e.g. LCLgtk';
ctsFPDocSystemOn = 'enable FPDocSystem';
ctsCompiler = 'Compiler';
ctsDefineProcessorType = 'Define processor type';
ctsRuntimeLibrary = 'Runtime library';
ctsProcessorSpecific = 'processor specific';
ctsFreePascalComponentLibrary = 'Free Pascal Component Library';
ctsIncludeDirectoriesPlusDirs = 'include directories: %s';
ctsPackageDirectories = 'Package directories';
ctsUtilsDirectories = 'Utils directories';
ctsIfTargetOSIsNotSrcOS = 'If TargetOS<>SrcOS';
ctsIfTargetOSIsNotSrcOS2 = 'If TargetOS<>SrcOS2';
ctsInstallerDirectories = 'Installer directories';
ctsDefsForLazarusSources = 'Definitions for the Lazarus Sources';
ctsAddsDirToSourcePath = 'adds %s to SrcPath';
ctsIfDefWindows = 'IfDef Windows';
ctsIfDefLinux = 'IfDef Linux';
ctsIfDefDarwin = 'IfDef Darwin';
ctsAddsDirToIncludePath = 'adds %s to IncPath';
ctsSetsIncPathTo = 'sets IncPath to %s';
ctsSetsSrcPathTo = 'sets SrcPath to %s';
ctsNamedDirectory = '%s Directory';
ctsIfLCLWidgetTypeEqualsGtk2 = 'If LCLWidgetType=gtk2 then';
ctsElse = 'else';
ctsIfTargetOSIsNotWin32 = 'If TargetOS<>win32 then';
ctsComponentsDirectory = 'Components Directory';
ctsCustomComponentsDirectory = 'Custom Components Directory';
ctsToolsDirectory = 'Tools Directory';
ctsInstallDirectory = 'Install Directory';
ctsDesignerDirectory = 'Designer Directory';
ctsCompiledSrcPath = 'Compiled SrcPath';
ctsPackagerDirectory = 'Packager Directory';
ctsPackagerRegistrationDirectory = 'Packager Registration Directory';
ctsPackagerUnitsDirectory = 'Packager Units Directory';
ctsLazarusMainDirectory = 'lazarus main directory';
ctsDebuggerDirectory = 'Debugger Directory';
ctsConverterDirectory = 'Converter Directory';
ctsIDEDirectory = 'IDE Directory';
ctsDocEditorDirectory = 'Doc Editor Directory';
ctsLazarusSources = 'Lazarus Sources';
ctsAnLCLProject = 'an LCL project';
ctsOtherCompilerDefines = '%s Compiler Defines';
ctsResetAllDefines = 'Reset all defines';
ctsDefineMacroName = 'Define Macro %s';
ctsNamedProject = '%s Project';
ctsDefine = 'Define ';
ctsUndefine = 'Undefine ';
ctsCommandLineParameters = 'Command line parameters';
// eventcodetool
ctsMethodTypeDefinitionNotFound = 'method type definition not found';
ctsExpectedAMethodTypeButFound = 'expected a method type, but found %s';
ctsOldMethodNotFound = 'old method not found: %s';
ctsClassNotFound2 = 'class not found "%s"';
ctsMethodHasNoDeclaration = 'method "%s" has no declaration';
implementation
end.
|