From 87ab3efb7f69219733209071ce2a719360812f03 Mon Sep 17 00:00:00 2001 From: Dmitry Kann Date: Thu, 18 Dec 2008 14:18:57 +0000 Subject: [PATCH 01/41] Updated for the coming 4.0RC1 release candidate. --- Help/index.html | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/Help/index.html b/Help/index.html index 4e1dc6f..bbad054 100644 --- a/Help/index.html +++ b/Help/index.html @@ -1,21 +1,22 @@ - - - - - - DKLang Localization Package Help - - -

DKLang Localization Package

-
- - -

DKLang Logo - -

Copyright ©2002-2006 Dmitry Kann, - http://www.dk-soft.org/. - - -

- + + + + + + DKLang Localization Package Help + + +

DKLang Localization Package

+
+ + +

DKLang Logo + +

Copyright ©2002-2009 Dmitry Kann, + www.dk-soft.org.
+ Portions Copyright Bruce J. Miller, rules-of-thumb.com. + + +

+ \ No newline at end of file From beaddd7ad7080da7dd87c37fdd297a149bb8dbef Mon Sep 17 00:00:00 2001 From: Dmitry Kann Date: Thu, 18 Dec 2008 15:20:08 +0000 Subject: [PATCH 02/41] Removed as ANSI no longer relevant (as of 4.00). --- Examples/Ansi/Arabic.lng | 20 ---- Examples/Ansi/DKLang_Ansi_Demo.cfg | 38 -------- Examples/Ansi/DKLang_Ansi_Demo.dklang | 5 - Examples/Ansi/DKLang_Ansi_Demo.dof | 132 -------------------------- Examples/Ansi/DKLang_Ansi_Demo.dpr | 19 ---- Examples/Ansi/DKLang_Ansi_Demo.res | Bin 876 -> 0 bytes Examples/Ansi/French.lng | 20 ---- Examples/Ansi/German.lng | 20 ---- Examples/Ansi/Italian.lng | 20 ---- Examples/Ansi/Japanese.lng | 13 --- Examples/Ansi/Korean.lng | 20 ---- Examples/Ansi/Main.dfm | 53 ----------- Examples/Ansi/Main.pas | 50 ---------- Examples/Ansi/Russian.lng | 20 ---- Examples/Ansi/Spanish.lng | 20 ---- 15 files changed, 450 deletions(-) delete mode 100644 Examples/Ansi/Arabic.lng delete mode 100644 Examples/Ansi/DKLang_Ansi_Demo.cfg delete mode 100644 Examples/Ansi/DKLang_Ansi_Demo.dklang delete mode 100644 Examples/Ansi/DKLang_Ansi_Demo.dof delete mode 100644 Examples/Ansi/DKLang_Ansi_Demo.dpr delete mode 100644 Examples/Ansi/DKLang_Ansi_Demo.res delete mode 100644 Examples/Ansi/French.lng delete mode 100644 Examples/Ansi/German.lng delete mode 100644 Examples/Ansi/Italian.lng delete mode 100644 Examples/Ansi/Japanese.lng delete mode 100644 Examples/Ansi/Korean.lng delete mode 100644 Examples/Ansi/Main.dfm delete mode 100644 Examples/Ansi/Main.pas delete mode 100644 Examples/Ansi/Russian.lng delete mode 100644 Examples/Ansi/Spanish.lng diff --git a/Examples/Ansi/Arabic.lng b/Examples/Ansi/Arabic.lng deleted file mode 100644 index b643897..0000000 --- a/Examples/Ansi/Arabic.lng +++ /dev/null @@ -1,20 +0,0 @@ -;*********************************************************************************************************************** -; $Id: Arabic.lng,v 1.3 2006-08-08 13:46:11 dale Exp $ -;----------------------------------------------------------------------------------------------------------------------- -; DKLang Localization Package -; Copyright 2002-2006 DK Software, http://www.dk-soft.org -;*********************************************************************************************************************** - -TargetApplication=DKLang_Ansi_Demo -Author=Dmitry Kann -SourceLANGID=1033 -LANGID=1025 -Generator=DKLang Translation Editor v2.1 -LastModified=2004-09-08 18:18:27 - -[fMain] -00000001=شكل العينه -00000003=الالغاء -00000004=هذه عينه الرساله. - -[$CONSTANTS] diff --git a/Examples/Ansi/DKLang_Ansi_Demo.cfg b/Examples/Ansi/DKLang_Ansi_Demo.cfg deleted file mode 100644 index 45f0861..0000000 --- a/Examples/Ansi/DKLang_Ansi_Demo.cfg +++ /dev/null @@ -1,38 +0,0 @@ --$A8 --$B- --$C+ --$D+ --$E- --$F- --$G+ --$H+ --$I+ --$J- --$K- --$L+ --$M- --$N+ --$O+ --$P+ --$Q- --$R- --$S- --$T- --$U- --$V+ --$W- --$X+ --$YD --$Z1 --cg --AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; --H+ --W+ --M --$M16384,1048576 --K$00400000 --LE"c:\program files\borland\delphi7\Bpl" --LN"c:\program files\borland\delphi7\Bpl" --w-UNSAFE_TYPE --w-UNSAFE_CODE --w-UNSAFE_CAST diff --git a/Examples/Ansi/DKLang_Ansi_Demo.dklang b/Examples/Ansi/DKLang_Ansi_Demo.dklang deleted file mode 100644 index 2e1a8bb..0000000 --- a/Examples/Ansi/DKLang_Ansi_Demo.dklang +++ /dev/null @@ -1,5 +0,0 @@ -[fMain] -Caption=00000001,Sample Form -bCancel.Caption=00000003,Cancel -lSampleMessage.Caption=00000004,This is a sample message. - diff --git a/Examples/Ansi/DKLang_Ansi_Demo.dof b/Examples/Ansi/DKLang_Ansi_Demo.dof deleted file mode 100644 index c18dd98..0000000 --- a/Examples/Ansi/DKLang_Ansi_Demo.dof +++ /dev/null @@ -1,132 +0,0 @@ -[FileVersion] -Version=7.0 -[Compiler] -A=8 -B=0 -C=1 -D=1 -E=0 -F=0 -G=1 -H=1 -I=1 -J=0 -K=0 -L=1 -M=0 -N=1 -O=1 -P=1 -Q=0 -R=0 -S=0 -T=0 -U=0 -V=1 -W=0 -X=1 -Y=1 -Z=1 -ShowHints=1 -ShowWarnings=1 -UnitAliases=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; -NamespacePrefix= -SymbolDeprecated=1 -SymbolLibrary=1 -SymbolPlatform=1 -UnitLibrary=1 -UnitPlatform=1 -UnitDeprecated=1 -HResultCompat=1 -HidingMember=1 -HiddenVirtual=1 -Garbage=1 -BoundsError=1 -ZeroNilCompat=1 -StringConstTruncated=1 -ForLoopVarVarPar=1 -TypedConstVarPar=1 -AsgToTypedConst=1 -CaseLabelRange=1 -ForVariable=1 -ConstructingAbstract=1 -ComparisonFalse=1 -ComparisonTrue=1 -ComparingSignedUnsigned=1 -CombiningSignedUnsigned=1 -UnsupportedConstruct=1 -FileOpen=1 -FileOpenUnitSrc=1 -BadGlobalSymbol=1 -DuplicateConstructorDestructor=1 -InvalidDirective=1 -PackageNoLink=1 -PackageThreadVar=1 -ImplicitImport=1 -HPPEMITIgnored=1 -NoRetVal=1 -UseBeforeDef=1 -ForLoopVarUndef=1 -UnitNameMismatch=1 -NoCFGFileFound=1 -MessageDirective=1 -ImplicitVariants=1 -UnicodeToLocale=1 -LocaleToUnicode=1 -ImagebaseMultiple=1 -SuspiciousTypecast=1 -PrivatePropAccessor=1 -UnsafeType=0 -UnsafeCode=0 -UnsafeCast=0 -[Linker] -MapFile=0 -OutputObjs=0 -ConsoleApp=1 -DebugInfo=0 -RemoteSymbols=0 -MinStackSize=16384 -MaxStackSize=1048576 -ImageBase=4194304 -ExeDescription= -[Directories] -OutputDir= -UnitOutputDir= -PackageDLLOutputDir= -PackageDCPOutputDir= -SearchPath= -Packages=vcl;rtl;vclx;indy;inet;xmlrtl;vclie;inetdbbde;inetdbxpress;dbrtl;dsnap;dsnapcon;vcldb;soaprtl;VclSmp;dbexpress;dbxcds;inetdb;bdertl;vcldbx;webdsnap;websnap;adortl;teeui;teedb;tee;dss;visualdbclx;vclactnband;vclshlctrls;IntrawebDB_50_70;Intraweb_50_70;dclOfficeXP;GR32_DSGN_D7;GR32_D7;tb2k_d7;tbx_d7 -Conditionals= -DebugSourceDirs= -UsePackages=0 -[Parameters] -RunParams= -HostApplication= -Launcher= -UseLauncher=0 -DebugCWD= -[Version Info] -IncludeVerInfo=0 -AutoIncBuild=0 -MajorVer=1 -MinorVer=0 -Release=0 -Build=0 -Debug=0 -PreRelease=0 -Special=0 -Private=0 -DLL=0 -Locale=1049 -CodePage=1251 -[Version Info Keys] -CompanyName= -FileDescription= -FileVersion=1.0.0.0 -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename= -ProductName= -ProductVersion=1.0.0.0 -Comments= diff --git a/Examples/Ansi/DKLang_Ansi_Demo.dpr b/Examples/Ansi/DKLang_Ansi_Demo.dpr deleted file mode 100644 index b255ff8..0000000 --- a/Examples/Ansi/DKLang_Ansi_Demo.dpr +++ /dev/null @@ -1,19 +0,0 @@ -//********************************************************************************************************************** -// $Id: DKLang_Ansi_Demo.dpr,v 1.1 2006-08-05 21:34:10 dale Exp $ -//---------------------------------------------------------------------------------------------------------------------- -// DKLang Localization Package -// Copyright 2002-2006 DK Software, http://www.dk-soft.org -//********************************************************************************************************************** -program DKLang_Ansi_Demo; - -uses - Forms, - Main in 'Main.pas' {fMain}; - -{$R *.res} - -begin - Application.Initialize; - Application.CreateForm(TfMain, fMain); - Application.Run; -end. diff --git a/Examples/Ansi/DKLang_Ansi_Demo.res b/Examples/Ansi/DKLang_Ansi_Demo.res deleted file mode 100644 index 12285339869941018a4fabc8ac660d953d8887af..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 876 zcmZuw!D`e{6g`;)45ZX42(7CQp|tKaWGUE6i{ireABr?v86*8G_oYa(EsH5tABp6QY{lccv56Ijv3zT^ z19e@C-2COG;9(9a-zxRU+>^PUYH1+j}xxlrXAFT7wca-=1dawoNZ1^kc zxi#EAaOu; Date: Thu, 18 Dec 2008 15:30:05 +0000 Subject: [PATCH 03/41] Updated paths. --- Help/ChmDoc.pl | 4 ++-- _make_.bat | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Help/ChmDoc.pl b/Help/ChmDoc.pl index 76927ed..c6398c1 100644 --- a/Help/ChmDoc.pl +++ b/Help/ChmDoc.pl @@ -13,8 +13,8 @@ # Declare constants my $usr_short_name = 'DKLang API'; -my $src_path = 'C:/Delphi/CVSpro~1/dale/DKLang'; -my $out_path = 'C:/Delphi/CVSpro~1/dale/DKLang/Help'; +my $src_path = 'C:/Dev/DKLang'; +my $out_path = 'C:/Dev/DKLang/Help'; my $file_prefix = $ENV{'CHM_API_FILE_PREFIX'}; my $css_file = 'main.css'; my $toc_file = $file_prefix.'index.html'; diff --git a/_make_.bat b/_make_.bat index ebe7a6b..6134e3e 100644 --- a/_make_.bat +++ b/_make_.bat @@ -11,9 +11,9 @@ rem ---------------------------------------------------------------------------- rem Variable declaration rem -------------------------------------------------------------------------------------------------------------------- -set VERSION=3.01 +set VERSION=4.0RC1 -set BASE_DIR=C:\Delphi\CVS projects\dale\DKLang +set BASE_DIR=C:\Dev\DKLang set INSTALL_DIR=%BASE_DIR%\Install set HELP_DIR=%BASE_DIR%\Help @@ -36,7 +36,7 @@ if exist "%BASE_DIR%\%CHM_FILE%" del "%BASE_DIR%\%CHM_FILE%" echo [2] Generating and compiling CHM docs... cd "%HELP_DIR%" -"%CHM_API_MAKER%" +perl "%CHM_API_MAKER%" if errorlevel 1 goto err move "%HELP_DIR%\%CHM_FILE%" "%BASE_DIR%\" if errorlevel 1 goto err @@ -55,4 +55,4 @@ goto ok :err pause -:ok \ No newline at end of file +:ok From c2a6edba6d91a0db43086e4c4e0098737b6135e3 Mon Sep 17 00:00:00 2001 From: Dmitry Kann Date: Thu, 18 Dec 2008 15:32:34 +0000 Subject: [PATCH 04/41] Updated for the coming 4.0RC1 release candidate. --- Help/main-release-notes-3.0.html | 40 -------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 Help/main-release-notes-3.0.html diff --git a/Help/main-release-notes-3.0.html b/Help/main-release-notes-3.0.html deleted file mode 100644 index 4f3ad73..0000000 --- a/Help/main-release-notes-3.0.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - Release notes - - -

Release notes: DKLang version 3.0

-
- - -

This is a major update to the package. - -

The main novelty is complete Unicode support at design level, so package handles all language data as Unicode strings - (WideString). This resulted in Unicode .dklang (and .lng) files being created and loaded. - -

You are strongly recommended to upgrade your - DKLang Translation - Editor to version 3.0 as well. This is also because of Unicode support. - -

The problem with constant editor in Delphi 2005+ is resolved by using a separate resource file. This requires - converting your old project using constants. So, if you were using DKLang version 2.x, please carefully read - Upgrading from previous versions prior to installing. - -

Version 3.0 introduces support for Delphi 2006, but it isn't tested yet (simply because I don't have it). I believe - it should be okay though. - -

Further details you can find in Revision History section. - -

Dmitry Kann - - -

P. S. I would be thankful if you send me translations for my examples - in your native language (Unicode files only please). - - -

- - \ No newline at end of file From 6f1a7e0a4a23781492cd5ea2e4a0782ed008007a Mon Sep 17 00:00:00 2001 From: Dmitry Kann Date: Thu, 18 Dec 2008 15:33:15 +0000 Subject: [PATCH 05/41] Updated for the coming 4.0RC1 release candidate. --- Help/dklang.hhc | 11 +------- Help/dklang.hhp | 4 +-- Help/example-ansi.html | 34 ------------------------ Help/example-simple.html | 6 ++--- Help/main-banners.html | 6 ++--- Help/main-contributors.html | 8 +++--- Help/main-general-description.html | 7 ++--- Help/main-installation.html | 8 +++--- Help/main-legal-info.html | 4 ++- Help/main-package-features.html | 14 +++++----- Help/main-requirements.html | 13 +++------ Help/main-revision-history.html | 20 +++++++++++++- Help/main-supplied-examples.html | 3 +-- Help/main-technology-and-background.html | 14 +++++----- Help/main-upgrading.html | 19 ++++++++++++- 15 files changed, 74 insertions(+), 97 deletions(-) delete mode 100644 Help/example-ansi.html diff --git a/Help/dklang.hhc b/Help/dklang.hhc index 2fc096c..f596dfe 100644 --- a/Help/dklang.hhc +++ b/Help/dklang.hhc @@ -13,11 +13,6 @@