mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Issue #557: Include gnugettext.pas from https://dxgettext.svn.sourceforge.net/svnroot/dxgettext/trunk/dxgettext/sample/ . And add basic code to all FormCreate events to translate their components in the future.
This commit is contained in:
@ -6,7 +6,7 @@ uses
|
||||
Windows, SysUtils, Classes, Controls, Forms, Dialogs, StdCtrls, ComCtrls, ExtCtrls,
|
||||
Buttons, SynMemo, SynEditHighlighter, SynHighlighterURI,
|
||||
SynURIOpener, SynEdit, VirtualTrees, Graphics,
|
||||
dbconnection;
|
||||
dbconnection, gnugettext;
|
||||
|
||||
type
|
||||
TfrmSQLhelp = class(TForm)
|
||||
@ -91,6 +91,7 @@ begin
|
||||
Caption := DEFAULT_WINDOW_CAPTION;
|
||||
MainForm.SetupSynEditors;
|
||||
FixVT(treeTopics);
|
||||
TranslateComponent(Self);
|
||||
|
||||
treeTopics.Clear;
|
||||
FreeAndNil(FRootTopics);
|
||||
|
Reference in New Issue
Block a user