From f1a95d0b8016c3e73c351bade3ddfe843ad0551a Mon Sep 17 00:00:00 2001 From: nacin Date: Mon, 21 Jun 2010 19:38:19 +0000 Subject: [PATCH] Capitalization and grammar changes in upgrade strings. fixes #13628. git-svn-id: http://svn.automattic.com/wordpress/trunk@15300 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/theme.php | 6 +++--- wp-admin/includes/update.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-admin/includes/theme.php b/wp-admin/includes/theme.php index 44a1f629e..3fba0e1a7 100644 --- a/wp-admin/includes/theme.php +++ b/wp-admin/includes/theme.php @@ -242,11 +242,11 @@ function theme_update_available( $theme ) { $update_onclick = 'onclick="if ( confirm(\'' . esc_js( __("Upgrading this theme will lose any customizations you have made. 'Cancel' to stop, 'OK' to upgrade.") ) . '\') ) {return true;}return false;"'; if ( ! current_user_can('update_themes') ) - printf( '

' . __('There is a new version of %1$s available. View version %3$s Details.') . '

', $theme_name, $details_url, $update['new_version']); + printf( '

' . __('There is a new version of %1$s available. View version %3$s details.') . '

', $theme_name, $details_url, $update['new_version']); else if ( empty($update['package']) ) - printf( '

' . __('There is a new version of %1$s available. View version %3$s Details automatic upgrade unavailable for this theme.') . '

', $theme_name, $details_url, $update['new_version']); + printf( '

' . __('There is a new version of %1$s available. View version %3$s details. Automatic upgrade is unavailable for this theme.') . '

', $theme_name, $details_url, $update['new_version']); else - printf( '

' . __('There is a new version of %1$s available. View version %3$s Details or upgrade automatically.') . '

', $theme_name, $details_url, $update['new_version'], $update_url, $update_onclick ); + printf( '

' . __('There is a new version of %1$s available. View version %3$s details or upgrade automatically.') . '

', $theme_name, $details_url, $update['new_version'], $update_url, $update_onclick ); } } diff --git a/wp-admin/includes/update.php b/wp-admin/includes/update.php index 52e9ee1ac..aa241a9fa 100644 --- a/wp-admin/includes/update.php +++ b/wp-admin/includes/update.php @@ -194,11 +194,11 @@ function wp_plugin_update_row( $file, $plugin_data ) { echo '
'; if ( ! current_user_can('update_plugins') ) - printf( __('There is a new version of %1$s available. View version %4$s Details.'), $plugin_name, esc_url($details_url), esc_attr($plugin_name), $r->new_version ); + printf( __('There is a new version of %1$s available. View version %4$s details.'), $plugin_name, esc_url($details_url), esc_attr($plugin_name), $r->new_version ); else if ( empty($r->package) ) - printf( __('There is a new version of %1$s available. View version %4$s Details automatic upgrade unavailable for this plugin.'), $plugin_name, esc_url($details_url), esc_attr($plugin_name), $r->new_version ); + printf( __('There is a new version of %1$s available. View version %4$s details. Automatic upgrade is unavailable for this plugin.'), $plugin_name, esc_url($details_url), esc_attr($plugin_name), $r->new_version ); else - printf( __('There is a new version of %1$s available. View version %4$s Details or upgrade automatically.'), $plugin_name, esc_url($details_url), esc_attr($plugin_name), $r->new_version, wp_nonce_url('update.php?action=upgrade-plugin&plugin=' . $file, 'upgrade-plugin_' . $file) ); + printf( __('There is a new version of %1$s available. View version %4$s details or upgrade automatically.'), $plugin_name, esc_url($details_url), esc_attr($plugin_name), $r->new_version, wp_nonce_url('update.php?action=upgrade-plugin&plugin=' . $file, 'upgrade-plugin_' . $file) ); do_action( "in_plugin_update_message-$file", $plugin_data, $r );