WordPress.org

Make WordPress Core

Changeset 17233


Ignore:
Timestamp:
01/07/2011 04:23:52 PM (9 years ago)
Author:
ryan
Message:

Add context to string. Props nbachiyski. fixes #16130

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/themes.php

    r17230 r17233  
    205205} elseif ( isset( $_GET['deleted'] ) ) {
    206206    $_GET['deleted'] = absint( $_GET['deleted'] );
    207     echo '<div id="message" class="updated"><p>' . sprintf( _n( 'Theme deleted.', '%s themes deleted.', $_GET['deleted'] ), number_format_i18n( $_GET['deleted'] ) ) . '</p></div>';
     207    echo '<div id="message" class="updated"><p>' . sprintf( _nx( 'Theme deleted.', '%s themes deleted.', $_GET['deleted'], 'network' ), number_format_i18n( $_GET['deleted'] ) ) . '</p></div>';
    208208} elseif ( isset( $_GET['error'] ) && 'none' == $_GET['error'] ) {
    209209    echo '<div id="message" class="error"><p>' . __( 'No theme selected.' ) . '</p></div>';
Note: See TracChangeset for help on using the changeset viewer.