home *** CD-ROM | disk | FTP | other *** search
- ; CyberX10_Strings.cd
- ; Copyright © 1992 by Christopher A. Wichura (caw@miroc.chi.il.us)
- ; All rights reserved.
- ;
- ; This file contains the definitions for localizing the strings found
- ; in the program CyberX10.
- ;
- ; Note to translators: CatComp chokes on lines that don't have anything
- ; on them so all blank lines must have a ; character on them so that
- ; CatComp considers them a comment and doesn't generate an error.
- ;
- ; *************************************************************************
- ; Special magic that translators shouldn't need to worry with
- ; *************************************************************************
- ;
- #header CYBERX10_STRINGS
- ;
- ; *************************************************************************
- ; *************************************************************************
- ; These are general purpose strings
- ; *************************************************************************
- ; *************************************************************************
- ;
- ; This first string is the name of the program
- MSG_PROGNAME (0//)
- CyberX10
- ;
- ; window title for an error requester
- MSG_ERROR_REQ_WIN_TITLE (//)
- CyberX10 Error
- ;
- ; text for continue gadget in error requester
- MSG_CONTINUE (//)
- CONTINUE
- ;
- ; the infamous out of memory message :-)
- MSG_OUT_OF_MEMORY (//)
- Out of memory!
- ;
- ; This is printed when the user gives us a command line that doesn't
- ; actually have anything for us to do on it
- MSG_NOTHING_TO_DO (//)
- Nothing to do!
- ;
- ; printed when we can't open up the serial device. % arguments are:
- ; 1) %s = device name (i.e., serial.device)
- ; 2) %ld = unit number
- MSG_NO_SER_DEV (//)
- Couldn't open \"%s\" unit %ld.
- ;
- ; printed when we couldn't open the timer device
- MSG_NO_TIMER (//)
- Couldn't open timer.
- ;
- ; general "couldn't open" error message. %s is the thing we couldn't open
- MSG_COULDNT_OPEN (//)
- Couldn't open %s.
- ;
- ; printed when we couldn't allocate a RDArgs structure
- MSG_NO_RDARGS (//)
- Couldn't allocate a RDArgs structure.
- ;
- ; these are the types of actions that one might ask the X10 interface to
- ; to. They are used in the MSG_CP290_ERROR_DIRECT string below.
- MSG_TURN_ON (//)
- turn on
- MSG_TURN_OFF (//)
- turn off
- MSG_DIM (//)
- dim
- ;
- ; printed when we have a problem trying to turn a unit on/off, etc.
- ; % arguments are:
- ; 1) %s = one of MSG_TURN_ON, MSG_TURN_OFF or MSG_DIM
- ; 2) %s = the target unit (e.g., "c1")
- MSG_CP290_ERROR_DIRECT (//)
- CP290 interface error trying to %s unit %s.
- ;
- ; printed when no units were specified for an action
- MSG_NO_UNITS_SPECIFIED (//)
- No units specified.
- ;
- ; printed when an invalid unit was given. %s is the bad unit name.
- MSG_INVALID_UNIT (//)
- Invalid unit \"%s\" specified.
- ;
- ; printed when an invalid dimness level was given. %ld is the bad level.
- MSG_INVALID_DIM_LEVEL (//)
- Invalid dim level %ld specified.
- ;
- ; printed when no base housecode has been specified.
- MSG_NO_BASE_HC (//)
- No base housecode specified.
- ;
- ; printed when an invalid base housecode has been specified. %lc is bad hc
- MSG_INVALID_BASE_HC (//)
- Invalid housecode \"%lc\" specified.
- ;
- ; printed when an error occurs trying to set the base housecode
- MSG_CP290_ERROR_BASEHC (//)
- CP290 interface error trying to set base housecode.
- ;
- ; printed when an error occurs trying to set the CP290's clock.
- MSG_CP290_ERROR_SETCLOCK (//)
- CP290 interface error trying to set CP290's clock.
- ;
- ; printed when the CP290 fails its diagnostic test. % arguments are:
- ; 1) %s = one of MSG_TIMEOUT or MSG_STATUS_FLAG
- MSG_CP290_ERROR_DIAG (//)
- CP290 interface failed self diagnostic test (%s).
- ;
- ; possible reasons for the MSG_CP290_ERROR_DIAG indicating a failure.
- ; MSG_TIMEOUT means the unit timed out on the diagnostic while
- ; MSG_STATUS_FLAG means the unit returned a status flag that indicates a
- ; failure occured.
- MSG_TIMEOUT (//)
- Timeout
- MSG_STATUS_FLAG (//)
- Status Flag
- ;
- ; printed when we have some kind of error reading from the CP290
- ; %s = one of MSG_TIMEOUT or MSG_CHECKSUM
- MSG_CP290_ERROR_READING (//)
- %s error while reading from CP290 interface.
- ;
- ; used when we want to indicate a checksum error occured when reading from
- ; the CP290 interface.
- MSG_CHECKSUM (//)
- Checksum
- ;
- ; printed when the CP290 doesn't appear to be responding to us
- MSG_CP290_ERROR_NO_RESPONSE (//)
- CP290 interface not responding.
- ;
- ; printed when the CP290 passes its self diagnostic test. % arguments are:
- ; 1) %lc = current base housecode setting
- ; 2) %s = day name of CP290's clock (e.g., "Monday")
- ; 3) %ld = hour of CP290's clock (range 0-23)
- ; 4) %ld = minute of CP290's clock (range 0-59)
- MSG_CP290_PASSED_DIAG (//)
- CP290 interface passed self diagnostic test.\n\
- CP290's base housecode is currently set to %lc.\n\
- CP290's clock reads %s %02ld:%02ld.
- ;
- ; printed when there is a parse error in the download file. % arguments are
- ; 1) %ld = line number error occured in
- ; 2) %s = filename of download file
- MSG_PARSE_ERROR (//)
- Parse error in line %ld of file \"%s\".
- ;
- ; printed when the timer or graphics tables are full, respectively.
- MSG_TIMER_TABLE_FULL (//)
- Timer event table is full (maximum of 128 entries).
- MSG_GRAPHICS_TABLE_FULL (//)
- Graphics data table is full (maximum of 256 entries).
- ;
- ; printed when we couldn't open a file. %s is the filename
- MSG_COULDNT_OPEN_FILE (//)
- Couldn't open file \"%s\".
- ;
- ; printed when an error occurs downloading data to the CP290
- MSG_CP290_ERROR_DOWNLOAD (//)
- Error while downloading data to the CP290 interface.
- ;
- ; when writing to the upload file we are creating, we put in a couple of
- ; comments to indicate the start of the timer events and graphics data
- ; sections. These next two strings hold said comments. Note that the
- ; position of any \n or %s is important (i.e., always at the end or
- ; always at the beginning). They are for formatting purposes, and thus
- ; the value of the %s is not meaningful to you, the translator.
- MSG_COMMENT_TIMER (//)
- # timer events\n\n
- MSG_COMMENT_GRAPHICS (//)
- %s# graphics data\n\n
- ;
- ; printed when an i/o error occurs writing to the upload file. %s holds
- ; the upload file's filename.
- MSG_IO_ERROR (//)
- I/O Error writing to file \"%s\".
- ;
- ; printed when we can't create the upload file. %s holds the filename.
- MSG_CANT_CREATE_FILE (//)
- Couldn't create file \"%s\".
- ;
- ; *************************************************************************
- ; *************************************************************************
- ; Messages for our ReadArgs() help string
- ; *************************************************************************
- ; *************************************************************************
- ;
- ; Template for the help text at ReadArgs time. % arguments are:
- ; 1) MSG_PROGNAME
- ; 2) VersionID
- ; 3) MSG_COPYRIGHT
- MSG_ARG_HELP (//)
- %s v%s\n\
- %s\n\
- Use [ON], [OFF] or [DIM <dimness level from 1-16>] followed by unit\n\
- addresses to turn on, off or dim selected units. For example, to turn on\n\
- units c1, c2 and e1 you would use:\n\
- \n\
- on c1 c2 e2\n\
- \n\
- Use [BASEHC <new base housecode>] to set the CP290 interface's base\n\
- housecode. Remember that this will erase any programming currently in the\n\
- interface's memory.\n\
- \n\
- Use [SETCLOCK] to set the CP290 interface's clock to match the computer's\n\
- clock.\n\
- \n\
- Use [DIAG] to run the CP290 interface's self diagnostic test. This will\n\
- display the current base housecode and clock value from the CP290. This\n\
- will cause any programming currently in the interface's memory to be lost.\n\
- \n\
- Use [DOWNLOAD <filename>] to read timer events and graphics data from\n\
- <filename> and download them to the CP290 interface's memory.\n\
- \n\
- Use [UPLOAD <filename>] to upload the timer events and graphics data from\n\
- the CP290 interface's memory and write them to <filename>.\n\
- \n\
- [DEVICE <device name>] and [UNIT <unit number>] let one specify the device\n\
- driver and unit number to use to talk to the CP290 interface. The\n\
- [ATTEMPT] switch will cause the program not to block waiting for the device\n\
- to be come free.\n
- ;
- ; this text holds the copyright message.
- MSG_COPYRIGHT (//)
- Copyright © 1992 by Christopher A. Wichura (caw@miroc.chi.il.us)\n\
- All rights reserved.\n
- ;
-