Gettext strings. Props SteveAgl. fixes #5865
git-svn-id: https://develop.svn.wordpress.org/trunk@6859 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d50b16fba6
commit
e7785596b4
|
@ -88,7 +88,7 @@ foreach ( $post_stati as $status => $label ) {
|
||||||
sprintf($label[2], $num_posts->$status) . '</a>';
|
sprintf($label[2], $num_posts->$status) . '</a>';
|
||||||
}
|
}
|
||||||
$class = empty($_GET['post_status']) ? ' class="current"' : '';
|
$class = empty($_GET['post_status']) ? ' class="current"' : '';
|
||||||
$status_links[] = "<li><a href=\"edit-pages.php\"$class>All Pages</a>";
|
$status_links[] = "<li><a href=\"edit-pages.php\"$class><?php _e('All Pages'); ?></a>";
|
||||||
echo implode(' |</li>', $status_links) . '</li>';
|
echo implode(' |</li>', $status_links) . '</li>';
|
||||||
unset($status_links);
|
unset($status_links);
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -95,7 +95,7 @@ foreach ( $post_stati as $status => $label ) {
|
||||||
sprintf($label[2], $num_posts->$status) . '</a>';
|
sprintf($label[2], $num_posts->$status) . '</a>';
|
||||||
}
|
}
|
||||||
$class = empty($_GET['post_status']) ? ' class="current"' : '';
|
$class = empty($_GET['post_status']) ? ' class="current"' : '';
|
||||||
$status_links[] = "<li><a href=\"edit.php\"$class>All Posts</a>";
|
$status_links[] = "<li><a href=\"edit.php\"$class><?php _e('All Posts'); ?></a>";
|
||||||
echo implode(' |</li>', $status_links) . '</li>';
|
echo implode(' |</li>', $status_links) . '</li>';
|
||||||
unset($status_links);
|
unset($status_links);
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue