From ceb7ec1a37071d26138e68148de662df7db8b48c Mon Sep 17 00:00:00 2001 From: mattias Date: Wed, 14 Jul 2010 15:53:53 +0000 Subject: [PATCH] IDE: package file: use english header to avoid svn updates git-svn-id: trunk@26650 - --- ide/lazarusidestrconsts.pas | 4 ---- packager/packagesystem.pas | 6 +++--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/ide/lazarusidestrconsts.pas b/ide/lazarusidestrconsts.pas index 40d3293198..4c01870df8 100644 --- a/ide/lazarusidestrconsts.pas +++ b/ide/lazarusidestrconsts.pas @@ -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 ' diff --git a/packager/packagesystem.pas b/packager/packagesystem.pas index 304782bf24..a03b4f1ccb 100644 --- a/packager/packagesystem.pas +++ b/packager/packagesystem.pas @@ -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);