home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / elvos221.zip / lib / elvis.msg < prev    next >
Text File  |  1998-12-10  |  2KB  |  32 lines

  1. # This is a sample "elvis.msg" file, for translating messages.  Each line
  2. # contains a terse message followed by a colon, some optional whitespace, and
  3. # whatever text you want to use as the verbose form of that message.  Lines
  4. # that start with '#' are ignored simply because no terse messages happen to
  5. # start with '#'.  Blank lines are also allowed.  The terse forms of most
  6. # messages are listed in the "elvistrs.msg" file.
  7. #------------------------------------------------------------------------------
  8. no match above:             Hit top of file without finding a match
  9. no match below:             Hit bottom of file without finding a match
  10. $1 is a boolean option:         Use "set $1" or "set no$1" to enable or disable $1
  11. termcap needs $1:         This termcap entry lacks the :$1: capability
  12. read $1, $2 lines, $3 chars: Read $1(readonly?" [READONLY]"), $2 lines, $3 chars
  13.  
  14. # Some words that are stored as options: True False Submit Cancel Help
  15. Submit:Okay
  16.  
  17. # This demonstrates how to cause specific messages to beep, regardless of the
  18. # settings of the "errorbells" and "warningbells" options.  This example is
  19. # commented out; delete the initial '#' to activate it.
  20. #------------------------------------------------------------------------------
  21. #wrapped:             Wrapped
  22.  
  23. # The following shows how to silence a typical error message -- just don't
  24. # have any text after the colon character.
  25. #------------------------------------------------------------------------------
  26. not while in open mode:
  27.  
  28. # The following line is used to control the output of the :file command and
  29. # visual ^G command.  This is by far the most complex message used by elvis.
  30. #------------------------------------------------------------------------------
  31. (filename)(readonly?" [READONLY]")(modified?" [MODIFIED]")(!edited?" [NOT EDITED]")(newfile?" [NEW FILE]") ($1 * 100 / $2)%:(filename)(readonly?" [READONLY]")(modified?" [MODIFIED]")(!edited?" [NOT EDITED]")(newfile?" [NEW FILE]") line $1 of $2 \(($1*100 / $2)%\)
  32.