From 01719cb6b6ebc63bb4ef3e78a4ad543fc973c5f1 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Wed, 17 Apr 2019 21:25:05 +0000 Subject: [PATCH] Site health info tab: replace "Not calculated" with "Loading..." in the "Directories and Sizes" section (that's an existing string and wouldn't cause problems for translators). See #46707. git-svn-id: https://develop.svn.wordpress.org/trunk@45237 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-debug-data.php | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/wp-admin/includes/class-wp-debug-data.php b/src/wp-admin/includes/class-wp-debug-data.php index fcad3894c4..f5e477589e 100644 --- a/src/wp-admin/includes/class-wp-debug-data.php +++ b/src/wp-admin/includes/class-wp-debug-data.php @@ -389,7 +389,7 @@ class WP_Debug_Data { ); } - $not_calculated = __( 'Not calculated' ); + $loading = __( 'Loading…' ); $info['wp-paths-sizes']['fields'] = array( 'wordpress_path' => array( @@ -398,8 +398,8 @@ class WP_Debug_Data { ), 'wordpress_size' => array( 'label' => __( 'WordPress directory size' ), - 'value' => $not_calculated, - 'debug' => 'not calculated', + 'value' => $loading, + 'debug' => 'loading...', ), 'uploads_path' => array( 'label' => __( 'Uploads directory location' ), @@ -407,8 +407,8 @@ class WP_Debug_Data { ), 'uploads_size' => array( 'label' => __( 'Uploads directory size' ), - 'value' => $not_calculated, - 'debug' => 'not calculated', + 'value' => $loading, + 'debug' => 'loading...', ), 'themes_path' => array( 'label' => __( 'Themes directory location' ), @@ -416,8 +416,8 @@ class WP_Debug_Data { ), 'themes_size' => array( 'label' => __( 'Themes directory size' ), - 'value' => $not_calculated, - 'debug' => 'not calculated', + 'value' => $loading, + 'debug' => 'loading...', ), 'plugins_path' => array( 'label' => __( 'Plugins directory location' ), @@ -425,18 +425,18 @@ class WP_Debug_Data { ), 'plugins_size' => array( 'label' => __( 'Plugins directory size' ), - 'value' => $not_calculated, - 'debug' => 'not calculated', + 'value' => $loading, + 'debug' => 'loading...', ), 'database_size' => array( 'label' => __( 'Database size' ), - 'value' => $not_calculated, - 'debug' => 'not calculated', + 'value' => $loading, + 'debug' => 'loading...', ), 'total_size' => array( 'label' => __( 'Total installation size' ), - 'value' => $not_calculated, - 'debug' => 'not calculated', + 'value' => $loading, + 'debug' => 'loading...', ), );