[fpc-pascal] Re: Get all caller adresses of a given function/procedure before executing
Lukasz Sokol
el.es.cr at gmail.com
Wed Aug 15 09:59:00 CEST 2012
On 15/08/2012 08:33, Rainer Stratmann wrote:
> Am Wednesday 15 August 2012 03:52:00 schrieb waldo kitty:
>> the loading code simply
>> chooses the proper po file and then loads the strings into an array or
>> whatever using the same variables which are used everywhere no matter what
>> language their contents are written in...
>
> Do you need a separate pascal identifier for each snippet?
>
>> i must still be missing something :?
No with (dx)gettext you don't need pascal identifiers for every string.
And the translating function is _():string;
So all you do is writeln(_('snippet1'));, to follow your convention.
So it more or less uses the same idea as you are trying to replicate.
L.
More information about the fpc-pascal
mailing list