/********************
 
	The Geometer's Sketchpad 
	(C) 1989-2010 by KCP Technologies, Inc. 
	All rights reserved. 
 
	drmerr_st.c - DRM Specific err_st.c values
 
	Overview:
 	These are drm specific entries of the errs_st.c array.
	
	They are split of in their own file for ease of maintenance, and intended for
	direct #inclusion in err_st.c.
 
 
 ***********************/ 
 
 #include "kcpt_drm_st.h"
 

	OS_STR_ENTRY (
		"AuthorizationWarningTitle_StringID",
		"Authorization Warning",
		"Title of dialog for non-fatal password problems."),

	OS_STR_ENTRY (
		"AuthorizationFailureTitle_StringID",
		"Authorization Failed",
		"Title of dialog for fatal license-issue problems."),
		
	#define INVALID_LICENSE_FOUND			"The license name or authorization code is invalid."

	#ifdef VER_RELEASE
		#define CONTACT_KCPT				""
		#define RETYPE_OR_CONTACT_KCPT		" Please try again."
		#define CONTACT_KCPT_FOR_PASSWORD	""
		#define CONTACT_KCPT_ACTIVATION		""
	#else
		#define CONTACT_KCPT				" Contact KCP Technologies (gsptest@keypress.com)."
		#define RETYPE_OR_CONTACT_KCPT		" Please try again, or contact KCP Technologies (gsptest@kcptech.com)."
		#define CONTACT_KCPT_FOR_PASSWORD	" Contact KCP Technologies (gsptest@kcptech.com) for a new password."
		#define CONTACT_KCPT_ACTIVATION		" If this occurs on a machine with an active internet connection, please contact gsptest@kcptech.com with details."
	#endif

	OS_STR_ENTRY (
		"AuthorizationExpired_Err_StringID",
		"The authorization code for this license has expired. " SEND_COMPLAINTS_TO_DEVNULL,
		"Text of message for expired license. Used as an error dialog string, and also as command line error report."),
	OS_STR_ENTRY (
		"AuthorizationInvalid_Err_StringID",
		"The license name or authorization code is invalid." RETYPE_OR_CONTACT_KCPT,
		"Text of report when given invalid license.  Used as an error dialog string, and also as command line error report."),
	OS_STR_ENTRY (
		"AuthorizationExpiresSoon_Err_StringID",
		"This license for Sketchpad will expire on ^A." CONTACT_KCPT_FOR_PASSWORD,
		"Text of dialog for expiring password (^A: date). This warning comes up when you launch Sketchpad and have less that two weeks left before your license expires."),

	OS_STR_ENTRY (
		"AuthorizationNoLicenseServerContact_StringID",
		"The license has been registered on this computer but the license server could not be contacted for validation. Please check your network connection and try again, or continue and Sketchpad will attempt to validate when next launched.",
		"Text of message for failure to activate due to lack of license server contact. Not currently used as an error dialog string (though possibly in the future); used presently only as command line error report."),
	
	OS_STR_ENTRY(
			"AuthorizationDeactivationMismatch_StringID",
			"Sketchpad could not be deregistered on this computer because the authorization code entered does not match the authorization code currently in use.",
			"On deactivation failure due to failure to enter the correct authorization code. Used as an error dialog string, and also as command line error report."),
	OS_STR_ENTRY(
		"AuthorizationDeactivationNoServerContact_StringID",
		"The license server could not be contacted for deregistration. Please check your network connection and try again.",
		"On failure to contact license server for deactivation request."),
	OS_STR_ENTRY(
		"AuthorizationDeactivationMiscFailure_StringID",
		"The license server has been successfully contacted for deregistration, but you have insufficient privileges to remove the license from this computer.",
		"On deactivation failure for any other reason. Used as an error dialog string, and also as command line error report."),
	OS_STR_ENTRY(
		"AuthorizationLicenceWriteAccessFailure_StringID",
		"You have insufficient privileges to write this computer's license.",
		"DRM Command line error message when unable to write the licence file/ registry entry"),
	OS_STR_ENTRY(
		"AuthorizationCommandLineUsage_StringID",
		"usage: Sketchpad_Executable -license (register | deregister) -name LicenseName -code AuthorizationCode",
		"DRM Command line usage string"),
	OS_STR_ENTRY(
		"AuthorizationCommandLineGenericError_StringID",
		"The specified command could not be completed.",
		"DRM Command line generic error message."),		
	OS_STR_ENTRY(
		"AuthorizationActivationRejectedUnspecifiedReason_StringID",
		SERVER_REJECTION_UnspecifiedReason,
		"Generic message given when rejected by the server, when no more specific message is available. Generally the same message given to the user when the server rejects for \"UnspecifiedReason\""),		
	OS_STR_ENTRY(
		"AuthorizationCommandLineRegistration_PreviousReg_StringID",
		"You cannot register this license because a valid license is already registered. Deregister that license, or use the \"-force\" option to force registration.",
		"DRM Command line error message when attempting to register over a valid registration. The user can use the\"-force\" option to override."),		
	OS_STR_ENTRY(
		"CommandLineDegistration_NoPreviousReg",
		"That license could not be found on this machine. Use the \"-force\" option to force deregistration on the license server.",
		"Attempting to deregister a license which is not locally registered. The user can use the \"-force\" option to override."),	
	OS_STR_ENTRY (
		"AuthorizationCommandLineInfoInvalidLicense_StringID",
		"No valid license was found.",
		"Text of report when given invalid license use int the \"info\" command. Used in contexts where we can't give a more specific message about why the license was invalid (e.g. garbage license or no license at all)."),
