Skip to content

Commit

Permalink
Обновление переводчика
Browse files Browse the repository at this point in the history
Signed-off-by: Vlad55 <[email protected]>
  • Loading branch information
Vlad383 committed Jun 10, 2011
1 parent 5784329 commit 576738e
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
6 changes: 2 additions & 4 deletions demos/translate_demo/main.dfm
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,7 @@ object Form6: TForm6
object Translator1: TTranslator
SourceLang = unknown
DestLang = lng_ru
OnTranslate = Translator1Translate
OnTranslateError = Translator1TranslateError
Left = 236
Top = 176
Left = 328
Top = 136
end
end
3 changes: 2 additions & 1 deletion demos/translate_demo/main.pas
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ TForm6 = class(TForm)
Memo1: TMemo;
Button1: TButton;
ComboBox1: TComboBox;
Translator1: TTranslator;
//Translator1: TTranslator;
Label3: TLabel;
Label4: TLabel;
ComboBox2: TComboBox;
Label5: TLabel;
Edit2: TEdit;
Translator1: TTranslator;
procedure Button1Click(Sender: TObject);
procedure Translator1Translate(const SourceStr, TranslateStr: string;
LangDetected: TLanguageEnum);
Expand Down
4 changes: 2 additions & 2 deletions demos/translate_demo/translate_demo.dproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<MainSource>translate_demo.dpr</MainSource>
<Config Condition="'$(Config)'==''">Debug</Config>
<DCC_DCCCompiler>DCC32</DCC_DCCCompiler>
<ProjectVersion>12.2</ProjectVersion>
<ProjectVersion>12.3</ProjectVersion>
<Base>True</Base>
<Platform>Win32</Platform>
<AppType>Application</AppType>
Expand Down Expand Up @@ -60,7 +60,7 @@
</BuildConfiguration>
</ItemGroup>
<Import Condition="Exists('$(BDS)\Bin\CodeGear.Delphi.Targets')" Project="$(BDS)\Bin\CodeGear.Delphi.Targets"/>
<Import Condition="Exists('$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\8.0\UserTools.proj')" Project="$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\8.0\UserTools.proj"/>
<Import Condition="Exists('$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj')" Project="$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj"/>
<ProjectExtensions>
<Borland.Personality>Delphi.Personality.12</Borland.Personality>
<Borland.ProjectType>VCLApplication</Borland.ProjectType>
Expand Down
3 changes: 2 additions & 1 deletion packages/translator_pack/Translator_pack.dpk
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ package Translator_pack;
{$IMPLICITBUILD ON}

requires
rtl;
rtl,
vcl;

contains
GTranslate in '..\..\source\GTranslate.pas',
Expand Down
7 changes: 4 additions & 3 deletions packages/translator_pack/Translator_pack.dproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
<PropertyGroup>
<ProjectGuid>{A8A6F560-7E36-46FD-9177-49EC16EFFD9B}</ProjectGuid>
<MainSource>Translator_pack.dpk</MainSource>
<ProjectVersion>12.2</ProjectVersion>
<ProjectVersion>12.3</ProjectVersion>
<Config Condition="'$(Config)'==''">Debug</Config>
<DCC_DCCCompiler>DCC32</DCC_DCCCompiler>
<Base>True</Base>
<Platform>Win32</Platform>
<AppType>Package</AppType>
<FrameworkType>None</FrameworkType>
<FrameworkType>VCL</FrameworkType>
</PropertyGroup>
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
<Base>true</Base>
Expand Down Expand Up @@ -46,6 +46,7 @@
<MainSource>MainSource</MainSource>
</DelphiCompile>
<DCCReference Include="rtl.dcp"/>
<DCCReference Include="vcl.dcp"/>
<DCCReference Include="..\..\source\GTranslate.pas"/>
<DCCReference Include="..\..\addons\superobject\superobject.pas"/>
<BuildConfiguration Include="Debug">
Expand All @@ -61,7 +62,7 @@
</BuildConfiguration>
</ItemGroup>
<Import Condition="Exists('$(BDS)\Bin\CodeGear.Delphi.Targets')" Project="$(BDS)\Bin\CodeGear.Delphi.Targets"/>
<Import Condition="Exists('$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\8.0\UserTools.proj')" Project="$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\8.0\UserTools.proj"/>
<Import Condition="Exists('$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj')" Project="$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj"/>
<ProjectExtensions>
<Borland.Personality>Delphi.Personality.12</Borland.Personality>
<Borland.ProjectType>Package</Borland.ProjectType>
Expand Down

0 comments on commit 576738e

Please sign in to comment.