mirror of
				https://gitlab.com/freepascal.org/lazarus/lazarus.git
				synced 2025-10-25 12:41:31 +02:00 
			
		
		
		
	Components, Daemon:
1. Fixed creating new projects when using FPC resources (patch from alexs). 2. Enabled i18n (patch from alexs). 3. Fixed string typo and added Russian translation. git-svn-id: trunk@27149 -
This commit is contained in:
		
							parent
							
								
									63f09fd4cd
								
							
						
					
					
						commit
						fb7cc5ffff
					
				
							
								
								
									
										2
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
								
							| @ -616,6 +616,8 @@ components/customform/demo/dbappform.pas svneol=native#text/plain | |||||||
| components/customform/demo/regappforms.pp svneol=native#text/plain | components/customform/demo/regappforms.pp svneol=native#text/plain | ||||||
| components/customform/lazcustforms.lpk svneol=native#text/plain | components/customform/lazcustforms.lpk svneol=native#text/plain | ||||||
| components/customform/lazcustforms.pas svneol=native#text/plain | components/customform/lazcustforms.pas svneol=native#text/plain | ||||||
|  | components/daemon/languages/reglazdaemon.po svneol=native#text/plain | ||||||
|  | components/daemon/languages/reglazdaemon.ru.po svneol=native#text/plain | ||||||
| components/daemon/lazdaemon.lpk svneol=native#text/plain | components/daemon/lazdaemon.lpk svneol=native#text/plain | ||||||
| components/daemon/lazdaemon.pas svneol=native#text/plain | components/daemon/lazdaemon.pas svneol=native#text/plain | ||||||
| components/daemon/lazdaemonapp.pp svneol=native#text/plain | components/daemon/lazdaemonapp.pp svneol=native#text/plain | ||||||
|  | |||||||
							
								
								
									
										33
									
								
								components/daemon/languages/reglazdaemon.po
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								components/daemon/languages/reglazdaemon.po
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | |||||||
|  | msgid "" | ||||||
|  | msgstr "Content-Type: text/plain; charset=UTF-8" | ||||||
|  | 
 | ||||||
|  | #: reglazdaemon.sdaemonappdescr | ||||||
|  | msgid "Daemon (service) application is a non-gui application that runs in the background." | ||||||
|  | msgstr "" | ||||||
|  | 
 | ||||||
|  | #: reglazdaemon.sdaemonappname | ||||||
|  | msgid "Daemon (service) application" | ||||||
|  | msgstr "" | ||||||
|  | 
 | ||||||
|  | #: reglazdaemon.sdaemonapps | ||||||
|  | msgid "Daemon (service) applications" | ||||||
|  | msgstr "" | ||||||
|  | 
 | ||||||
|  | #: reglazdaemon.sdaemondescr | ||||||
|  | msgid "Daemon Module for inclusion in a daemon application" | ||||||
|  | msgstr "" | ||||||
|  | 
 | ||||||
|  | #: reglazdaemon.sdaemonmapperdescr | ||||||
|  | msgid "" | ||||||
|  | "Daemon mapper for inclusion in a daemon application.\n" | ||||||
|  | "Only one daemon mapper may exist in a daemon application.\n" | ||||||
|  | msgstr "" | ||||||
|  | 
 | ||||||
|  | #: reglazdaemon.sdaemonmappername | ||||||
|  | msgid "Daemon mapper" | ||||||
|  | msgstr "" | ||||||
|  | 
 | ||||||
|  | #: reglazdaemon.sdaemonname | ||||||
|  | msgid "Daemon Module" | ||||||
|  | msgstr "" | ||||||
|  | 
 | ||||||
							
								
								
									
										44
									
								
								components/daemon/languages/reglazdaemon.ru.po
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								components/daemon/languages/reglazdaemon.ru.po
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,44 @@ | |||||||
|  | msgid "" | ||||||
|  | msgstr "" | ||||||
|  | "Content-Type: text/plain; charset=UTF-8\n" | ||||||
|  | "Project-Id-Version: \n" | ||||||
|  | "POT-Creation-Date: \n" | ||||||
|  | "PO-Revision-Date: \n" | ||||||
|  | "Last-Translator: Maxim Ganetsky <maxkill@mail.ru>\n" | ||||||
|  | "Language-Team: \n" | ||||||
|  | "MIME-Version: 1.0\n" | ||||||
|  | "Content-Transfer-Encoding: 8bit\n" | ||||||
|  | 
 | ||||||
|  | #: reglazdaemon.sdaemonappdescr | ||||||
|  | #| msgid "Daemon (service) application are non-gui applications that run in the background." | ||||||
|  | msgid "Daemon (service) application is a non-gui application that runs in the background." | ||||||
|  | msgstr "Приложение-демон (служба) является приложением без графического интерфейса пользователя, работающим в фоновом режиме." | ||||||
|  | 
 | ||||||
|  | #: reglazdaemon.sdaemonappname | ||||||
|  | msgid "Daemon (service) application" | ||||||
|  | msgstr "Приложение-демон (служба)" | ||||||
|  | 
 | ||||||
|  | #: reglazdaemon.sdaemonapps | ||||||
|  | msgid "Daemon (service) applications" | ||||||
|  | msgstr "Приложения-демоны (службы)" | ||||||
|  | 
 | ||||||
