From 9f25268b6784166ca4a8f91033d105b87f6aebe9 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Wed, 17 Nov 2021 14:23:53 -0500 Subject: [PATCH] fix when translation contains apostrophe --- templates/CRM/Contribute/Form/ContributionPage/Amount.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Contribute/Form/ContributionPage/Amount.tpl b/templates/CRM/Contribute/Form/ContributionPage/Amount.tpl index 9c2cbfa241..bb43d307fe 100644 --- a/templates/CRM/Contribute/Form/ContributionPage/Amount.tpl +++ b/templates/CRM/Contribute/Form/ContributionPage/Amount.tpl @@ -291,7 +291,7 @@ if ( !priceSetID ) { cj('#priceSet').hide(); if (CRM.memberPriceset) { - cj(".crm-contribution-contributionpage-amount-form-block-amount_block_is_active td").html('{/literal}{ts}You cannot enable the Contribution Amounts section when a Membership Price Set is in use. (See the Memberships tab above.) Membership Price Sets may include additional fields for non-membership options that require an additional fee (e.g. magazine subscription) or an additional voluntary contribution.{/ts}{literal}'); + cj(".crm-contribution-contributionpage-amount-form-block-amount_block_is_active td").html('{/literal}{ts escape="js"}You cannot enable the Contribution Amounts section when a Membership Price Set is in use. (See the Memberships tab above.) Membership Price Sets may include additional fields for non-membership options that require an additional fee (e.g. magazine subscription) or an additional voluntary contribution.{/ts}{literal}'); } } cj('#amountFields').hide(); -- 2.25.1