Site Health: Use correct singular string for plugin and theme version tests.

Props edocev, Presskopp.
Fixes #47264.

git-svn-id: https://develop.svn.wordpress.org/trunk@45336 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2019-05-17 00:59:20 +00:00
parent 448234f966
commit 040a58ff57
1 changed files with 2 additions and 2 deletions

View File

@ -355,7 +355,7 @@ class WP_Site_Health {
sprintf(
/* translators: %d: The number of active plugins. */
_n(
'Your site has %d active plugin, and they are all up to date.',
'Your site has %d active plugin, and it is up to date.',
'Your site has %d active plugins, and they are all up to date.',
$plugins_active
),
@ -511,7 +511,7 @@ class WP_Site_Health {
sprintf(
/* translators: %d: The number of themes. */
_n(
'Your site has %d installed theme, and they are all up to date.',
'Your site has %d installed theme, and it is up to date.',
'Your site has %d installed themes, and they are all up to date.',
$themes_total
),