mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 09:36:10 +02:00
pochecker: fixed compilation
git-svn-id: trunk@50936 -
This commit is contained in:
parent
1b0314f516
commit
fe4f0721f2
@ -96,7 +96,6 @@
|
||||
<Unit3>
|
||||
<Filename Value="..\pocheckerconsts.pas"/>
|
||||
<IsPartOfProject Value="True"/>
|
||||
<UnitName Value="pocheckerconsts"/>
|
||||
</Unit3>
|
||||
<Unit4>
|
||||
<Filename Value="..\pocheckermain.pp"/>
|
||||
@ -104,7 +103,6 @@
|
||||
<ComponentName Value="PoCheckerForm"/>
|
||||
<HasResources Value="True"/>
|
||||
<ResourceBaseClass Value="Form"/>
|
||||
<UnitName Value="pocheckermain"/>
|
||||
</Unit4>
|
||||
<Unit5>
|
||||
<Filename Value="..\graphstat.pp"/>
|
||||
|
@ -819,7 +819,10 @@ end;
|
||||
{$IFDEF POCHECKERSTANDALONE}
|
||||
function TPoCheckerForm.GetTranslationsSearchPath: String;
|
||||
var
|
||||
EnvVar, CfgLocal, CfgGlobal, AppPath: String;
|
||||
EnvVar, CfgLocal, CfgGlobal: String;
|
||||
{$if defined(windows) and not defined(wince)}
|
||||
AppPath: String;
|
||||
{$ENDIF}
|
||||
begin
|
||||
Result := FPoCheckerSettings.LangPath;
|
||||
EnvVar := GetEnvironmentVariableUtf8('pochecker-langpath');
|
||||
@ -890,7 +893,7 @@ begin
|
||||
Lang := GetEnvironmentVariableUTF8('LANG');
|
||||
T := '';
|
||||
if Lang = '' then
|
||||
LCLGetLanguageIDs(Lang, T);
|
||||
LazGetLanguageIDs(Lang, T);
|
||||
if Lang <> '' then
|
||||
begin
|
||||
//debugln('TPoCheckerForm.GetTranslations: Lang = ',Lang);
|
||||
|
@ -166,6 +166,9 @@ const
|
||||
pWindowsGeometry = 'General/WindowsGeometry/';
|
||||
pMasterPoFiles = 'MasterPoFiles/';
|
||||
pMasterPoSelection = 'MasterPoSelection/';
|
||||
{$IFDEF POCHECKERSTANDALONE}
|
||||
pExternalEditor = 'ExternalEditor/';
|
||||
{$ENDIF}
|
||||
|
||||
var
|
||||
DefaultRect: TRect;
|
||||
|
Loading…
Reference in New Issue
Block a user