From 20e8606204c0770fb273b949e62605f849cf61c1 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Mon, 28 Jun 2021 14:47:55 -0400 Subject: [PATCH] translation improvement - dev/core#1711 --- templates/CRM/Contact/Form/Task/SMSCommon.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Contact/Form/Task/SMSCommon.tpl b/templates/CRM/Contact/Form/Task/SMSCommon.tpl index 16c1924a28..971e4e5e7f 100644 --- a/templates/CRM/Contact/Form/Task/SMSCommon.tpl +++ b/templates/CRM/Contact/Form/Task/SMSCommon.tpl @@ -63,7 +63,7 @@ function maxLengthMessage() var len = CRM.$('#sms_text_message').val().length; var maxLength = {/literal}{$max_sms_length}{literal}; if (len > maxLength) { - CRM.$('#sms_text_message').crmError({/literal}'{ts escape="js"}SMS body exceeding limit of {$max_sms_length} characters{/ts}'{literal}); + CRM.$('#sms_text_message').crmError({/literal}'{ts escape="js" 1=$max_sms_length}SMS body exceeding limit of %1 characters{/ts}'{literal}); return false; } return true; -- 2.25.1