#
#   This file contains all error messages.  It must be localized....  The right side of the dictionary
#   entries below require the changes.
#

import string

#   return PSP Script Editor messages

def PSPSEmsgs (error):


    ErrorMsgs = {"ERROR:Parse11":"Parse Error: Script Properties statement found before import.",
                 "ERROR:Parse12":"Parse Error: Commented PSP Command statement found before import.",
                 "ERROR:Parse13":"Parse Error: Def Do statement found before import.",
                 "ERROR:Parse14":"Parse Error: PSP Command statement found before import.",
                 "ERROR:Parse21":"Parse Error: Import statement found. Def Do expected.",
                 "ERROR:Parse22":"Parse Error: Commented PSP Command statement found before Def Do.",
                 "ERROR:Parse23":"Parse Error: PSP Command statement found before Def Do.",
                 "ERROR:Parse31":"Parse Error: Import statement found. PSP command expected.",
                 "ERROR:Parse32":"Parse Error: Def Do statement found. PSP command expected.",
                 "ERROR:Parse41":"Parse Error: Failed to parse Script Properties parameters.",
                 "ERROR:Parse42":"Parse Error: Failed to parse Script Properties return statement.",
                 "ERROR:Parse51":"Parse Error: Failed to parse PSP command parameter dictionary.",
                 "ERROR:Parse52":"Parse Error: Failed to find the end of a triple quoted documentation block."
                 
                  
                 }

    return (ErrorMsgs[error])



