<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[14407] trunk/wp-admin: Differentiate spam strings by subject: comments,
  sites, and users.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/14407">14407</a></dd>
<dt>Author</dt> <dd>nbachiyski</dd>
<dt>Date</dt> <dd>2010-05-03 20:37:07 +0000 (Mon, 03 May 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Differentiate spam strings by subject: comments, sites, and users. Props dimadin. Fixes <a href="http://trac.wordpress.org/ticket/13199">#13199</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadmineditcommentsphp">trunk/wp-admin/edit-comments.php</a></li>
<li><a href="#trunkwpadminincludesdashboardphp">trunk/wp-admin/includes/dashboard.php</a></li>
<li><a href="#trunkwpadminincludestemplatephp">trunk/wp-admin/includes/template.php</a></li>
<li><a href="#trunkwpadminmssitesphp">trunk/wp-admin/ms-sites.php</a></li>
<li><a href="#trunkwpadminmsusersphp">trunk/wp-admin/ms-users.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadmineditcommentsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/edit-comments.php (14406 => 14407)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/edit-comments.php        2010-05-03 20:34:49 UTC (rev 14406)
+++ trunk/wp-admin/edit-comments.php        2010-05-03 20:37:07 UTC (rev 14407)
</span><span class="lines">@@ -316,12 +316,12 @@
</span><span class="cx"> &lt;option value=&quot;approve&quot;&gt;&lt;?php _e('Approve'); ?&gt;&lt;/option&gt;
</span><span class="cx"> &lt;?php endif; ?&gt;
</span><span class="cx"> &lt;?php if ( 'all' == $comment_status || 'approved' == $comment_status || 'moderated' == $comment_status ): ?&gt;
</span><del>-&lt;option value=&quot;spam&quot;&gt;&lt;?php _e('Mark as Spam'); ?&gt;&lt;/option&gt;
</del><ins>+&lt;option value=&quot;spam&quot;&gt;&lt;?php echo _x('Mark as Spam', 'comment'); ?&gt;&lt;/option&gt;
</ins><span class="cx"> &lt;?php endif; ?&gt;
</span><span class="cx"> &lt;?php if ( 'trash' == $comment_status ): ?&gt;
</span><span class="cx"> &lt;option value=&quot;untrash&quot;&gt;&lt;?php _e('Restore'); ?&gt;&lt;/option&gt;
</span><span class="cx"> &lt;?php elseif ( 'spam' == $comment_status ): ?&gt;
</span><del>-&lt;option value=&quot;unspam&quot;&gt;&lt;?php _e('Not Spam'); ?&gt;&lt;/option&gt;
</del><ins>+&lt;option value=&quot;unspam&quot;&gt;&lt;?php echo _x('Not Spam', 'comment'); ?&gt;&lt;/option&gt;
</ins><span class="cx"> &lt;?php endif; ?&gt;
</span><span class="cx"> &lt;?php if ( 'trash' == $comment_status || 'spam' == $comment_status || !EMPTY_TRASH_DAYS ): ?&gt;
</span><span class="cx"> &lt;option value=&quot;delete&quot;&gt;&lt;?php _e('Delete Permanently'); ?&gt;&lt;/option&gt;
</span><span class="lines">@@ -413,7 +413,7 @@
</span><span class="cx"> &lt;option value=&quot;approve&quot;&gt;&lt;?php _e('Approve'); ?&gt;&lt;/option&gt;
</span><span class="cx"> &lt;?php endif; ?&gt;
</span><span class="cx"> &lt;?php if ( 'all' == $comment_status || 'approved' == $comment_status || 'moderated' == $comment_status ): ?&gt;
</span><del>-&lt;option value=&quot;spam&quot;&gt;&lt;?php _e('Mark as Spam'); ?&gt;&lt;/option&gt;
</del><ins>+&lt;option value=&quot;spam&quot;&gt;&lt;?php echo _x('Mark as Spam', 'comment'); ?&gt;&lt;/option&gt;
</ins><span class="cx"> &lt;?php endif; ?&gt;
</span><span class="cx"> &lt;?php if ( 'trash' == $comment_status ): ?&gt;
</span><span class="cx"> &lt;option value=&quot;untrash&quot;&gt;&lt;?php _e('Restore'); ?&gt;&lt;/option&gt;
</span><span class="lines">@@ -421,7 +421,7 @@
</span><span class="cx"> &lt;?php if ( 'trash' == $comment_status || 'spam' == $comment_status || !EMPTY_TRASH_DAYS ): ?&gt;
</span><span class="cx"> &lt;option value=&quot;delete&quot;&gt;&lt;?php _e('Delete Permanently'); ?&gt;&lt;/option&gt;
</span><span class="cx"> &lt;?php elseif ( 'spam' == $comment_status ): ?&gt;
</span><del>-&lt;option value=&quot;unspam&quot;&gt;&lt;?php _e('Not Spam'); ?&gt;&lt;/option&gt;
</del><ins>+&lt;option value=&quot;unspam&quot;&gt;&lt;?php echo _x('Not Spam', 'comment'); ?&gt;&lt;/option&gt;
</ins><span class="cx"> &lt;?php else: ?&gt;
</span><span class="cx"> &lt;option value=&quot;trash&quot;&gt;&lt;?php _e('Move to Trash'); ?&gt;&lt;/option&gt;
</span><span class="cx"> &lt;?php endif; ?&gt;
</span></span></pre></div>
<a id="trunkwpadminincludesdashboardphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/dashboard.php (14406 => 14407)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/dashboard.php        2010-05-03 20:34:49 UTC (rev 14406)
+++ trunk/wp-admin/includes/dashboard.php        2010-05-03 20:37:07 UTC (rev 14407)
</span><span class="lines">@@ -328,7 +328,7 @@
</span><span class="cx"> 
</span><span class="cx">         // Spam Comments
</span><span class="cx">         $num = number_format_i18n($num_comm-&gt;spam);
</span><del>-        $text = _n( 'Spam', 'Spam', $num_comm-&gt;spam );
</del><ins>+        $text = _nx( 'Spam', 'Spam', $num_comm-&gt;spam, 'comment' );
</ins><span class="cx">         if ( current_user_can( 'moderate_comments' ) ) {
</span><span class="cx">                 $num = &quot;&lt;a href='edit-comments.php?comment_status=spam'&gt;&lt;span class='spam-count'&gt;$num&lt;/span&gt;&lt;/a&gt;&quot;;
</span><span class="cx">                 $text = &quot;&lt;a class='spam' href='edit-comments.php?comment_status=spam'&gt;$text&lt;/a&gt;&quot;;
</span></span></pre></div>
<a id="trunkwpadminincludestemplatephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/template.php (14406 => 14407)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/template.php        2010-05-03 20:34:49 UTC (rev 14406)
+++ trunk/wp-admin/includes/template.php        2010-05-03 20:37:07 UTC (rev 14407)
</span><span class="lines">@@ -2110,7 +2110,7 @@
</span><span class="cx">                                         if ( 'spam' != $the_comment_status &amp;&amp; 'trash' != $the_comment_status ) {
</span><span class="cx">                                                 $actions['spam'] = &quot;&lt;a href='$spam_url' class='delete:the-comment-list:comment-$comment-&gt;comment_ID::spam=1 vim-s vim-destructive' title='&quot; . esc_attr__( 'Mark this comment as spam' ) . &quot;'&gt;&quot; . /* translators: mark as spam link */ _x( 'Spam', 'verb' ) . '&lt;/a&gt;';
</span><span class="cx">                                         } elseif ( 'spam' == $the_comment_status ) {
</span><del>-                                                $actions['unspam'] = &quot;&lt;a href='$unspam_url' class='delete:the-comment-list:comment-$comment-&gt;comment_ID:66cc66:unspam=1 vim-z vim-destructive'&gt;&quot; . __( 'Not Spam' ) . '&lt;/a&gt;';
</del><ins>+                                                $actions['unspam'] = &quot;&lt;a href='$unspam_url' class='delete:the-comment-list:comment-$comment-&gt;comment_ID:66cc66:unspam=1 vim-z vim-destructive'&gt;&quot; . _x( 'Not Spam', 'comment' ) . '&lt;/a&gt;';
</ins><span class="cx">                                         } elseif ( 'trash' == $the_comment_status ) {
</span><span class="cx">                                                 $actions['untrash'] = &quot;&lt;a href='$untrash_url' class='delete:the-comment-list:comment-$comment-&gt;comment_ID:66cc66:untrash=1 vim-z vim-destructive'&gt;&quot; . __( 'Restore' ) . '&lt;/a&gt;';
</span><span class="cx">                                         }
</span></span></pre></div>
<a id="trunkwpadminmssitesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/ms-sites.php (14406 => 14407)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/ms-sites.php        2010-05-03 20:34:49 UTC (rev 14406)
+++ trunk/wp-admin/ms-sites.php        2010-05-03 20:37:07 UTC (rev 14407)
</span><span class="lines">@@ -113,7 +113,7 @@
</span><span class="cx">                                                         &lt;?php } ?&gt;
</span><span class="cx">                                                 &lt;/tr&gt;
</span><span class="cx">                                                 &lt;tr class=&quot;form-field&quot;&gt;
</span><del>-                                                        &lt;th scope=&quot;row&quot;&gt;&lt;?php _e( 'Registered') ?&gt;&lt;/th&gt;
</del><ins>+                                                        &lt;th scope=&quot;row&quot;&gt;&lt;?php echo _x( 'Registered', 'site' ) ?&gt;&lt;/th&gt;
</ins><span class="cx">                                                         &lt;td&gt;&lt;input name=&quot;blog[registered]&quot; type=&quot;text&quot; id=&quot;blog_registered&quot; value=&quot;&lt;?php echo esc_attr( $details-&gt;registered ) ?&gt;&quot; size=&quot;40&quot; /&gt;&lt;/td&gt;
</span><span class="cx">                                                 &lt;/tr&gt;
</span><span class="cx">                                                 &lt;tr class=&quot;form-field&quot;&gt;
</span><span class="lines">@@ -124,7 +124,7 @@
</span><span class="cx">                                                 $radio_fields = array( 'public' =&gt; __( 'Public' ) );
</span><span class="cx">                                                 if ( ! $is_main_site ) {
</span><span class="cx">                                                         $radio_fields['archived'] = __( 'Archived' );
</span><del>-                                                        $radio_fields['spam']     = __( 'Spam' );
</del><ins>+                                                        $radio_fields['spam']     = _x( 'Spam', 'site' );
</ins><span class="cx">                                                         $radio_fields['deleted']  = __( 'Deleted' );
</span><span class="cx">                                                 }
</span><span class="cx">                                                 $radio_fields['mature'] = __( 'Mature' );
</span><span class="lines">@@ -414,8 +414,8 @@
</span><span class="cx">                         &lt;select name=&quot;action&quot;&gt;
</span><span class="cx">                                 &lt;option value=&quot;-1&quot; selected=&quot;selected&quot;&gt;&lt;?php _e( 'Bulk Actions' ); ?&gt;&lt;/option&gt;
</span><span class="cx">                                 &lt;option value=&quot;delete&quot;&gt;&lt;?php _e( 'Delete' ); ?&gt;&lt;/option&gt;
</span><del>-                                &lt;option value=&quot;spam&quot;&gt;&lt;?php _e( 'Mark as Spam' ); ?&gt;&lt;/option&gt;
-                                &lt;option value=&quot;notspam&quot;&gt;&lt;?php _e( 'Not Spam' ); ?&gt;&lt;/option&gt;
</del><ins>+                                &lt;option value=&quot;spam&quot;&gt;&lt;?php echo _x( 'Mark as Spam', 'site' ); ?&gt;&lt;/option&gt;
+                                &lt;option value=&quot;notspam&quot;&gt;&lt;?php echo _x( 'Not Spam', 'site' ); ?&gt;&lt;/option&gt;
</ins><span class="cx">                         &lt;/select&gt;
</span><span class="cx">                         &lt;input type=&quot;submit&quot; value=&quot;&lt;?php esc_attr_e( 'Apply' ); ?&gt;&quot; name=&quot;doaction&quot; id=&quot;doaction&quot; class=&quot;button-secondary action&quot; /&gt;
</span><span class="cx">                         &lt;?php wp_nonce_field( 'bulk-ms-sites' ); ?&gt;
</span><span class="lines">@@ -448,7 +448,7 @@
</span><span class="cx">                         'id'           =&gt; __( 'ID' ),
</span><span class="cx">                         'blogname'     =&gt; $blogname_columns,
</span><span class="cx">                         'lastupdated'  =&gt; __( 'Last Updated'),
</span><del>-                        'registered'   =&gt; __( 'Registered' ),
</del><ins>+                        'registered'   =&gt; _x( 'Registered', 'site' ),
</ins><span class="cx">                         'users'        =&gt; __( 'Users' )
</span><span class="cx">                 );
</span><span class="cx"> 
</span><span class="lines">@@ -489,7 +489,7 @@
</span><span class="cx">                         &lt;/tfoot&gt;
</span><span class="cx">                         &lt;tbody id=&quot;the-site-list&quot; class=&quot;list:site&quot;&gt;
</span><span class="cx">                         &lt;?php
</span><del>-                        $status_list = array( 'archived' =&gt; array( 'site-archived', __( 'Archived' ) ), 'spam' =&gt; array( 'site-spammed', __( 'Spam' ) ), 'deleted' =&gt; array( 'site-deleted', __( 'Deleted' ) ), 'mature' =&gt; array( 'site-mature', __( 'Mature' ) ) );
</del><ins>+                        $status_list = array( 'archived' =&gt; array( 'site-archived', __( 'Archived' ) ), 'spam' =&gt; array( 'site-spammed', _x( 'Spam', 'site' ) ), 'deleted' =&gt; array( 'site-deleted', __( 'Deleted' ) ), 'mature' =&gt; array( 'site-mature', __( 'Mature' ) ) );
</ins><span class="cx">                         if ( $blog_list ) {
</span><span class="cx">                                 $class = '';
</span><span class="cx">                                 foreach ( $blog_list as $blog ) {
</span><span class="lines">@@ -534,7 +534,7 @@
</span><span class="cx">                                                                         &lt;a href=&quot;&lt;?php echo esc_url( admin_url( 'ms-sites.php?action=editblog&amp;amp;id=' . $blog['blog_id'] ) ); ?&gt;&quot; class=&quot;edit&quot;&gt;&lt;?php echo $blogname . $blog_state; ?&gt;&lt;/a&gt;
</span><span class="cx">                                                                         &lt;?php
</span><span class="cx">                                                                         if ( 'list' != $mode )
</span><del>-                                                                                echo '&lt;p&gt;' . sprintf( _x( '%1$s &amp;#8211; &lt;em&gt;%2$s', '%1$s: site name. %2$s: site tagline.' ), get_blog_option( $blog['blog_id'], 'blogname' ), get_blog_option( $blog['blog_id'], 'blogdescription ' ) ) . '&lt;/em&gt;&lt;/p&gt;';
</del><ins>+                                                                                echo '&lt;p&gt;' . sprintf( _x( '%1$s &amp;#8211; &lt;em&gt;%2$s&lt;/em&gt;', '%1$s: site name. %2$s: site tagline.' ), get_blog_option( $blog['blog_id'], 'blogname' ), get_blog_option( $blog['blog_id'], 'blogdescription ' ) ) . '&lt;/p&gt;';
</ins><span class="cx"> 
</span><span class="cx">                                                                         // Preordered.
</span><span class="cx">                                                                         $actions = array(
</span><span class="lines">@@ -557,12 +557,12 @@
</span><span class="cx">                                                                                 if ( get_blog_status( $blog['blog_id'], 'archived' ) == '1' )
</span><span class="cx">                                                                                         $actions['unarchive']        = '&lt;span class=&quot;archive&quot;&gt;&lt;a href=&quot;' . esc_url( admin_url( 'ms-edit.php?action=confirm&amp;amp;action2=unarchiveblog&amp;amp;id=' .  $blog['blog_id'] . '&amp;amp;msg=' . urlencode( sprintf( __( 'You are about to unarchive the site %s.' ), $blogname ) ) ) ) . '&quot;&gt;' . __( 'Unarchive' ) . '&lt;/a&gt;&lt;/span&gt;';
</span><span class="cx">                                                                                 else
</span><del>-                                                                                        $actions['archive']        = '&lt;span class=&quot;archive&quot;&gt;&lt;a href=&quot;' . esc_url( admin_url( 'ms-edit.php?action=confirm&amp;amp;action2=archiveblog&amp;amp;id=' . $blog['blog_id'] . '&amp;amp;msg=' . urlencode( sprintf( __( 'You are about to archive the site %s.' ), $blogname ) ) ) ) . '&quot;&gt;' . __( 'Archive' ) . '&lt;/a&gt;&lt;/span&gt;';
</del><ins>+                                                                                        $actions['archive']        = '&lt;span class=&quot;archive&quot;&gt;&lt;a href=&quot;' . esc_url( admin_url( 'ms-edit.php?action=confirm&amp;amp;action2=archiveblog&amp;amp;id=' . $blog['blog_id'] . '&amp;amp;msg=' . urlencode( sprintf( __( 'You are about to archive the site %s.' ), $blogname ) ) ) ) . '&quot;&gt;' . _x( 'Archive', 'verb; site' ) . '&lt;/a&gt;&lt;/span&gt;';
</ins><span class="cx"> 
</span><span class="cx">                                                                                 if ( get_blog_status( $blog['blog_id'], 'spam' ) == '1' )
</span><del>-                                                                                        $actions['unspam']        = '&lt;span class=&quot;spam&quot;&gt;&lt;a href=&quot;' . esc_url( admin_url( 'ms-edit.php?action=confirm&amp;amp;action2=unspamblog&amp;amp;id=' . $blog['blog_id'] . '&amp;amp;msg=' . urlencode( sprintf( __( 'You are about to unspam the site %s.' ), $blogname ) ) ) ) . '&quot;&gt;' . __( 'Not Spam' ) . '&lt;/a&gt;&lt;/span&gt;';
</del><ins>+                                                                                        $actions['unspam']        = '&lt;span class=&quot;spam&quot;&gt;&lt;a href=&quot;' . esc_url( admin_url( 'ms-edit.php?action=confirm&amp;amp;action2=unspamblog&amp;amp;id=' . $blog['blog_id'] . '&amp;amp;msg=' . urlencode( sprintf( __( 'You are about to unspam the site %s.' ), $blogname ) ) ) ) . '&quot;&gt;' . _x( 'Not Spam', 'site' ) . '&lt;/a&gt;&lt;/span&gt;';
</ins><span class="cx">                                                                                 else
</span><del>-                                                                                        $actions['spam']        = '&lt;span class=&quot;spam&quot;&gt;&lt;a href=&quot;' . esc_url( admin_url( 'ms-edit.php?action=confirm&amp;amp;action2=spamblog&amp;amp;id=' . $blog['blog_id'] . '&amp;amp;msg=' . urlencode( sprintf( __( 'You are about to mark the site %s as spam.' ), $blogname ) ) ) ) . '&quot;&gt;' . __( 'Spam' ) . '&lt;/a&gt;&lt;/span&gt;';
</del><ins>+                                                                                        $actions['spam']        = '&lt;span class=&quot;spam&quot;&gt;&lt;a href=&quot;' . esc_url( admin_url( 'ms-edit.php?action=confirm&amp;amp;action2=spamblog&amp;amp;id=' . $blog['blog_id'] . '&amp;amp;msg=' . urlencode( sprintf( __( 'You are about to mark the site %s as spam.' ), $blogname ) ) ) ) . '&quot;&gt;' . _x( 'Spam', 'site' ) . '&lt;/a&gt;&lt;/span&gt;';
</ins><span class="cx"> 
</span><span class="cx">                                                                                 $actions['delete']        = '&lt;span class=&quot;delete&quot;&gt;&lt;a href=&quot;' . esc_url( admin_url( 'ms-edit.php?action=confirm&amp;amp;action2=deleteblog&amp;amp;id=' . $blog['blog_id'] . '&amp;amp;msg=' . urlencode( sprintf( __( 'You are about to delete the site %s.' ), $blogname ) ) ) ) . '&quot;&gt;' . __( 'Delete' ) . '&lt;/a&gt;&lt;/span&gt;';
</span><span class="cx">                                                                         }
</span><span class="lines">@@ -665,8 +665,8 @@
</span><span class="cx">                         &lt;select name=&quot;action2&quot;&gt;
</span><span class="cx">                                 &lt;option value=&quot;-1&quot; selected=&quot;selected&quot;&gt;&lt;?php _e( 'Bulk Actions' ); ?&gt;&lt;/option&gt;
</span><span class="cx">                                 &lt;option value=&quot;delete&quot;&gt;&lt;?php _e( 'Delete' ); ?&gt;&lt;/option&gt;
</span><del>-                                &lt;option value=&quot;spam&quot;&gt;&lt;?php _e( 'Mark as Spam' ); ?&gt;&lt;/option&gt;
-                                &lt;option value=&quot;notspam&quot;&gt;&lt;?php _e( 'Not Spam' ); ?&gt;&lt;/option&gt;
</del><ins>+                                &lt;option value=&quot;spam&quot;&gt;&lt;?php echo _x( 'Mark as Spam', 'site' ); ?&gt;&lt;/option&gt;
+                                &lt;option value=&quot;notspam&quot;&gt;&lt;?php echo _x( 'Not Spam', 'site' ); ?&gt;&lt;/option&gt;
</ins><span class="cx">                         &lt;/select&gt;
</span><span class="cx">                         &lt;input type=&quot;submit&quot; value=&quot;&lt;?php esc_attr_e( 'Apply' ); ?&gt;&quot; name=&quot;doaction2&quot; id=&quot;doaction2&quot; class=&quot;button-secondary action&quot; /&gt;
</span><span class="cx">                         &lt;/div&gt;
</span></span></pre></div>
<a id="trunkwpadminmsusersphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/ms-users.php (14406 => 14407)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/ms-users.php        2010-05-03 20:34:49 UTC (rev 14406)
+++ trunk/wp-admin/ms-users.php        2010-05-03 20:37:07 UTC (rev 14407)
</span><span class="lines">@@ -130,8 +130,8 @@
</span><span class="cx">                                 &lt;select name=&quot;action&quot;&gt;
</span><span class="cx">                                         &lt;option value=&quot;-1&quot; selected=&quot;selected&quot;&gt;&lt;?php _e( 'Bulk Actions' ); ?&gt;&lt;/option&gt;
</span><span class="cx">                                         &lt;option value=&quot;delete&quot;&gt;&lt;?php _e( 'Delete' ); ?&gt;&lt;/option&gt;
</span><del>-                                        &lt;option value=&quot;spam&quot;&gt;&lt;?php _e( 'Mark as Spam' ); ?&gt;&lt;/option&gt;
-                                        &lt;option value=&quot;notspam&quot;&gt;&lt;?php _e( 'Not Spam' ); ?&gt;&lt;/option&gt;
</del><ins>+                                        &lt;option value=&quot;spam&quot;&gt;&lt;?php echo _x( 'Mark as Spam', 'user' ); ?&gt;&lt;/option&gt;
+                                        &lt;option value=&quot;notspam&quot;&gt;&lt;?php echo _x( 'Not Spam', 'user' ); ?&gt;&lt;/option&gt;
</ins><span class="cx">                                 &lt;/select&gt;
</span><span class="cx">                                 &lt;input type=&quot;submit&quot; value=&quot;&lt;?php esc_attr_e( 'Apply' ); ?&gt;&quot; name=&quot;doaction&quot; id=&quot;doaction&quot; class=&quot;button-secondary action&quot; /&gt;
</span><span class="cx">                                 &lt;?php wp_nonce_field( 'bulk-ms-users' ); ?&gt;
</span><span class="lines">@@ -162,7 +162,7 @@
</span><span class="cx">                         'login'      =&gt; __( 'Username' ),
</span><span class="cx">                         'name'       =&gt; __( 'Name' ),
</span><span class="cx">                         'email'      =&gt; __( 'E-mail' ),
</span><del>-                        'registered' =&gt; __( 'Registered' ),
</del><ins>+                        'registered' =&gt; _x( 'Registered', 'user' ),
</ins><span class="cx">                         'blogs'      =&gt; __( 'Sites' )
</span><span class="cx">                 );
</span><span class="cx">                 $users_columns = apply_filters( 'wpmu_users_columns', $users_columns );
</span><span class="lines">@@ -324,8 +324,8 @@
</span><span class="cx">                                 &lt;select name=&quot;action2&quot;&gt;
</span><span class="cx">                                         &lt;option value=&quot;-1&quot; selected=&quot;selected&quot;&gt;&lt;?php _e( 'Bulk Actions' ); ?&gt;&lt;/option&gt;
</span><span class="cx">                                         &lt;option value=&quot;delete&quot;&gt;&lt;?php _e( 'Delete' ); ?&gt;&lt;/option&gt;
</span><del>-                                        &lt;option value=&quot;spam&quot;&gt;&lt;?php _e( 'Mark as Spam' ); ?&gt;&lt;/option&gt;
-                                        &lt;option value=&quot;notspam&quot;&gt;&lt;?php _e( 'Not Spam' ); ?&gt;&lt;/option&gt;
</del><ins>+                                        &lt;option value=&quot;spam&quot;&gt;&lt;?php echo _x( 'Mark as Spam', 'user' ); ?&gt;&lt;/option&gt;
+                                        &lt;option value=&quot;notspam&quot;&gt;&lt;?php echo _x( 'Not Spam', 'user' ); ?&gt;&lt;/option&gt;
</ins><span class="cx">                                 &lt;/select&gt;
</span><span class="cx">                                 &lt;input type=&quot;submit&quot; value=&quot;&lt;?php esc_attr_e( 'Apply' ); ?&gt;&quot; name=&quot;doaction2&quot; id=&quot;doaction2&quot; class=&quot;button-secondary action&quot; /&gt;
</span><span class="cx">                         &lt;/div&gt;
</span></span></pre>
</div>
</div>

</body>
</html>