From: Eileen McNaughton Date: Tue, 7 Nov 2023 23:14:43 +0000 (+1300) Subject: Simplify use of word Register X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4ec87981f23cdc8f455d7a8830145e0eeba82ac9;p=civicrm-core.git Simplify use of word Register --- diff --git a/CRM/Event/Form/Registration/Confirm.php b/CRM/Event/Form/Registration/Confirm.php index 5d84a66b68..3e7a4766ca 100644 --- a/CRM/Event/Form/Registration/Confirm.php +++ b/CRM/Event/Form/Registration/Confirm.php @@ -305,7 +305,6 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration { //consider total amount. $this->assign('isAmountzero', $this->_totalAmount <= 0); - $contribButton = ts('Register'); $this->addButtons([ [ 'type' => 'back', @@ -313,7 +312,7 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration { ], [ 'type' => 'next', - 'name' => $contribButton, + 'name' => ts('Register'), 'isDefault' => TRUE, ], ]); diff --git a/templates/CRM/Event/Form/Registration/Confirm.tpl b/templates/CRM/Event/Form/Registration/Confirm.tpl index a546f2b650..98dddde24b 100644 --- a/templates/CRM/Event/Form/Registration/Confirm.tpl +++ b/templates/CRM/Event/Form/Registration/Confirm.tpl @@ -13,18 +13,19 @@

+ {capture assign=register}{ts}Register{/ts}{/capture} {if $isOnWaitlist} {ts}Please verify your information.{/ts} {ts}If space becomes available you will receive an email with a link to complete your registration.{/ts} - {ts 1=$form.buttons._qf_Confirm_next.html|strip_tags}Click %1 to be added to the WAIT LIST for this event.{/ts} + {ts 1=$register}Click %1 to be added to the WAIT LIST for this event.{/ts} {elseif $isRequireApproval} {ts}Please verify your information.{/ts} {ts}Once approved, you will receive an email with a link to complete the registration process.{/ts} - {ts 1=$form.buttons._qf_Confirm_next.html|strip_tags}Click %1 to submit your registration for approval.{/ts} + {ts 1=$register}Click %1 to submit your registration for approval.{/ts} {else} {ts}Please verify your information.{/ts} {if $contributeMode EQ 'notify' and !$is_pay_later and !$isAmountzero} - {ts 1=$form.buttons._qf_Confirm_next.html|strip_tags 2=$paymentProcessor.frontend_title}Click %1 to checkout with %2.{/ts} + {ts 1=$register 2=$paymentProcessor.frontend_title}Click %1 to checkout with %2.{/ts} {else} - {ts 1=$form.buttons._qf_Confirm_next.html|strip_tags}Click %1 to complete your registration.{/ts} + {ts 1=$register}Click %1 to complete your registration.{/ts} {/if} {/if}