mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 02:59:21 +02:00
lcl: translations: fixed getting duplicate msg from .mo file, issue #33173
git-svn-id: trunk@57321 -
This commit is contained in:
parent
0b8beb57af
commit
a7d82ae9eb
@ -307,7 +307,7 @@ begin
|
|||||||
Result := Instance.ClassName + '.' + PropInfo^.Name;
|
Result := Instance.ClassName + '.' + PropInfo^.Name;
|
||||||
end else if (Sender is TUpdateTranslator) then
|
end else if (Sender is TUpdateTranslator) then
|
||||||
Result := TUpdateTranslator(Sender).FStackPath + '.' + PropInfo^.Name;
|
Result := TUpdateTranslator(Sender).FStackPath + '.' + PropInfo^.Name;
|
||||||
Result := UpperCase(Result);
|
Result := LowerCase(Result); // GetText requires same case as in .po file, which is lowercase
|
||||||
end;
|
end;
|
||||||
|
|
||||||
var
|
var
|
||||||
|
Loading…
Reference in New Issue
Block a user