home *** CD-ROM | disk | FTP | other *** search
- Customizing StarArea V1.x
- -----------------------------------------------------------------------------
-
- Colours:
- --------
-
- StarArea.LH
- Colours for most of the strings used by StarArea are in the
- StarArea.LH language file. In this file, you can use the colour
- word to define the colour. If you browse you main <language>.MAD
- file, you will see many examples of this.
-
- EG:
- sta_indexing= GREEN "Hang On! Indexing Areas \n\n";
- ^^^^^
- Prints "Hang On! Indexing Areas " in green.
-
- One side-note. Make sure you leave any control chars encountered as
- they are. (the "\n\n" above is a good example. More on this below)
-
-
- StarArea is capable of using multiple language files. Once you have your
- primary language file using StarArea.LH, you can copy this file to another
- name and include it in other language files.
- However, if you don't have translated StarArea language files, I recommend
- including StarArea.LH in all your "user heaps" in all the language files
- you run.
- If you have translated StarArea language files, include the file in the
- appropriate language files.
-
- For instance, say you have a French language file for StarArea called
- STARFR.LH. Put it in your ..\m dir and include this filename in your
- french language "user heap". (Same method as described in STARAREA.DOC)
- MAID the French language file, and try it out. Run StarArea under French
- and have a look.
-
-
- Translating:
- ------------
-
- Translating the StarArea.LH file shouldn't prove to be too difficult, but
- there are a few things you should keep in mind:
-
- - Some strings should be kept close or at the same length. If they are too
- long, they will bleed onto the next line, or mess up the display.
- - Take care to preserve the control characters (EG: "\n\n") These are
- line feed characters and may have undesired effects on other strings
- if omitted.
- - Make sure you don't touch the =stararea statement which appears
- after the version #define.
- - Enclose all text in quotes (not the colour words)
- - End each string with a ;
-
- -----------------------------------------------------------------------------
-
-