Changeset 12533
- Timestamp:
- 12/24/2009 09:46:57 AM (16 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 3 edited
-
import/livejournal.php (modified) (4 diffs)
-
includes/class-wp-upgrader.php (modified) (7 diffs)
-
includes/update-core.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/livejournal.php
r12270 r12533 843 843 844 844 echo '<div id="ljapi-status">'; 845 echo '<h3>' . __( 'Downloading Comments ' ) . '</h3>';845 echo '<h3>' . __( 'Downloading Comments…' ) . '</h3>'; 846 846 echo '<p>' . __( 'Now we will download your comments so we can import them (this could take a <strong>long</strong> time if you have lots of comments)...' ) . '</p>'; 847 847 ob_flush(); flush(); … … 891 891 892 892 echo '<div id="ljapi-status">'; 893 echo '<h3>' . __( 'Threading Comments ' ) . '</h3>';893 echo '<h3>' . __( 'Threading Comments…' ) . '</h3>'; 894 894 echo '<p>' . __( 'We are now re-building the threading of your comments (this can also take a while if you have lots of comments)...' ) . '</p>'; 895 895 ob_flush(); flush(); … … 964 964 965 965 function ljapi_msg() { 966 str = '<?php _e( "Continuing in %d " ) ?>';966 str = '<?php _e( "Continuing in %d…" ) ?>'; 967 967 jQuery( '#<?php echo $msg ?>' ).text( str.replace( /%d/, next_counter ) ); 968 968 if ( next_counter <= 0 ) { 969 969 if ( jQuery( '#<?php echo $id ?>' ).length ) { 970 970 jQuery( "#<?php echo $id ?> input[type='submit']" ).hide(); 971 str = '<?php _e( "Continuing " ) ?> <img src="images/wpspin_light.gif" alt="" id="processing" align="top" />';971 str = '<?php _e( "Continuing…" ) ?> <img src="images/wpspin_light.gif" alt="" id="processing" align="top" />'; 972 972 jQuery( '#<?php echo $msg ?>' ).html( str ); 973 973 jQuery( '#<?php echo $id ?>' ).submit(); … … 992 992 993 993 function ljapi_msg() { 994 str = '<?php _e( "Continuing in %d " ) ?>';994 str = '<?php _e( "Continuing in %d…" ) ?>'; 995 995 jQuery( '#<?php echo $msg ?>' ).text( str.replace( /%d/, next_counter ) ); 996 996 if ( next_counter <= 0 ) { -
trunk/wp-admin/includes/class-wp-upgrader.php
r12227 r12533 52 52 53 53 $this->strings['download_failed'] = __('Download failed.'); 54 $this->strings['installing_package'] = __('Installing the latest version .');54 $this->strings['installing_package'] = __('Installing the latest version…'); 55 55 $this->strings['folder_exists'] = __('Destination folder already exists.'); 56 56 $this->strings['mkdir_failed'] = __('Could not create directory.'); 57 57 $this->strings['bad_package'] = __('Incompatible Archive'); 58 58 59 $this->strings['maintenance_start'] = __('Enabling Maintenance mode .');60 $this->strings['maintenance_end'] = __('Disabling Maintenance mode .');59 $this->strings['maintenance_start'] = __('Enabling Maintenance mode…'); 60 $this->strings['maintenance_end'] = __('Disabling Maintenance mode…'); 61 61 } 62 62 … … 367 367 $this->strings['up_to_date'] = __('The plugin is at the latest version.'); 368 368 $this->strings['no_package'] = __('Upgrade package not available.'); 369 $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span> .');370 $this->strings['unpack_package'] = __('Unpacking the update .');371 $this->strings['deactivate_plugin'] = __('Deactivating the plugin .');372 $this->strings['remove_old'] = __('Removing the old version of the plugin .');369 $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>…'); 370 $this->strings['unpack_package'] = __('Unpacking the update…'); 371 $this->strings['deactivate_plugin'] = __('Deactivating the plugin…'); 372 $this->strings['remove_old'] = __('Removing the old version of the plugin…'); 373 373 $this->strings['remove_old_failed'] = __('Could not remove the old plugin.'); 374 $this->strings['process_failed'] = __('Plugin upgrade Failed.');374 $this->strings['process_failed'] = __('Plugin upgrade failed.'); 375 375 $this->strings['process_success'] = __('Plugin upgraded successfully.'); 376 376 } … … 378 378 function install_strings() { 379 379 $this->strings['no_package'] = __('Install package not available.'); 380 $this->strings['downloading_package'] = __('Downloading install package from <span class="code">%s</span> .');381 $this->strings['unpack_package'] = __('Unpacking the package .');382 $this->strings['installing_package'] = __('Installing the plugin .');383 $this->strings['process_failed'] = __('Plugin Install Failed.');384 $this->strings['process_success'] = __('Plugin Installed successfully.');380 $this->strings['downloading_package'] = __('Downloading install package from <span class="code">%s</span>…'); 381 $this->strings['unpack_package'] = __('Unpacking the package…'); 382 $this->strings['installing_package'] = __('Installing the plugin…'); 383 $this->strings['process_failed'] = __('Plugin install failed.'); 384 $this->strings['process_success'] = __('Plugin installed successfully.'); 385 385 } 386 386 … … 593 593 $this->strings['up_to_date'] = __('The theme is at the latest version.'); 594 594 $this->strings['no_package'] = __('Upgrade package not available.'); 595 $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span> .');596 $this->strings['unpack_package'] = __('Unpacking the update .');597 $this->strings['remove_old'] = __('Removing the old version of the theme .');595 $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>…'); 596 $this->strings['unpack_package'] = __('Unpacking the update…'); 597 $this->strings['remove_old'] = __('Removing the old version of the theme…'); 598 598 $this->strings['remove_old_failed'] = __('Could not remove the old theme.'); 599 $this->strings['process_failed'] = __('Theme upgrade Failed.');599 $this->strings['process_failed'] = __('Theme upgrade failed.'); 600 600 $this->strings['process_success'] = __('Theme upgraded successfully.'); 601 601 } … … 603 603 function install_strings() { 604 604 $this->strings['no_package'] = __('Install package not available.'); 605 $this->strings['downloading_package'] = __('Downloading install package from <span class="code">%s</span> .');606 $this->strings['unpack_package'] = __('Unpacking the package .');607 $this->strings['installing_package'] = __('Installing the theme .');608 $this->strings['process_failed'] = __('Theme Install Failed.');609 $this->strings['process_success'] = __('Theme Installed successfully.');605 $this->strings['downloading_package'] = __('Downloading install package from <span class="code">%s</span>…'); 606 $this->strings['unpack_package'] = __('Unpacking the package…'); 607 $this->strings['installing_package'] = __('Installing the theme…'); 608 $this->strings['process_failed'] = __('Theme install failed.'); 609 $this->strings['process_success'] = __('Theme installed successfully.'); 610 610 } 611 611 … … 750 750 $this->strings['up_to_date'] = __('WordPress is at the latest version.'); 751 751 $this->strings['no_package'] = __('Upgrade package not available.'); 752 $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span> .');753 $this->strings['unpack_package'] = __('Unpacking the update .');752 $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>…'); 753 $this->strings['unpack_package'] = __('Unpacking the update…'); 754 754 $this->strings['copy_failed'] = __('Could not copy files.'); 755 755 } … … 914 914 $this->plugin = $this->upgrader->plugin_info(); 915 915 if( !empty($this->plugin) && !is_wp_error($this->result) && $this->plugin_active ){ 916 show_message(__(' Attempting reactivation of the plugin'));916 show_message(__('Reactivating the plugin…')); 917 917 echo '<iframe style="border:0;overflow:hidden" width="100%" height="170px" src="' . wp_nonce_url('update.php?action=activate-plugin&plugin=' . $this->plugin, 'activate-plugin_' . $this->plugin) .'"></iframe>'; 918 918 } -
trunk/wp-admin/includes/update-core.php
r12450 r12533 236 236 237 237 // Sanity check the unzipped distribution 238 apply_filters('update_feedback', __('Verifying the unpacked files '));238 apply_filters('update_feedback', __('Verifying the unpacked files…')); 239 239 if ( !$wp_filesystem->exists($from . '/wordpress/wp-settings.php') || !$wp_filesystem->exists($from . '/wordpress/wp-admin/admin.php') || 240 240 !$wp_filesystem->exists($from . '/wordpress/wp-includes/functions.php') ) { … … 243 243 } 244 244 245 apply_filters('update_feedback', __('Installing the latest version '));245 apply_filters('update_feedback', __('Installing the latest version…')); 246 246 247 247 // Create maintenance file to signal that we are upgrading … … 268 268 269 269 // Upgrade DB with separate request 270 apply_filters('update_feedback', __('Upgrading database '));270 apply_filters('update_feedback', __('Upgrading database…')); 271 271 $db_upgrade_url = admin_url('upgrade.php?step=upgrade_db'); 272 272 wp_remote_post($db_upgrade_url, array('timeout' => 60));
Note: See TracChangeset
for help on using the changeset viewer.