On Wed, 2 Dec 2020, Mattias Gaertner via fpc-pascal wrote:
On Wed, 2 Dec 2020 13:30:13 +0100 (CET)
Michael Van Canneyt via fpc-pascal <fpc-pascal@lists.freepascal.org>
wrote:
On Wed, 2 Dec 2020, Luca Olivetti via fpc-pascal wrote:
[...]
> but it doesn't work (sCannotFocus holds the original, not the
> translated, string).
Seems like Lazarus is not using the regular resourcestrings then,
because the whole point of using resourcestrings is that their value
is the translated value...
Sounds like a conspiracy theory.
Just trying to go with the times ;-)
What about the simple explanation, that there are two
resourcestrings with the same name in RTLConsts and LCLStrConsts and
Luca is looking at the wrong one?
Also an option. :-)
The question is then why there are 2 copies of a string ? :-)
See Hanlon's razor.
What's wrong with Occam's razor ? Too old ?
Michael.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal