mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 20:59:06 +02:00
IDE: formatting. Format some resource strings so that line changes together with %s referring to LineEnding.
git-svn-id: trunk@45553 -
This commit is contained in:
parent
3decf18afd
commit
53765b59dd
@ -2805,8 +2805,8 @@ begin
|
|||||||
TComponent(ControlSelection[i].Persistent));
|
TComponent(ControlSelection[i].Persistent));
|
||||||
if AncestorRoot<>nil then begin
|
if AncestorRoot<>nil then begin
|
||||||
IDEMessageDialog(lisInvalidDelete,
|
IDEMessageDialog(lisInvalidDelete,
|
||||||
Format(lisTheComponentIsInheritedFromToDeleteAnInheritedComp, [dbgsName(
|
Format(lisTheComponentIsInheritedFromToDeleteAnInheritedComp,
|
||||||
ControlSelection[i].Persistent), dbgsName(AncestorRoot), LineEnding]),
|
[dbgsName(ControlSelection[i].Persistent), dbgsName(AncestorRoot), LineEnding]),
|
||||||
mtInformation, [mbOk]);
|
mtInformation, [mbOk]);
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
|
@ -2717,8 +2717,7 @@ begin
|
|||||||
or (not FileIsExecutableCached(EnvironmentOptions.GetParsedDebuggerFilename)))
|
or (not FileIsExecutableCached(EnvironmentOptions.GetParsedDebuggerFilename)))
|
||||||
then begin
|
then begin
|
||||||
if IDEQuestionDialog(lisDbgMangNoDebuggerSpecified,
|
if IDEQuestionDialog(lisDbgMangNoDebuggerSpecified,
|
||||||
Format(lisDbgMangThereIsNoDebuggerSpecifiedSettingBreakpointsHaveNo,
|
Format(lisDbgMangThereIsNoDebuggerSpecifiedSettingBreakpointsHaveNo,[LineEnding]),
|
||||||
[LineEnding]),
|
|
||||||
mtWarning, [mrCancel, mrIgnore, lisDbgMangSetTheBreakpointAnyway])
|
mtWarning, [mrCancel, mrIgnore, lisDbgMangSetTheBreakpointAnyway])
|
||||||
<>mrIgnore
|
<>mrIgnore
|
||||||
then
|
then
|
||||||
@ -2740,8 +2739,7 @@ begin
|
|||||||
or (not FileIsExecutableCached(EnvironmentOptions.GetParsedDebuggerFilename)))
|
or (not FileIsExecutableCached(EnvironmentOptions.GetParsedDebuggerFilename)))
|
||||||
then begin
|
then begin
|
||||||
if IDEQuestionDialog(lisDbgMangNoDebuggerSpecified,
|
if IDEQuestionDialog(lisDbgMangNoDebuggerSpecified,
|
||||||
Format(lisDbgMangThereIsNoDebuggerSpecifiedSettingBreakpointsHaveNo,
|
Format(lisDbgMangThereIsNoDebuggerSpecifiedSettingBreakpointsHaveNo,[LineEnding]),
|
||||||
[LineEnding]),
|
|
||||||
mtWarning, [mrCancel, mrIgnore, lisDbgMangSetTheBreakpointAnyway])<>mrIgnore
|
mtWarning, [mrCancel, mrIgnore, lisDbgMangSetTheBreakpointAnyway])<>mrIgnore
|
||||||
then
|
then
|
||||||
exit;
|
exit;
|
||||||
|
@ -404,8 +404,8 @@ begin
|
|||||||
if Code=nil then exit;
|
if Code=nil then exit;
|
||||||
|
|
||||||
if not IsIdentifierInCode(Code,Msg.Column,Msg.Line,Identifier,
|
if not IsIdentifierInCode(Code,Msg.Column,Msg.Line,Identifier,
|
||||||
Format(lisNotFoundInAtLineColumnMaybeTheMessageIsOutdated, [Identifier, Code
|
Format(lisNotFoundInAtLineColumnMaybeTheMessageIsOutdated,
|
||||||
.Filename, IntToStr(Msg.Line), IntToStr(Msg.Column), LineEnding]))
|
[Identifier, Code.Filename, IntToStr(Msg.Line), IntToStr(Msg.Column), LineEnding]))
|
||||||
then exit;
|
then exit;
|
||||||
|
|
||||||
if not CodeToolBoss.RemoveIdentifierDefinition(Code,Msg.Column,Msg.Line) then
|
if not CodeToolBoss.RemoveIdentifierDefinition(Code,Msg.Column,Msg.Line) then
|
||||||
|
@ -459,8 +459,8 @@ resourcestring
|
|||||||
lisContinueAndDoNotAskAgain = 'Continue and do not ask again';
|
lisContinueAndDoNotAskAgain = 'Continue and do not ask again';
|
||||||
lisSuspiciousUnitPath = 'Suspicious unit path';
|
lisSuspiciousUnitPath = 'Suspicious unit path';
|
||||||
lisThePackageAddsThePathToTheUnitPathOfTheIDEThisIsPr = 'The package %s '
|
lisThePackageAddsThePathToTheUnitPathOfTheIDEThisIsPr = 'The package %s '
|
||||||
+'adds the path "%s" to the unit path of the IDE.%sThis is probably a '
|
+'adds the path "%s" to the unit path of the IDE.'
|
||||||
+'misconfiguration of the package.';
|
+'%sThis is probably a misconfiguration of the package.';
|
||||||
lisMenuResetDebugger = 'Reset Debugger';
|
lisMenuResetDebugger = 'Reset Debugger';
|
||||||
lisMenuRunParameters = 'Run &Parameters ...';
|
lisMenuRunParameters = 'Run &Parameters ...';
|
||||||
lisMenuBuildFile = 'Build File';
|
lisMenuBuildFile = 'Build File';
|
||||||
@ -3804,27 +3804,29 @@ resourcestring
|
|||||||
lisPkgMangRequiredPackagesWereNotFound = 'One or more required packages were not '
|
lisPkgMangRequiredPackagesWereNotFound = 'One or more required packages were not '
|
||||||
+'found. See package graph for details.';
|
+'found. See package graph for details.';
|
||||||
lisPkgMangCircularDependencies = 'Circular dependencies found';
|
lisPkgMangCircularDependencies = 'Circular dependencies found';
|
||||||
lisPkgMangThePackageIsCompiledAutomaticallyAndItsOutputDirec = 'The package '
|
lisPkgMangThePackageIsCompiledAutomaticallyAndItsOutputDirec = 'The package "%s" '
|
||||||
+'%s is compiled automatically and its output directory is "%s", which is '
|
+'is compiled automatically and its output directory is "%s", which is in the '
|
||||||
+'in the default unit search path of the compiler. The package uses other '
|
+'default unit search path of the compiler. The package uses other packages which '
|
||||||
+'packages which also use the default unit search of the compiler. This '
|
+'also use the default unit search of the compiler. This creates an endless loop.'
|
||||||
+'creates an endless loop.%sYou can fix this issue%sby removing the path from '
|
+'%sYou can fix this issue by removing the path from your compiler config (e.g. fpc.cfg)'
|
||||||
+'your compiler config (e.g. fpc.cfg)%sor by disabling the auto update of '
|
+'%sor by disabling the auto update of this package or by removing dependencies.';
|
||||||
+'this package%sor by removing dependencies.';
|
|
||||||
lisPkgMangThereIsACircularDependency = 'There is a circular dependency in the '
|
lisPkgMangThereIsACircularDependency = 'There is a circular dependency in the '
|
||||||
+'packages. See package graph.';
|
+'packages. See package graph.';
|
||||||
lisPkgMangThereAreTwoUnitsWithTheSameName1From2From = 'There are two units '
|
lisPkgMangThereAreTwoUnitsWithTheSameName1From2From = 'There are two units with the same name:'
|
||||||
+'with the same name:%s%s1. "%s" from %s%s2. "%s" from %s%s%s';
|
+'%s1. "%s" from %s'
|
||||||
lisPkgMangThereIsAUnitWithTheSameNameAsAPackage1From2 = 'There is a unit '
|
+'%s2. "%s" from %s';
|
||||||
+'with the same name as a package:%s%s1. "%s" from %s%s2. "%s%s%s';
|
lisPkgMangThereIsAUnitWithTheSameNameAsAPackage1From2 = 'There is a unit with the same name as a package:'
|
||||||
|
+'%s1. "%s" from %s'
|
||||||
|
+'%s2. "%s"';
|
||||||
lisPkgMangAmbiguousUnitsFound = 'Ambiguous units found';
|
lisPkgMangAmbiguousUnitsFound = 'Ambiguous units found';
|
||||||
lisPkgMangBothPackagesAreConnectedThisMeansEitherOnePackageU = '%sBoth '
|
lisPkgMangBothPackagesAreConnectedThisMeansEitherOnePackageU = '%sBoth '
|
||||||
+'packages are connected. This means, either one package uses the other, '
|
+'packages are connected. This means, either one package uses the other, '
|
||||||
+'or they are both used by a third package.';
|
+'or they are both used by a third package.';
|
||||||
lisPkgMangThereIsAFPCUnitWithTheSameNameFrom = 'There is a FPC unit with '
|
lisPkgMangThereIsAFPCUnitWithTheSameNameFrom = 'There is a FPC unit with '
|
||||||
+'the same name as:%s%s"%s" from %s%s%s';
|
+'the same name as:%s"%s" from %s';
|
||||||
lisPkgMangThereIsAFPCUnitWithTheSameNameAsAPackage = 'There is a FPC unit '
|
lisPkgMangThereIsAFPCUnitWithTheSameNameAsAPackage = 'There is a FPC unit '
|
||||||
+'with the same name as a package:%s%s"%s%s%s';
|
+'with the same name as a package:'
|
||||||
|
+'%s"%s"';
|
||||||
lisPkgMangErrorWritingFile = 'Error writing file';
|
lisPkgMangErrorWritingFile = 'Error writing file';
|
||||||
lisProjMangUnableToWriteStateFileForProjectError = 'Unable to write state '
|
lisProjMangUnableToWriteStateFileForProjectError = 'Unable to write state '
|
||||||
+'file for project %s%sError: %s';
|
+'file for project %s%sError: %s';
|
||||||
@ -3908,14 +3910,16 @@ resourcestring
|
|||||||
lisPkgMangAddingNewDependencyForPackagePackage = '%sAdding new Dependency '
|
lisPkgMangAddingNewDependencyForPackagePackage = '%sAdding new Dependency '
|
||||||
+'for package %s: package %s';
|
+'for package %s: package %s';
|
||||||
lisPkgMangTheFollowingUnitsWillBeAddedToTheUsesSectionOf = '%sThe following '
|
lisPkgMangTheFollowingUnitsWillBeAddedToTheUsesSectionOf = '%sThe following '
|
||||||
+'units will be added to the uses section of%s%s:%s%s%s';
|
+'units will be added to the uses section of'
|
||||||
|
+'%s%s:'
|
||||||
|
+'%s%s';
|
||||||
lisConfirmChanges = 'Confirm changes';
|
lisConfirmChanges = 'Confirm changes';
|
||||||
lisPkgMangFileNotSaved = 'File not saved';
|
lisPkgMangFileNotSaved = 'File not saved';
|
||||||
lisPkgMangPleaseSaveTheFileBeforeAddingItToAPackage = 'Please save the file '
|
lisPkgMangPleaseSaveTheFileBeforeAddingItToAPackage = 'Please save the file '
|
||||||
+'before adding it to a package.';
|
+'before adding it to a package.';
|
||||||
lisPkgMangFileIsInProject = 'File is in Project';
|
lisPkgMangFileIsInProject = 'File is in Project';
|
||||||
lisPkgMangWarningTheFileBelongsToTheCurrentProject = 'Warning: The file "%s"%s'
|
lisPkgMangWarningTheFileBelongsToTheCurrentProject = 'Warning: The file "%s"'
|
||||||
+'belongs to the current project.';
|
+'%sbelongs to the current project.';
|
||||||
lisPkgMangFileIsAlreadyInPackage = 'File is already in package';
|
lisPkgMangFileIsAlreadyInPackage = 'File is already in package';
|
||||||
lisPkgMangTheFileIsAlreadyInThePackage = 'The file "%s"%sis already in the package %s.';
|
lisPkgMangTheFileIsAlreadyInThePackage = 'The file "%s"%sis already in the package %s.';
|
||||||
lisPkgMangPackageIsNoDesigntimePackage = 'Package is not a designtime package';
|
lisPkgMangPackageIsNoDesigntimePackage = 'Package is not a designtime package';
|
||||||
@ -3934,7 +3938,8 @@ resourcestring
|
|||||||
+'%sDo you want to rebuild Lazarus now?';
|
+'%sDo you want to rebuild Lazarus now?';
|
||||||
lisPkgMangPackageIsRequired = 'Package is required';
|
lisPkgMangPackageIsRequired = 'Package is required';
|
||||||
lisPkgMangThePackageIsRequiredByWhichIsMarkedForInstallation = 'The package %s '
|
lisPkgMangThePackageIsRequiredByWhichIsMarkedForInstallation = 'The package %s '
|
||||||
+'is required by %s, which is marked for installation.%sSee package graph.';
|
+'is required by %s, which is marked for installation.'
|
||||||
|
+'%sSee package graph.';
|
||||||
lisPkgMangUninstallPackage = 'Uninstall package?';
|
lisPkgMangUninstallPackage = 'Uninstall package?';
|
||||||
lisPkgMangUninstallPackage2 = 'Uninstall package %s?';
|
lisPkgMangUninstallPackage2 = 'Uninstall package %s?';
|
||||||
lisPkgMangThePackageWasMarkedCurrentlyLazarus = 'The package "%s" was marked.'
|
lisPkgMangThePackageWasMarkedCurrentlyLazarus = 'The package "%s" was marked.'
|
||||||
@ -3945,15 +3950,16 @@ resourcestring
|
|||||||
+'virtual package. It has no source yet. Please save the package first.';
|
+'virtual package. It has no source yet. Please save the package first.';
|
||||||
lisPkgMangPleaseCompileThePackageFirst = 'Please compile the package first.';
|
lisPkgMangPleaseCompileThePackageFirst = 'Please compile the package first.';
|
||||||
lisPkgMangThePackageIsMarkedForInstallationButCanNotBeFound = 'The package "%s" '
|
lisPkgMangThePackageIsMarkedForInstallationButCanNotBeFound = 'The package "%s" '
|
||||||
+'is marked for installation, but cannot be found.%sRemove '
|
+'is marked for installation, but cannot be found.'
|
||||||
+'dependency from the installation list of packages?';
|
+'%sRemove dependency from the installation list of packages?';
|
||||||
lisERRORInvalidBuildMode = 'ERROR: invalid build mode "%s"';
|
lisERRORInvalidBuildMode = 'ERROR: invalid build mode "%s"';
|
||||||
lisAvailableProjectBuildModes = 'Available project build modes:';
|
lisAvailableProjectBuildModes = 'Available project build modes:';
|
||||||
lisThisProjectHasOnlyTheDefaultBuildMode = 'This project has only the default build mode.';
|
lisThisProjectHasOnlyTheDefaultBuildMode = 'This project has only the default build mode.';
|
||||||
lisPkgMangstaticPackagesConfigFile = 'static packages config file';
|
lisPkgMangstaticPackagesConfigFile = 'static packages config file';
|
||||||
lisPkgMangUnableToCreateTargetDirectoryForLazarus = 'Unable to create '
|
lisPkgMangUnableToCreateTargetDirectoryForLazarus = 'Unable to create '
|
||||||
+'target directory for Lazarus:%s"%s".%sThis directory is needed for '
|
+'target directory for Lazarus:'
|
||||||
+'the new changed Lazarus IDE with your custom packages.';
|
+'%s"%s".'
|
||||||
|
+'%sThis directory is needed for the new changed Lazarus IDE with your custom packages.';
|
||||||
lisPkgMangCompilingPackage = 'Compiling package %s';
|
lisPkgMangCompilingPackage = 'Compiling package %s';
|
||||||
lisPkgMangErrorUpdatingPoFilesFailedForPackage = 'Error: updating po files '
|
lisPkgMangErrorUpdatingPoFilesFailedForPackage = 'Error: updating po files '
|
||||||
+'failed for package %s';
|
+'failed for package %s';
|
||||||
@ -4019,8 +4025,8 @@ resourcestring
|
|||||||
// add to package dialog
|
// add to package dialog
|
||||||
lisA2PInvalidFilename = 'Invalid filename';
|
lisA2PInvalidFilename = 'Invalid filename';
|
||||||
lisA2PTheFilenameIsAmbiguousPleaseSpecifiyAFilename = 'The filename "%s" '
|
lisA2PTheFilenameIsAmbiguousPleaseSpecifiyAFilename = 'The filename "%s" '
|
||||||
+'is ambiguous, because the package has no default directory yet.%s'
|
+'is ambiguous, because the package has no default directory yet.'
|
||||||
+'Please specify a filename with full path.';
|
+'%sPlease specify a filename with full path.';
|
||||||
lisA2PFileNotUnit = 'File not unit';
|
lisA2PFileNotUnit = 'File not unit';
|
||||||
lisA2PPascalUnitsMustHaveTheExtensionPPOrPas = 'Pascal units must have the '
|
lisA2PPascalUnitsMustHaveTheExtensionPPOrPas = 'Pascal units must have the '
|
||||||
+'extension .pp or .pas';
|
+'extension .pp or .pas';
|
||||||
@ -4033,12 +4039,14 @@ resourcestring
|
|||||||
lisA2PFileAlreadyExistsInThePackage = 'File "%s" already exists in the package.';
|
lisA2PFileAlreadyExistsInThePackage = 'File "%s" already exists in the package.';
|
||||||
lisA2PAmbiguousUnitName = 'Ambiguous Unit Name';
|
lisA2PAmbiguousUnitName = 'Ambiguous Unit Name';
|
||||||
lisA2PTheUnitNameIsTheSameAsAnRegisteredComponent = 'The unit name "%s" is the '
|
lisA2PTheUnitNameIsTheSameAsAnRegisteredComponent = 'The unit name "%s" is the '
|
||||||
+'same as a registered component.%sUsing this can cause strange error messages.';
|
+'same as a registered component.'
|
||||||
|
+'%sUsing this can cause strange error messages.';
|
||||||
lisA2PExistingFile2 = 'Existing file: "%s"';
|
lisA2PExistingFile2 = 'Existing file: "%s"';
|
||||||
lisA2PFileAlreadyExists = 'File already exists';
|
lisA2PFileAlreadyExists = 'File already exists';
|
||||||
lisA2PFileIsUsed = 'File is used';
|
lisA2PFileIsUsed = 'File is used';
|
||||||
lisA2PTheFileIsPartOfTheCurrentProjectItIsABadIdea = 'The file "%s" is part of the '
|
lisA2PTheFileIsPartOfTheCurrentProjectItIsABadIdea = 'The file "%s" is part of the '
|
||||||
+'current project.%sIt is a bad idea to share files between projects and packages.';
|
+'current project.'
|
||||||
|
+'%sIt is a bad idea to share files between projects and packages.';
|
||||||
lisA2PTheMaximumVersionIsLowerThanTheMinimimVersion = 'The Maximum Version '
|
lisA2PTheMaximumVersionIsLowerThanTheMinimimVersion = 'The Maximum Version '
|
||||||
+'is lower than the Minimim Version.';
|
+'is lower than the Minimim Version.';
|
||||||
lisA2PThePackageNameIsInvalidPleaseChooseAnExisting = 'The package name "%s" '
|
lisA2PThePackageNameIsInvalidPleaseChooseAnExisting = 'The package name "%s" '
|
||||||
@ -4151,12 +4159,14 @@ resourcestring
|
|||||||
lisPckEditInstall = 'Install';
|
lisPckEditInstall = 'Install';
|
||||||
lisPckEditUninstall = 'Uninstall';
|
lisPckEditUninstall = 'Uninstall';
|
||||||
lisPckEditViewPackageSource = 'View Package Source';
|
lisPckEditViewPackageSource = 'View Package Source';
|
||||||
lisPckEditPackageHasChangedSavePackage = 'Package "%s" has changed.%sSave package?';
|
lisPckEditPackageHasChangedSavePackage = 'Package "%s" has changed.'
|
||||||
|
+'%sSave package?';
|
||||||
lisPckEditPage = '%s, Page: %s';
|
lisPckEditPage = '%s, Page: %s';
|
||||||
lisPckEditRemoveFile2 = 'Remove file?';
|
lisPckEditRemoveFile2 = 'Remove file?';
|
||||||
lisPckEditRemoveFileFromPackage = 'Remove file "%s"%sfrom package "%s"?';
|
lisPckEditRemoveFileFromPackage = 'Remove file "%s"%sfrom package "%s"?';
|
||||||
lisPckEditRemoveDependency2 = 'Remove Dependency?';
|
lisPckEditRemoveDependency2 = 'Remove Dependency?';
|
||||||
lisPckEditRemoveDependencyFromPackage = 'Remove dependency "%s"%sfrom package "%s"?';
|
lisPckEditRemoveDependencyFromPackage = 'Remove dependency "%s"'
|
||||||
|
+'%sfrom package "%s"?';
|
||||||
lisRemoveDependenciesFromPackage = 'Remove %s dependencies from package "%s"?';
|
lisRemoveDependenciesFromPackage = 'Remove %s dependencies from package "%s"?';
|
||||||
lisPckEditInvalidMinimumVersion = 'Invalid minimum version';
|
lisPckEditInvalidMinimumVersion = 'Invalid minimum version';
|
||||||
lisPckEditTheMinimumVersionIsNotAValidPackageVersion = 'The minimum '
|
lisPckEditTheMinimumVersionIsNotAValidPackageVersion = 'The minimum '
|
||||||
|
Loading…
Reference in New Issue
Block a user