CRM-15603 - Misc string fixes
authorColeman Watts <coleman@civicrm.org>
Mon, 17 Nov 2014 00:33:40 +0000 (19:33 -0500)
committerColeman Watts <coleman@civicrm.org>
Mon, 17 Nov 2014 00:37:44 +0000 (19:37 -0500)
CRM/Event/Form/Registration/ParticipantConfirm.php
CRM/Member/Form/MembershipType.php
CRM/Pledge/BAO/Pledge.php
CRM/Report/Page/Instance.php
templates/CRM/Pledge/Form/Pledge.tpl
templates/CRM/Pledge/Form/PledgeView.tpl

index caf7d31ab6cc1cc9f698ae34e5384e71e17edbf3..de9337ca677e60c4f0fbf7aa050ec6021a2354fa 100644 (file)
@@ -201,7 +201,7 @@ class CRM_Event_Form_Registration_ParticipantConfirm extends CRM_Event_Form_Regi
         $statusMessage = ts("%1 Event registration(s) have been cancelled.", array(1 => count($participantIds)));
       }
       else {
-        $statusMessage = ts("Your event registration has been cancelled.");
+        $statusMessage = ts("Your Event Registration has been cancelled.");
       }
 
       if (!empty($results['mailedParticipants'])) {
index ebe231973a9a498e6553a9b2da0de014295a1bb6..7380b15d2da1235e38e437a18a7a95d674a98d51 100644 (file)
@@ -228,7 +228,7 @@ class CRM_Member_Form_MembershipType extends CRM_Member_Form_MembershipConfig {
     }
 
     if (($params['minimum_fee'] > 0 ) && !$params['financial_type_id'] ) {
-      $errors['financial_type_id'] = ts('Please enter the financial type.');
+      $errors['financial_type_id'] = ts('Please enter the financial Type.');
     }
 
     if (empty($params['duration_interval']) and $params['duration_unit'] != 'lifetime') {
index 1aed6a8ae7e1c30b093d079bf95fccb99a8abe8c..5d18a9734d50a9bcaa30a2232cc38faa0ceac9e8 100644 (file)
@@ -653,6 +653,7 @@ GROUP BY  currency
     );
     $config = CRM_Core_Config::singleton();
 
+    // FIXME: Translate
     $details = 'Total Amount ' . CRM_Utils_Money::format($params['total_pledge_amount'], CRM_Utils_Array::value('currency', $params)) . ' To be paid in ' . $params['installments'] . ' installments of ' . CRM_Utils_Money::format($params['scheduled_amount'], CRM_Utils_Array::value('currency', $params)) . ' every ' . $params['frequency_interval'] . ' ' . $params['frequency_unit'] . '(s)';
 
     if (!$activity->find()) {
index 98808bfa99829452512a11761c2414fd429ed25b..d68a48d2a53dbed19e299c0f3ad129a211a64003 100644 (file)
@@ -72,7 +72,7 @@ class CRM_Report_Page_Instance extends CRM_Core_Page {
     else {
       $templateInfo = CRM_Core_OptionGroup::getRowValues('report_template', "{$optionVal}", 'value');
       if (empty($templateInfo)) {
-        CRM_Core_Session::setStatus(ts('Could not find template for this report instance.'), ts('Template Not Found'), 'error');
+        CRM_Core_Session::setStatus(ts('Could not find template for the instance.'), ts('Template Not Found'), 'error');
         return;
       }
 
index c4d2b4dbd98891a5c565b2e2270506d0078a5f46..6fba237e83772b1b51fde88d8d2225be125b6cff 100644 (file)
                 <span class="description">{ts 1=$email}Automatically email an acknowledgment of this pledge to %1?{/ts}</span></td></tr>
             {/if}
       {elseif $context eq 'standalone' and $outBound_option != 2 }
-                <tr id="acknowledgment-receipt" style="display:none;"><td class="label">{$form.is_acknowledge.label}</td><td>{$form.is_acknowledge.html} <span class="description">{ts}Automatically email an acknowledgment of this pledge to {/ts}<span id="email-address"></span>?</span></td></tr>
+                <tr id="acknowledgment-receipt" style="display:none;"><td class="label">{$form.is_acknowledge.label}</td><td>{$form.is_acknowledge.html} <span class="description">{ts 1='<span id="email-address"></span>'}Automatically email an acknowledgment of this pledge to %1?{/ts}</span></td></tr>
         {/if}
         <tr id="fromEmail" style="display:none;">
             <td class="label">{$form.from_email_address.label}</td>
index 99416468d8923038f2db81177075a3ffcc86b7de..d69b173d0f52c817cab7c86e3f5ad1c0e63d194b 100644 (file)
@@ -39,7 +39,7 @@
             {if $originalPledgeAmount}<div class="messages status no-popup"><div class="icon inform-icon"></div>{ts 1=$originalPledgeAmount|crmMoney:$currency} Pledge total has changed due to payment adjustments. Original pledge amount was %1.{/ts}</div>{/if}
         </td>
      </tr>
-     <tr class="crm-pledge-form-block-installments"><td class="label">{ts}To be paid in{/ts}</td><td>{$installments}{ts} installments of {/ts}{$original_installment_amount|crmMoney:$currency}{ts} every {/ts} {$frequency_interval} {$frequencyUnit}</td></tr>
+     <tr class="crm-pledge-form-block-installments"><td class="label">{ts}To be paid in{/ts}</td><td>{$installments} {ts}installments of{/ts} {$original_installment_amount|crmMoney:$currency} {ts}every{/ts} {$frequency_interval} {$frequencyUnit}</td></tr>
     <tr><td class="label">{ts}Payments are due on the{/ts}</td><td>{$frequency_day} day of the period</td></tr>
 
     {if $start_date}