|  | #: reglazdaemon.sdaemondescr | ||||||
|  | msgid "Daemon Module for inclusion in a daemon application" | ||||||
|  | msgstr "Модуль демона для включения в приложение-демон" | ||||||
|  | 
 | ||||||
|  | #: reglazdaemon.sdaemonmapperdescr | ||||||
|  | msgid "" | ||||||
|  | "Daemon mapper for inclusion in a daemon application.\n" | ||||||
|  | "Only one daemon mapper may exist in a daemon application.\n" | ||||||
|  | msgstr "" | ||||||
|  | "Средство привязки демонов для включения в приложение-демон.\n" | ||||||
|  | "В приложении-демоне может иметься только один экземпляр средства привязки демонов.\n" | ||||||
|  | 
 | ||||||
|  | #: reglazdaemon.sdaemonmappername | ||||||
|  | msgid "Daemon mapper" | ||||||
|  | msgstr "Средство привязки демонов" | ||||||
|  | 
 | ||||||
|  | #: reglazdaemon.sdaemonname | ||||||
|  | msgid "Daemon Module" | ||||||
|  | msgstr "Модуль демона" | ||||||
|  | 
 | ||||||
| @ -5,12 +5,17 @@ | |||||||
|     <AddToProjectUsesSection Value="False"/> |     <AddToProjectUsesSection Value="False"/> | ||||||
|     <Author Value="Michael Van Canneyt"/> |     <Author Value="Michael Van Canneyt"/> | ||||||
|     <CompilerOptions> |     <CompilerOptions> | ||||||
|       <Version Value="8"/> |       <Version Value="9"/> | ||||||
|       <SearchPaths> |       <SearchPaths> | ||||||
|         <IncludeFiles Value="unix/"/> |         <IncludeFiles Value="unix/"/> | ||||||
|         <OtherUnitFiles Value="unix/"/> |         <OtherUnitFiles Value="unix/"/> | ||||||
|         <UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType)"/> |         <UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType)"/> | ||||||
|       </SearchPaths> |       </SearchPaths> | ||||||
|  |       <Parsing> | ||||||
|  |         <SyntaxOptions> | ||||||
|  |           <UseAnsiStrings Value="False"/> | ||||||
|  |         </SyntaxOptions> | ||||||
|  |       </Parsing> | ||||||
|       <Other> |       <Other> | ||||||
|         <CompilerPath Value="$(CompPath)"/> |         <CompilerPath Value="$(CompPath)"/> | ||||||
|       </Other> |       </Other> | ||||||
| @ -34,6 +39,10 @@ | |||||||
|         <UnitName Value="lazdaemonapp"/> |         <UnitName Value="lazdaemonapp"/> | ||||||
|       </Item3> |       </Item3> | ||||||
|     </Files> |     </Files> | ||||||
|  |     <i18n> | ||||||
|  |       <EnableI18N Value="True"/> | ||||||
|  |       <OutDir Value="languages"/> | ||||||
|  |     </i18n> | ||||||
|     <Type Value="DesignTime"/> |     <Type Value="DesignTime"/> | ||||||
|     <RequiredPkgs Count="3"> |     <RequiredPkgs Count="3"> | ||||||
|       <Item1> |       <Item1> | ||||||
|  | |||||||
| @ -69,7 +69,7 @@ uses daemonapp; | |||||||
| Resourcestring | Resourcestring | ||||||
|   SDaemonApps     = 'Daemon (service) applications'; |   SDaemonApps     = 'Daemon (service) applications'; | ||||||
|   SDaemonAppName  = 'Daemon (service) application'; |   SDaemonAppName  = 'Daemon (service) application'; | ||||||
|   SDaemonAppDescr = 'Daemon (service) application are non-gui applications that run in the background.'; |   SDaemonAppDescr = 'Daemon (service) application is a non-gui application that runs in the background.'; | ||||||
|   SDaemonName     = 'Daemon Module'; |   SDaemonName     = 'Daemon Module'; | ||||||
|   SDaemonDescr    = 'Daemon Module for inclusion in a daemon application'; |   SDaemonDescr    = 'Daemon Module for inclusion in a daemon application'; | ||||||
|   SDaemonMapperName  = 'Daemon mapper'; |   SDaemonMapperName  = 'Daemon mapper'; | ||||||
| @ -129,6 +129,8 @@ begin | |||||||
|       Add('end;'); |       Add('end;'); | ||||||
|       Add(''); |       Add(''); | ||||||
|       Add(Result); |       Add(Result); | ||||||
|  |       if GetResourceType = rtRes then | ||||||
|  |         Add('initialization'); | ||||||
|       Add('  RegisterDaemon;'); |       Add('  RegisterDaemon;'); | ||||||
|       Result:=Text; |       Result:=Text; | ||||||
|       end; |       end; | ||||||
| @ -259,6 +261,8 @@ begin | |||||||
|       Add('end;'); |       Add('end;'); | ||||||
|       Add(''); |       Add(''); | ||||||
|       Add(Result); |       Add(Result); | ||||||
|  |       if GetResourceType = rtRes then | ||||||
|  |         Add('initialization'); | ||||||
|       Add('  RegisterMapper;'); |       Add('  RegisterMapper;'); | ||||||
|       Result:=Text; |       Result:=Text; | ||||||
|       end; |       end; | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 maxim
						maxim