Make WordPress Core

Ticket #3474: 3474.diff

File 3474.diff, 3.9 KB (added by mdawaffe, 18 years ago)

typos

  • wp-admin/admin-functions.php

     
    561561
    562562function edit_link( $link_id = '' ) {
    563563        if (!current_user_can( 'manage_links' ))
    564                 wp_die( __( 'Cheatin&8217; uh?' ));
     564                wp_die( __( 'Cheatin’ uh?' ));
    565565
    566566        $_POST['link_url'] = wp_specialchars( $_POST['link_url'] );
    567567        $_POST['link_url'] = preg_match('/^(https?|ftps?|mailto|news|irc|gopher|nntp|feed|telnet):/is', $_POST['link_url']) ? $_POST['link_url'] : 'http://' . $_POST['link_url'];
  • wp-admin/export.php

     
    1414<div class="narrow">
    1515<p><?php _e('When you click the button below WordPress will create an XML file for you to save to your computer.'); ?></p>
    1616<p><?php _e('This format, which we call WordPress eXtended RSS or WXR, will contain your posts, comments, custom fields, and categories.'); ?></p>
    17 <p><?php _e('Once you&8217;ve saved the download file, you can use the Import function on another WordPress blog to import this blog.'); ?></p>
     17<p><?php _e('Once you&#8217;ve saved the download file, you can use the Import function on another WordPress blog to import this blog.'); ?></p>
    1818<form action="" method="get">
    1919<h3><?php _e('Optional options'); ?></h3>
    2020
  • wp-admin/plugins.php

     
    7979
    8080if (empty($plugins)) {
    8181        echo '<p>';
    82         _e("Couldn&8217;t open plugins directory or there are no plugins available."); // TODO: make more helpful
     82        _e("Couldn&#8217;t open plugins directory or there are no plugins available."); // TODO: make more helpful
    8383        echo '</p>';
    8484} else {
    8585?>
  • wp-admin/link-add.php

     
    2828
    2929<div id="wp-link-bookmarklet"  class="wrap">
    3030<h3><?php _e('Add Link Bookmarklet'); ?></h3>
    31 <p><?php _e('Right click on the following link and choose "Bookmark This Link..." to create an add link shortcut. Right now this only works on Mozilla or Netscape, but we&8217;re working on it.'); ?></p>
     31<p><?php _e('Right click on the following link and choose "Bookmark This Link..." to create an add link shortcut. Right now this only works on Mozilla or Netscape, but we&#8217;re working on it.'); ?></p>
    3232<?php printf('<p><a href="%s" title="'.__('Link add bookmarklet').'">'.__('Link This').'</a></p>', "javascript:void(linkmanpopup=window.open('" . get_option('siteurl') . "/wp-admin/link-add.php?action=popup&amp;linkurl='+escape(location.href)+'&amp;name='+escape(document.title),'LinkManager','scrollbars=yes,width=750,height=550,left=15,top=15,status=yes,resizable=yes'));linkmanpopup.focus();window.focus();linkmanpopup.focus();") ?>
    3333</div>
    3434
  • wp-admin/categories.php

     
    3434
    3535        // Don't delete the default cats.
    3636    if ( $cat_ID == get_option('default_category') )
    37                 wp_die(sprintf(__("Can&8217;t delete the <strong>%s</strong> category: this is the default one"), $cat_name));
     37                wp_die(sprintf(__("Can&#8217;t delete the <strong>%s</strong> category: this is the default one"), $cat_name));
    3838
    3939    if ( $cat_ID == get_option('default_link_category') )
    40                 wp_die(sprintf(__("Can&8217;t delete the <strong>%s</strong> category: this is the default one for links"), $cat_name));
     40                wp_die(sprintf(__("Can&#8217;t delete the <strong>%s</strong> category: this is the default one for links"), $cat_name));
    4141
    4242        wp_delete_category($cat_ID);
    4343