From 6a4ae9b1e9b52e5aea3802a1ab174f93f421f8c5 Mon Sep 17 00:00:00 2001 From: Bradley Taylor Date: Sun, 31 Oct 2021 18:05:24 +0000 Subject: [PATCH] Make miscellaneous translatable --- CRM/Report/Form.php | 2 +- ext/eventcart/CRM/Event/Cart/Form/Checkout/Payment.php | 2 +- templates/CRM/Case/Form/Activity/ChangeCaseStatus.tpl | 8 ++++---- templates/CRM/Contribute/Form/ContributionPage/Amount.tpl | 6 +++--- templates/CRM/Contribute/Form/ManagePremiums.tpl | 2 +- templates/CRM/Price/Form/LineItem.tpl | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/CRM/Report/Form.php b/CRM/Report/Form.php index da4e6ba09d..7174b737d7 100644 --- a/CRM/Report/Form.php +++ b/CRM/Report/Form.php @@ -1646,7 +1646,7 @@ class CRM_Report_Form extends CRM_Core_Form { if (!empty($options)) { $options = [ - '-' => ' - none - ', + '-' => ts(' - none - '), ] + $options; for ($i = 1; $i <= 5; $i++) { $this->addElement('select', "order_bys[{$i}][column]", ts('Order by Column'), $options); diff --git a/ext/eventcart/CRM/Event/Cart/Form/Checkout/Payment.php b/ext/eventcart/CRM/Event/Cart/Form/Checkout/Payment.php index 5f0aa4100c..8200d456e0 100644 --- a/ext/eventcart/CRM/Event/Cart/Form/Checkout/Payment.php +++ b/ext/eventcart/CRM/Event/Cart/Form/Checkout/Payment.php @@ -194,7 +194,7 @@ class CRM_Event_Cart_Form_Checkout_Payment extends CRM_Event_Cart_Form_Cart { ]; if ($this->total) { - $this->add('text', 'billing_contact_email', 'Billing Email', '', TRUE); + $this->add('text', 'billing_contact_email', ts('Billing Email'), '', TRUE); $this->assign('collect_billing_email', TRUE); } diff --git a/templates/CRM/Case/Form/Activity/ChangeCaseStatus.tpl b/templates/CRM/Case/Form/Activity/ChangeCaseStatus.tpl index 9919c62f10..1049608475 100644 --- a/templates/CRM/Case/Form/Activity/ChangeCaseStatus.tpl +++ b/templates/CRM/Case/Form/Activity/ChangeCaseStatus.tpl @@ -22,10 +22,10 @@ - - - - + + + + {foreach from=$linkedCases item="linkedCase"} diff --git a/templates/CRM/Contribute/Form/ContributionPage/Amount.tpl b/templates/CRM/Contribute/Form/ContributionPage/Amount.tpl index 9dac6f4a23..9c2cbfa241 100644 --- a/templates/CRM/Contribute/Form/ContributionPage/Amount.tpl +++ b/templates/CRM/Contribute/Form/ContributionPage/Amount.tpl @@ -43,10 +43,10 @@
IDCase ClientCase TypeStatus{ts}ID{/ts}{ts}Case Client{/ts}{ts}Case Type{/ts}{ts}Status{/ts}
  - + - + @@ -85,7 +85,7 @@
{$form.pay_later_text.label} * {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_contribution_page' field='pay_later_text' id=$contributionPageID}{/if}
{$form.pay_later_text.label} * {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_contribution_page' field='pay_later_text' id=$contributionPageID}{/if} {$form.pay_later_text.html|crmAddClass:big}
{ts}Text displayed next to the checkbox for the 'pay later' option on the contribution form. You may include HTML formatting tags.{/ts}
{$form.pay_later_receipt.label} * {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_contribution_page' field='pay_later_receipt' id=$contributionPageID}{/if}
{$form.pay_later_receipt.label} * {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_contribution_page' field='pay_later_receipt' id=$contributionPageID}{/if} {$form.pay_later_receipt.html|crmAddClass:big}
{ts}Instructions added to Confirmation and Thank-you pages, as well as the confirmation email, when the user selects the 'pay later' option (e.g. 'Mail your check to ... within 3 business days.').{/ts}
  - + diff --git a/templates/CRM/Contribute/Form/ManagePremiums.tpl b/templates/CRM/Contribute/Form/ManagePremiums.tpl index 24ab8af603..621367eafb 100644 --- a/templates/CRM/Contribute/Form/ManagePremiums.tpl +++ b/templates/CRM/Contribute/Form/ManagePremiums.tpl @@ -47,7 +47,7 @@

{ts}You can upload an image from your computer OR enter a URL for an image already on the Web. If you chose to upload an image file, a 'thumbnail' version will be automatically created for you. If you don't have an image available at this time, you may also choose to display a 'No Image Available' icon by selecting the 'default image'.{/ts}

{$form.recur_frequency_unit.label}*
{$form.recur_frequency_unit.label}* {$form.recur_frequency_unit.html}
{ts}Select recurring units supported for recurring payments.{/ts}
- {if !empty($thumbnailUrl)}{/if} + {if !empty($thumbnailUrl)}{/if} diff --git a/templates/CRM/Price/Form/LineItem.tpl b/templates/CRM/Price/Form/LineItem.tpl index e4a724ad72..7502e850ad 100644 --- a/templates/CRM/Price/Form/LineItem.tpl +++ b/templates/CRM/Price/Form/LineItem.tpl @@ -95,7 +95,7 @@ - + {/if} -- 2.25.1
Current Image Thumbnail
{ts}Current Image Thumbnail{/ts}
{$form.imageOption.image.html}{$form.uploadFile.html}
{$form.imageOption.thumbnail.html}
Unallocated Amount{ts}Unallocated Amount{/ts}
{$total|crmMoney}