From a65fcde5c0847f6d2cfaaf69fa137908b0f493d4 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 16 Jul 2019 22:13:01 +0000 Subject: [PATCH] I18N: Merge duplicate "Your plugins/themes/translations are all up to date" strings. Props ramiy. Fixes #47252. git-svn-id: https://develop.svn.wordpress.org/trunk@45647 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-language-pack-upgrader.php | 2 +- src/wp-admin/includes/class-wp-site-health.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/includes/class-language-pack-upgrader.php b/src/wp-admin/includes/class-language-pack-upgrader.php index 0bc9c14ddc..9bb98a94bc 100644 --- a/src/wp-admin/includes/class-language-pack-upgrader.php +++ b/src/wp-admin/includes/class-language-pack-upgrader.php @@ -111,7 +111,7 @@ class Language_Pack_Upgrader extends WP_Upgrader { */ public function upgrade_strings() { $this->strings['starting_upgrade'] = __( 'Some of your translations need updating. Sit tight for a few more seconds while we update them as well.' ); - $this->strings['up_to_date'] = __( 'The translations are up to date.' ); + $this->strings['up_to_date'] = __( 'Your translations are all up to date.' ); $this->strings['no_package'] = __( 'Update package not available.' ); /* translators: %s: package URL */ $this->strings['downloading_package'] = sprintf( __( 'Downloading translation from %s…' ), '%s' ); diff --git a/src/wp-admin/includes/class-wp-site-health.php b/src/wp-admin/includes/class-wp-site-health.php index 12e127353b..e9cdf61439 100644 --- a/src/wp-admin/includes/class-wp-site-health.php +++ b/src/wp-admin/includes/class-wp-site-health.php @@ -277,7 +277,7 @@ class WP_Site_Health { */ public function get_test_plugin_version() { $result = array( - 'label' => __( 'Your plugins are up to date' ), + 'label' => __( 'Your plugins are all up to date' ), 'status' => 'good', 'badge' => array( 'label' => __( 'Security' ), @@ -409,7 +409,7 @@ class WP_Site_Health { */ public function get_test_theme_version() { $result = array( - 'label' => __( 'Your themes are up to date' ), + 'label' => __( 'Your themes are all up to date' ), 'status' => 'good', 'badge' => array( 'label' => __( 'Security' ),