CRM-14573: ts fixes (CRM/Event/Cart/Form/Checkout/Payment.php, templates/CRM/Contribu...
authorMathieu Lutfy <mathieu@bidon.ca>
Wed, 30 Apr 2014 01:46:21 +0000 (21:46 -0400)
committerMathieu Lutfy <mathieu@bidon.ca>
Wed, 30 Apr 2014 01:46:21 +0000 (21:46 -0400)
CRM/Event/Cart/Form/Checkout/Payment.php
templates/CRM/Contribute/Form/ContributionPage/Tab.hlp

index 3bba4af06f9484e9f00c173b0b379f7b49b0419e..58c528faea59fb3f1a2094d59c1d865ab6c5b022 100644 (file)
@@ -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;
index 9edd77e7b9e00bb1e2de0b9dc656e13ec61ea56b..a3f41b7c8e62b3df895b0fbbcd1702ebe8c907cf 100644 (file)
@@ -50,9 +50,9 @@
 </tr>
 <tr>
    <td><a href="{crmURL p='civicrm/admin/contribute/custom' q="reset=1&action=update&id=`$contributionPageID`"}" id="idCustom">&raquo; {ts}Include Profiles{/ts}</a></td>
-    <td>{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.<br />
-You can use existing CiviCRM Profiles on your page - OR create profile(s) specifically for use in Online Contribution pages. Go to {/ts}<a href="{crmURL p='civicrm/admin/uf/group' q="reset=1&action=browse"}"><strong>{ts}Administer CiviCRM Profiles{/ts}</strong></a> {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}</td>
+    <td>{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}<br />
+{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 <a href="%1"><strong>Administer CiviCRM Profiles</strong></a> 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}</td>
 </tr>
 <tr>
    <td><a href="{crmURL p='civicrm/admin/contribute/premium q="reset=1&action=update&id=`$contributionPageID`"}" id="idPremium">&raquo; {ts}Premiums{/ts}</a></td>
@@ -72,7 +72,7 @@ You can use existing CiviCRM Profiles on your page - OR create profile(s) specif
 </tr>
 <tr>
   <td><a href="{crmURL p='civicrm/contribute/transact' q="reset=1&id=`$contributionPageID`"}" id="idLive">&raquo; {ts}Online Contribution{/ts}</a><br /> ({ts}Live{/ts})</td>
-  <td>{ts}Review your customized <strong>LIVE</strong> online contribution page here. Use the following URL in links and buttons on any website to send visitors to this live page{/ts}:<br />
+  <td>{ts}Review your customized <strong>LIVE</strong> online contribution page here. Use the following URL in links and buttons on any website to send visitors to this live page:{/ts}<br />
       <strong>{crmURL a=1 fe=1 p="civicrm/contribute/transact" q="reset=1&id=`$contributionPageID`"}</strong></td>
 </tr>
 </table>