mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Resource strings translation when two translators created
This commit is contained in:
parent
3ebef57e85
commit
ebf7440a46
2 changed files with 1 additions and 1 deletions
|
|
@ -977,6 +977,7 @@ begin
|
|||
begin
|
||||
DCDebug('Loading lng file: ' + gpLngDir + gPOFileName);
|
||||
LRSTranslator := TTranslator.Create(gpLngDir + gPOFileName);
|
||||
Translations.TranslateResourceStrings(gpLngDir + gPOFileName);
|
||||
TranslateLCL(gPOFileName);
|
||||
end;
|
||||
end;
|
||||
|
|
|
|||
|
|
@ -54,7 +54,6 @@ constructor TTranslator.Create(const FileName: String);
|
|||
begin
|
||||
inherited Create;
|
||||
FPOFile := TPOFile.Create(FileName);
|
||||
Translations.TranslateResourceStrings(FPOFile);
|
||||
end;
|
||||
|
||||
destructor TTranslator.Destroy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue