'CRM_Core_BAO_LabelFormat',
$this->_id,
));
- $this->addRule('NX', ts('Must be an integer'), 'integer');
- $this->addRule('NY', ts('Must be an integer'), 'integer');
- $this->addRule('tMargin', ts('Must be numeric'), 'numeric');
- $this->addRule('lMargin', ts('Must be numeric'), 'numeric');
- $this->addRule('SpaceX', ts('Must be numeric'), 'numeric');
- $this->addRule('SpaceY', ts('Must be numeric'), 'numeric');
- $this->addRule('lPadding', ts('Must be numeric'), 'numeric');
- $this->addRule('tPadding', ts('Must be numeric'), 'numeric');
- $this->addRule('width', ts('Must be numeric'), 'numeric');
- $this->addRule('height', ts('Must be numeric'), 'numeric');
- $this->addRule('weight', ts('Must be integer'), 'integer');
+ $this->addRule('NX', ts('Please enter a valid integer.'), 'integer');
+ $this->addRule('NY', ts('Please enter a valid integer.'), 'integer');
+ $this->addRule('tMargin', ts('Please enter a valid number.'), 'numeric');
+ $this->addRule('lMargin', ts('Please enter a valid number.'), 'numeric');
+ $this->addRule('SpaceX', ts('Please enter a valid number.'), 'numeric');
+ $this->addRule('SpaceY', ts('Please enter a valid number.'), 'numeric');
+ $this->addRule('lPadding', ts('Please enter a valid number.'), 'numeric');
+ $this->addRule('tPadding', ts('Please enter a valid number.'), 'numeric');
+ $this->addRule('width', ts('Please enter a valid number.'), 'numeric');
+ $this->addRule('height', ts('Please enter a valid number.'), 'numeric');
+ $this->addRule('weight', ts('Please enter a valid integer.'), 'integer');
}
/**
$session->pushUserContext(CRM_Utils_System::url('civicrm/admin', 'reset=1'));
$this->addFormRule(array('CRM_Admin_Form_Setting_Mail', 'formRule'));
- $this->addRule('mailerBatchLimit', ts('Must be an integer'), 'integer');
- $this->addRule('mailThrottleTime', ts('Must be an integer'), 'integer');
- $this->addRule('mailerJobSize', ts('Must be an integer'), 'integer');
- $this->addRule('mailerJobsMax', ts('Must be an integer'), 'integer');
+ $this->addRule('mailerBatchLimit', ts('Please enter a valid integer.'), 'integer');
+ $this->addRule('mailThrottleTime', ts('Please enter a valid integer.'), 'integer');
+ $this->addRule('mailerJobSize', ts('Please enter a valid integer.'), 'integer');
+ $this->addRule('mailerJobsMax', ts('Please enter a valid integer.'), 'integer');
parent::buildQuickForm($check);
}
{if $is_email_receipt}
<div>
{if $onBehalfEmail AND ($onBehalfEmail neq $email)}
- {ts 1=$email 2=$onBehalfEmail}An email confirmation with these payment instructions has been sent to %1 and
- to %2.{/ts}
+ {ts 1=$email 2=$onBehalfEmail}An email confirmation with these payment instructions has been sent to %1 and to %2.{/ts}
{else}
{ts 1=$email}An email confirmation with these payment instructions has been sent to %1.{/ts}
{/if}
{if $is_email_receipt}
<div>
{if $onBehalfEmail AND ($onBehalfEmail neq $email)}
- {ts 1=$email 2=$onBehalfEmail}An email receipt will be sent to %1 and to %2 once the transaction is processed
- successfully.{/ts}
+ {ts 1=$email 2=$onBehalfEmail}An email receipt will be sent to %1 and to %2 once the transaction is processed successfully.{/ts}
{else}
{ts 1=$email}An email receipt will be sent to %1 once the transaction is processed successfully.{/ts}
{/if}