home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / elvis22g.zip / lib / elvis.msg < prev    next >
Text File  |  2002-04-10  |  2KB  |  33 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. nothing to fold there:       To create a new folded region, you must give a name
  14.  
  15. # Some words that are stored as options: True False Submit Cancel Help
  16. Submit:Okay
  17.  
  18. # This demonstrates how to cause specific messages to beep, regardless of the
  19. # settings of the "errorbells" and "warningbells" options.  This example is
  20. # commented out; delete the initial '#' to activate it.
  21. #------------------------------------------------------------------------------
  22. #wrapped:             Wrapped
  23.  
  24. # The following shows how to silence a typical error message -- just don't
  25. # have any text after the colon character.
  26. #------------------------------------------------------------------------------
  27. not while in open mode:
  28.  
  29. # The following line is used to control the output of the :file command and
  30. # visual ^G command.  This is by far the most complex message used by elvis.
  31. #------------------------------------------------------------------------------
  32. (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)%\)
  33.