-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlangtool.lpr
35 lines (28 loc) · 1.01 KB
/
langtool.lpr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// ----------------------------------------------------------------------------
// File: langtool.pas
// Author: Jens Kallup - paule32 <kallup-dev@web.de>
// Copyright: (c) 2022 kallup non-profit
//
// License: non-profit * only for education, and trial !!!
// All modifications needs to query to the original author's (me).
// You can use it at Your school as teacher for education.
// But commercial usage is not allowed.
// ----------------------------------------------------------------------------
program langtool;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Interfaces, gettext, DOS, Dialogs,
Forms, dbflaz, lang1;
{$R *.res}
begin
// locale: LANG='de_DE.UTF-8' ./app
translateResourceStrings('.\application-de.mo'); // +
// Copy(GetEnvironmentVariable('LANG'),1,2) + '.mo');
RequireDerivedFormResource := True;
Application.Initialize;
Application.CreateForm(TForm1, Form1);
Application.Run;
end.