CRM-15659 fix reference 'every one month(s).' to 'every month.'
authorEileen McNaughton <eileen@fuzion.co.nz>
Mon, 2 Feb 2015 02:21:46 +0000 (15:21 +1300)
committerEileen McNaughton <eileen@fuzion.co.nz>
Mon, 2 Feb 2015 02:21:46 +0000 (15:21 +1300)
templates/CRM/Contribute/Form/Contribution/ThankYou.tpl

index 2cea291419208c7af3c0dba6c2d5bd7ac7579cf7..b589f3612ee5baf0dfe3e487e5563e1551aa6d17 100644 (file)
                 {if $membershipBlock} {* Auto-renew membership confirmation *}
 {crmRegion name="contribution-thankyou-recur-membership"}
                     <br />
-                    <strong>{ts 1=$frequency_interval 2=$frequency_unit}This membership will be renewed automatically every %1 %2(s).{/ts}</strong>
+                {if $frequency_interval > 1}
+                  <strong>{ts 1=$frequency_interval 2=$frequency_unit}This membership will be renewed automatically every %1 %2(s).{/ts}</strong>
+                {else}
+                  <strong>{ts 1=$frequency_unit}This membership will be renewed automatically every %1.{/ts}</strong>
+                {/if}
                     <div class="description crm-auto-renew-cancel-info">({ts}You will receive an email receipt which includes information about how to cancel the auto-renewal option.{/ts})</div>
 {/crmRegion}
                 {else}