mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 15:48:03 +02:00
LCLTranslator: Correctly initialize original string value when translating it. Fixes translation of form elements via MO files. Before it worked only when SetDefaultLang procedure was called in unit initialization section, now it does not matter where/when SetDefaultLang is called.
git-svn-id: trunk@60595 -
This commit is contained in:
parent
999c63b476
commit
e6e840a2e6
@ -357,7 +357,7 @@ begin
|
||||
tkAString:
|
||||
if APropInfo^.PropType=TypeInfo(TTranslateString) then
|
||||
begin
|
||||
TmpStr := '';
|
||||
TmpStr := GetStrProp(AnInstance, APropInfo);
|
||||
{$IFDEF VerbosePOTranslator}
|
||||
debugln(['TUpdateTranslator.IntUpdateTranslation ',GetStrProp(AnInstance,APropInfo)]);
|
||||
{$ENDIF}
|
||||
|
Loading…
Reference in New Issue
Block a user