Skip to content

Commit

Permalink
Fix single/plural wording
Browse files Browse the repository at this point in the history
  • Loading branch information
bencroker committed Feb 12, 2024
1 parent c174dc4 commit 72afd17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/templates/_utilities/diagnostics/index.twig
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@
{% if settings.refreshCacheAutomaticallyForGlobals %}
<span class="warning" title="Warning" aria-label="Warning" data-icon="alert"></span>
{{ globalSetCount }}
<a href="https://craftcms.com/docs/4.x/globals.html" target="">{{ '{num, plural, =1{global} other{globals}}'|t('blitz', { num: globalSetCount }) }}</a> exist and
<a href="https://craftcms.com/docs/4.x/globals.html" target="">{{ '{num, plural, =1{global exists} other{globals exist}}'|t('blitz', { num: globalSetCount }) }}</a> and
<code>refreshCacheAutomaticallyForGlobals</code> is enabled.
{% else %}
<span class="success" title="Passed" aria-label="Passed" data-icon="check"></span>
{{ globalSetCount }}
<a href="https://craftcms.com/docs/4.x/globals.html" target="">{{ '{num, plural, =1{global} other{globals}}'|t('blitz', { num: globalSetCount }) }}</a> exist and
<a href="https://craftcms.com/docs/4.x/globals.html" target="">{{ '{num, plural, =1{global exists} other{globals exist}}'|t('blitz', { num: globalSetCount }) }}</a> and
<code>refreshCacheAutomaticallyForGlobals</code> is disabled.
{% endif %}
{% else %}
Expand Down

0 comments on commit 72afd17

Please sign in to comment.