From a7d82ae9ebc621201ab1f60ab57fcaf55227aec9 Mon Sep 17 00:00:00 2001 From: mattias Date: Sat, 17 Feb 2018 10:44:33 +0000 Subject: [PATCH] lcl: translations: fixed getting duplicate msg from .mo file, issue #33173 git-svn-id: trunk@57321 - --- lcl/lcltranslator.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lcl/lcltranslator.pas b/lcl/lcltranslator.pas index 9602e7cf64..730cd41cda 100644 --- a/lcl/lcltranslator.pas +++ b/lcl/lcltranslator.pas @@ -307,7 +307,7 @@ begin Result := Instance.ClassName + '.' + PropInfo^.Name; end else if (Sender is TUpdateTranslator) then Result := TUpdateTranslator(Sender).FStackPath + '.' + PropInfo^.Name; - Result := UpperCase(Result); + Result := LowerCase(Result); // GetText requires same case as in .po file, which is lowercase end; var