mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 06:56:10 +02:00
Components: localized CGI component
git-svn-id: trunk@24804 -
This commit is contained in:
parent
641fe2bd69
commit
7ef5aeffed
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -355,6 +355,7 @@ components/cgi/ide/README.txt svneol=native#text/plain
|
|||||||
components/cgi/ide/cgilazide.lpk svneol=native#text/pascal
|
components/cgi/ide/cgilazide.lpk svneol=native#text/pascal
|
||||||
components/cgi/ide/cgilazide.pas svneol=native#text/plain
|
components/cgi/ide/cgilazide.pas svneol=native#text/plain
|
||||||
components/cgi/ide/cgilazideintf.pas svneol=native#text/pascal
|
components/cgi/ide/cgilazideintf.pas svneol=native#text/pascal
|
||||||
|
components/cgi/ide/languages/cgilazideintf.po svneol=native#text/plain
|
||||||
components/cgi/ide/lib/README.txt svneol=native#text/plain
|
components/cgi/ide/lib/README.txt svneol=native#text/plain
|
||||||
components/cgi/languages/cgimodules.de.po svneol=native#text/plain
|
components/cgi/languages/cgimodules.de.po svneol=native#text/plain
|
||||||
components/cgi/languages/cgimodules.id.po svneol=native#text/plain
|
components/cgi/languages/cgimodules.id.po svneol=native#text/plain
|
||||||
|
@ -1,15 +1,12 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<CONFIG>
|
<CONFIG>
|
||||||
<Package Version="2">
|
<Package Version="3">
|
||||||
<Name Value="CGILazIDE"/>
|
<Name Value="CGILazIDE"/>
|
||||||
<CompilerOptions>
|
<CompilerOptions>
|
||||||
<Version Value="5"/>
|
<Version Value="8"/>
|
||||||
<SearchPaths>
|
<SearchPaths>
|
||||||
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)/"/>
|
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/>
|
||||||
</SearchPaths>
|
</SearchPaths>
|
||||||
<CodeGeneration>
|
|
||||||
<Generate Value="Faster"/>
|
|
||||||
</CodeGeneration>
|
|
||||||
<Other>
|
<Other>
|
||||||
<CompilerPath Value="$(CompPath)"/>
|
<CompilerPath Value="$(CompPath)"/>
|
||||||
<CreateMakefileOnBuild Value="True"/>
|
<CreateMakefileOnBuild Value="True"/>
|
||||||
@ -26,6 +23,10 @@
|
|||||||
<Type Value="Text"/>
|
<Type Value="Text"/>
|
||||||
</Item2>
|
</Item2>
|
||||||
</Files>
|
</Files>
|
||||||
|
<i18n>
|
||||||
|
<EnableI18N Value="True"/>
|
||||||
|
<OutDir Value="languages"/>
|
||||||
|
</i18n>
|
||||||
<Type Value="RunAndDesignTime"/>
|
<Type Value="RunAndDesignTime"/>
|
||||||
<RequiredPkgs Count="3">
|
<RequiredPkgs Count="3">
|
||||||
<Item1>
|
<Item1>
|
||||||
@ -40,7 +41,7 @@
|
|||||||
</Item3>
|
</Item3>
|
||||||
</RequiredPkgs>
|
</RequiredPkgs>
|
||||||
<UsageOptions>
|
<UsageOptions>
|
||||||
<UnitPath Value="$(PkgOutDir)"/>
|
<UnitPath Value="$(PkgOutDir)/"/>
|
||||||
</UsageOptions>
|
</UsageOptions>
|
||||||
<PublishOptions>
|
<PublishOptions>
|
||||||
<Version Value="2"/>
|
<Version Value="2"/>
|
||||||
|
@ -67,6 +67,17 @@ procedure Register;
|
|||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
|
resourcestring
|
||||||
|
lisdescription = 'Simple CGI Application%sA CGI (Common Gateway Interface) '
|
||||||
|
+'program in Free Pascal.%sThe program file is automatically maintained '
|
||||||
|
+'by Lazarus.%sThis kind of application is deprecated, for CGI programs '
|
||||||
|
+'or Apache modules, please use the LazWeb package instead.';
|
||||||
|
lisdescrmod = 'Simple CGI Module%sA datamodule for CGI applications.%sThis '
|
||||||
|
+'module is deprecated, please use the CGI module support of the LazWeb '
|
||||||
|
+'package instead.';
|
||||||
|
lissimplecgiapp = 'Simple CGI Application';
|
||||||
|
lissimplecgimod = 'Simple CGI Module';
|
||||||
|
|
||||||
procedure Register;
|
procedure Register;
|
||||||
begin
|
begin
|
||||||
FileDescriptorCGIModule:=TFileDescPascalUnitWithCGIDataModule.Create;
|
FileDescriptorCGIModule:=TFileDescPascalUnitWithCGIDataModule.Create;
|
||||||
@ -86,16 +97,12 @@ end;
|
|||||||
|
|
||||||
function TCGIApplicationDescriptor.GetLocalizedName: string;
|
function TCGIApplicationDescriptor.GetLocalizedName: string;
|
||||||
begin
|
begin
|
||||||
Result:='Simple CGI Application';
|
Result:=lissimplecgiapp;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TCGIApplicationDescriptor.GetLocalizedDescription: string;
|
function TCGIApplicationDescriptor.GetLocalizedDescription: string;
|
||||||
begin
|
begin
|
||||||
Result:='Simple CGI Application'#13#10
|
Result:=Format(lisdescription,[#13#10,#13#10,#13#10]);
|
||||||
+'A CGI (Common Gateway Interface) program in Free Pascal.'#13#10
|
|
||||||
+'The program file is automatically maintained by Lazarus.'#13#10
|
|
||||||
+'This kind of application is deprecated, for CGI programs or Apache modules, '
|
|
||||||
+'please use the LazWeb package instead';
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TCGIApplicationDescriptor.InitProject(AProject: TLazProject): TModalResult;
|
function TCGIApplicationDescriptor.InitProject(AProject: TLazProject): TModalResult;
|
||||||
@ -163,15 +170,12 @@ end;
|
|||||||
|
|
||||||
function TFileDescPascalUnitWithCGIDataModule.GetLocalizedName: string;
|
function TFileDescPascalUnitWithCGIDataModule.GetLocalizedName: string;
|
||||||
begin
|
begin
|
||||||
Result:='Simple CGI Module';
|
Result:=lissimplecgimod;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TFileDescPascalUnitWithCGIDataModule.GetLocalizedDescription: string;
|
function TFileDescPascalUnitWithCGIDataModule.GetLocalizedDescription: string;
|
||||||
begin
|
begin
|
||||||
Result:='Simple CGI Module'#13#10
|
Result:=Format(lisdescrmod,[#13#10,#13#10]);
|
||||||
+'A datamodule for CGI applications.'
|
|
||||||
+'This module is deprecated, please use the CGI module support '
|
|
||||||
+'of the lazweb package instead';
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
19
components/cgi/ide/languages/cgilazideintf.po
Normal file
19
components/cgi/ide/languages/cgilazideintf.po
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
msgid ""
|
||||||
|
msgstr "Content-Type: text/plain; charset=UTF-8"
|
||||||
|
|
||||||
|
#: cgilazideintf.lisdescription
|
||||||
|
msgid "Simple CGI Application%sA CGI (Common Gateway Interface) program in Free Pascal.%sThe program file is automatically maintained by Lazarus.%sThis kind of application is deprecated, for CGI programs or Apache modules, please use the LazWeb package instead."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: cgilazideintf.lisdescrmod
|
||||||
|
msgid "Simple CGI Module%sA datamodule for CGI applications.%sThis module is deprecated, please use the CGI module support of the LazWeb package instead."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: cgilazideintf.lissimplecgiapp
|
||||||
|
msgid "Simple CGI Application"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: cgilazideintf.lissimplecgimod
|
||||||
|
msgid "Simple CGI Module"
|
||||||
|
msgstr ""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user