home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 October / Chip_2001-10_cd1.bin / zkuste / delphi / kompon / d123456 / CHEMPLOT.ZIP / Misc / Misc.inc < prev    next >
Text File  |  2001-07-31  |  2KB  |  60 lines

  1. {What Delphi version are we using ?}
  2. {$I Chemware.inc}
  3.  
  4. {BC++B support:}
  5. {$IFDEF BCB}
  6. {$ObjExportAll On}
  7. {$ENDIF}
  8.  
  9. {For those poor buggers that don't have the Pro versions}
  10. {$DEFINE NO_MATH}
  11.  
  12. {Language support:}
  13. {$DEFINE LANG_ENGLISH}
  14. {http://www.freetranslation.com/:}
  15. {.$ DEFINE LANG_FRENCH}
  16. {.$ DEFINE LANG_GERMAN}
  17. {.$ DEFINE LANG_ITALIAN}
  18. {.$ DEFINE LANG_NORWEGIAN}
  19. {.$ DEFINE LANG_PORTUGUESE}
  20. {.$ DEFINE LANG_SPANISH}
  21. {Universal Translator by LanguageForce:}
  22. {.$ DEFINE LANG_CZECH}
  23. {.$ DEFINE LANG_DUTCH}
  24. {.$ DEFINE LANG_DANISH}
  25. {.$ DEFINE LANG_GREEK}
  26. {.$ DEFINE LANG_HUNGARIAN}
  27. {.$ DEFINE LANG_INDONESIAN}
  28. {.$ DEFINE LANG_ROMANIAN}
  29. {.$ DEFINE LANG_RUSSIAN}
  30. {.$ DEFINE LANG_SLOVAK}
  31. {.$ DEFINE LANG_SWEDISH}
  32. {.$ DEFINE LANG_THAI}
  33. {.$ DEFINE LANG_TURKISH}
  34. {.$ DEFINE LANG_UKRAINIAN}
  35.  
  36. {Note that I have only generated rough machine translations using :
  37.    http://www.freetranslation.com/
  38.  and
  39.    Universal Translator by LanguageForce (http://www.gotoworld.com/)
  40.  and that some refinement may be required for your own language.
  41.  I am _NOT_ a linguist.
  42.  
  43.  How to use the existing language definitions ?
  44.  Simply de-define ENGLISH, and change ".$ " to "$" for the language you want.
  45.  
  46.  To define a new language, say Klingon:
  47.         1. add a new $DEFINE LANG_KLINGON
  48.         2. translate the text from Misc\lang\eng.txt into Klingon;
  49.            use TPlot\Lang\TPlot.xls to help in this process.
  50.         3. save it as Misc\lang\kli.txt
  51.         4. translate the text from TPlot\lang\eng.txt into Klingon.
  52.         5. save it as TPlot\lang\kli.txt
  53.         6. add the following line, plus brackets, to the relevant sections
  54.            of Misc.pas, just after the "Uses" clause, in the "COMPILER3_UP" section:
  55.             $IFDEF LANG_KLINGON  $I lang\kli.txt  $ENDIF
  56.         7. add it with forward slashes to the Linux section.
  57.         8. add the same lines to TPlot\Plotdefs.pas
  58. }
  59.  
  60.