From fba836e57d865b71b5a895cf02bafe5ab2e71ff7 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 4 Sep 2007 22:50:31 +0000 Subject: [PATCH] mprove desriptions for I18N strings. Props nbachiyski. fixes #4906 git-svn-id: https://develop.svn.wordpress.org/trunk@6034 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/edit-pages.php | 2 +- wp-admin/edit.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/edit-pages.php b/wp-admin/edit-pages.php index 0dd3548d30..f2633481b2 100644 --- a/wp-admin/edit-pages.php +++ b/wp-admin/edit-pages.php @@ -31,7 +31,7 @@ if ( isset($_GET['author']) && $_GET['author'] ) { $author_user = get_userdata( (int) $_GET['author'] ); $h2_author = ' ' . sprintf(__('by %s'), wp_specialchars( $author_user->display_name )); } -printf( _c( '%1$s%2$s%3$s|You can reorder these: 1: Pages, 2: by %s, 3: matching %s' ), $post_status_label, $h2_author, $h2_search ); +printf( _c( '%1$s%2$s%3$s|You can reorder these: 1: Pages, 2: by {s}, 3: matching {s}' ), $post_status_label, $h2_author, $h2_search ); ?>

diff --git a/wp-admin/edit.php b/wp-admin/edit.php index cb6453bfe0..5bfe1cb8fc 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -89,7 +89,7 @@ if ( is_single() ) { $h2_search = isset($_GET['s']) && $_GET['s'] ? ' ' . sprintf(__('matching “%s”'), wp_specialchars( get_search_query() ) ) : ''; $h2_cat = isset($_GET['cat']) && $_GET['cat'] ? ' ' . sprintf( __('in “%s”'), single_cat_title('', false) ) : ''; $h2_month = isset($_GET['m']) && $_GET['m'] ? ' ' . sprintf( __('during %s'), single_month_title(' ', false) ) : ''; - printf( _c( '%1$s%2$s%3$s%4$s%5$s|You can reorder these: 1: Posts, 2: by %s, 3: matching %s, 4: in %s, 5: during %s' ), $h2_noun, $h2_author, $h2_search, $h2_cat, $h2_month ); + printf( _c( '%1$s%2$s%3$s%4$s%5$s|You can reorder these: 1: Posts, 2: by {s}, 3: matching {s}, 4: in {s}, 5: during {s}' ), $h2_noun, $h2_author, $h2_search, $h2_cat, $h2_month ); } ?>