diff --git a/wp-admin/admin-ajax.php b/wp-admin/admin-ajax.php index a2ee9c028..35d9e88bb 100644 --- a/wp-admin/admin-ajax.php +++ b/wp-admin/admin-ajax.php @@ -28,7 +28,7 @@ if ( ! is_user_logged_in() ) { if ( ! $id ) die('-1'); - $message = sprintf( __('ALERT: You are logged out! Could not save draft. Please log in again.'), wp_login_url() ); + $message = sprintf( __('ALERT: You are logged out! Could not save draft. Please log in again.'), wp_login_url() ); $x = new WP_Ajax_Response( array( 'what' => 'autosave', 'id' => $id, @@ -919,7 +919,7 @@ case 'autosave' : // The name of this action is hardcoded in edit_post() $data = ''; /* translators: draft saved date format, see http://php.net/date */ $draft_saved_date_format = __('g:i:s a'); - $message = sprintf( __('Draft Saved at %s.'), date_i18n( $draft_saved_date_format ) ); + $message = sprintf( __('Draft saved at %s.'), date_i18n( $draft_saved_date_format ) ); $supplemental = array(); if ( isset($login_grace_period) ) diff --git a/wp-admin/comment.php b/wp-admin/comment.php index 8b63a57a2..cae90c5c5 100644 --- a/wp-admin/comment.php +++ b/wp-admin/comment.php @@ -132,7 +132,7 @@ switch ( $action ) { -

+

diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index e5b01a65f..0ea72a3ba 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -177,7 +177,7 @@ $num_comments = ( $post_id ) ? wp_count_comments( $post_id ) : wp_count_comments //, number_format_i18n($num_comments->moderated) ), "" . number_format_i18n($num_comments->moderated) . ""), //, number_format_i18n($num_comments->spam) ), "" . number_format_i18n($num_comments->spam) . "") $stati = array( - 'all' => _n_noop('All', 'All'), // singular not used + 'all' => _nx_noop('All', 'All', 'comments'), // singular not used 'moderated' => _n_noop('Pending (%s)', 'Pending (%s)'), 'approved' => _n_noop('Approved', 'Approved'), // singular not used 'spam' => _n_noop('Spam (%s)', 'Spam (%s)'), diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index b2ac3c810..6da4affb0 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -27,12 +27,14 @@ $messages['post'] = array( __('Custom field updated.'), __('Custom field deleted.'), __('Post updated.'), + /* translators: %s: date and time of the revision */ isset($_GET['revision']) ? sprintf( __('Post restored to revision from %s'), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false, sprintf( __('Post published. View post'), get_permalink($post_ID) ), __('Post saved.'), sprintf( __('Post submitted. Preview post'), add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ), - // translators: Publish box date format, see http://php.net/date - Same as in meta-boxes.php - sprintf( __('Post scheduled for: %1$s. Preview post'), date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), get_permalink($post_ID) ), + sprintf( __('Post scheduled for: %1$s. Preview post'), + // translators: Publish box date format, see http://php.net/date + date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), get_permalink($post_ID) ), sprintf( __('Post draft updated. Preview post'), add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ) ); $messages['page'] = array( @@ -44,8 +46,7 @@ $messages['page'] = array( isset($_GET['revision']) ? sprintf( __('Page restored to revision from %s'), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false, sprintf( __('Page published. View page'), get_permalink($post_ID) ), sprintf( __('Page submitted. Preview page'), add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ), - // translators: Publish box date format, see http://php.net/date - Same as in meta-boxes.php - sprintf( __('Page scheduled for: %1$s. Preview page'), date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), get_permalink($post_ID) ), + sprintf( __('Page scheduled for: %1$s. Preview page'), date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), get_permalink($post_ID) ), sprintf( __('Page draft updated. Preview page'), add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ) ); @@ -75,7 +76,7 @@ if ( 0 == $post_ID ) { if ( $autosave && mysql2date( 'U', $autosave->post_modified_gmt, false ) > mysql2date( 'U', $post->post_modified_gmt, false ) ) { foreach ( _wp_post_revision_fields() as $autosave_field => $_autosave_field ) { if ( normalize_whitespace( $autosave->$autosave_field ) != normalize_whitespace( $post->$autosave_field ) ) { - $notice = sprintf( __( 'There is an autosave of this post that is more recent than the version below. View the autosave.' ), get_edit_post_link( $autosave->ID ) ); + $notice = sprintf( __( 'There is an autosave of this post that is more recent than the version below. View the autosave' ), get_edit_post_link( $autosave->ID ) ); break; } } diff --git a/wp-admin/edit.php b/wp-admin/edit.php index 950e3b094..a1e7ebce9 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -171,7 +171,7 @@ if ( isset($_GET['s']) && $_GET['s'] ) -

|

+

|

diff --git a/wp-admin/import/blogger.php b/wp-admin/import/blogger.php index 9b0e929a3..68ee46760 100644 --- a/wp-admin/import/blogger.php +++ b/wp-admin/import/blogger.php @@ -659,7 +659,7 @@ class Blogger_Import { $this->save_vars(); } - $directions = __('All posts were imported with the current user as author. Use this form to move each Blogger user’s posts to a different WordPress user. You may add users and then return to this page and complete the user mapping. This form may be used as many times as you like until you activate the “Restart” function below.'); + $directions = sprintf( __('All posts were imported with the current user as author. Use this form to move each Blogger user’s posts to a different WordPress user. You may add users and then return to this page and complete the user mapping. This form may be used as many times as you like until you activate the “Restart” function below.'), 'users.php' ); $heading = __('Author mapping'); $blogtitle = "{$blog['title']} ({$blog['host']})"; $mapthis = __('Blogger username'); diff --git a/wp-admin/import/greymatter.php b/wp-admin/import/greymatter.php index 885f05c99..beff01950 100644 --- a/wp-admin/import/greymatter.php +++ b/wp-admin/import/greymatter.php @@ -42,7 +42,7 @@ class GM_Import {

 

diff --git a/wp-admin/import/livejournal.php b/wp-admin/import/livejournal.php index 049a42c8c..b2f7936ca 100644 --- a/wp-admin/import/livejournal.php +++ b/wp-admin/import/livejournal.php @@ -490,7 +490,7 @@ class LJ_API_Import { update_option( 'ljapi_maxid', $maxid ); update_option( 'ljapi_highest_id', $highest_id ); - echo '

' . __( ' Comment metadata downloaded successfully, proceeding with comment bodies...' ) . '

'; + echo '

' . __( 'Comment metadata downloaded successfully, proceeding with comment bodies...' ) . '

'; return true; } diff --git a/wp-admin/import/mt.php b/wp-admin/import/mt.php index c570fc91e..724eece8f 100644 --- a/wp-admin/import/mt.php +++ b/wp-admin/import/mt.php @@ -59,7 +59,7 @@ class MT_Import { global $wpdb; $users = $wpdb->get_results("SELECT * FROM $wpdb->users ORDER BY ID"); ?> "; + $image_edit_button = " "; } $attachment_url = get_permalink( $attachment_id ); @@ -1772,14 +1772,14 @@ jQuery(function($){ diff --git a/wp-admin/includes/meta-boxes.php b/wp-admin/includes/meta-boxes.php index cd7955e9f..87dab8cd5 100644 --- a/wp-admin/includes/meta-boxes.php +++ b/wp-admin/includes/meta-boxes.php @@ -378,7 +378,7 @@ function post_comment_status_meta_box($post) {


- +

+_blank — new window or tab.'); ?>

+_top — current window or tab, with no frames.'); ?>

+_none — same window or tab.'); ?>

-

+

@@ -503,7 +503,7 @@ function install_plugin_information() { endswitch; ?>

-

+