Make WordPress Core

Changeset 11190


Ignore:
Timestamp:
05/05/2009 04:28:05 AM (18 years ago)
Author:
azaozz
Message:

Banishing ASCII quotes and apostrophes, props demetris, fixes #9655

Location:
trunk
Files:
36 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-attachment-rows.php

    r11185 r11190  
    6363?>
    6464
    65                                 <a href="media.php?action=edit&amp;attachment_id=<?php the_ID(); ?>" title="<?php echo attr(sprintf(__('Edit "%s"'), $att_title)); ?>">
     65                                <a href="media.php?action=edit&amp;attachment_id=<?php the_ID(); ?>" title="<?php echo attr(sprintf(__('Edit &#8220;%s&#8221;'), $att_title)); ?>">
    6666                                        <?php echo $thumb; ?>
    6767                                </a>
    … …  
    7575        case 'media':
    7676                ?>
    77                 <td <?php echo $attributes ?>><strong><a href="<?php echo get_edit_post_link( $post->ID ); ?>" title="<?php echo attr(sprintf(__('Edit "%s"'), $att_title)); ?>"><?php echo $att_title; ?></a></strong><br />
     77                <td <?php echo $attributes ?>><strong><a href="<?php echo get_edit_post_link( $post->ID ); ?>" title="<?php echo attr(sprintf(__('Edit &#8220;%s&#8221;'), $att_title)); ?>"><?php echo $att_title; ?></a></strong><br />
    7878                <?php echo strtoupper(preg_replace('/^.*?\.(\w+)$/', '$1', get_attached_file($post->ID))); ?>
    7979                <p>
    … …  
    8484                if ( current_user_can('delete_post', $post->ID) )
    8585                        $actions['delete'] = "<a class='submitdelete' href='" . wp_nonce_url("post.php?action=delete&amp;post=$post->ID", 'delete-post_' . $post->ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $post->post_status) ? __("You are about to delete this attachment '%s'\n  'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this attachment '%s'\n  'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete') . "</a>";
    86                 $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . attr(sprintf(__('View "%s"'), $title)) . '" rel="permalink">' . __('View') . '</a>';
     86                $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . attr(sprintf(__('View &#8220;%s&#8221;'), $title)) . '" rel="permalink">' . __('View') . '</a>';
    8787                $action_count = count($actions);
    8888                $i = 0;
    … …  
    183183                ?>
    184184                <td <?php echo $attributes ?>>
    185                 <a href="media.php?action=edit&amp;attachment_id=<?php the_ID(); ?>" title="<?php echo attr(sprintf(__('Edit "%s"'), $att_title)); ?>"><?php _e('Edit'); ?></a> |
     185                <a href="media.php?action=edit&amp;attachment_id=<?php the_ID(); ?>" title="<?php echo attr(sprintf(__('Edit &#8220;%s&#8221;'), $att_title)); ?>"><?php _e('Edit'); ?></a> |
    186186                <a href="<?php the_permalink(); ?>"><?php _e('Get permalink'); ?></a>
    187187                </td>
  • trunk/wp-admin/import/blogger.php

    r11173 r11190  
    204204                $posts    = __('Posts');
    205205                $comments = __('Comments');
    206                 $noscript = __('This feature requires Javascript but it seems to be disabled. Please enable Javascript and then reload this page. Don\'t worry, you can turn it back off when you\'re done.');
     206                $noscript = __('This feature requires Javascript but it seems to be disabled. Please enable Javascript and then reload this page. Don&#8217;t worry, you can turn it back off when you&#8217;re done.');
    207207
    208208                $interval = STATUS_INTERVAL * 1000;
    … …  
    654654                }
    655655
    656                 $directions = __('All posts were imported with the current user as author. Use this form to move each Blogger user\'s posts to a different WordPress user. You may <a href="users.php">add users</a> and then return to this page and complete the user mapping. This form may be used as many times as you like until you activate the "Restart" function below.');
     656                $directions = __('All posts were imported with the current user as author. Use this form to move each Blogger user&#8217;s posts to a different WordPress user. You may <a href="users.php">add users</a> and then return to this page and complete the user mapping. This form may be used as many times as you like until you activate the &#8220;Restart&#8221; function below.');
    657657                $heading = __('Author mapping');
    658658                $blogtitle = "{$blog['title']} ({$blog['host']})";
    … …  
    797797                echo '<h1>'.__('Congratulations!').'</h1><p>'.__('Now that you have imported your Blogger blog into WordPress, what are you going to do? Here are some suggestions:').'</p><ul><li>'.__('That was hard work! Take a break.').'</li>';
    798798                if ( count($this->import['blogs']) > 1 )
    799                         echo '<li>'.__('In case you haven\'t done it already, you can import the posts from your other blogs:'). $this->show_blogs() . '</li>';
     799                        echo '<li>'.__('In case you haven&#8217;t done it already, you can import the posts from your other blogs:'). $this->show_blogs() . '</li>';
    800800                if ( $n = count($this->import['blogs'][$blog]['newusers']) )
    801801                        echo '<li>'.sprintf(__('Go to <a href="%s" target="%s">Authors &amp; Users</a>, where you can modify the new user(s) or delete them. If you want to make all of the imported posts yours, you will be given that option when you delete the new authors.'), 'users.php', '_parent').'</li>';
  • trunk/wp-admin/import/blogware.php

    r10606 r11190  
    110110                                }
    111111                                if (!$post_id) {
    112                                         _e("Couldn't get post ID");
     112                                        _e('Couldn&#8217;t get post ID');
    113113                                        echo '</li>';
    114114                                        break;
  • trunk/wp-admin/import/dotclear.php

    r11173 r11190  
    711711                echo '<p>'.__('Welcome to WordPress.  We hope (and expect!) that you will find this platform incredibly rewarding!  As a new WordPress user coming from DotClear, there are some things that we would like to point out.  Hopefully, they will help your transition go as smoothly as possible.').'</p>';
    712712                echo '<h3>'.__('Users').'</h3>';
    713                 echo '<p>'.sprintf(__('You have already setup WordPress and have been assigned an administrative login and password.  Forget it.  You didn\'t have that login in DotClear, why should you have it here?  Instead we have taken care to import all of your users into our system.  Unfortunately there is one downside.  Because both WordPress and DotClear uses a strong encryption hash with passwords, it is impossible to decrypt it and we are forced to assign temporary passwords to all your users.  <strong>Every user has the same username, but their passwords are reset to password123.</strong>  So <a href="%1$s">Login</a> and change it.'), '/wp-login.php').'</p>';
     713                echo '<p>'.sprintf(__('You have already setup WordPress and have been assigned an administrative login and password.  Forget it.  You didn&#8217;t have that login in DotClear, why should you have it here?  Instead we have taken care to import all of your users into our system.  Unfortunately there is one downside.  Because both WordPress and DotClear uses a strong encryption hash with passwords, it is impossible to decrypt it and we are forced to assign temporary passwords to all your users.  <strong>Every user has the same username, but their passwords are reset to password123.</strong>  So <a href="%1$s">Login</a> and change it.'), '/wp-login.php').'</p>';
    714714                echo '<h3>'.__('Preserving Authors').'</h3>';
    715715                echo '<p>'.__('Secondly, we have attempted to preserve post authors.  If you are the only author or contributor to your blog, then you are safe.  In most cases, we are successful in this preservation endeavor.  However, if we cannot ascertain the name of the writer due to discrepancies between database tables, we assign it to you, the administrative user.').'</p>';
    716716                echo '<h3>'.__('Textile').'</h3>';
    717                 echo '<p>'.__('Also, since you\'re coming from DotClear, you probably have been using Textile to format your comments and posts.  If this is the case, we recommend downloading and installing <a href="http://www.huddledmasses.org/category/development/wordpress/textile/">Textile for WordPress</a>.  Trust me... You\'ll want it.').'</p>';
     717                echo '<p>'.__('Also, since you&#8217;re coming from DotClear, you probably have been using Textile to format your comments and posts.  If this is the case, we recommend downloading and installing <a href="http://www.huddledmasses.org/category/development/wordpress/textile/">Textile for WordPress</a>.  Trust me&#8230; You&#8217;ll want it.').'</p>';
    718718                echo '<h3>'.__('WordPress Resources').'</h3>';
    719719                echo '<p>'.__('Finally, there are numerous WordPress resources around the internet.  Some of them are:').'</p>';
    … …  
    723723                echo '<li>'.__('<a href="http://codex.wordpress.org">The Codex (In other words, the WordPress Bible)</a>').'</li>';
    724724                echo '</ul>';
    725                 echo '<p>'.sprintf(__('That\'s it! What are you waiting for? Go <a href="%1$s">login</a>!'), '../wp-login.php').'</p>';
     725                echo '<p>'.sprintf(__('That&#8217;s it! What are you waiting for? Go <a href="%1$s">login</a>!'), '../wp-login.php').'</p>';
    726726        }
    727727
  • trunk/wp-admin/import/greymatter.php

    r11173 r11190  
    6262</tr>
    6363<tr>
    64 <td><label for="lastentry"><?php _e("Last entry's number:") ?></label></td>
     64<td><label for="lastentry"><?php _e('Last entry&#8217;s number:') ?></label></td>
    6565<td><input type="text" name="lastentry" id="lastentry" value="00000001" /><br />
    66         <?php _e("This importer will search for files 00000001.cgi to 000-whatever.cgi,<br />so you need to enter the number of the last GM post here.<br />(if you don't know that number, just log into your FTP and look it out<br />in the entries' folder)") ?></td>
     66        <?php _e('This importer will search for files 00000001.cgi to 000-whatever.cgi,<br />so you need to enter the number of the last GM post here.<br />(if you don&#8217;t know that number, just log into your FTP and look it out<br />in the entries&#8217; folder)') ?></td>
    6767</tr>
    6868</table>
  • trunk/wp-admin/import/livejournal.php

    r11173 r11190  
    210210
    211211                        <p><?php _e( 'If you have any entries on LiveJournal which are marked as private, they will be password-protected when they are imported so that only people who know the password can see them.' ) ?></p>
    212                         <p><?php _e( "If you don't enter a password, ALL ENTRIES from your LiveJournal will be imported as public posts in WordPress." ) ?></p>
     212                        <p><?php _e( 'If you don&#8217;t enter a password, ALL ENTRIES from your LiveJournal will be imported as public posts in WordPress.' ) ?></p>
    213213                        <p><?php _e( 'Enter the password you would like to use for all protected entries here:' ) ?></p>
    214214                        <table class="form-table">
    … …  
    384384                        }
    385385                        if ( !$post_id ) {
    386                                 _e( "Couldn't get post ID (creating post failed!)" );
     386                                _e( 'Couldn&#8217;t get post ID (creating post failed!)' );
    387387                                echo '</li>';
    388388                                return new WP_Error( 'insert_post_failed', __( 'Failed to create post.' ) );
    … …  
    779779                echo '<div id="ljapi-status">';
    780780                echo '<h3>' . __( 'Importing Posts' ) . '</h3>';
    781                 echo '<p>' . __( "We're downloading and importing your LiveJournal posts..." ) . '</p>';
     781                echo '<p>' . __( 'We&#8217;re downloading and importing your LiveJournal posts...' ) . '</p>';
    782782                if ( get_option( 'ljapi_post_batch' ) && count( get_option( 'ljapi_sync_item_times' ) ) ) {
    783783                        $batch = count( get_option( 'ljapi_sync_item_times' ) );
    … …  
    802802                                ?>
    803803                                <p><strong><?php _e( 'Uh oh &ndash; LiveJournal has disconnected us because we made too many requests to their servers too quickly.' ) ?></strong></p>
    804                                 <p><strong><?php _e( "We've saved where you were up to though, so if you come back to this importer in about 30 minutes, you should be able to continue from where you were." ) ?></strong></p>
     804                                <p><strong><?php _e( 'We&#8217;ve saved where you were up to though, so if you come back to this importer in about 30 minutes, you should be able to continue from where you were.' ) ?></strong></p>
    805805                                <?php
    806806                                echo $this->next_step( 1, __( 'Try Again' ) );
    … …  
    822822                <?php
    823823                } else {
    824                         echo '<p>' . __( "Your posts have all been imported, but wait - there's more! Now we need to download &amp; import your comments." ) . '</p>';
     824                        echo '<p>' . __( 'Your posts have all been imported, but wait &#8211; there&#8217;s more! Now we need to download &amp; import your comments.' ) . '</p>';
    825825                        echo $this->next_step( 2, __( 'Download my comments &raquo;' ) );
    826826                        $this->auto_submit();
  • trunk/wp-admin/import/mt.php

    r11173 r11190  
    3737?>
    3838<div class="narrow">
    39 <p><?php _e('Howdy! We&#8217;re about to begin importing all of your Movable Type or Typepad entries into WordPress. To begin, either choose a file to upload and click "Upload file and import," or use FTP to upload your MT export file as <code>mt-export.txt</code> in your <code>/wp-content/</code> directory and then click "Import mt-export.txt"'); ?></p>
     39<p><?php _e('Howdy! We&#8217;re about to begin importing all of your Movable Type or Typepad entries into WordPress. To begin, either choose a file to upload and click &#8220;Upload file and import&#8221;, or use FTP to upload your MT export file as <code>mt-export.txt</code> in your <code>/wp-content/</code> directory and then click "Import mt-export.txt"'); ?></p>
    4040
    4141<?php wp_import_upload_form( add_query_arg('step', 1) ); ?>
    … …  
    5050</p>
    5151</form>
    52 <p><?php _e('The importer is smart enough not to import duplicates, so you can run this multiple times without worry if&#8212;for whatever reason&#8212;it doesn\'t finish. If you get an <strong>out of memory</strong> error try splitting up the import file into pieces.'); ?> </p>
     52<p><?php _e('The importer is smart enough not to import duplicates, so you can run this multiple times without worry if&#8212;for whatever reason&#8212;it doesn&#8217;t finish. If you get an <strong>out of memory</strong> error try splitting up the import file into pieces.'); ?> </p>
    5353</div>
    5454<?php
    … …  
    195195<?php screen_icon(); ?>
    196196<h2><?php _e('Assign Authors'); ?></h2>
    197 <p><?php _e('To make it easier for you to edit and save the imported posts and drafts, you may want to change the name of the author of the posts. For example, you may want to import all the entries as admin\'s entries.'); ?></p>
     197<p><?php _e('To make it easier for you to edit and save the imported posts and drafts, you may want to change the name of the author of the posts. For example, you may want to import all the entries as admin&#8217;s entries.'); ?></p>
    198198<p><?php _e('Below, you can see the names of the authors of the MovableType posts in <em>italics</em>. For each of these names, you can either pick an author in your WordPress installation from the menu, or enter a name for the author in the textbox.'); ?></p>
    199 <p><?php _e('If a new user is created by WordPress, a password will be randomly generated. Manually change the user\'s details if necessary.'); ?></p>
     199<p><?php _e('If a new user is created by WordPress, a password will be randomly generated. Manually change the user&#8217;s details if necessary.'); ?></p>
    200200        <?php
    201201
  • trunk/wp-admin/import/rss.php

    r10339 r11190  
    130130                                        return $post_id;
    131131                                if (!$post_id) {
    132                                         _e("Couldn't get post ID");
     132                                        _e('Couldn&#8217;t get post ID');
    133133                                        return;
    134134                                }
  • trunk/wp-admin/import/wordpress.php

    r11173 r11190  
    204204<?php
    205205        if ( $this->allow_create_users() ) {
    206                 echo '<p>'.__('If a new user is created by WordPress, a password will be randomly generated. Manually change the user\'s details if necessary.')."</p>\n";
     206                echo '<p>'.__('If a new user is created by WordPress, a password will be randomly generated. Manually change the user&#8217;s details if necessary.')."</p>\n";
    207207        }
    208208
  • trunk/wp-admin/import/wp-cat2tag.php

    r11173 r11190  
    144144                        echo '<h2>' . sprintf( _n( 'Convert Tag to Category.', 'Convert Tags (%d) to Categories.', $tags_num ), $tags_num ) . '</h2>';
    145145                        echo '<div class="narrow">';
    146                         echo '<p>' . __('Here you can selectively converts existing tags to categories. To get started, check the tags you wish to be converted, then click the Convert button.') . '</p>';
     146                        echo '<p>' . __('Here you can selectively convert existing tags to categories. To get started, check the tags you wish to be converted, then click the Convert button.') . '</p>';
    147147                        echo '<p>' . __('The newly created categories will still be associated with the same posts.') . '</p></div>';
    148148
    … …  
    250250
    251251                        if ( ! $this->_category_exists($cat_id) ) {
    252                                 echo '<li>' . sprintf( __('Category %s doesn\'t exist!'),  $cat_id ) . "</li>\n";
     252                                echo '<li>' . sprintf( __('Category %s doesn&#8217;t exist!'),  $cat_id ) . "</li>\n";
    253253                        } else {
    254254                                $category =& get_category($cat_id);
    … …  
    407407
    408408                        } else {
    409                                 printf( '<li>' . __('Tag #%s doesn\'t exist!') . "</li>\n",  $tag_id );
     409                                printf( '<li>' . __('Tag #%s doesn&#8217;t exist!') . "</li>\n",  $tag_id );
    410410                        }
    411411                }
  • trunk/wp-admin/includes/class-wp-upgrader.php

    r11109 r11190  
    937937
    938938                $install_actions = array(
    939                         'preview' => '<a href="' . $preview_link . '" class="thickbox thickbox-preview" title="' . attr(sprintf(__('Preview "%s"'), $name)) . '">' . __('Preview') . '</a>',
    940                         'activate' => '<a href="' . $activate_link .  '" class="activatelink" title="' . attr( sprintf( __('Activate "%s"'), $name ) ) . '">' . __('Activate') . '</a>'
     939                        'preview' => '<a href="' . $preview_link . '" class="thickbox thickbox-preview" title="' . attr(sprintf(__('Preview &#8220;%s&#8221;'), $name)) . '">' . __('Preview') . '</a>',
     940                        'activate' => '<a href="' . $activate_link .  '" class="activatelink" title="' . attr( sprintf( __('Activate &#8220;%s&#8221;'), $name ) ) . '">' . __('Activate') . '</a>'
    941941                                                        );
    942942
    … …  
    996996
    997997                $update_actions =  array(
    998                         'preview' => '<a href="' . $preview_link . '" class="thickbox thickbox-preview" title="' . attr(sprintf(__('Preview "%s"'), $name)) . '">' . __('Preview') . '</a>',
    999                         'activate' => '<a href="' . $activate_link .  '" class="activatelink" title="' . attr( sprintf( __('Activate "%s"'), $name ) ) . '">' . __('Activate') . '</a>',
     998                        'preview' => '<a href="' . $preview_link . '" class="thickbox thickbox-preview" title="' . attr(sprintf(__('Preview &#8220;%s&#8221;'), $name)) . '">' . __('Preview') . '</a>',
     999                        'activate' => '<a href="' . $activate_link .  '" class="activatelink" title="' . attr( sprintf( __('Activate &#8220;%s&#8221;'), $name ) ) . '">' . __('Activate') . '</a>',
    10001000                        'themes_page' => '<a href="' . admin_url('themes.php') . '" title="' . attr(__('Return to Themes page')) . '" target="_parent">' . __('Return to Themes page') . '</a>',
    10011001                );
  • trunk/wp-admin/includes/dashboard.php

    r11173 r11190  
    450450                        $url = get_edit_post_link( $draft->ID );
    451451                        $title = _draft_or_post_title( $draft->ID );
    452                         $item = "<h4><a href='$url' title='" . sprintf( __( 'Edit "%s"' ), attr( $title ) ) . "'>$title</a> <abbr title='" . get_the_time(__('Y/m/d g:i:s A'), $draft) . "'>" . get_the_time( get_option( 'date_format' ), $draft ) . '</abbr></h4>';
     452                        $item = "<h4><a href='$url' title='" . sprintf( __( 'Edit &#8220;%s&#8221;' ), attr( $title ) ) . "'>$title</a> <abbr title='" . get_the_time(__('Y/m/d g:i:s A'), $draft) . "'>" . get_the_time( get_option( 'date_format' ), $draft ) . '</abbr></h4>';
    453453                        if ( $the_content = preg_split( '#\s#', strip_tags( $draft->post_content ), 11, PREG_SPLIT_NO_EMPTY ) )
    454454                                $item .= '<p>' . join( ' ', array_slice( $the_content, 0, 10 ) ) . ( 10 < count( $the_content ) ? '&hellip;' : '' ) . '</p>';
  • trunk/wp-admin/includes/file.php

    r11187 r11190  
    196196        switch ( $code ) {
    197197                case 1 :
    198                         wp_die( __('Sorry, can&#8217;t edit files with ".." in the name. If you are trying to edit a file in your WordPress home directory, you can just type the name of the file in.' ));
     198                        wp_die( __('Sorry, can&#8217;t edit files with &#8220;..&#8221; in the name. If you are trying to edit a file in your WordPress home directory, you can just type the name of the file in.' ));
    199199
    200200                case 2 :
  • trunk/wp-admin/includes/image.php

    r10682 r11190  
    138138
    139139        if ( ! file_exists( $file ) )
    140                 return sprintf(__("File '%s' doesn't exist?"), $file);
     140                return sprintf(__('File &#8220;%s&#8221; doesn&#8217;t exist?'), $file);
    141141
    142142        if ( ! function_exists('imagecreatefromstring') )
    … …  
    148148
    149149        if ( !is_resource( $image ) )
    150                 return sprintf(__("File '%s' is not an image."), $file);
     150                return sprintf(__('File &#8220;%s&#8221; is not an image.'), $file);
    151151
    152152        return $image;
  • trunk/wp-admin/includes/media.php

    r11180 r11190  
    18441844        if ( apply_filters( 'disable_captions', '' ) ) {
    18451845                $alt = __('Alternate Text');
    1846                 $alt_help = __('Alt text for the image, e.g. "The Mona Lisa"');
     1846                $alt_help = __('Alt text for the image, e.g. &#8220;The Mona Lisa&#8221;');
    18471847        } else {
    18481848                $alt = __('Image Caption');
    … …  
    19401940                        <td class="field"><input id="insertonly[title]" name="insertonly[title]" value="" type="text" aria-required="true"></td>
    19411941                </tr>
    1942                 <tr><td></td><td class="help">' . __('Link text, e.g. "Still Alive by Jonathan Coulton"') . '</td></tr>
     1942                <tr><td></td><td class="help">' . __('Link text, e.g. &#8220;Still Alive by Jonathan Coulton&#8221;') . '</td></tr>
    19431943                <tr>
    19441944                        <td></td>
    … …  
    19751975                        <td class="field"><input id="insertonly[title]" name="insertonly[title]" value="" type="text" aria-required="true"></td>
    19761976                </tr>
    1977                 <tr><td></td><td class="help">' . __('Link text, e.g. "Lucy on YouTube"') . '</td></tr>
     1977                <tr><td></td><td class="help">' . __('Link text, e.g. &#8220;Lucy on YouTube&#8220;') . '</td></tr>
    19781978                <tr>
    19791979                        <td></td>
    … …  
    20102010                        <td class="field"><input id="insertonly[title]" name="insertonly[title]" value="" type="text" aria-required="true"></td>
    20112011                </tr>
    2012                 <tr><td></td><td class="help">' . __('Link text, e.g. "Ransom Demands (PDF)"') . '</td></tr>
     2012                <tr><td></td><td class="help">' . __('Link text, e.g. &#8220;Ransom Demands (PDF)&#8221;') . '</td></tr>
    20132013                <tr>
    20142014                        <td></td>
  • trunk/wp-admin/includes/template.php

    r11181 r11190  
    126126        $edit_link = "categories.php?action=edit&amp;cat_ID=$category->term_id";
    127127        if ( current_user_can( 'manage_categories' ) ) {
    128                 $edit = "<a class='row-title' href='$edit_link' title='" . attr(sprintf(__('Edit "%s"'), $category->name)) . "'>" . attr( $name ) . '</a><br />';
     128                $edit = "<a class='row-title' href='$edit_link' title='" . attr(sprintf(__('Edit &#8220;%s&#8221;'), $category->name)) . "'>" . attr( $name ) . '</a><br />';
    129129                $actions = array();
    130130                $actions['edit'] = '<a href="' . $edit_link . '">' . __('Edit') . '</a>';
    … …  
    297297        $edit_link = "link-category.php?action=edit&amp;cat_ID=$category->term_id";
    298298        if ( current_user_can( 'manage_categories' ) ) {
    299                 $edit = "<a class='row-title' href='$edit_link' title='" . attr(sprintf(__('Edit "%s"'), $category->name)) . "'>$name</a><br />";
     299                $edit = "<a class='row-title' href='$edit_link' title='" . attr(sprintf(__('Edit &#8220;%s&#8221;'), $category->name)) . "'>$name</a><br />";
    300300                $actions = array();
    301301                $actions['edit'] = '<a href="' . $edit_link . '">' . __('Edit') . '</a>';
    … …  
    659659                                        break;
    660660                                case 'name':
    661                                         $out .= '<td ' . $attributes . '><strong><a class="row-title" href="' . $edit_link . '" title="' . attr(sprintf(__('Edit "%s"'), $name)) . '">' . $name . '</a></strong><br />';
     661                                        $out .= '<td ' . $attributes . '><strong><a class="row-title" href="' . $edit_link . '" title="' . attr(sprintf(__('Edit &#8220;%s&#8221;'), $name)) . '">' . $name . '</a></strong><br />';
    662662                                        $actions = array();
    663663                                        $actions['edit'] = '<a href="' . $edit_link . '">' . __('Edit') . '</a>';
    … …  
    14371437                        $attributes = 'class="post-title column-title"' . $style;
    14381438                ?>
    1439                 <td <?php echo $attributes ?>><strong><?php if ( current_user_can( 'edit_post', $post->ID ) ) { ?><a class="row-title" href="<?php echo $edit_link; ?>" title="<?php echo attr(sprintf(__('Edit "%s"'), $title)); ?>"><?php echo $title ?></a><?php } else { echo $title; }; _post_states($post); ?></strong>
     1439                <td <?php echo $attributes ?>><strong><?php if ( current_user_can( 'edit_post', $post->ID ) ) { ?><a class="row-title" href="<?php echo $edit_link; ?>" title="<?php echo attr(sprintf(__('Edit &#8220;%s&#8221;'), $title)); ?>"><?php echo $title ?></a><?php } else { echo $title; }; _post_states($post); ?></strong>
    14401440                <?php
    14411441                        if ( 'excerpt' == $mode )
    … …  
    14501450                        if ( in_array($post->post_status, array('pending', 'draft')) ) {
    14511451                                if ( current_user_can('edit_post', $post->ID) )
    1452                                         $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . attr(sprintf(__('Preview "%s"'), $title)) . '" rel="permalink">' . __('Preview') . '</a>';
     1452                                        $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . attr(sprintf(__('Preview &#8220;%s&#8221;'), $title)) . '" rel="permalink">' . __('Preview') . '</a>';
    14531453                        } else {
    1454                                 $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . attr(sprintf(__('View "%s"'), $title)) . '" rel="permalink">' . __('View') . '</a>';
     1454                                $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . attr(sprintf(__('View &#8220;%s&#8221;'), $title)) . '" rel="permalink">' . __('View') . '</a>';
    14551455                        }
    14561456                        $actions = apply_filters('post_row_actions', $actions, $post);
    … …  
    16531653                $edit_link = get_edit_post_link( $page->ID );
    16541654                ?>
    1655                 <td <?php echo $attributes ?>><strong><?php if ( current_user_can( 'edit_post', $page->ID ) ) { ?><a class="row-title" href="<?php echo $edit_link; ?>" title="<?php echo attr(sprintf(__('Edit "%s"'), $title)); ?>"><?php echo $pad; echo $title ?></a><?php } else { echo $pad; echo $title; }; _post_states($page); echo isset($parent_name) ? ' | ' . __('Parent Page: ') . wp_specialchars($parent_name) : ''; ?></strong>
     1655                <td <?php echo $attributes ?>><strong><?php if ( current_user_can( 'edit_post', $page->ID ) ) { ?><a class="row-title" href="<?php echo $edit_link; ?>" title="<?php echo attr(sprintf(__('Edit &#8220;%s&#8221;'), $title)); ?>"><?php echo $pad; echo $title ?></a><?php } else { echo $pad; echo $title; }; _post_states($page); echo isset($parent_name) ? ' | ' . __('Parent Page: ') . wp_specialchars($parent_name) : ''; ?></strong>
    16561656                <?php
    16571657                $actions = array();
    … …  
    16631663                if ( in_array($post->post_status, array('pending', 'draft')) ) {
    16641664                        if ( current_user_can('edit_page', $page->ID) )
    1665                                 $actions['view'] = '<a href="' . get_permalink($page->ID) . '" title="' . attr(sprintf(__('Preview "%s"'), $title)) . '" rel="permalink">' . __('Preview') . '</a>';
     1665                                $actions['view'] = '<a href="' . get_permalink($page->ID) . '" title="' . attr(sprintf(__('Preview &#8220;%s&#8221;'), $title)) . '" rel="permalink">' . __('Preview') . '</a>';
    16661666                } else {
    1667                         $actions['view'] = '<a href="' . get_permalink($page->ID) . '" title="' . attr(sprintf(__('View "%s"'), $title)) . '" rel="permalink">' . __('View') . '</a>';
     1667                        $actions['view'] = '<a href="' . get_permalink($page->ID) . '" title="' . attr(sprintf(__('View &#8220;%s&#8221;'), $title)) . '" rel="permalink">' . __('View') . '</a>';
    16681668                }
    16691669                $actions = apply_filters('page_row_actions', $actions, $page);
    … …  
    35093509        if ( isset($_wp_contextual_help[$screen]) ) {
    35103510                if ( !empty($title) )
    3511                         $contextual_help .= '<h5>' . sprintf(__('Get help with "%s"'), $title) . '</h5>';
     3511                        $contextual_help .= '<h5>' . sprintf(__('Get help with &#8220;%s&#8221;'), $title) . '</h5>';
    35123512                else
    35133513                        $contextual_help .= '<h5>' . __('Get help with this page') . '</h5>';
  • trunk/wp-admin/includes/theme-install.php

    r11173 r11190  
    302302                $actions = array();
    303303                $actions[] = '<a href="' . admin_url('theme-install.php?tab=theme-information&amp;theme=' . $theme->slug .
    304                                                                                 '&amp;TB_iframe=true&amp;tbWidth=500&amp;tbHeight=350') . '" class="thickbox thickbox-preview onclick" title="' . attr(sprintf(__('Install "%s"'), $name)) . '">' . __('Install') . '</a>';
    305                 $actions[] = '<a href="' . $preview_link . '" class="thickbox thickbox-preview onclick previewlink" title="' . attr(sprintf(__('Preview "%s"'), $name)) . '">' . __('Preview') . '</a>';
     304                                                                                '&amp;TB_iframe=true&amp;tbWidth=500&amp;tbHeight=350') . '" class="thickbox thickbox-preview onclick" title="' . attr(sprintf(__('Install &#8220;%s&#8221;'), $name)) . '">' . __('Install') . '</a>';
     305                $actions[] = '<a href="' . $preview_link . '" class="thickbox thickbox-preview onclick previewlink" title="' . attr(sprintf(__('Preview &#8220;%s&#8221;'), $name)) . '">' . __('Preview') . '</a>';
    306306                $actions = apply_filters('theme_install_action_links', $actions, $theme);
    307307        }
    … …  
    311311<a class='thickbox thickbox-preview screenshot'
    312312        href='<? echo clean_url($preview_link); ?>'
    313         title='<?php echo attr(sprintf(__('Preview "%s"'), $name)); ?>'>
     313        title='<?php echo attr(sprintf(__('Preview &#8220;%s&#8221;'), $name)); ?>'>
    314314<img src='<?php echo clean_url($theme->screenshot_url); ?>' width='150' />
    315315</a>
  • trunk/wp-admin/includes/user.php

    r11162 r11190  
    170170                $errors->add( 'empty_email', __( '<strong>ERROR</strong>: Please enter an e-mail address.' ), array( 'form-field' => 'email' ) );
    171171        } elseif (!is_email( $user->user_email ) ) {
    172                 $errors->add( 'invalid_email', __( "<strong>ERROR</strong>: The e-mail address isn't correct." ), array( 'form-field' => 'email' ) );
     172                $errors->add( 'invalid_email', __( '<strong>ERROR</strong>: The e-mail address isn&#8217;t correct.' ), array( 'form-field' => 'email' ) );
    173173        } elseif ( ( $owner_id = email_exists($user->user_email) ) && $owner_id != $user->ID ) {
    174174                $errors->add( 'email_exists', __('<strong>ERROR</strong>: This email is already registered, please choose another one.'), array( 'form-field' => 'email' ) );
  • trunk/wp-admin/install.php

    r11110 r11190  
    8383?>
    8484<h1><?php _e('Welcome'); ?></h1>
    85 <p><?php printf(__('Welcome to the famous five minute WordPress installation process! You may want to browse the <a href="%s">ReadMe documentation</a> at your leisure.  Otherwise, just fill in the information below and you\'ll be on your way to using the most extendable and powerful personal publishing platform in the world.'), '../readme.html'); ?></p>
     85<p><?php printf(__('Welcome to the famous five minute WordPress installation process! You may want to browse the <a href="%s">ReadMe documentation</a> at your leisure.  Otherwise, just fill in the information below and you&#8217;ll be on your way to using the most extendable and powerful personal publishing platform in the world.'), '../readme.html'); ?></p>
    8686<!--<h2 class="step"><a href="install.php?step=1"><?php _e('First Step'); ?></a></h2>-->
    8787
    8888<h1><?php _e('Information needed'); ?></h1>
    89 <p><?php _e("Please provide the following information.  Don't worry, you can always change these settings later."); ?></p>
     89<p><?php _e('Please provide the following information.  Don&#8217;t worry, you can always change these settings later.'); ?></p>
    9090
    9191
  • trunk/wp-admin/link-manager.php

    r11180 r11190  
    195195                                case 'name':
    196196
    197                                         echo "<td $attributes><strong><a class='row-title' href='$edit_link' title='" . attr(sprintf(__('Edit "%s"'), $link->link_name)) . "'>$link->link_name</a></strong><br />";
     197                                        echo "<td $attributes><strong><a class='row-title' href='$edit_link' title='" . attr(sprintf(__('Edit &#8220;%s&#8221;'), $link->link_name)) . "'>$link->link_name</a></strong><br />";
    198198                                        $actions = array();
    199199                                        $actions['edit'] = '<a href="' . $edit_link . '">' . __('Edit') . '</a>';
  • trunk/wp-admin/options-discussion.php

    r11180 r11190  
    128128<p><label for="comment_max_links"><?php printf(__('Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)'), '<input name="comment_max_links" type="text" id="comment_max_links" value="' . attr(get_option('comment_max_links')) . '" class="small-text" />' ) ?></label></p>
    129129
    130 <p><label for="moderation_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be held in the <a href="edit-comments.php?comment_status=moderated">moderation queue</a>. One word or IP per line. It will match inside words, so "press" will match "WordPress".') ?></label></p>
     130<p><label for="moderation_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be held in the <a href="edit-comments.php?comment_status=moderated">moderation queue</a>. One word or IP per line. It will match inside words, so &#8220;press&#8221; will match &#8220;WordPress&#8221;.') ?></label></p>
    131131<p>
    132132<textarea name="moderation_keys" rows="10" cols="50" id="moderation_keys" class="large-text code"><?php form_option('moderation_keys'); ?></textarea>
    … …  
    137137<th scope="row"><?php _e('Comment Blacklist') ?></th>
    138138<td><fieldset><legend class="invisible"><?php _e('Comment Blacklist') ?></legend>
    139 <p><label for="blacklist_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be marked as spam. One word or IP per line. It will match inside words, so "press" will match "WordPress".') ?></label></p>
     139<p><label for="blacklist_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be marked as spam. One word or IP per line. It will match inside words, so &#8220;press&#8221; will match &#8220;WordPress&#8221;.') ?></label></p>
    140140<p>
    141141<textarea name="blacklist_keys" rows="10" cols="50" id="blacklist_keys" class="large-text code"><?php form_option('blacklist_keys'); ?></textarea>
  • trunk/wp-admin/options-general.php

    r11180 r11190  
    223223        echo '/> ' . __('Custom:') . ' </label><input type="text" name="date_format_custom" value="' . attr( get_option('date_format') ) . '" class="small-text" /> ' . date_i18n( get_option('date_format') ) . "\n";
    224224
    225         echo "\t<p>" . __('<a href="http://codex.wordpress.org/Formatting_Date_and_Time">Documentation on date formatting</a>. Click &quot;Save Changes&quot; to update sample output.') . "</p>\n";
     225        echo "\t<p>" . __('<a href="http://codex.wordpress.org/Formatting_Date_and_Time">Documentation on date formatting</a>. Click &#8220;Save Changes&#8221; to update sample output.') . "</p>\n";
    226226?>
    227227        </fieldset>
  • trunk/wp-admin/options-writing.php

    r11180 r11190  
    121121<?php else : ?>
    122122
    123         <p><?php printf(__('WordPress is not notifying any <a href="http://codex.wordpress.org/Update_Services">Update Services</a> because of your blog\'s <a href="%s">privacy settings</a>.'), 'options-privacy.php'); ?></p>
     123        <p><?php printf(__('WordPress is not notifying any <a href="http://codex.wordpress.org/Update_Services">Update Services</a> because of your blog&#8217;s <a href="%s">privacy settings</a>.'), 'options-privacy.php'); ?></p>
    124124
    125125<?php endif; ?>
  • trunk/wp-admin/page.php

    r11159 r11190  
    8383        $post = get_post_to_edit($page_ID);
    8484
    85         if ( empty($post->ID) ) wp_die( __("You attempted to edit a page that doesn't exist. Perhaps it was deleted?") );
     85        if ( empty($post->ID) ) wp_die( __('You attempted to edit a page that doesn&#8217;t exist. Perhaps it was deleted?') );
    8686
    8787        if ( 'page' != $post->post_type ) {
  • trunk/wp-admin/post.php

    r11159 r11190  
    116116        $post = get_post($post_ID);
    117117
    118         if ( empty($post->ID) ) wp_die( __("You attempted to edit a post that doesn't exist. Perhaps it was deleted?") );
     118        if ( empty($post->ID) ) wp_die( __('You attempted to edit a post that doesn&#8217;t exist. Perhaps it was deleted?') );
    119119
    120120        if ( 'post' != $post->post_type ) {
  • trunk/wp-admin/themes.php

    r11133 r11190  
    189189        $preview_link = clean_url( get_option('home') . '/');
    190190        $preview_link = htmlspecialchars( add_query_arg( array('preview' => 1, 'template' => $template, 'stylesheet' => $stylesheet, 'TB_iframe' => 'true' ), $preview_link ) );
    191         $preview_text = attr( sprintf( __('Preview of "%s"'), $title ) );
     191        $preview_text = attr( sprintf( __('Preview of &#8220;%s&#8221;'), $title ) );
    192192        $tags = $themes[$theme_name]['Tags'];
    193193        $thickbox_class = 'thickbox thickbox-preview';
    194194        $activate_link = wp_nonce_url("themes.php?action=activate&amp;template=".urlencode($template)."&amp;stylesheet=".urlencode($stylesheet), 'switch-theme_' . $template);
    195         $activate_text = attr( sprintf( __('Activate "%s"'), $title ) );
     195        $activate_text = attr( sprintf( __('Activate &#8220;%s&#8221;'), $title ) );
    196196        $actions = array();
    197197        $actions[] = '<a href="' . $activate_link .  '" class="activatelink" title="' . $activate_text . '">' . __('Activate') . '</a>';
    198         $actions[] = '<a href="' . $preview_link . '" class="thickbox thickbox-preview" title="' . attr(sprintf(__('Preview "%s"'), $theme_name)) . '">' . __('Preview') . '</a>';
     198        $actions[] = '<a href="' . $preview_link . '" class="thickbox thickbox-preview" title="' . attr(sprintf(__('Preview &#8220;%s&#8221;'), $theme_name)) . '">' . __('Preview') . '</a>';
    199199        if ( current_user_can('update_themes') )
    200200                $actions[] = '<a class="submitdelete deletion" href="' . wp_nonce_url("themes.php?action=delete&amp;template=$stylesheet", 'delete-theme_' . $stylesheet) . '" onclick="' . "if ( confirm('" . js_escape(sprintf( __("You are about to delete this theme '%s'\n  'Cancel' to stop, 'OK' to delete."), $theme_name )) . "') ) {return true;}return false;" . '">' . __('Delete') . '</a>';
  • trunk/wp-admin/upload.php

    r11185 r11190  
    330330                <td class="media-icon"><?php
    331331                if ( $thumb = wp_get_attachment_image( $post->ID, array(80, 60), true ) ) { ?>
    332                         <a href="media.php?action=edit&amp;attachment_id=<?php echo $post->ID; ?>" title="<?php echo attr(sprintf(__('Edit "%s"'), $att_title)); ?>"><?php echo $thumb; ?></a>
     332                        <a href="media.php?action=edit&amp;attachment_id=<?php echo $post->ID; ?>" title="<?php echo attr(sprintf(__('Edit &#8220;%s&#8221;'), $att_title)); ?>"><?php echo $thumb; ?></a>
    333333<?php   } ?></td>
    334334
    335                 <td class="media column-media"><strong><a href="<?php echo get_edit_post_link( $post->ID ); ?>" title="<?php echo attr(sprintf(__('Edit "%s"'), $att_title)); ?>"><?php echo $att_title; ?></a></strong><br />
     335                <td class="media column-media"><strong><a href="<?php echo get_edit_post_link( $post->ID ); ?>" title="<?php echo attr(sprintf(__('Edit &#8220;%s&#8221;'), $att_title)); ?>"><?php echo $att_title; ?></a></strong><br />
    336336                <?php echo strtoupper(preg_replace('/^.*?\.(\w+)$/', '$1', get_attached_file($post->ID))); ?>
    337337
    … …  
    343343                if ( current_user_can('delete_post', $post->ID) )
    344344                        $actions['delete'] = "<a class='submitdelete' href='" . wp_nonce_url("post.php?action=delete&amp;post=$post->ID", 'delete-post_' . $post->ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $post->post_status) ? __("You are about to delete this attachment '%s'\n  'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this attachment '%s'\n  'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete') . "</a>";
    345                 $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . attr(sprintf(__('View "%s"'), $title)) . '" rel="permalink">' . __('View') . '</a>';
     345                $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . attr(sprintf(__('View &#8220;%s&#8221;'), $title)) . '" rel="permalink">' . __('View') . '</a>';
    346346                if ( current_user_can('edit_post', $post->ID) )
    347347                        $actions['attach'] = '<a href="#the-list" onclick="findPosts.open(\'media[]\',\''.$post->ID.'\');return false;">'.__('Attach').'</a>';
  • trunk/wp-admin/users.php

    r11180 r11190  
    212212                        break;
    213213                case 'err_admin_role':
    214                         $messages[] = '<div id="message" class="error"><p>' . __("The current user's role must have user editing capabilities.") . '</p></div>';
     214                        $messages[] = '<div id="message" class="error"><p>' . __('The current user&#8217;s role must have user editing capabilities.') . '</p></div>';
    215215                        $messages[] = '<div id="message" class="updated fade"><p>' . __('Other user roles have been changed.') . '</p></div>';
    216216                        break;
    217217                case 'err_admin_del':
    218                         $messages[] = '<div id="message" class="error"><p>' . __("You can't delete the current user.") . '</p></div>';
     218                        $messages[] = '<div id="message" class="error"><p>' . __('You can&#8217;t delete the current user.') . '</p></div>';
    219219                        $messages[] = '<div id="message" class="updated fade"><p>' . __('Other users have been deleted.') . '</p></div>';
    220220                        break;
  • trunk/wp-includes/author-template.php

    r11142 r11190  
    133133function the_author_link() {
    134134        if (get_the_author_url()) {
    135                 echo '<a href="' . get_the_author_url() . '" title="' . sprintf(__("Visit %s's website"), get_the_author()) . '" rel="external">' . get_the_author() . '</a>';
     135                echo '<a href="' . get_the_author_url() . '" title="' . sprintf(__("Visit %s&#8217;s website"), get_the_author()) . '" rel="external">' . get_the_author() . '</a>';
    136136        } else {
    137137                the_author();
  • trunk/wp-includes/comment.php

    r11169 r11190  
    413413        if ( $wpdb->get_var($dupe) ) {
    414414                if ( defined('DOING_AJAX') )
    415                         die( __('Duplicate comment detected; it looks as though you\'ve already said that!') );
    416 
    417                 wp_die( __('Duplicate comment detected; it looks as though you\'ve already said that!') );
     415                        die( __('Duplicate comment detected; it looks as though you&#8217;ve already said that!') );
     416
     417                wp_die( __('Duplicate comment detected; it looks as though you&#8217;ve already said that!') );
    418418        }
    419419
  • trunk/wp-includes/default-widgets.php

    r11188 r11190  
    1616
    1717        function WP_Widget_Pages() {
    18                 $widget_ops = array('classname' => 'widget_pages', 'description' => __( "Your blog's WordPress Pages") );
     18                $widget_ops = array('classname' => 'widget_pages', 'description' => __( 'Your blog&#8217;s WordPress Pages') );
    1919                $this->WP_Widget('pages', __('Pages'), $widget_ops);
    2020        }
    … …  
    197197
    198198        function WP_Widget_Archives() {
    199                 $widget_ops = array('classname' => 'widget_archive', 'description' => __( "A monthly archive of your blog's posts") );
     199                $widget_ops = array('classname' => 'widget_archive', 'description' => __( 'A monthly archive of your blog&#8217;s posts') );
    200200                $this->WP_Widget('archives', __('Archives'), $widget_ops);
    201201        }
    … …  
    310310
    311311        function WP_Widget_Calendar() {
    312                 $widget_ops = array('classname' => 'widget_calendar', 'description' => __( "A calendar of your blog's posts") );
     312                $widget_ops = array('classname' => 'widget_calendar', 'description' => __( 'A calendar of your blog&#8217;s posts') );
    313313                $this->WP_Widget('calendar', __('Calendar'), $widget_ops);
    314314        }
  • trunk/wp-includes/functions.php

    r11178 r11190  
    22402240
    22412241                $trans = array();
    2242                 $trans['update']['attachment'] = array( __( 'Your attempt to edit this attachment: &quot;%s&quot; has failed.' ), 'get_the_title' );
     2242                $trans['update']['attachment'] = array( __( 'Your attempt to edit this attachment: &#8220;%s&#8221; has failed.' ), 'get_the_title' );
    22432243
    22442244                $trans['add']['category']      = array( __( 'Your attempt to add this category has failed.' ), false );
    2245                 $trans['delete']['category']   = array( __( 'Your attempt to delete this category: &quot;%s&quot; has failed.' ), 'get_cat_name' );
    2246                 $trans['update']['category']   = array( __( 'Your attempt to edit this category: &quot;%s&quot; has failed.' ), 'get_cat_name' );
    2247 
    2248                 $trans['delete']['comment']    = array( __( 'Your attempt to delete this comment: &quot;%s&quot; has failed.' ), 'use_id' );
    2249                 $trans['unapprove']['comment'] = array( __( 'Your attempt to unapprove this comment: &quot;%s&quot; has failed.' ), 'use_id' );
    2250                 $trans['approve']['comment']   = array( __( 'Your attempt to approve this comment: &quot;%s&quot; has failed.' ), 'use_id' );
    2251                 $trans['update']['comment']    = array( __( 'Your attempt to edit this comment: &quot;%s&quot; has failed.' ), 'use_id' );
     2245                $trans['delete']['category']   = array( __( 'Your attempt to delete this category: &#8220;%s&#8221; has failed.' ), 'get_cat_name' );
     2246                $trans['update']['category']   = array( __( 'Your attempt to edit this category: &#8220;%s&#8221; has failed.' ), 'get_cat_name' );
     2247
     2248                $trans['delete']['comment']    = array( __( 'Your attempt to delete this comment: &#8220;%s&#8221; has failed.' ), 'use_id' );
     2249                $trans['unapprove']['comment'] = array( __( 'Your attempt to unapprove this comment: &#8220;%s&#8221; has failed.' ), 'use_id' );
     2250                $trans['approve']['comment']   = array( __( 'Your attempt to approve this comment: &#8220;%s&#8221; has failed.' ), 'use_id' );
     2251                $trans['update']['comment']    = array( __( 'Your attempt to edit this comment: &#8220;%s&#8221; has failed.' ), 'use_id' );
    22522252                $trans['bulk']['comments']     = array( __( 'Your attempt to bulk modify comments has failed.' ), false );
    22532253                $trans['moderate']['comments'] = array( __( 'Your attempt to moderate comments has failed.' ), false );
    22542254
    22552255                $trans['add']['bookmark']      = array( __( 'Your attempt to add this link has failed.' ), false );
    2256                 $trans['delete']['bookmark']   = array( __( 'Your attempt to delete this link: &quot;%s&quot; has failed.' ), 'use_id' );
    2257                 $trans['update']['bookmark']   = array( __( 'Your attempt to edit this link: &quot;%s&quot; has failed.' ), 'use_id' );
     2256                $trans['delete']['bookmark']   = array( __( 'Your attempt to delete this link: &#8220;%s&#8221; has failed.' ), 'use_id' );
     2257                $trans['update']['bookmark']   = array( __( 'Your attempt to edit this link: &#8220;%s&#8221; has failed.' ), 'use_id' );
    22582258                $trans['bulk']['bookmarks']    = array( __( 'Your attempt to bulk modify links has failed.' ), false );
    22592259
    22602260                $trans['add']['page']          = array( __( 'Your attempt to add this page has failed.' ), false );
    2261                 $trans['delete']['page']       = array( __( 'Your attempt to delete this page: &quot;%s&quot; has failed.' ), 'get_the_title' );
    2262                 $trans['update']['page']       = array( __( 'Your attempt to edit this page: &quot;%s&quot; has failed.' ), 'get_the_title' );
    2263 
    2264                 $trans['edit']['plugin']       = array( __( 'Your attempt to edit this plugin file: &quot;%s&quot; has failed.' ), 'use_id' );
    2265                 $trans['activate']['plugin']   = array( __( 'Your attempt to activate this plugin: &quot;%s&quot; has failed.' ), 'use_id' );
    2266                 $trans['deactivate']['plugin'] = array( __( 'Your attempt to deactivate this plugin: &quot;%s&quot; has failed.' ), 'use_id' );
    2267                 $trans['upgrade']['plugin']    = array( __( 'Your attempt to upgrade this plugin: &quot;%s&quot; has failed.' ), 'use_id' );
     2261                $trans['delete']['page']       = array( __( 'Your attempt to delete this page: &#8220;%s&#8221; has failed.' ), 'get_the_title' );
     2262                $trans['update']['page']       = array( __( 'Your attempt to edit this page: &#8220;%s&#8221; has failed.' ), 'get_the_title' );
     2263
     2264                $trans['edit']['plugin']       = array( __( 'Your attempt to edit this plugin file: &#8220;%s&#8221; has failed.' ), 'use_id' );
     2265                $trans['activate']['plugin']   = array( __( 'Your attempt to activate this plugin: &#8220;%s&#8221; has failed.' ), 'use_id' );
     2266                $trans['deactivate']['plugin'] = array( __( 'Your attempt to deactivate this plugin: &#8220;%s&#8221; has failed.' ), 'use_id' );
     2267                $trans['upgrade']['plugin']    = array( __( 'Your attempt to upgrade this plugin: &#8220;%s&#8221; has failed.' ), 'use_id' );
    22682268
    22692269                $trans['add']['post']          = array( __( 'Your attempt to add this post has failed.' ), false );
    2270                 $trans['delete']['post']       = array( __( 'Your attempt to delete this post: &quot;%s&quot; has failed.' ), 'get_the_title' );
    2271                 $trans['update']['post']       = array( __( 'Your attempt to edit this post: &quot;%s&quot; has failed.' ), 'get_the_title' );
     2270                $trans['delete']['post']       = array( __( 'Your attempt to delete this post: &#8220;%s&#8221; has failed.' ), 'get_the_title' );
     2271                $trans['update']['post']       = array( __( 'Your attempt to edit this post: &#8220;%s&#8221; has failed.' ), 'get_the_title' );
    22722272
    22732273                $trans['add']['user']          = array( __( 'Your attempt to add this user has failed.' ), false );
    22742274                $trans['delete']['users']      = array( __( 'Your attempt to delete users has failed.' ), false );
    22752275                $trans['bulk']['users']        = array( __( 'Your attempt to bulk modify users has failed.' ), false );
    2276                 $trans['update']['user']       = array( __( 'Your attempt to edit this user: &quot;%s&quot; has failed.' ), 'get_author_name' );
    2277                 $trans['update']['profile']    = array( __( 'Your attempt to modify the profile for: &quot;%s&quot; has failed.' ), 'get_author_name' );
     2276                $trans['update']['user']       = array( __( 'Your attempt to edit this user: &#8220;%s&#8221; has failed.' ), 'get_author_name' );
     2277                $trans['update']['profile']    = array( __( 'Your attempt to modify the profile for: &#8220;%s&#8221; has failed.' ), 'get_author_name' );
    22782278
    22792279                $trans['update']['options']    = array( __( 'Your attempt to edit your settings has failed.' ), false );
    22802280                $trans['update']['permalink']  = array( __( 'Your attempt to change your permalink structure to: %s has failed.' ), 'use_id' );
    2281                 $trans['edit']['file']         = array( __( 'Your attempt to edit this file: &quot;%s&quot; has failed.' ), 'use_id' );
    2282                 $trans['edit']['theme']        = array( __( 'Your attempt to edit this theme file: &quot;%s&quot; has failed.' ), 'use_id' );
    2283                 $trans['switch']['theme']      = array( __( 'Your attempt to switch to this theme: &quot;%s&quot; has failed.' ), 'use_id' );
     2281                $trans['edit']['file']         = array( __( 'Your attempt to edit this file: &#8220;%s&#8221; has failed.' ), 'use_id' );
     2282                $trans['edit']['theme']        = array( __( 'Your attempt to edit this theme file: &#8220;%s&#8221; has failed.' ), 'use_id' );
     2283                $trans['switch']['theme']      = array( __( 'Your attempt to switch to this theme: &#8220;%s&#8221; has failed.' ), 'use_id' );
    22842284
    22852285                $trans['log']['out']           = array( sprintf( __( 'You are attempting to log out of %s' ), get_bloginfo( 'sitename' ) ), false );
  • trunk/wp-includes/general-template.php

    r11180 r11190  
    14591459                'authortitle' => __('%1$s %2$s Posts by %3$s Feed'),
    14601460                /* translators: 1: blog name, 2: separator(raquo), 3: search phrase */
    1461                 'searchtitle' => __('%1$s %2$s Search Results for &quot;%3$s&quot; Feed'),
     1461                'searchtitle' => __('%1$s %2$s Search Results for &#8220;%3$s&#8221; Feed'),
    14621462        );
    14631463
  • trunk/wp-includes/taxonomy.php

    r11153 r11190  
    16431643                        $slug = wp_unique_term_slug($slug, (object) $args);
    16441644                else
    1645                         return new WP_Error('duplicate_term_slug', sprintf(__('The slug "%s" is already in use by another term'), $slug));
     1645                        return new WP_Error('duplicate_term_slug', sprintf(__('The slug &#8220;%s&#8221; is already in use by another term'), $slug));
    16461646        }
    16471647
  • trunk/wp-mail.php

    r11066 r11190  
    2424        ( ! $count = $pop3->pass(get_option('mailserver_pass')) ) ) {
    2525                $pop3->quit();
    26                 wp_die( ( 0 === $count ) ? __("There doesn't seem to be any new mail.") : wp_specialchars($pop3->ERROR) );
     26                wp_die( ( 0 === $count ) ? __('There doesn&#8217;t seem to be any new mail.') : wp_specialchars($pop3->ERROR) );
    2727}
    2828
  • trunk/xmlrpc.php

    r10982 r11190  
    499499
    500500                if( !current_user_can( 'edit_page', $page_id ) )
    501                         return new IXR_Error( 401, __( 'Sorry, you can not edit this page.' ) );
     501                        return new IXR_Error( 401, __( 'Sorry, you cannot edit this page.' ) );
    502502
    503503                do_action('xmlrpc_call', 'wp.getPage');
    … …  
    596596
    597597                if( !current_user_can( 'edit_pages' ) )
    598                         return new IXR_Error( 401, __( 'Sorry, you can not edit pages.' ) );
     598                        return new IXR_Error( 401, __( 'Sorry, you cannot edit pages.' ) );
    599599
    600600                do_action('xmlrpc_call', 'wp.getPages');
    … …  
    650650                // Make sure the user is allowed to add new pages.
    651651                if(!current_user_can("publish_pages")) {
    652                         return(new IXR_Error(401, __("Sorry, you can not add new pages.")));
     652                        return(new IXR_Error(401, __("Sorry, you cannot add new pages.")));
    653653                }
    654654
    … …  
    781781
    782782                if( !current_user_can( 'edit_pages' ) )
    783                         return new IXR_Error( 401, __( 'Sorry, you can not edit pages.' ) );
     783                        return new IXR_Error( 401, __( 'Sorry, you cannot edit pages.' ) );
    784784
    785785                do_action('xmlrpc_call', 'wp.getPageList');
    … …  
    834834
    835835                if(!current_user_can("edit_posts")) {
    836                         return(new IXR_Error(401, __("Sorry, you can not edit posts on this blog.")));
     836                        return(new IXR_Error(401, __("Sorry, you cannot edit posts on this blog.")));
    837837                }
    838838
    … …  
    11031103
    11041104                if ( !current_user_can( 'moderate_comments' ) )
    1105                         return new IXR_Error( 401, __( 'Sorry, you can not edit comments.' ) );
     1105                        return new IXR_Error( 401, __( 'Sorry, you cannot edit comments.' ) );
    11061106
    11071107                do_action('xmlrpc_call', 'wp.getComments');
    … …  
    16661666
    16671667                if( !current_user_can( 'edit_post', $post_ID ) )
    1668                         return new IXR_Error( 401, __( 'Sorry, you can not edit this post.' ) );
     1668                        return new IXR_Error( 401, __( 'Sorry, you cannot edit this post.' ) );
    16691669
    16701670                do_action('xmlrpc_call', 'blogger.getPost');
    … …  
    18121812
    18131813                if ( !current_user_can('edit_themes') ) {
    1814                         return new IXR_Error(401, __('Sorry, this user can not edit the template.'));
     1814                        return new IXR_Error(401, __('Sorry, this user cannot edit the template.'));
    18151815                }
    18161816
    … …  
    23352335                // created (which was the old behavior).
    23362336                if(empty($postdata["ID"])) {
    2337                         return(new IXR_Error(404, __("Invalid post id.")));
     2337                        return(new IXR_Error(404, __("Invalid post ID.")));
    23382338                }
    23392339
    … …  
    25652565
    25662566                if( !current_user_can( 'edit_post', $post_ID ) )
    2567                         return new IXR_Error( 401, __( 'Sorry, you can not edit this post.' ) );
     2567                        return new IXR_Error( 401, __( 'Sorry, you cannot edit this post.' ) );
    25682568
    25692569                do_action('xmlrpc_call', 'metaWeblog.getPost');
    … …  
    30483048
    30493049                if ( !current_user_can('edit_post', $post_ID) )
    3050                         return new IXR_Error(401, __('Sorry, you can not edit this post.'));
     3050                        return new IXR_Error(401, __('Sorry, you cannot edit this post.'));
    30513051
    30523052                foreach($categories as $cat) {
    … …  
    31583158
    31593159                if ( !current_user_can('edit_post', $post_ID) )
    3160                         return new IXR_Error(401, __('Sorry, you can not edit this post.'));
     3160                        return new IXR_Error(401, __('Sorry, you cannot edit this post.'));
    31613161
    31623162                $postdata = wp_get_single_post($post_ID,ARRAY_A);
    … …  
    32453245                } else {
    32463246                        // TODO: Attempt to extract a post ID from the given URL
    3247                         return new IXR_Error(33, __('The specified target URL cannot be used as a target. It either doesn\'t exist, or it is not a pingback-enabled resource.'));
     3247                        return new IXR_Error(33, __('The specified target URL cannot be used as a target. It either doesn&#8217;t exist, or it is not a pingback-enabled resource.'));
    32483248                }
    32493249                $post_ID = (int) $post_ID;
    … …  
    32553255
    32563256                if ( !$post ) // Post_ID not found
    3257                         return new IXR_Error(33, __('The specified target URL cannot be used as a target. It either doesn\'t exist, or it is not a pingback-enabled resource.'));
     3257                        return new IXR_Error(33, __('The specified target URL cannot be used as a target. It either doesn&#8217;t exist, or it is not a pingback-enabled resource.'));
    32583258
    32593259                if ( $post_ID == url_to_postid($pagelinkedfrom) )
    … …  
    32623262                // Check if pings are on
    32633263                if ( !pings_open($post) )
    3264                         return new IXR_Error(33, __('The specified target URL cannot be used as a target. It either doesn\'t exist, or it is not a pingback-enabled resource.'));
     3264                        return new IXR_Error(33, __('The specified target URL cannot be used as a target. It either doesn&#8217;t exist, or it is not a pingback-enabled resource.'));
    32653265
    32663266                // Let's check that the remote site didn't already pingback this entry
    … …  
    33703370                if (!$post_ID) {
    33713371                        // We aren't sure that the resource is available and/or pingback enabled
    3372                         return new IXR_Error(33, __('The specified target URL cannot be used as a target. It either doesn\'t exist, or it is not a pingback-enabled resource.'));
     3372                        return new IXR_Error(33, __('The specified target URL cannot be used as a target. It either doesn&#8217;t exist, or it is not a pingback-enabled resource.'));
    33733373                }
    33743374
Note: See TracChangeset for help on using the changeset viewer.