From 3b5ce238b3a4e4bf09097d97d0ca97b96df20e83 Mon Sep 17 00:00:00 2001 From: nacin Date: Thu, 27 May 2010 15:51:34 +0000 Subject: [PATCH] Some string improvements in update-core.php. props jane. git-svn-id: http://svn.automattic.com/wordpress/trunk@14995 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/update-core.php | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php index 969c5325b..f4c252466 100644 --- a/wp-admin/update-core.php +++ b/wp-admin/update-core.php @@ -127,7 +127,7 @@ function core_upgrade_preamble() { if ( !isset($updates[0]->response) || 'latest' == $updates[0]->response ) { echo '

'; - _e('You have the latest version of WordPress. You do not need to update'); + _e('You have the latest version of WordPress.'); echo '

'; } else { echo '

'; @@ -135,7 +135,7 @@ function core_upgrade_preamble() { echo '

'; echo '

'; - _e( 'An updated version of WordPress is available' ); + _e( 'An updated version of WordPress is available.' ); echo '

'; } @@ -149,6 +149,7 @@ function core_upgrade_preamble() { echo ''; } echo ''; + echo '

' . __( 'While your site is being updated, it will be in maintenance mode. As soon as your updates are complete, your site will return to normal.' ) . '

'; dismissed_updates(); list_plugin_updates(); @@ -164,8 +165,11 @@ function list_plugin_updates() { require_once(ABSPATH . 'wp-admin/includes/plugin-install.php'); $plugins = get_plugin_updates(); - if ( empty($plugins) ) + if ( empty( $plugins ) ) { + echo '

' . __( 'Plugins' ) . '

'; + echo '

' . __( 'Your plugins are all up to date.' ) . '

'; return; + } $form_action = 'update-core.php?action=do-plugin-upgrade'; $core_updates = get_core_updates(); @@ -237,8 +241,11 @@ function list_plugin_updates() { function list_theme_updates() { $themes = get_theme_updates(); - if ( empty($themes) ) + if ( empty( $themes ) ) { + echo '

' . __( 'Themes' ) . '

'; + echo '

' . __( 'Your themes are all up to date.' ) . '

'; return; + } $form_action = 'update-core.php?action=do-theme-upgrade';