Changeset 11669
- Timestamp:
- 06/29/2009 08:25:51 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/update-core.php
r11499 r11669 15 15 function list_core_update( $update ) { 16 16 global $wp_local_package; 17 $version_string = 'en_US' == $update->locale?17 $version_string = ('en_US' == $update->locale && 'en_US' == get_locale() ) ? 18 18 $update->current : sprintf("%s–<strong>%s</strong>", $update->current, $update->locale); 19 19 $current = false; … … 54 54 if ( 'en_US' != $update->locale && ( !isset($wp_local_package) || $wp_local_package != $update->locale ) ) 55 55 echo '<p class="hint">'.__('This localized version contains both the translation and various other localization fixes. You can skip upgrading if you want to keep your current translation.').'</p>'; 56 else if ( 'en_US' == $update->locale && get_locale() != 'en_US' ) { 57 echo '<p class="hint">'.sprintf( __('You are about to install WordPress %s <strong>in English.</strong> There is a chance this upgrade will break your translation. You may prefer to wait for the localized version to be released.'), $update->current ).'</p>'; 58 } 56 59 echo '</form>'; 57 60
Note: See TracChangeset
for help on using the changeset viewer.