restest.pp 502 B

1234567891011121314151617181920212223242526
  1. Program Restest;
  2. {$mode delphi}
  3. {$h+}
  4. uses gettext;
  5. resourcestring
  6. Testing = 'Testing :';
  7. First = 'First';
  8. Second = 'Second';
  9. Third = 'Third';
  10. begin
  11. { Tell gettext to translate the strings
  12. according to the settings in the LANG environment variable
  13. remark that the program must be run in the tests directory
  14. where the intl subdirectory exists }
  15. TranslateResourcestrings('intl/restest.%s.mo');
  16. Writeln(Testing);
  17. Writeln(First);
  18. Writeln(Second);
  19. Writeln(Third);
  20. end.