Easier translation for search strings in H2s

git-svn-id: http://svn.automattic.com/wordpress/trunk@10035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz
2008-12-04 12:01:02 +00:00
parent e53337ede8
commit 0284ef6ae0
10 changed files with 42 additions and 18 deletions

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">