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:
parent
e53337ede8
commit
0284ef6ae0
|
@ -131,8 +131,10 @@ $messages[5] = __('Category not updated.');
|
|||
|
||||
<div class="wrap nosubsub">
|
||||
<?php screen_icon(); ?>
|
||||
<?php $h2_search = isset($_GET['s']) && $_GET['s'] ? ' ' . sprintf(__('matching “%s”'), wp_specialchars( stripslashes($_GET['s']) ) ) : ''; ?>
|
||||
<h2><?php echo wp_specialchars( $title ) . $h2_search; ?></h2>
|
||||
<h2><?php echo wp_specialchars( $title );
|
||||
if ( isset($_GET['s']) && $_GET['s'] )
|
||||
printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', wp_specialchars( stripslashes($_GET['s']) ) ); ?>
|
||||
</h2>
|
||||
|
||||
<?php
|
||||
if ( isset($_GET['message']) && ( $msg = (int) $_GET['message'] ) ) : ?>
|
||||
|
|
|
@ -86,8 +86,10 @@ $search = attribute_escape( $search_dirty ); ?>
|
|||
|
||||
<div class="wrap">
|
||||
<?php screen_icon(); ?>
|
||||
<?php $h2_search = isset($_GET['s']) && $_GET['s'] ? ' ' . sprintf(__('matching “%s”'), wp_specialchars( stripslashes($_GET['s']) ) ) : ''; ?>
|
||||
<h2><?php echo wp_specialchars( $title ) . $h2_search; ?></h2>
|
||||
<h2><?php echo wp_specialchars( $title );
|
||||
if ( isset($_GET['s']) && $_GET['s'] )
|
||||
printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', wp_specialchars( stripslashes($_GET['s']) ) ); ?>
|
||||
</h2>
|
||||
|
||||
<?php
|
||||
if ( isset( $_GET['approved'] ) || isset( $_GET['deleted'] ) || isset( $_GET['spam'] ) ) {
|
||||
|
|
|
@ -61,8 +61,10 @@ $messages[6] = __('Categories deleted.'); ?>
|
|||
|
||||
<div class="wrap nosubsub">
|
||||
<?php screen_icon(); ?>
|
||||
<?php $h2_search = isset($_GET['s']) && $_GET['s'] ? ' ' . sprintf(__('matching “%s”'), wp_specialchars( stripslashes($_GET['s']) ) ) : ''; ?>
|
||||
<h2><?php echo wp_specialchars( $title ) . $h2_search; ?></h2>
|
||||
<h2><?php echo wp_specialchars( $title );
|
||||
if ( isset($_GET['s']) && $_GET['s'] )
|
||||
printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', wp_specialchars( stripslashes($_GET['s']) ) ); ?>
|
||||
</h2>
|
||||
|
||||
<?php if ( isset($_GET['message']) && ( $msg = (int) $_GET['message'] ) ) : ?>
|
||||
<div id="message" class="updated fade"><p><?php echo $messages[$msg]; ?></p></div>
|
||||
|
|
|
@ -104,8 +104,10 @@ require_once('admin-header.php'); ?>
|
|||
|
||||
<div class="wrap">
|
||||
<?php screen_icon(); ?>
|
||||
<?php $h2_search = isset($_GET['s']) && $_GET['s'] ? ' ' . sprintf(__('matching “%s”'), wp_specialchars( get_search_query() ) ) : ''; ?>
|
||||
<h2><?php echo wp_specialchars( $title ) . $h2_search; ?></h2>
|
||||
<h2><?php echo wp_specialchars( $title );
|
||||
if ( isset($_GET['s']) && $_GET['s'] )
|
||||
printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', wp_specialchars( get_search_query() ) ); ?>
|
||||
</h2>
|
||||
|
||||
<?php if ( isset($_GET['locked']) || isset($_GET['skipped']) || isset($_GET['updated']) || isset($_GET['deleted']) ) { ?>
|
||||
<div id="message" class="updated fade"><p>
|
||||
|
|
|
@ -130,8 +130,10 @@ $messages[6] = __('Tags deleted.'); ?>
|
|||
|
||||
<div class="wrap nosubsub">
|
||||
<?php screen_icon(); ?>
|
||||
<?php $h2_search = isset($_GET['s']) && $_GET['s'] ? ' ' . sprintf(__('matching “%s”'), wp_specialchars( stripslashes($_GET['s']) ) ) : ''; ?>
|
||||
<h2><?php echo wp_specialchars( $title ) . $h2_search; ?></h2>
|
||||
<h2><?php echo wp_specialchars( $title );
|
||||
if ( isset($_GET['s']) && $_GET['s'] )
|
||||
printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', wp_specialchars( stripslashes($_GET['s']) ) ); ?>
|
||||
</h2>
|
||||
|
||||
<?php if ( isset($_GET['message']) && ( $msg = (int) $_GET['message'] ) ) : ?>
|
||||
<div id="message" class="updated fade"><p><?php echo $messages[$msg]; ?></p></div>
|
||||
|
|
|
@ -96,8 +96,10 @@ else
|
|||
|
||||
<div class="wrap">
|
||||
<?php screen_icon(); ?>
|
||||
<?php $h2_search = isset($_GET['s']) && $_GET['s'] ? ' ' . sprintf(__('matching “%s”'), wp_specialchars( get_search_query() ) ) : ''; ?>
|
||||
<h2><?php echo wp_specialchars( $title ) . $h2_search; ?></h2>
|
||||
<h2><?php echo wp_specialchars( $title );
|
||||
if ( isset($_GET['s']) && $_GET['s'] )
|
||||
printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', wp_specialchars( get_search_query() ) ); ?>
|
||||
</h2>
|
||||
|
||||
<?php
|
||||
if ( isset($_GET['posted']) && $_GET['posted'] ) : $_GET['posted'] = (int) $_GET['posted']; ?>
|
||||
|
|
|
@ -71,8 +71,10 @@ switch ($order_by) {
|
|||
|
||||
<div class="wrap nosubsub">
|
||||
<?php screen_icon(); ?>
|
||||
<?php $h2_search = isset($_GET['s']) && $_GET['s'] ? ' ' . sprintf(__('matching “%s”'), wp_specialchars( stripslashes($_GET['s']) ) ) : ''; ?>
|
||||
<h2><?php echo wp_specialchars( $title ) . $h2_search; ?></h2>
|
||||
<h2><?php echo wp_specialchars( $title );
|
||||
if ( isset($_GET['s']) && $_GET['s'] )
|
||||
printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', wp_specialchars( stripslashes($_GET['s']) ) ); ?>
|
||||
</h2>
|
||||
|
||||
<?php
|
||||
if ( isset($_GET['deleted']) ) {
|
||||
|
|
|
@ -164,8 +164,10 @@ if ( isset($_GET['message']) && (int) $_GET['message'] ) {
|
|||
|
||||
<div class="wrap">
|
||||
<?php screen_icon(); ?>
|
||||
<?php $h2_search = isset($_GET['s']) && $_GET['s'] ? ' ' . sprintf(__('matching “%s”'), 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 “%s”') . '</span>', wp_specialchars( get_search_query() ) ); ?>
|
||||
</h2>
|
||||
|
||||
<?php
|
||||
if ( isset($message) ) { ?>
|
||||
|
|
|
@ -239,8 +239,10 @@ if ( ! empty($messages) ) {
|
|||
|
||||
<div class="wrap">
|
||||
<?php screen_icon(); ?>
|
||||
<?php $h2_search = isset($_GET['s']) && $_GET['s'] ? ' ' . sprintf(__('matching “%s”'), 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 “%s”') . '</span>', wp_specialchars( get_search_query() ) ); ?>
|
||||
<h2>
|
||||
|
||||
<div class="filter">
|
||||
<form id="list-filter" action="" method="get">
|
||||
|
|
|
@ -2917,3 +2917,9 @@ table.fixed {
|
|||
.key-labels label {
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
font-size: 0.75em;
|
||||
line-height: 1;
|
||||
padding-left: 25px;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue