mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 05:58:06 +02:00
POChecker: try to translate LCL only if language was switched successfully
git-svn-id: trunk@61616 -
This commit is contained in:
parent
5e5045ebd1
commit
1b7dab9789
@ -124,8 +124,8 @@ begin
|
||||
//debugln('TPoCheckerForm.FormCreate A:');
|
||||
{$IFDEF POCHECKERSTANDALONE}
|
||||
//Initializing translation
|
||||
SetDefaultLang('', '..' + PathDelim + 'languages', 'pocheckerconsts');
|
||||
TranslateLCLResourceStrings('', SetDirSeparators('../../../lcl/languages/'));
|
||||
if SetDefaultLang('', '..' + PathDelim + 'languages', 'pocheckerconsts') <> '' then
|
||||
TranslateLCLResourceStrings('', SetDirSeparators('../../../lcl/languages/'));
|
||||
{$ENDIF}
|
||||
ApplyTranslations;
|
||||
FillTestListBox;
|
||||
|
Loading…
Reference in New Issue
Block a user