From: Andrew Hunt Date: Wed, 8 Jun 2016 03:36:33 +0000 (-0400) Subject: CRM-18778 i18n petition: thank-you page title translation to wrong table X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e62b3bb98aabbaed03f59acaf3c9d24cc935cd01;p=civicrm-core.git CRM-18778 i18n petition: thank-you page title translation to wrong table ---------------------------------------- * CRM-18778: Petition thank-you fields translatable to wrong table https://issues.civicrm.org/jira/browse/CRM-18778 --- diff --git a/templates/CRM/Campaign/Form/Petition.tpl b/templates/CRM/Campaign/Form/Petition.tpl index c380b3c264..bb328b3f39 100644 --- a/templates/CRM/Campaign/Form/Petition.tpl +++ b/templates/CRM/Campaign/Form/Petition.tpl @@ -79,7 +79,7 @@ {$form.thankyou_title.label}{if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_contribution_page' field='thankyou_title' id=$contributionPageID}{/if} + class="label">{$form.thankyou_title.label}{if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_survey' field='thankyou_title' id=$surveyId}{/if} {$form.thankyou_title.html}
{ts}This title will be displayed at the top of the thank-you page.{/ts}
@@ -87,7 +87,7 @@ {$form.thankyou_text.label}{if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_contribution_page' field='thankyou_text' id=$contributionPageID}{/if} + class="label">{$form.thankyou_text.label}{if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_survey' field='thankyou_text' id=$surveyId}{/if} {$form.thankyou_text.html}