added partial French translations for Delphi 2007 and 2010
corrected some comments
add function "UseGetTextDefaultFormatting":
changed laguage selection to same logic as in poEdit: replaced property "X-Poedit-Language:" with "Language:".
no messege on "release" (no message if result text is empty)
on calling msgmerge.exe removed "2>&1"
removed call of "bash.exe". Paths with spaces and “stderr” still need to be checked!
delete binary example
ignore files (binary output or copy from source directory/files)
delete old gettext files. compiled with cygwin + logging errors to event log
deleted file (copy from "\dxgettext\sample\gnugettext.pas")
extend msgmergePot to find files a sub folder deeper (Delphi Source code)
remove hint H2443 add System.UITypes to uses
save project files with Delphi 11.2
add ignore for "*.res"
delete .res files from source control (delphi will build them)
add line break at end of file
add missing System.JSON to uses
following https://sourceforge.net/p/dxgettext/code/132/
change path to Inno Setup 6
remove blank space
changed DecimalSeparator -> FormatSettings.DecimalSeparator
Changed uses Graphics -> Vcl.Graphics
Add "preserveusercomments" to Config and use it
only wrap lines if longer than "LineWidth"
if no line no is set, return "0" as source code location line no (no exception)
ignore ._dxGetText_prjgroup.tvsconfig
create git ignore file
changed SourceDir from absolute path to %~dp0..\..\dxgettext
* English "Translations" based on the German .po files by copying the original strings
dxgettext replacement of Dialogs routines
some fixes for UNICODE aware compilers contributed by Arthur Hoornweg
added German translations from the other po files via the translation repository
distinguish between "Add tag to po file" and "Preview changes by adding label"
removed unnecessary ignores
Read -> ReadBuffer, because it checks whether all the bytes have actually been read
* partial German and French translations for: Delphi 10.1 and Delphi 10.4
Bugfix: Ressource strings of the form SBla = #34'some text in double quotes'#34 were not handled correctly
* scan script for Delphi 10, 10.1, 10.3 and 10.4
template for Delphi 10.2
ignores
partial French and German translations for Delph 10.2
scan batch file for Delphi 10.2
compile test projects for Delphi 10.4 and 11
TGnuGettextInstance.ngettext broken if SearchAllDomains is set to True
avoid hint for Delphi 10.4 and later (not just for Delphi 10.4)
fixed translation error: "zeit-Codierung" -> "Zeit-Codierung"
fixed translation error: "zeit-Codierung" -> "Zeit-Codierung"
Locale selection on Windows8+ from new WinAPI
Support creating pot file without line numbers
Support excluding __history and __recovery folders
committed to revision #136 thanks a lot
patch from Marc Guillot: new command line parameter --updateignore to add likely ignores to ignore.po file
Add --updateignore param to move the likely ignores to a ignore.po file
Unfortunately I am not able to step through pas files when compiling for 64-bit but only when compiling for 32-bit. However it looks like the problem occur at this line in THookedObjects.Proxify(obj:TObject): size:=NativeUInt(objClassData.ClassName)-NativeUInt(objClassData)+hookedClassNameLength+2; I can see that it calculates 0x0000000000E3BC16 - 0x0000000001208360, which result in a negative value and it throws an EIntOverflow exception. There is a comment above the code: // According to Allen...
actually the fix was to pass 'locale'+PathDelim fixed in revision #135 (unfortunately I can't close tickets here)
fix for bug #150: Cannot compile ggassemble.exe - engine.PrepareFileList needs directory
That's probably because you are using different compiler switches for Win32 and Win64. Could you please provide the line number where the exception occurs? I don't have C++ Builder available for testing, but knowning the line number might enable me to spot the problem anyway.
propsed fix applied in revision #134 (unfortunately I can't close this ticket, I only have write access to the sources but no admin rights to the project)
Fix for bug #154: Errors when compiling on C++ Builder
added cond. to get rid of hint in Delphi 10.4
Errors when compiling on C++ Builder
Integer overflow in Proxify
Removed the consoleoutput unit from the project because it prevented any output if the tool is called from within a Delphi build event.
moved comments to the line end and replace u umlaut with 'ue' in these comments
line endings were wrong again (thanks to Mojca Miklavec for reporting this)
The icon was added in 2014 with revision #67. Unfortunately I cannot close any tickets here.
Try to open the executable up to 10 times, waiting one second in between. This should solve a problem where another pogram (probably the virus scanner) still has the executable open.
Patch from Lübbe Onken for correctly translating German keyboard shortcuts.
added support for .FMX files (my tests with simple forms worked without further changes as .FMX files apparently have the same structure as .DFM files, but this needs more testing)
GetCurrentLanguage -> GetCurrentLocaleName
Test projects that only compile sample\gnugettext.pas to easily find compile errors, warnings and hints for all supported versions of Delphi.
Call UTF8ToUnicodeString rather than UTF8ToWideString since UnicodeString is only declared as WideString for non-UNICODE Delphi versions. This fixes a problem reported by Sue King on Delphi Praxis
* Added shortcuts for several controls
* added test for English
moved Delphi 10.2 project
Copied Delphi 2007 project
Multitreaded test for directly using ressource strings
Multitreaded test for directly using ressource strings
Test for translating ressource strings in multiple threads for multiple languages.
test for multithreaded access to ressource strings
converted all LF only line ends to CR/LF (wherever those came from I have no idea)
nothing has changed since Delphi XE4, so we now only use $if CompilerVersion >= 25
bugfix: $if needs $ifend
replaced http://dybdahl.dk/dxgettext with http://dxgettext.po.dk
ignore alternative versions of gnugettext (pyscripter / jvcl)
ignore some more files
* exchanged http://dybdahl.dk/dxgettext with http://dxgettext.po.dk
changed http://dybdahl.dk/dxgettext to http://dxgettext.po.dk
* changed http://dybdahl.dk/dxgettext to http://dxgettext.po.dk
bugfix: $IF requires $IFEND rather than $ENDIF
added support for Delphi 10.3 Rio
* New field TGnuGettextInstance.EmptyToEmpty which, if set to true, results in an empty string being "translated" to an empty string. It defaults to false which keeps the default behaviour of returning the po file header for an empty string.
* new option --ignore-duplicates
* Buttons to select the bpl directory and the .po file to merge / create
converted to UTF-8
Translations for Delphi XE2, based on the ones for XE and additional translations from the bpls
renamed delphi2011.po to delphiXE.po
converted some strange line ends (CRCRLF) to standard line ends CRLF
updated tools index