From 782f39bf3adb0a033ff1f85fef566d7b7987bddf Mon Sep 17 00:00:00 2001 From: Mathieu Lutfy Date: Tue, 29 Apr 2014 21:46:21 -0400 Subject: [PATCH] CRM-14573: ts fixes (CRM/Event/Cart/Form/Checkout/Payment.php, templates/CRM/Contribute/Form/ContributionPage/Tab.hlp). --- CRM/Event/Cart/Form/Checkout/Payment.php | 2 +- templates/CRM/Contribute/Form/ContributionPage/Tab.hlp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CRM/Event/Cart/Form/Checkout/Payment.php b/CRM/Event/Cart/Form/Checkout/Payment.php index 3bba4af06f..58c528faea 100644 --- a/CRM/Event/Cart/Form/Checkout/Payment.php +++ b/CRM/Event/Cart/Form/Checkout/Payment.php @@ -605,7 +605,7 @@ class CRM_Event_Cart_Form_Checkout_Payment extends CRM_Event_Cart_Form_Cart { $contribution = &CRM_Contribute_BAO_Contribution::add($contribParams, $ids); if (is_a($contribution, 'CRM_Core_Error')) { - CRM_Core_Error::fatal(ts("There was an error creating a contribution record for your event. Please report this error to the webmaster. Details: %1\n", array(1 => $contribution->getMessages($contribution)))); + CRM_Core_Error::fatal(ts("There was an error creating a contribution record for your event. Please report this error to the webmaster. Details: %1", array(1 => $contribution->getMessages($contribution)))); } $mer_participant->contribution_id = $contribution->id; $params['contributionID'] = $contribution->id; diff --git a/templates/CRM/Contribute/Form/ContributionPage/Tab.hlp b/templates/CRM/Contribute/Form/ContributionPage/Tab.hlp index 9edd77e7b9..a3f41b7c8e 100644 --- a/templates/CRM/Contribute/Form/ContributionPage/Tab.hlp +++ b/templates/CRM/Contribute/Form/ContributionPage/Tab.hlp @@ -50,9 +50,9 @@ » {ts}Include Profiles{/ts} - {ts}You may want to collect information from contributors beyond what is required to make a contribution. For example, you may want to inquire about volunteer availability and skills. Add any number of fields to your contribution form by selecting CiviCRM Profiles (collections of fields) to include at the beginning of the page, and/or at the bottom.
-You can use existing CiviCRM Profiles on your page - OR create profile(s) specifically for use in Online Contribution pages. Go to {/ts}{ts}Administer CiviCRM Profiles{/ts} {ts}if you need to review, modify or create profiles (you can come back at any time to select or update the Profile(s) used for this page). -{/ts} + {ts}You may want to collect information from contributors beyond what is required to make a contribution. For example, you may want to inquire about volunteer availability and skills. Add any number of fields to your contribution form by selecting CiviCRM Profiles (collections of fields) to include at the beginning of the page, and/or at the bottom.{/ts}
+{capture assign=adminGroupURL}{crmURL p="civicrm/admin/uf/group" q="reset=1&action=browse"}{/capture} +{ts 1=$adminGroupURL}You can use existing CiviCRM Profiles on your page - OR create profile(s) specifically for use in Online Contribution pages. Go to Administer CiviCRM Profiles if you need to review, modify or create profiles (you can come back at any time to select or update the Profile(s) used for this page).{/ts} » {ts}Premiums{/ts} @@ -72,7 +72,7 @@ You can use existing CiviCRM Profiles on your page - OR create profile(s) specif » {ts}Online Contribution{/ts}
({ts}Live{/ts}) - {ts}Review your customized LIVE online contribution page here. Use the following URL in links and buttons on any website to send visitors to this live page{/ts}:
+ {ts}Review your customized LIVE online contribution page here. Use the following URL in links and buttons on any website to send visitors to this live page:{/ts}
{crmURL a=1 fe=1 p="civicrm/contribute/transact" q="reset=1&id=`$contributionPageID`"} -- 2.25.1