IDE: package file: use english header to avoid svn updates

git-svn-id: trunk@26650 -
This commit is contained in:
mattias 2010-07-14 15:53:53 +00:00
parent f3b5dbe139
commit ceb7ec1a37
2 changed files with 3 additions and 7 deletions

View File

@ -3542,10 +3542,6 @@ resourcestring
lisPkgMangPackageHasNoValidOutputDirectory = 'Package %s%s%s has no valid '
+'output directory:%s%s%s%s';
lisPkgMangpackageMainSourceFile = 'package main source file';
lisPkgMangThisFileWasAutomaticallyCreatedByLazarusDoNotEdit = 'This file '
+'was automatically created by Lazarus. Do not edit!';
lisPkgMangThisSourceIsOnlyUsedToCompileAndInstallThePackage = 'This source '
+'is only used to compile and install the package.';
lisPkgMangRenameFileInPackage = 'Rename file in package?';
lisPkgMangThePackageOwnsTheFileShouldTheFileBeRenamed = 'The package %s '
+'owns the file%s%s%s%s.%sShould the file be renamed in the package as '

View File

@ -3787,9 +3787,9 @@ begin
// create source
BeautifyCodeOptions:=CodeToolBoss.SourceChangeCache.BeautifyCodeOptions;
HeaderSrc:= '{ '
+lisPkgMangThisFileWasAutomaticallyCreatedByLazarusDoNotEdit+e
+' '+lisPkgMangThisSourceIsOnlyUsedToCompileAndInstallThePackage+e
// keep in english to avoid svn updates
HeaderSrc:= '{ This file was automatically created by Lazarus. Do not edit!'+e
+' This source is only used to compile and install the package.'+e
+' }'+e+e;
// leave the unit case the same as the package name (e.g: package name LazReport, unit name lazreport)
PkgUnitName := ExtractFileNameOnly(SrcFilename);