From 977fe156b2a4c8bc5ca41b1f7636676ff7eeb860 Mon Sep 17 00:00:00 2001 From: bencroker Date: Wed, 20 Mar 2024 12:15:46 -0600 Subject: [PATCH] Fix wording --- src/helpers/DiagnosticsHelper.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/helpers/DiagnosticsHelper.php b/src/helpers/DiagnosticsHelper.php index d70ef6de..35da6248 100644 --- a/src/helpers/DiagnosticsHelper.php +++ b/src/helpers/DiagnosticsHelper.php @@ -402,11 +402,9 @@ public static function getTests(): array if ($globalSetCount > 0) { $pass = $settings->refreshCacheAutomaticallyForGlobals === false; if ($pass) { - $message = '' . Craft::t('blitz', '{num, plural, =1{global exists} other{globals exist}}', ['num' => $globalSetCount]) . ' and - refreshCacheAutomaticallyForGlobals is disabled.'; + $message = 'One or more globals exist and refreshCacheAutomaticallyForGlobals is disabled.'; } else { - $message = '' . Craft::t('blitz', '{num, plural, =1{global exists} other{globals exist}}', ['num' => $globalSetCount]) . ' and - refreshCacheAutomaticallyForGlobals is enabled.'; + $message = 'One or more globals exist and refreshCacheAutomaticallyForGlobals is enabled.'; } } else { $pass = true;