[fpc-pascal] resourcestring and const arrays
craig at scootersoftware.com
Fri Jun 24 22:16:03 CEST 2011
In Delphi I can use resource strings with const arrays and everything
works correctly. For example, if I have a resource DLL with translated
strings and this will work:
SSunday = "Sunday";
SWeek: array[0..0] of string = (SSunday);
I've tried doing the same with FPC's GetText unit and
SetResourceStrings. SSunday gets translated correctly, but SWeek doesn't.
Is that something that should work if I'm early enough in the
initialization order, an unimplemented feature, or something that's
unlikely to changed?
More information about the fpc-pascal