Skip to content

Commit

Permalink
import gnugettext
Browse files Browse the repository at this point in the history
  • Loading branch information
landrix committed Oct 23, 2020
1 parent 6091501 commit 76ba692
Show file tree
Hide file tree
Showing 8 changed files with 4,472 additions and 25 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#*.obj
#

res
Win32
Win64

Expand Down
1 change: 0 additions & 1 deletion PdftkBuilder.dpr
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ uses
begin
Application.Initialize;
Application.Title := 'PDFTK Builder';
Application.HelpFile := 'PdftkBuilder.html';
Application.CreateForm(TMainForm, MainForm);
Application.Run;
end.
17 changes: 12 additions & 5 deletions PdftkBuilder.dproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<MainSource>PdftkBuilder.dpr</MainSource>
<Base>True</Base>
<Config Condition="'$(Config)'==''">Debug</Config>
<TargetedPlatforms>3</TargetedPlatforms>
<TargetedPlatforms>1</TargetedPlatforms>
<AppType>Application</AppType>
<FrameworkType>VCL</FrameworkType>
<ProjectVersion>19.1</ProjectVersion>
Expand Down Expand Up @@ -76,6 +76,7 @@
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=;CFBundleName=</VerInfo_Keys>
<DCC_ExeOutput>.\$(Platform)\$(Config)</DCC_ExeOutput>
<DCC_DcuOutput>.\$(Platform)\$(Config)</DCC_DcuOutput>
<DCC_UnitSearchPath>.\lib\gnugettext;$(DCC_UnitSearchPath)</DCC_UnitSearchPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Base_Win32)'!=''">
<DCC_Namespace>System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace)</DCC_Namespace>
Expand Down Expand Up @@ -111,7 +112,12 @@
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_1_Win32)'!=''">
<AppEnableRuntimeThemes>true</AppEnableRuntimeThemes>
<AppDPIAwarenessMode>PerMonitorV2</AppDPIAwarenessMode>
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
<VerInfo_Locale>1033</VerInfo_Locale>
<VerInfo_MajorVer>5</VerInfo_MajorVer>
<VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=5.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(MSBuildProjectName)</VerInfo_Keys>
<VerInfo_AutoIncVersion>true</VerInfo_AutoIncVersion>
<AppDPIAwarenessMode>gdiScaling</AppDPIAwarenessMode>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_1_Win64)'!=''">
<AppEnableRuntimeThemes>true</AppEnableRuntimeThemes>
Expand All @@ -127,10 +133,11 @@
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_2_Win32)'!=''">
<AppEnableRuntimeThemes>true</AppEnableRuntimeThemes>
<AppDPIAwarenessMode>PerMonitorV2</AppDPIAwarenessMode>
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
<VerInfo_Locale>1033</VerInfo_Locale>
<VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(MSBuildProjectName)</VerInfo_Keys>
<VerInfo_MajorVer>5</VerInfo_MajorVer>
<VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=5.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(MSBuildProjectName)</VerInfo_Keys>
<AppDPIAwarenessMode>gdiScaling</AppDPIAwarenessMode>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_2_Win64)'!=''">
<AppEnableRuntimeThemes>true</AppEnableRuntimeThemes>
Expand Down Expand Up @@ -174,7 +181,7 @@
<Platforms>
<Platform value="OSX64">False</Platform>
<Platform value="Win32">True</Platform>
<Platform value="Win64">True</Platform>
<Platform value="Win64">False</Platform>
</Platforms>
</BorlandProject>
<ProjectFileVersion>12</ProjectFileVersion>
Expand Down
Binary file modified PdftkBuilder.res
Binary file not shown.
33 changes: 18 additions & 15 deletions about.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,27 @@

(*******************************************************************************
Application: PDFTK Builder Enhanced
Module: About
Version: 4.1.5
Date: 13 Oct 2019
Author: David King
Credits: Angus Johnson (PDFtk Builder 2.05-3.99)
Copyright: © 2018-19, David King
Portion © 2005-2019, Angus Johnson
Application: PDFTK Builder
Description: A graphical user interface to the Windows version of PDFtk
Module: Main
Version: 5.0.0
Date: 18 Oct 2020
Target Platform: Windows 32-bit
Author: Sven Harazim
Credits: David King (PDFtk Builder Enhanced 4.1.5)
Angus Johnson (PDFtk Builder 2.05-3.10.0)
Copyright: © 2020, Sven Harazim
© 2018-2019, David King
© 2005-2018, Angus Johnson
http://www.angusj.com/pdftkb/
License: GNU GPL ver 3 (See http://www.gnu.org/copyleft/gpl.html)
Dependencies: PDFtk Server (pdftk.exe) must be installed to run program.
See https://www.pdflabs.com/tools/pdftk-server/
To use pdftk.exe versions earlier than 2.00, set
PdftkVersion in the .ini file to the version number.
PDF reader must be available to use 'View' buttons.
*******************************************************************************)


Expand All @@ -38,10 +48,6 @@ TAboutForm = class(TForm)
Label8: TLabel;
procedure lblUrlClick(Sender: TObject);
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;

var
Expand All @@ -62,9 +68,6 @@ procedure TAboutForm.lblUrlClick(Sender: TObject);
TLabel(Sender).cursor := crHandPoint;
end;

// FormCreate is from v3.9.5 and requires version caption to be manually updated on form
// AJ's mods to automate version number and adjust DPI in v3.9.7-3.10.0 not incorporated

procedure TAboutForm.FormCreate(Sender: TObject);
begin
Image1.Picture.Icon.Assign(application.Icon);
Expand Down
Loading

0 comments on commit 76ba692

Please sign in to comment.