fpc/packages/fcl-base/examples/restest.pp
peter 46f999c582 * fpmake support
git-svn-id: trunk@9899 -
2008-01-24 21:50:42 +00:00

27 lines
502 B
ObjectPascal

Program Restest;
{$mode delphi}
{$h+}
uses gettext;
resourcestring
Testing = 'Testing :';
First = 'First';
Second = 'Second';
Third = 'Third';
begin
{ Tell gettext to translate the strings
according to the settings in the LANG environment variable
remark that the program must be run in the tests directory
where the intl subdirectory exists }
TranslateResourcestrings('intl/restest.%s.mo');
Writeln(Testing);
Writeln(First);
Writeln(Second);
Writeln(Third);
end.