[fpc-devel] the new resourcestring in const translation

Anton Kavalenka anton.kavalenka at gmail.com
Sat Sep 10 11:40:42 CEST 2011


On 10.09.2011 12:05, Marco van de Voort wrote:
> In our previous episode, Anton Kavalenka said:
>> This being translated always and is Delphi compatible
> It is if you use Delphi based resources for translating. It is not if you
> use thirdparty translation packages udner Delphi like e.g. dxgettext
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
Lazarus default translator would work with this as well.

string is TResStringRec structure
I keep the pointer of the structure but not of the string data content 
(which is structure member) -
so translating content won't affect the structure pointer.

regards,
Anton

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20110910/e9711bb0/attachment.html>


More information about the fpc-devel mailing list