replaced automatic package header comment to avoid translators bugs

git-svn-id: trunk@7004 -
This commit is contained in:
mattias 2005-03-21 09:53:14 +00:00
parent e1b84e31df
commit e66b2fa73c
2 changed files with 9 additions and 6 deletions

View File

@ -2157,10 +2157,11 @@ resourcestring
+'file for package %s is not a valid executable:%s%s';
lisPkgMangPackageHasNoValidOutputDirectory = 'Package %s%s%s has no valid '
+'output directory:%s%s%s%s';
lisPkgMangThisFileWasAutomaticallyCreatedByLazarusDoNotEdit = '%s This file '
+'was automatically created by Lazarus. Do not edit!%s This source is '
+'only used to compile and install%s the package %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

@ -2633,9 +2633,11 @@ begin
end;
// create source
HeaderSrc:=
Format(lisPkgMangThisFileWasAutomaticallyCreatedByLazarusDoNotEdit,
['{ ', e, e, APackage.IDAsString, e+' }'+e+e]);
HeaderSrc:=lisPkgMangThisSourceIsOnlyUsedToCompileAndInstallThePackage;
HeaderSrc:= '{ '
+lisPkgMangThisFileWasAutomaticallyCreatedByLazarusDoNotEdit+e
+lisPkgMangThisSourceIsOnlyUsedToCompileAndInstallThePackage+e
+' }'+e+e;
Src:='unit '+APackage.Name+';'+e
+e
+'interface'+e