From 0a4c7188f85a555cb157d830abc474fa26922e7e Mon Sep 17 00:00:00 2001 From: Mathieu Lutfy Date: Thu, 18 Nov 2021 11:26:28 -0500 Subject: [PATCH] Fix two English strings --- settings/Core.setting.php | 2 +- templates/CRM/Report/Page/InstanceList.tpl | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/settings/Core.setting.php b/settings/Core.setting.php index b01373382d..f3079b296c 100644 --- a/settings/Core.setting.php +++ b/settings/Core.setting.php @@ -375,7 +375,7 @@ return [ 'pseudoconstant' => [ 'callback' => 'CRM_Contact_BAO_GroupContactCache::getModes', ], - 'description' => ts('Should the acl cache be by cron jobs or user actions'), + 'description' => ts('Should the acl cache be flushed by cron jobs or user actions'), 'help_text' => ts('In "Opportunistic Flush" mode, caches are flushed in response to user actions; this mode is broadly compatible but may add latency during form-submissions. In "Cron Flush" mode, you should schedule a cron job to flush caches if your site uses ACLs; this can improve latency on form-submissions but requires more setup.'), ], 'installed' => [ diff --git a/templates/CRM/Report/Page/InstanceList.tpl b/templates/CRM/Report/Page/InstanceList.tpl index 95d0be22ed..329e717dc0 100644 --- a/templates/CRM/Report/Page/InstanceList.tpl +++ b/templates/CRM/Report/Page/InstanceList.tpl @@ -68,7 +68,11 @@ {if !empty($myReports)} {ts}You do not have any private reports. To add a report to this section, edit the Report Settings for a report and set 'Add to My Reports' to Yes.{/ts}   {else} - {ts 1=$compName}No %1 reports have been created.{/ts}   + {if $compName} + {ts 1=$compName}No %1 reports have been created.{/ts}   + {else} + {ts}No reports have been created.{/ts}   + {/if} {if !empty($templateUrl)} {ts 1=$templateUrl}You can create reports by selecting from the list of report templates here.{/ts} {else} -- 2.25.1