mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-08 14:35:58 +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.pas svneol=native#text/plain
|
||||
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/languages/cgimodules.de.po svneol=native#text/plain
|
||||
components/cgi/languages/cgimodules.id.po svneol=native#text/plain
|
||||
|
@ -1,15 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
<CONFIG>
|
||||
<Package Version="2">
|
||||
<Package Version="3">
|
||||
<Name Value="CGILazIDE"/>
|
||||
<CompilerOptions>
|
||||
<Version Value="5"/>
|
||||
<Version Value="8"/>
|
||||
<SearchPaths>
|
||||
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)/"/>
|
||||
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/>
|
||||
</SearchPaths>
|
||||
<CodeGeneration>
|
||||
<Generate Value="Faster"/>
|
||||
</CodeGeneration>
|
||||
<Other>
|
||||
<CompilerPath Value="$(CompPath)"/>
|
||||
<CreateMakefileOnBuild Value="True"/>
|
||||
@ -26,6 +23,10 @@
|
||||
<Type Value="Text"/>
|
||||
</Item2>
|
||||
</Files>
|
||||
<i18n>
|
||||
<EnableI18N Value="True"/>
|
||||
<OutDir Value="languages"/>
|
||||
</i18n>
|
||||
<Type Value="RunAndDesignTime"/>
|
||||
<RequiredPkgs Count="3">
|
||||
<Item1>
|
||||
@ -40,7 +41,7 @@
|
||||
</Item3>
|
||||
</RequiredPkgs>
|
||||
<UsageOptions>
|
||||
<UnitPath Value="$(PkgOutDir)"/>
|
||||
<UnitPath Value="$(PkgOutDir)/"/>
|
||||
</UsageOptions>
|
||||
<PublishOptions>
|
||||
<Version Value="2"/>
|
||||
|
@ -67,6 +67,17 @@ procedure Register;
|
||||
|
||||
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;
|
||||
begin
|
||||
FileDescriptorCGIModule:=TFileDescPascalUnitWithCGIDataModule.Create;
|
||||
@ -86,16 +97,12 @@ end;
|
||||
|
||||
function TCGIApplicationDescriptor.GetLocalizedName: string;
|
||||
begin
|
||||
Result:='Simple CGI Application';
|
||||
Result:=lissimplecgiapp;
|
||||
end;
|
||||
|
||||
function TCGIApplicationDescriptor.GetLocalizedDescription: string;
|
||||
begin
|
||||
Result:='Simple CGI Application'#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';
|
||||
Result:=Format(lisdescription,[#13#10,#13#10,#13#10]);
|
||||
end;
|
||||
|
||||
function TCGIApplicationDescriptor.InitProject(AProject: TLazProject): TModalResult;
|
||||
@ -163,15 +170,12 @@ end;
|
||||
|
||||
function TFileDescPascalUnitWithCGIDataModule.GetLocalizedName: string;
|
||||
begin
|
||||
Result:='Simple CGI Module';
|
||||
Result:=lissimplecgimod;
|
||||
end;
|
||||
|
||||
function TFileDescPascalUnitWithCGIDataModule.GetLocalizedDescription: string;
|
||||
begin
|
||||
Result:='Simple CGI Module'#13#10
|
||||
+'A datamodule for CGI applications.'
|
||||
+'This module is deprecated, please use the CGI module support '
|
||||
+'of the lazweb package instead';
|
||||
Result:=Format(lisdescrmod,[#13#10,#13#10]);
|
||||
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