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/edit.php

    r10034 r10035  
    9797<div class="wrap">
    9898<?php screen_icon(); ?>
    99 <?php $h2_search = isset($_GET['s']) && $_GET['s'] ? ' ' . sprintf(__('matching &#8220;%s&#8221;'), wp_specialchars( get_search_query() ) ) : ''; ?>
    100 <h2><?php echo wp_specialchars( $title ) . $h2_search; ?></h2>
     99<h2><?php echo wp_specialchars( $title );
     100if ( isset($_GET['s']) && $_GET['s'] )
     101    printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', wp_specialchars( get_search_query() ) ); ?>
     102</h2>
    101103
    102104<?php
Note: See TracChangeset for help on using the changeset viewer.