home *** CD-ROM | disk | FTP | other *** search
/ CD Shareware Magazine 1997 January / CD_shareware_1-97.iso / DOS / COMUNICA / STAREA11.ZIP / CUSTOM.DOC < prev    next >
Encoding:
Text File  |  1996-09-28  |  2.2 KB  |  56 lines

  1.                          Customizing StarArea V1.x
  2. -----------------------------------------------------------------------------
  3.  
  4. Colours:
  5. --------
  6.  
  7. StarArea.LH
  8.          Colours for most of the strings used by StarArea are in the
  9.          StarArea.LH language file. In this file, you can use the colour
  10.          word to define the colour. If you browse you main <language>.MAD
  11.          file, you will see many examples of this.
  12.  
  13.          EG:
  14. sta_indexing=      GREEN "Hang On! Indexing Areas \n\n";
  15.                    ^^^^^
  16.                    Prints "Hang On! Indexing Areas " in green.
  17.  
  18.          One side-note. Make sure you leave any control chars encountered as
  19.          they are. (the "\n\n" above is a good example. More on this below)
  20.  
  21.  
  22.   StarArea is capable of using multiple language files. Once you have your
  23. primary language file using StarArea.LH, you can copy this file to another
  24. name and include it in other language files.
  25.   However, if you don't have translated StarArea language files, I recommend
  26. including StarArea.LH in all your "user heaps" in all the language files
  27. you run.
  28.   If you have translated StarArea language files, include the file in the
  29. appropriate language files.
  30.  
  31.   For instance, say you have a French language file for StarArea called
  32. STARFR.LH. Put it in your ..\m dir and include this filename in your
  33. french language "user heap". (Same method as described in STARAREA.DOC)
  34.   MAID the French language file, and try it out. Run StarArea under French
  35. and have a look.
  36.  
  37.  
  38.   Translating:
  39.   ------------
  40.  
  41.   Translating the StarArea.LH file shouldn't prove to be too difficult, but
  42. there are a few things you should keep in mind:
  43.  
  44.   - Some strings should be kept close or at the same length. If they are too
  45.     long, they will bleed onto the next line, or mess up the display.
  46.   - Take care to preserve the control characters (EG: "\n\n") These are
  47.     line feed characters and may have undesired effects on other strings
  48.     if omitted.
  49.   - Make sure you don't touch the   =stararea   statement which appears
  50.     after the version #define.
  51.   - Enclose all text in quotes (not the colour words)
  52.   - End each string with a   ;
  53.  
  54. -----------------------------------------------------------------------------
  55.  
  56.