], CRM_Core_Action::ADD);
$this->callAPISuccessGetCount('Contribution', ['contact_id' => $this->_individualId], 1);
$mut->checkMailLog([
- 'Thank you for your support',
+ 'Below you will find a receipt for this contribution.',
'<testloggedin@example.com>',
]);
$mut->stop();
$msg = $this->IPN->sendMail($this->input, $this->ids, $this->objects, $values, FALSE, TRUE);
$this->assertTrue(is_array($msg), "Message returned as an array in line" . __LINE__);
$this->assertEquals('Mr. Anthony Anderson II', $msg['to']);
- $this->assertContains('Thank you for your participation', $msg['body']);
+ $this->assertContains('Thank you for your registration', $msg['body']);
}
/**
$this->IPN->loadObjects($this->input, $this->ids, $this->objects, FALSE, $this->_processorId);
$this->IPN->sendMail($this->input, $this->ids, $this->objects, $values, FALSE, FALSE);
$mut->checkMailLog([
- 'Thank you for your participation',
+ 'Thank you for your registration',
'Annual CiviCRM meet',
'Mr. Anthony Anderson II',
]);
]);
$participant = $this->callAPISuccessGetSingle('Participant', []);
$mut->checkMailLog([
- 'Dear Logged In, Thank you for your participation. This letter is a confirmation that your registration has been received and your status has been updated to Registered.',
+ 'Dear Logged In, Thank you for your registration. This is a confirmation that your registration has been received and your status has been updated to Registered.',
]);
$mut->stop();
$mut->clearMessages();
'Expires: January 2019',
'Visa',
'************1111',
- 'This letter is a confirmation that your registration has been received and your status has been updated to <strong> Registered</strong>',
+ 'This is a confirmation that your registration has been received and your status has been updated to <strong> Registered</strong>',
]);
$mut->clearMessages();
}
$mut->checkMailLog([
'Annual CiviCRM meet',
'Event',
- 'This letter is a confirmation that your registration has been received and your status has been updated to Registered.',
+ 'This is a confirmation that your registration has been received and your status has been updated to Registered.',
'First Name: Logged In',
'Public title',
'public 2',
'Total Fees: $ 300.00',
'This Payment Amount: $ 150.00',
'Balance Owed: $ 0.00',
- 'Thank you for completing payment.',
+ 'Thank you for completing this payment.',
]);
$mut->stop();
$mut->clearMessages();
{if $formValues.receipt_text}
<p>{$formValues.receipt_text|htmlize}</p>
{else}
- <p>{ts}Thank you for your support.{/ts}</p>
+ <p>{ts}Below you will find a receipt for this contribution.{/ts}</p>
{/if}
-
</td>
</tr>
<tr>
{if $formValues.receipt_text}
{$formValues.receipt_text}
-{else}{ts}Thank you for your support.{/ts}{/if}
-
+{else}{ts}Below you will find a receipt for this contribution.{/ts}{/if}
===========================================================
{ts}Contribution Information{/ts}
<tr>
<td>
<p>{ts}Your recurring contribution term has ended.{/ts}</p>
- <p>{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you for your support.{/ts}</p>
+ <p>{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you.{/ts}</p>
</td>
</tr>
<tr>
{ts}Your recurring contribution term has ended.{/ts}
-{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you for your support.{/ts}
+{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you.{/ts}
==================================================
<p>{$event.confirm_email_text|htmlize}</p>
{else}
- <p>{ts}Thank you for your participation.{/ts}
- {if $participant_status}{ts 1=$participant_status}This letter is a confirmation that your registration has been received and your status has been updated to <strong> %1</strong>.{/ts}
- {else}{if $isOnWaitlist}{ts}This letter is a confirmation that your registration has been received and your status has been updated to <strong>waitlisted</strong>.{/ts}{else}{ts}This letter is a confirmation that your registration has been received and your status has been updated to <strong>registered<strong>.{/ts}{/if}{/if}</p>
+ <p>{ts}Thank you for your registration.{/ts}
+ {if $participant_status}{ts 1=$participant_status}This is a confirmation that your registration has been received and your status has been updated to <strong> %1</strong>.{/ts}
+ {else}{if $isOnWaitlist}{ts}This is a confirmation that your registration has been received and your status has been updated to <strong>waitlisted</strong>.{/ts}{else}{ts}This is a confirmation that your registration has been received and your status has been updated to <strong>registered<strong>.{/ts}{/if}{/if}</p>
{/if}
{$event.confirm_email_text}
{else}
- {ts}Thank you for your participation.{/ts}
- {if $participant_status}{ts 1=$participant_status}This letter is a confirmation that your registration has been received and your status has been updated to %1.{/ts}
- {else}{if $isOnWaitlist}{ts}This letter is a confirmation that your registration has been received and your status has been updated to waitlisted.{/ts}{else}{ts}This letter is a confirmation that your registration has been received and your status has been updated to registered.{/ts}{/if}
+ {ts}Thank you for your registration.{/ts}
+ {if $participant_status}{ts 1=$participant_status}This is a confirmation that your registration has been received and your status has been updated to %1.{/ts}
+ {else}{if $isOnWaitlist}{ts}This is a confirmation that your registration has been received and your status has been updated to waitlisted.{/ts}{else}{ts}This is a confirmation that your registration has been received and your status has been updated to registered.{/ts}{/if}
{/if}
{/if}
{elseif $formValues.receipt_text_renewal}
<p>{$formValues.receipt_text_renewal|htmlize}</p>
{else}
- <p>{ts}Thank you for your support.{/ts}</p>
+ <p>{ts}Thank you for this contribution.{/ts}</p>
{/if}
</td>
</tr>
{$formValues.receipt_text_signup}
{elseif $formValues.receipt_text_renewal}
{$formValues.receipt_text_renewal}
-{else}{ts}Thank you for your support.{/ts}{/if}
+{else}{ts}Thank you for this contribution.{/ts}{/if}
{if !$lineItem}
===========================================================
<tr>
<td>
{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}<p>{$greeting},</p>{/if}
+ <p>{ts}This is an invitation to complete your registration that was initially waitlisted.{/ts}</p>
</td>
</tr>
{if !$isAdditional and $participant.id}
{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}{$greeting},{/if}
+{ts}This is an invitation to complete your registration that was initially waitlisted.{/ts}
+
{if !$isAdditional and $participant.id}
===========================================================
{if $paymentsComplete}
<tr>
<td colspan='2' {$valueStyle}>
- {ts}Thank you for completing payment.{/ts}
+ {ts}Thank you for completing this payment.{/ts}
</td>
</tr>
{/if}
{if $paymentsComplete}
-{ts}Thank you for completing payment.{/ts}
+{ts}Thank you for completing this payment.{/ts}
{/if}
{/if}
{if $receive_date}
-{ts}Thank you for your Pledge{/ts}
+{ts}Thank you for this pledge{/ts}