From 7e649aa979c4d07751f9c48c9613691a612e282f Mon Sep 17 00:00:00 2001 From: Samuel Vanhove Date: Tue, 3 Apr 2018 16:49:48 -0400 Subject: [PATCH] (NFC) make (includes taxes) translation work --- templates/CRM/Contribute/Form/Contribution/Main.tpl | 2 +- templates/CRM/Price/Form/PriceSet.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/CRM/Contribute/Form/Contribution/Main.tpl b/templates/CRM/Contribute/Form/Contribution/Main.tpl index 4a270e537b..3e65035b7b 100644 --- a/templates/CRM/Contribute/Form/Contribution/Main.tpl +++ b/templates/CRM/Contribute/Form/Contribution/Main.tpl @@ -98,7 +98,7 @@ {else}
{$form.total_amount.label} - {$form.total_amount.html|crmMoney}  {if $taxAmount}(includes {$taxTerm} of {$taxAmount|crmMoney}){/if} + {$form.total_amount.html|crmMoney}  {if $taxAmount}{ts 1=$taxTerm 2=$taxAmount|crmMoney}(includes %1 of %2){/ts}{/if}
{/if} {else} diff --git a/templates/CRM/Price/Form/PriceSet.tpl b/templates/CRM/Price/Form/PriceSet.tpl index eacf241ae7..e6876900ee 100644 --- a/templates/CRM/Price/Form/PriceSet.tpl +++ b/templates/CRM/Price/Form/PriceSet.tpl @@ -82,7 +82,7 @@ {$amount|crmMoney} {elseif $displayOpt == 'Inclusive'} {$amount|crmMoney} - (includes {$taxTerm} of {$option.tax_amount|crmMoney}) + {ts 1=$taxTerm 2=$option.tax_amount|crmMoney}(includes %1 of %2){/ts} {else} {$option.amount|crmMoney} + {$option.tax_amount|crmMoney} {$taxTerm} -- 2.25.1