Easier translation for search strings in H2s

git-svn-id: https://develop.svn.wordpress.org/trunk@10035 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2008-12-04 12:01:02 +00:00
parent 29bca3d957
commit c0b6062654
10 changed files with 42 additions and 18 deletions
+4 -2
View File
@@ -239,8 +239,10 @@ if ( ! empty($messages) ) {
<div class="wrap">
<?php screen_icon(); ?>
<?php $h2_search = isset($_GET['s']) && $_GET['s'] ? ' ' . sprintf(__('matching &#8220;%s&#8221;'), wp_specialchars( get_search_query() ) ) : ''; ?>
<h2><?php echo wp_specialchars( $title ) . $h2_search; ?></h2>
<h2><?php echo wp_specialchars( $title );
<?php if ( isset($_GET['s']) && $_GET['s'] )
printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', wp_specialchars( get_search_query() ) ); ?>
<h2>
<div class="filter">
<form id="list-filter" action="" method="get">