Changeset 14407 for trunk/wp-admin/ms-sites.php
- Timestamp:
- 05/03/2010 08:37:07 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/ms-sites.php
r14374 r14407 114 114 </tr> 115 115 <tr class="form-field"> 116 <th scope="row"><?php _e( 'Registered') ?></th>116 <th scope="row"><?php echo _x( 'Registered', 'site' ) ?></th> 117 117 <td><input name="blog[registered]" type="text" id="blog_registered" value="<?php echo esc_attr( $details->registered ) ?>" size="40" /></td> 118 118 </tr> … … 125 125 if ( ! $is_main_site ) { 126 126 $radio_fields['archived'] = __( 'Archived' ); 127 $radio_fields['spam'] = _ _( 'Spam' );127 $radio_fields['spam'] = _x( 'Spam', 'site' ); 128 128 $radio_fields['deleted'] = __( 'Deleted' ); 129 129 } … … 415 415 <option value="-1" selected="selected"><?php _e( 'Bulk Actions' ); ?></option> 416 416 <option value="delete"><?php _e( 'Delete' ); ?></option> 417 <option value="spam"><?php _e( 'Mark as Spam' ); ?></option>418 <option value="notspam"><?php _e( 'Not Spam' ); ?></option>417 <option value="spam"><?php echo _x( 'Mark as Spam', 'site' ); ?></option> 418 <option value="notspam"><?php echo _x( 'Not Spam', 'site' ); ?></option> 419 419 </select> 420 420 <input type="submit" value="<?php esc_attr_e( 'Apply' ); ?>" name="doaction" id="doaction" class="button-secondary action" /> … … 449 449 'blogname' => $blogname_columns, 450 450 'lastupdated' => __( 'Last Updated'), 451 'registered' => _ _( 'Registered' ),451 'registered' => _x( 'Registered', 'site' ), 452 452 'users' => __( 'Users' ) 453 453 ); … … 490 490 <tbody id="the-site-list" class="list:site"> 491 491 <?php 492 $status_list = array( 'archived' => array( 'site-archived', __( 'Archived' ) ), 'spam' => array( 'site-spammed', _ _( 'Spam' ) ), 'deleted' => array( 'site-deleted', __( 'Deleted' ) ), 'mature' => array( 'site-mature', __( 'Mature' ) ) );492 $status_list = array( 'archived' => array( 'site-archived', __( 'Archived' ) ), 'spam' => array( 'site-spammed', _x( 'Spam', 'site' ) ), 'deleted' => array( 'site-deleted', __( 'Deleted' ) ), 'mature' => array( 'site-mature', __( 'Mature' ) ) ); 493 493 if ( $blog_list ) { 494 494 $class = ''; … … 535 535 <?php 536 536 if ( 'list' != $mode ) 537 echo '<p>' . sprintf( _x( '%1$s – <em>%2$s ', '%1$s: site name. %2$s: site tagline.' ), get_blog_option( $blog['blog_id'], 'blogname' ), get_blog_option( $blog['blog_id'], 'blogdescription ' ) ) . '</em></p>';537 echo '<p>' . sprintf( _x( '%1$s – <em>%2$s</em>', '%1$s: site name. %2$s: site tagline.' ), get_blog_option( $blog['blog_id'], 'blogname' ), get_blog_option( $blog['blog_id'], 'blogdescription ' ) ) . '</p>'; 538 538 539 539 // Preordered. … … 558 558 $actions['unarchive'] = '<span class="archive"><a href="' . esc_url( admin_url( 'ms-edit.php?action=confirm&action2=unarchiveblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( 'You are about to unarchive the site %s.' ), $blogname ) ) ) ) . '">' . __( 'Unarchive' ) . '</a></span>'; 559 559 else 560 $actions['archive'] = '<span class="archive"><a href="' . esc_url( admin_url( 'ms-edit.php?action=confirm&action2=archiveblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( 'You are about to archive the site %s.' ), $blogname ) ) ) ) . '">' . _ _( 'Archive' ) . '</a></span>';560 $actions['archive'] = '<span class="archive"><a href="' . esc_url( admin_url( 'ms-edit.php?action=confirm&action2=archiveblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( 'You are about to archive the site %s.' ), $blogname ) ) ) ) . '">' . _x( 'Archive', 'verb; site' ) . '</a></span>'; 561 561 562 562 if ( get_blog_status( $blog['blog_id'], 'spam' ) == '1' ) 563 $actions['unspam'] = '<span class="spam"><a href="' . esc_url( admin_url( 'ms-edit.php?action=confirm&action2=unspamblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( 'You are about to unspam the site %s.' ), $blogname ) ) ) ) . '">' . _ _( 'Not Spam' ) . '</a></span>';563 $actions['unspam'] = '<span class="spam"><a href="' . esc_url( admin_url( 'ms-edit.php?action=confirm&action2=unspamblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( 'You are about to unspam the site %s.' ), $blogname ) ) ) ) . '">' . _x( 'Not Spam', 'site' ) . '</a></span>'; 564 564 else 565 $actions['spam'] = '<span class="spam"><a href="' . esc_url( admin_url( 'ms-edit.php?action=confirm&action2=spamblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( 'You are about to mark the site %s as spam.' ), $blogname ) ) ) ) . '">' . _ _( 'Spam' ) . '</a></span>';565 $actions['spam'] = '<span class="spam"><a href="' . esc_url( admin_url( 'ms-edit.php?action=confirm&action2=spamblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( 'You are about to mark the site %s as spam.' ), $blogname ) ) ) ) . '">' . _x( 'Spam', 'site' ) . '</a></span>'; 566 566 567 567 $actions['delete'] = '<span class="delete"><a href="' . esc_url( admin_url( 'ms-edit.php?action=confirm&action2=deleteblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( 'You are about to delete the site %s.' ), $blogname ) ) ) ) . '">' . __( 'Delete' ) . '</a></span>'; … … 666 666 <option value="-1" selected="selected"><?php _e( 'Bulk Actions' ); ?></option> 667 667 <option value="delete"><?php _e( 'Delete' ); ?></option> 668 <option value="spam"><?php _e( 'Mark as Spam' ); ?></option>669 <option value="notspam"><?php _e( 'Not Spam' ); ?></option>668 <option value="spam"><?php echo _x( 'Mark as Spam', 'site' ); ?></option> 669 <option value="notspam"><?php echo _x( 'Not Spam', 'site' ); ?></option> 670 670 </select> 671 671 <input type="submit" value="<?php esc_attr_e( 'Apply' ); ?>" name="doaction2" id="doaction2" class="button-secondary action" />
Note: See TracChangeset
for help on using the changeset viewer.