Make WordPress Core


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

Easier translation for search strings in H2s

File:
1 edited

Legend:

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

    r10034 r10035  
    132132<div class="wrap nosubsub">
    133133<?php screen_icon(); ?>
    134 <?php $h2_search = isset($_GET['s']) && $_GET['s'] ? ' ' . sprintf(__('matching &#8220;%s&#8221;'), wp_specialchars( stripslashes($_GET['s']) ) ) : ''; ?>
    135 <h2><?php echo wp_specialchars( $title ) . $h2_search; ?></h2>
     134<h2><?php echo wp_specialchars( $title );
     135if ( isset($_GET['s']) && $_GET['s'] )
     136    printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', wp_specialchars( stripslashes($_GET['s']) ) ); ?>
     137</h2>
    136138
    137139<?php
Note: See TracChangeset for help on using the changeset viewer.