[Lazarus] Problem with threads.

Roland Turcan konf at rotursoft.sk
Tue Apr 21 14:50:26 CEST 2009

On Tue, Apr 21, 2009 at 14:49, Paul Ishenin <ip at kmiac.ru> wrote:
> Alexander Klenin wrote:
>> 3) Perhaps 'Create' and 'CreateFmt' should be added to the list of
>> functions ignoring constants?
>>   raise Exception.Create('Error text') is a common construct.
> No. Create and CreateFmt strings needs to be translatable even for
> exceptions.

This is true, but unrelated.
First, naming a string constant does not make it translatable,
it should be made resourcestring (so perhaps it should be a separate
observation --
"message is not translatable", where "message" is defined as string
constant containing at least one word)
Second, there are different means of i18n, and some of them, like dxgettext,
do not depend on resourcestrings.
Third, this same argument can be applied to Fromat, write/writeln and
other functions already present on ignore list.

Alexander S. Klenin

More information about the Lazarus mailing list