Make WordPress Core

Ticket #7098: 8230-to-hellip.patch

File 8230-to-hellip.patch, 12.3 KB (added by ramiy, 13 years ago)

Convert ... => … => …

  • wp-admin/edit.php

     
    110110
    111111                                if ( $post_del->post_type == 'attachment' ) {
    112112                                        if ( ! wp_delete_attachment($post_id) )
    113                                                 wp_die( __('Error in deleting...') );
     113                                                wp_die( __('Error in deleting…') );
    114114                                } else {
    115115                                        if ( !wp_delete_post($post_id) )
    116                                                 wp_die( __('Error in deleting...') );
     116                                                wp_die( __('Error in deleting…') );
    117117                                }
    118118                                $deleted++;
    119119                        }
  • wp-admin/includes/class-wp-upgrader.php

     
    4949                $this->strings['fs_no_folder'] = __('Unable to locate needed folder (%s).');
    5050
    5151                $this->strings['download_failed'] = __('Download failed.');
    52                 $this->strings['installing_package'] = __('Installing the latest version…');
     52                $this->strings['installing_package'] = __('Installing the latest version&…');
    5353                $this->strings['folder_exists'] = __('Destination folder already exists.');
    5454                $this->strings['mkdir_failed'] = __('Could not create directory.');
    5555                $this->strings['bad_package'] = __('Incompatible Archive.');
    5656
    57                 $this->strings['maintenance_start'] = __('Enabling Maintenance mode…');
    58                 $this->strings['maintenance_end'] = __('Disabling Maintenance mode…');
     57                $this->strings['maintenance_start'] = __('Enabling Maintenance mode…');
     58                $this->strings['maintenance_end'] = __('Disabling Maintenance mode…');
    5959        }
    6060
    6161        function fs_connect( $directories = array() ) {
     
    368368        function upgrade_strings() {
    369369                $this->strings['up_to_date'] = __('The plugin is at the latest version.');
    370370                $this->strings['no_package'] = __('Update package not available.');
    371                 $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>&#8230;');
    372                 $this->strings['unpack_package'] = __('Unpacking the update&#8230;');
    373                 $this->strings['deactivate_plugin'] = __('Deactivating the plugin&#8230;');
    374                 $this->strings['remove_old'] = __('Removing the old version of the plugin&#8230;');
     371                $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>&hellip;');
     372                $this->strings['unpack_package'] = __('Unpacking the update&hellip;');
     373                $this->strings['deactivate_plugin'] = __('Deactivating the plugin&hellip;');
     374                $this->strings['remove_old'] = __('Removing the old version of the plugin&hellip;');
    375375                $this->strings['remove_old_failed'] = __('Could not remove the old plugin.');
    376376                $this->strings['process_failed'] = __('Plugin update failed.');
    377377                $this->strings['process_success'] = __('Plugin updated successfully.');
     
    379379
    380380        function install_strings() {
    381381                $this->strings['no_package'] = __('Install package not available.');
    382                 $this->strings['downloading_package'] = __('Downloading install package from <span class="code">%s</span>&#8230;');
    383                 $this->strings['unpack_package'] = __('Unpacking the package&#8230;');
    384                 $this->strings['installing_package'] = __('Installing the plugin&#8230;');
     382                $this->strings['downloading_package'] = __('Downloading install package from <span class="code">%s</span>&hellip;');
     383                $this->strings['unpack_package'] = __('Unpacking the package&hellip;');
     384                $this->strings['installing_package'] = __('Installing the plugin&hellip;');
    385385                $this->strings['process_failed'] = __('Plugin install failed.');
    386386                $this->strings['process_success'] = __('Plugin installed successfully.');
    387387        }
     
    608608        function upgrade_strings() {
    609609                $this->strings['up_to_date'] = __('The theme is at the latest version.');
    610610                $this->strings['no_package'] = __('Update package not available.');
    611                 $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>&#8230;');
    612                 $this->strings['unpack_package'] = __('Unpacking the update&#8230;');
    613                 $this->strings['remove_old'] = __('Removing the old version of the theme&#8230;');
     611                $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>&hellip;');
     612                $this->strings['unpack_package'] = __('Unpacking the update&hellip;');
     613                $this->strings['remove_old'] = __('Removing the old version of the theme&hellip;');
    614614                $this->strings['remove_old_failed'] = __('Could not remove the old theme.');
    615615                $this->strings['process_failed'] = __('Theme update failed.');
    616616                $this->strings['process_success'] = __('Theme updated successfully.');
     
    618618
    619619        function install_strings() {
    620620                $this->strings['no_package'] = __('Install package not available.');
    621                 $this->strings['downloading_package'] = __('Downloading install package from <span class="code">%s</span>&#8230;');
    622                 $this->strings['unpack_package'] = __('Unpacking the package&#8230;');
    623                 $this->strings['installing_package'] = __('Installing the theme&#8230;');
     621                $this->strings['downloading_package'] = __('Downloading install package from <span class="code">%s</span>&hellip;');
     622                $this->strings['unpack_package'] = __('Unpacking the package&hellip;');
     623                $this->strings['installing_package'] = __('Installing the theme&hellip;');
    624624                $this->strings['process_failed'] = __('Theme install failed.');
    625625                $this->strings['process_success'] = __('Theme installed successfully.');
    626626        }
     
    861861        function upgrade_strings() {
    862862                $this->strings['up_to_date'] = __('WordPress is at the latest version.');
    863863                $this->strings['no_package'] = __('Update package not available.');
    864                 $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>&#8230;');
    865                 $this->strings['unpack_package'] = __('Unpacking the update&#8230;');
     864                $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>&hellip;');
     865                $this->strings['unpack_package'] = __('Unpacking the update&hellip;');
    866866                $this->strings['copy_failed'] = __('Could not copy files.');
    867867        }
    868868
     
    10371037        function after() {
    10381038                $this->plugin = $this->upgrader->plugin_info();
    10391039                if ( !empty($this->plugin) && !is_wp_error($this->result) && $this->plugin_active ){
    1040                         show_message(__('Reactivating the plugin&#8230;'));
     1040                        show_message(__('Reactivating the plugin&hellip;'));
    10411041                        echo '<iframe style="border:0;overflow:hidden" width="100%" height="170px" src="' . wp_nonce_url('update.php?action=activate-plugin&networkwide=' . $this->plugin_network_active . '&plugin=' . $this->plugin, 'activate-plugin_' . $this->plugin) .'"></iframe>';
    10421042                }
    10431043
  • wp-admin/includes/dashboard.php

     
    10351035 * @return bool False on failure. True on success.
    10361036 */
    10371037function wp_dashboard_cached_rss_widget( $widget_id, $callback, $check_urls = array() ) {
    1038         $loading = '<p class="widget-loading hide-if-no-js">' . __( 'Loading&#8230;' ) . '</p><p class="hide-if-js">' . __( 'This widget requires JavaScript.' ) . '</p>';
     1038        $loading = '<p class="widget-loading hide-if-no-js">' . __( 'Loading&hellip;' ) . '</p><p class="hide-if-js">' . __( 'This widget requires JavaScript.' ) . '</p>';
    10391039        $doing_ajax = ( defined('DOING_AJAX') && DOING_AJAX );
    10401040
    10411041        if ( empty($check_urls) ) {
  • wp-admin/includes/update-core.php

     
    350350                return new WP_Error( 'mysql_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s requires MySQL version %2$s or higher. You are running version %3$s.'), $wp_version, $required_mysql_version, $mysql_version ) );
    351351
    352352        // Sanity check the unzipped distribution
    353         apply_filters('update_feedback', __('Verifying the unpacked files&#8230;'));
     353        apply_filters('update_feedback', __('Verifying the unpacked files&hellip;'));
    354354        $distro = '';
    355355        $roots = array( '/wordpress/', '/wordpress-mu/' );
    356356        foreach( $roots as $root ) {
     
    364364                return new WP_Error('insane_distro', __('The update could not be unpacked') );
    365365        }
    366366
    367         apply_filters('update_feedback', __('Installing the latest version&#8230;'));
     367        apply_filters('update_feedback', __('Installing the latest version&hellip;'));
    368368
    369369        // Create maintenance file to signal that we are upgrading
    370370        $maintenance_string = '<?php $upgrading = ' . time() . '; ?>';
     
    447447        }
    448448
    449449        // Upgrade DB with separate request
    450         apply_filters('update_feedback', __('Upgrading database&#8230;'));
     450        apply_filters('update_feedback', __('Upgrading database&hellip;'));
    451451        $db_upgrade_url = admin_url('upgrade.php?step=upgrade_db');
    452452        wp_remote_post($db_upgrade_url, array('timeout' => 60));
    453453
  • wp-admin/theme-editor.php

     
    119119                        $functions = wp_doc_link_parse( $content );
    120120
    121121                        $docs_select = '<select name="docs-list" id="docs-list">';
    122                         $docs_select .= '<option value="">' . esc_attr__( 'Function Name...' ) . '</option>';
     122                        $docs_select .= '<option value="">' . esc_attr__( 'Function Name&hellip;' ) . '</option>';
    123123                        foreach ( $functions as $function ) {
    124124                                $docs_select .= '<option value="' . esc_attr( urlencode( $function ) ) . '">' . htmlspecialchars( $function ) . '()</option>';
    125125                        }
  • wp-admin/upload.php

     
    9595                                        wp_die( __( 'You are not allowed to move this post to the trash.' ) );
    9696
    9797                                if ( !wp_trash_post( $post_id ) )
    98                                         wp_die( __( 'Error in moving to trash...' ) );
     98                                        wp_die( __( 'Error in moving to trash&hellip;' ) );
    9999                        }
    100100                        $location = add_query_arg( array( 'trashed' => count( $post_ids ), 'ids' => join( ',', $post_ids ) ), $location );
    101101                        break;
     
    105105                                        wp_die( __( 'You are not allowed to move this post out of the trash.' ) );
    106106
    107107                                if ( !wp_untrash_post( $post_id ) )
    108                                         wp_die( __( 'Error in restoring from trash...' ) );
     108                                        wp_die( __( 'Error in restoring from trash&hellip;' ) );
    109109                        }
    110110                        $location = add_query_arg( 'untrashed', count( $post_ids ), $location );
    111111                        break;
     
    115115                                        wp_die( __( 'You are not allowed to delete this post.' ) );
    116116
    117117                                if ( !wp_delete_attachment( $post_id_del ) )
    118                                         wp_die( __( 'Error in deleting...' ) );
     118                                        wp_die( __( 'Error in deleting&hellip;' ) );
    119119                        }
    120120                        $location = add_query_arg( 'deleted', count( $post_ids ), $location );
    121121                        break;
  • wp-includes/post-template.php

     
    182182        global $post, $more, $page, $pages, $multipage, $preview;
    183183
    184184        if ( null === $more_link_text )
    185                 $more_link_text = __( '(more...)' );
     185                $more_link_text = __( '(more&hellip;)' );
    186186
    187187        $output = '';
    188188        $hasTeaser = false;
  • wp-login.php

     
    231231        $message = apply_filters('retrieve_password_message', $message, $key);
    232232
    233233        if ( $message && !wp_mail($user_email, $title, $message) )
    234                 wp_die( __('The e-mail could not be sent.') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function...') );
     234                wp_die( __('The e-mail could not be sent.') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function&hellip;') );
    235235
    236236        return true;
    237237}
     
    323323        $user_pass = wp_generate_password( 12, false);
    324324        $user_id = wp_create_user( $sanitized_user_login, $user_pass, $user_email );
    325325        if ( ! $user_id ) {
    326                 $errors->add( 'registerfail', sprintf( __( '<strong>ERROR</strong>: Couldn&#8217;t register you... please contact the <a href="mailto:%s">webmaster</a> !' ), get_option( 'admin_email' ) ) );
     326                $errors->add( 'registerfail', sprintf( __( '<strong>ERROR</strong>: Couldn&#8217;t register you. please contact the <a href="mailto:%s">webmaster</a> !' ), get_option( 'admin_email' ) ) );
    327327                return $errors;
    328328        }
    329329