mirror of
				https://gitlab.com/freepascal.org/lazarus/lazarus.git
				synced 2025-10-30 18:01:53 +01:00 
			
		
		
		
	replaced automatic package header comment to avoid translators bugs
git-svn-id: trunk@7004 -
This commit is contained in:
		
							parent
							
								
									e1b84e31df
								
							
						
					
					
						commit
						e66b2fa73c
					
				| @ -2157,10 +2157,11 @@ resourcestring | |||||||
|     +'file for package %s is not a valid executable:%s%s'; |     +'file for package %s is not a valid executable:%s%s'; | ||||||
|   lisPkgMangPackageHasNoValidOutputDirectory = 'Package %s%s%s has no valid ' |   lisPkgMangPackageHasNoValidOutputDirectory = 'Package %s%s%s has no valid ' | ||||||
|     +'output directory:%s%s%s%s'; |     +'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'; |   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?'; |   lisPkgMangRenameFileInPackage = 'Rename file in package?'; | ||||||
|   lisPkgMangThePackageOwnsTheFileShouldTheFileBeRenamed = 'The package %s ' |   lisPkgMangThePackageOwnsTheFileShouldTheFileBeRenamed = 'The package %s ' | ||||||
|     +'owns the file%s%s%s%s.%sShould the file be renamed in the package as ' |     +'owns the file%s%s%s%s.%sShould the file be renamed in the package as ' | ||||||
|  | |||||||
| @ -2633,9 +2633,11 @@ begin | |||||||
|   end; |   end; | ||||||
| 
 | 
 | ||||||
|   // create source |   // create source | ||||||
|   HeaderSrc:= |   HeaderSrc:=lisPkgMangThisSourceIsOnlyUsedToCompileAndInstallThePackage; | ||||||
|        Format(lisPkgMangThisFileWasAutomaticallyCreatedByLazarusDoNotEdit, |   HeaderSrc:= '{ ' | ||||||
|        ['{ ', e, e, APackage.IDAsString, e+' }'+e+e]); |            +lisPkgMangThisFileWasAutomaticallyCreatedByLazarusDoNotEdit+e | ||||||
|  |            +lisPkgMangThisSourceIsOnlyUsedToCompileAndInstallThePackage+e | ||||||
|  |            +' }'+e+e; | ||||||
|   Src:='unit '+APackage.Name+';'+e |   Src:='unit '+APackage.Name+';'+e | ||||||
|       +e |       +e | ||||||
|       +'interface'+e |       +'interface'+e | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 mattias
						mattias