WordPress.org

Make WordPress Core

Ticket #10374: t10374-ellipses.diff

File t10374-ellipses.diff, 9.7 KB (added by demetris, 6 years ago)

Ellipses for descriptions of tasks in progress

  • wp-admin/import/livejournal.php

     
    837837                $this->ixr = new IXR_Client( $this->ixr_url, false, 80, 30 ); 
    838838 
    839839                echo '<div id="ljapi-status">'; 
    840                 echo '<h3>' . __( 'Downloading Comments' ) . '</h3>'; 
     840                echo '<h3>' . __( 'Downloading Comments&#8230;' ) . '</h3>'; 
    841841                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>'; 
    842842                ob_flush(); flush(); 
    843843 
     
    885885                update_option( 'ljapi_step', 3 ); 
    886886 
    887887                echo '<div id="ljapi-status">'; 
    888                 echo '<h3>' . __( 'Threading Comments' ) . '</h3>'; 
     888                echo '<h3>' . __( 'Threading Comments&#8230;' ) . '</h3>'; 
    889889                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>'; 
    890890                ob_flush(); flush(); 
    891891 
     
    958958                        }); 
    959959 
    960960                        function ljapi_msg() { 
    961                                 str = '<?php _e( "Continuing in %d" ) ?>'; 
     961                                str = '<?php _e( "Continuing in %d&#8230;" ) ?>'; 
    962962                                jQuery( '#<?php echo $msg ?>' ).text( str.replace( /%d/, next_counter ) ); 
    963963                                if ( next_counter <= 0 ) { 
    964964                                        if ( jQuery( '#<?php echo $id ?>' ).length ) { 
    965965                                                jQuery( "#<?php echo $id ?> input[type='submit']" ).hide(); 
    966                                                 str = '<?php _e( "Continuing" ) ?> <img src="images/wpspin_light.gif" alt="" id="processing" align="top" />'; 
     966                                                str = '<?php _e( "Continuing&#8230;" ) ?> <img src="images/wpspin_light.gif" alt="" id="processing" align="top" />'; 
    967967                                                jQuery( '#<?php echo $msg ?>' ).html( str ); 
    968968                                                jQuery( '#<?php echo $id ?>' ).submit(); 
    969969                                                return; 
     
    986986                        }); 
    987987 
    988988                        function ljapi_msg() { 
    989                                 str = '<?php _e( "Continuing in %d" ) ?>'; 
     989                                str = '<?php _e( "Continuing in %d&#8230;" ) ?>'; 
    990990                                jQuery( '#<?php echo $msg ?>' ).text( str.replace( /%d/, next_counter ) ); 
    991991                                if ( next_counter <= 0 ) { 
    992992                                        if ( jQuery( '#<?php echo $id ?>' ).length ) { 
  • wp-admin/includes/class-wp-upgrader.php

     
    5151                $this->strings['fs_no_folder'] = __('Unable to locate needed folder (%s).'); 
    5252 
    5353                $this->strings['download_failed'] = __('Download failed.'); 
    54                 $this->strings['installing_package'] = __('Installing the latest version.'); 
     54                $this->strings['installing_package'] = __('Installing the latest version&#8230;'); 
    5555                $this->strings['folder_exists'] = __('Destination folder already exists.'); 
    5656                $this->strings['mkdir_failed'] = __('Could not create directory.'); 
    5757                $this->strings['bad_package'] = __('Incompatible Archive'); 
    5858 
    59                 $this->strings['maintenance_start'] = __('Enabling Maintenance mode.'); 
    60                 $this->strings['maintenance_end'] = __('Disabling Maintenance mode.'); 
     59                $this->strings['maintenance_start'] = __('Enabling Maintenance mode&#8230;'); 
     60                $this->strings['maintenance_end'] = __('Disabling Maintenance mode&#8230;'); 
    6161        } 
    6262 
    6363        function fs_connect( $directories = array() ) { 
     
    348348        function upgrade_strings() { 
    349349                $this->strings['up_to_date'] = __('The plugin is at the latest version.'); 
    350350                $this->strings['no_package'] = __('Upgrade package not available.'); 
    351                 $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>.'); 
    352                 $this->strings['unpack_package'] = __('Unpacking the update.'); 
    353                 $this->strings['deactivate_plugin'] = __('Deactivating the plugin.'); 
    354                 $this->strings['remove_old'] = __('Removing the old version of the plugin.'); 
     351                $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>&#8230;'); 
     352                $this->strings['unpack_package'] = __('Unpacking the update&#8230;'); 
     353                $this->strings['deactivate_plugin'] = __('Deactivating the plugin&#8230;'); 
     354                $this->strings['remove_old'] = __('Removing the old version of the plugin&#8230;'); 
    355355                $this->strings['remove_old_failed'] = __('Could not remove the old plugin.'); 
    356                 $this->strings['process_failed'] = __('Plugin upgrade Failed.'); 
     356                $this->strings['process_failed'] = __('Plugin upgrade failed.'); 
    357357                $this->strings['process_success'] = __('Plugin upgraded successfully.'); 
    358358        } 
    359359 
    360360        function install_strings() { 
    361361                $this->strings['no_package'] = __('Install package not available.'); 
    362                 $this->strings['downloading_package'] = __('Downloading install package from <span class="code">%s</span>.'); 
    363                 $this->strings['unpack_package'] = __('Unpacking the package.'); 
    364                 $this->strings['installing_package'] = __('Installing the plugin.'); 
    365                 $this->strings['process_failed'] = __('Plugin Install Failed.'); 
    366                 $this->strings['process_success'] = __('Plugin Installed successfully.'); 
     362                $this->strings['downloading_package'] = __('Downloading install package from <span class="code">%s</span>&#8230;'); 
     363                $this->strings['unpack_package'] = __('Unpacking the package&#8230;'); 
     364                $this->strings['installing_package'] = __('Installing the plugin&#8230;'); 
     365                $this->strings['process_failed'] = __('Plugin install failed.'); 
     366                $this->strings['process_success'] = __('Plugin installed successfully.'); 
    367367        } 
    368368 
    369369        function install($package) { 
     
    504504        function upgrade_strings() { 
    505505                $this->strings['up_to_date'] = __('The theme is at the latest version.'); 
    506506                $this->strings['no_package'] = __('Upgrade package not available.'); 
    507                 $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>.'); 
    508                 $this->strings['unpack_package'] = __('Unpacking the update.'); 
    509                 $this->strings['remove_old'] = __('Removing the old version of the theme.'); 
     507                $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>&#8230;'); 
     508                $this->strings['unpack_package'] = __('Unpacking the update&#8230;'); 
     509                $this->strings['remove_old'] = __('Removing the old version of the theme&#8230;'); 
    510510                $this->strings['remove_old_failed'] = __('Could not remove the old theme.'); 
    511                 $this->strings['process_failed'] = __('Theme upgrade Failed.'); 
     511                $this->strings['process_failed'] = __('Theme upgrade failed.'); 
    512512                $this->strings['process_success'] = __('Theme upgraded successfully.'); 
    513513        } 
    514514 
    515515        function install_strings() { 
    516516                $this->strings['no_package'] = __('Install package not available.'); 
    517                 $this->strings['downloading_package'] = __('Downloading install package from <span class="code">%s</span>.'); 
    518                 $this->strings['unpack_package'] = __('Unpacking the package.'); 
    519                 $this->strings['installing_package'] = __('Installing the theme.'); 
    520                 $this->strings['process_failed'] = __('Theme Install Failed.'); 
    521                 $this->strings['process_success'] = __('Theme Installed successfully.'); 
     517                $this->strings['downloading_package'] = __('Downloading install package from <span class="code">%s</span>&#8230;'); 
     518                $this->strings['unpack_package'] = __('Unpacking the package&#8230;'); 
     519                $this->strings['installing_package'] = __('Installing the theme&#8230;'); 
     520                $this->strings['process_failed'] = __('Theme install failed.'); 
     521                $this->strings['process_success'] = __('Theme installed successfully.'); 
    522522        } 
    523523 
    524524        function install($package) { 
     
    661661        function upgrade_strings() { 
    662662                $this->strings['up_to_date'] = __('WordPress is at the latest version.'); 
    663663                $this->strings['no_package'] = __('Upgrade package not available.'); 
    664                 $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>.'); 
    665                 $this->strings['unpack_package'] = __('Unpacking the update.'); 
     664                $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>&#8230;'); 
     665                $this->strings['unpack_package'] = __('Unpacking the update&#8230;'); 
    666666                $this->strings['copy_failed'] = __('Could not copy files.'); 
    667667        } 
    668668 
     
    822822        function after() { 
    823823                $this->plugin = $this->upgrader->plugin_info(); 
    824824                if( !empty($this->plugin) && !is_wp_error($this->result) && $this->plugin_active ){ 
    825                         show_message(__('Attempting reactivation of the plugin')); 
     825                        show_message(__('Reactivating the plugin&#8230;')); 
    826826                        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>'; 
    827827                } 
    828828                $update_actions =  array( 
  • wp-admin/includes/update-core.php

     
    210210        @set_time_limit( 300 ); 
    211211 
    212212        // Sanity check the unzipped distribution 
    213         apply_filters('update_feedback', __('Verifying the unpacked files')); 
     213        apply_filters('update_feedback', __('Verifying the unpacked files&#8230;')); 
    214214        if ( !$wp_filesystem->exists($from . '/wordpress/wp-settings.php') || !$wp_filesystem->exists($from . '/wordpress/wp-admin/admin.php') || 
    215215                !$wp_filesystem->exists($from . '/wordpress/wp-includes/functions.php') ) { 
    216216                $wp_filesystem->delete($from, true); 
    217217                return new WP_Error('insane_distro', __('The update could not be unpacked') ); 
    218218        } 
    219219 
    220         apply_filters('update_feedback', __('Installing the latest version')); 
     220        apply_filters('update_feedback', __('Installing the latest version&#8230;')); 
    221221 
    222222        // Create maintenance file to signal that we are upgrading 
    223223        $maintenance_string = '<?php $upgrading = ' . time() . '; ?>'; 
     
    242242        } 
    243243 
    244244        // Upgrade DB with separate request 
    245         apply_filters('update_feedback', __('Upgrading database')); 
     245        apply_filters('update_feedback', __('Upgrading database&#8230;')); 
    246246        $db_upgrade_url = admin_url('upgrade.php?step=upgrade_db'); 
    247247        wp_remote_post($db_upgrade_url, array('timeout' => 60)); 
    248248