Make WordPress Core


Ignore:
Timestamp:
12/04/2008 12:01:02 PM (17 years ago)
Author:
azaozz
Message:

Easier translation for search strings in H2s

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/users.php

    r10034 r10035  
    240240<div class="wrap">
    241241<?php screen_icon(); ?>
    242 <?php $h2_search = isset($_GET['s']) && $_GET['s'] ? ' ' . sprintf(__('matching &#8220;%s&#8221;'), wp_specialchars( get_search_query() ) ) : ''; ?>
    243 <h2><?php echo wp_specialchars( $title ) . $h2_search; ?></h2>
     242<h2><?php echo wp_specialchars( $title );
     243<?php if ( isset($_GET['s']) && $_GET['s'] )
     244    printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', wp_specialchars( get_search_query() ) ); ?>
     245<h2>
    244246
    245247<div class="filter">
Note: See TracChangeset for help on using the changeset viewer.