Ticket #7098: 8230-to-hellip.patch
File 8230-to-hellip.patch, 12.3 KB (added by , 13 years ago) |
---|
-
wp-admin/edit.php
110 110 111 111 if ( $post_del->post_type == 'attachment' ) { 112 112 if ( ! wp_delete_attachment($post_id) ) 113 wp_die( __('Error in deleting ...') );113 wp_die( __('Error in deleting…') ); 114 114 } else { 115 115 if ( !wp_delete_post($post_id) ) 116 wp_die( __('Error in deleting ...') );116 wp_die( __('Error in deleting…') ); 117 117 } 118 118 $deleted++; 119 119 } -
wp-admin/includes/class-wp-upgrader.php
49 49 $this->strings['fs_no_folder'] = __('Unable to locate needed folder (%s).'); 50 50 51 51 $this->strings['download_failed'] = __('Download failed.'); 52 $this->strings['installing_package'] = __('Installing the latest version& #8230;');52 $this->strings['installing_package'] = __('Installing the latest version&…'); 53 53 $this->strings['folder_exists'] = __('Destination folder already exists.'); 54 54 $this->strings['mkdir_failed'] = __('Could not create directory.'); 55 55 $this->strings['bad_package'] = __('Incompatible Archive.'); 56 56 57 $this->strings['maintenance_start'] = __('Enabling Maintenance mode& #8230;');58 $this->strings['maintenance_end'] = __('Disabling Maintenance mode& #8230;');57 $this->strings['maintenance_start'] = __('Enabling Maintenance mode…'); 58 $this->strings['maintenance_end'] = __('Disabling Maintenance mode…'); 59 59 } 60 60 61 61 function fs_connect( $directories = array() ) { … … 368 368 function upgrade_strings() { 369 369 $this->strings['up_to_date'] = __('The plugin is at the latest version.'); 370 370 $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>…'); 372 $this->strings['unpack_package'] = __('Unpacking the update…'); 373 $this->strings['deactivate_plugin'] = __('Deactivating the plugin…'); 374 $this->strings['remove_old'] = __('Removing the old version of the plugin…'); 375 375 $this->strings['remove_old_failed'] = __('Could not remove the old plugin.'); 376 376 $this->strings['process_failed'] = __('Plugin update failed.'); 377 377 $this->strings['process_success'] = __('Plugin updated successfully.'); … … 379 379 380 380 function install_strings() { 381 381 $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>…'); 383 $this->strings['unpack_package'] = __('Unpacking the package…'); 384 $this->strings['installing_package'] = __('Installing the plugin…'); 385 385 $this->strings['process_failed'] = __('Plugin install failed.'); 386 386 $this->strings['process_success'] = __('Plugin installed successfully.'); 387 387 } … … 608 608 function upgrade_strings() { 609 609 $this->strings['up_to_date'] = __('The theme is at the latest version.'); 610 610 $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>…'); 612 $this->strings['unpack_package'] = __('Unpacking the update…'); 613 $this->strings['remove_old'] = __('Removing the old version of the theme…'); 614 614 $this->strings['remove_old_failed'] = __('Could not remove the old theme.'); 615 615 $this->strings['process_failed'] = __('Theme update failed.'); 616 616 $this->strings['process_success'] = __('Theme updated successfully.'); … … 618 618 619 619 function install_strings() { 620 620 $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>…'); 622 $this->strings['unpack_package'] = __('Unpacking the package…'); 623 $this->strings['installing_package'] = __('Installing the theme…'); 624 624 $this->strings['process_failed'] = __('Theme install failed.'); 625 625 $this->strings['process_success'] = __('Theme installed successfully.'); 626 626 } … … 861 861 function upgrade_strings() { 862 862 $this->strings['up_to_date'] = __('WordPress is at the latest version.'); 863 863 $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>…'); 865 $this->strings['unpack_package'] = __('Unpacking the update…'); 866 866 $this->strings['copy_failed'] = __('Could not copy files.'); 867 867 } 868 868 … … 1037 1037 function after() { 1038 1038 $this->plugin = $this->upgrader->plugin_info(); 1039 1039 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…')); 1041 1041 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>'; 1042 1042 } 1043 1043 -
wp-admin/includes/dashboard.php
1035 1035 * @return bool False on failure. True on success. 1036 1036 */ 1037 1037 function 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…' ) . '</p><p class="hide-if-js">' . __( 'This widget requires JavaScript.' ) . '</p>'; 1039 1039 $doing_ajax = ( defined('DOING_AJAX') && DOING_AJAX ); 1040 1040 1041 1041 if ( empty($check_urls) ) { -
wp-admin/includes/update-core.php
350 350 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 ) ); 351 351 352 352 // Sanity check the unzipped distribution 353 apply_filters('update_feedback', __('Verifying the unpacked files& #8230;'));353 apply_filters('update_feedback', __('Verifying the unpacked files…')); 354 354 $distro = ''; 355 355 $roots = array( '/wordpress/', '/wordpress-mu/' ); 356 356 foreach( $roots as $root ) { … … 364 364 return new WP_Error('insane_distro', __('The update could not be unpacked') ); 365 365 } 366 366 367 apply_filters('update_feedback', __('Installing the latest version& #8230;'));367 apply_filters('update_feedback', __('Installing the latest version…')); 368 368 369 369 // Create maintenance file to signal that we are upgrading 370 370 $maintenance_string = '<?php $upgrading = ' . time() . '; ?>'; … … 447 447 } 448 448 449 449 // Upgrade DB with separate request 450 apply_filters('update_feedback', __('Upgrading database& #8230;'));450 apply_filters('update_feedback', __('Upgrading database…')); 451 451 $db_upgrade_url = admin_url('upgrade.php?step=upgrade_db'); 452 452 wp_remote_post($db_upgrade_url, array('timeout' => 60)); 453 453 -
wp-admin/theme-editor.php
119 119 $functions = wp_doc_link_parse( $content ); 120 120 121 121 $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…' ) . '</option>'; 123 123 foreach ( $functions as $function ) { 124 124 $docs_select .= '<option value="' . esc_attr( urlencode( $function ) ) . '">' . htmlspecialchars( $function ) . '()</option>'; 125 125 } -
wp-admin/upload.php
95 95 wp_die( __( 'You are not allowed to move this post to the trash.' ) ); 96 96 97 97 if ( !wp_trash_post( $post_id ) ) 98 wp_die( __( 'Error in moving to trash ...' ) );98 wp_die( __( 'Error in moving to trash…' ) ); 99 99 } 100 100 $location = add_query_arg( array( 'trashed' => count( $post_ids ), 'ids' => join( ',', $post_ids ) ), $location ); 101 101 break; … … 105 105 wp_die( __( 'You are not allowed to move this post out of the trash.' ) ); 106 106 107 107 if ( !wp_untrash_post( $post_id ) ) 108 wp_die( __( 'Error in restoring from trash ...' ) );108 wp_die( __( 'Error in restoring from trash…' ) ); 109 109 } 110 110 $location = add_query_arg( 'untrashed', count( $post_ids ), $location ); 111 111 break; … … 115 115 wp_die( __( 'You are not allowed to delete this post.' ) ); 116 116 117 117 if ( !wp_delete_attachment( $post_id_del ) ) 118 wp_die( __( 'Error in deleting ...' ) );118 wp_die( __( 'Error in deleting…' ) ); 119 119 } 120 120 $location = add_query_arg( 'deleted', count( $post_ids ), $location ); 121 121 break; -
wp-includes/post-template.php
182 182 global $post, $more, $page, $pages, $multipage, $preview; 183 183 184 184 if ( null === $more_link_text ) 185 $more_link_text = __( '(more ...)' );185 $more_link_text = __( '(more…)' ); 186 186 187 187 $output = ''; 188 188 $hasTeaser = false; -
wp-login.php
231 231 $message = apply_filters('retrieve_password_message', $message, $key); 232 232 233 233 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…') ); 235 235 236 236 return true; 237 237 } … … 323 323 $user_pass = wp_generate_password( 12, false); 324 324 $user_id = wp_create_user( $sanitized_user_login, $user_pass, $user_email ); 325 325 if ( ! $user_id ) { 326 $errors->add( 'registerfail', sprintf( __( '<strong>ERROR</strong>: Couldn’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’t register you. please contact the <a href="mailto:%s">webmaster</a> !' ), get_option( 'admin_email' ) ) ); 327 327 return $errors; 328 328 } 329 329