Merge branch 'CRM-20460' into CRM-20460-4.7
[civicrm-core.git] / xml / templates / message_templates / contribution_invoice_receipt_subject.tpl
index 0035d669ed4c1a99d1875582fe962072c3f88259..f99fe44750252079fc7d33c4c05b320ad1a3908d 100644 (file)
@@ -1,2 +1,11 @@
-{if $title}{if $component}{if $component == 'event'} {ts}Event Registration Invoice:- {$title}{/ts}{else}{ts}Contribution Invoice :  
- {$title}{/ts}{/if}{/if} {else} {ts}Invoice {/ts} {/if}
+{if $title}
+  {if $component}
+    {if $component == 'event'}
+      {ts 1=$title}Event Registration Invoice: %1{/ts}
+    {else}
+      {ts 1=$title}Contribution Invoice: %1{/ts}
+    {/if}
+  {/if}
+{else}
+  {ts}Invoice{/ts}
+{/if}