diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php
index d260b5823b..2d50a104c0 100644
--- a/wp-admin/admin-functions.php
+++ b/wp-admin/admin-functions.php
@@ -40,10 +40,10 @@ function wp_write_post() {
if ( $_POST['post_author'] != $_POST['user_ID'] ) {
if ( 'page' == $_POST['post_type'] ) {
if ( !current_user_can( 'edit_others_pages' ) )
- return new WP_Error( 'edit_others_pages', __( 'You cannot create pages as this user.' ) );
+ return new WP_Error( 'edit_others_pages', __( 'You are not allowed to create pages as this user.' ) );
} else {
if ( !current_user_can( 'edit_others_posts' ) )
- return new WP_Error( 'edit_others_posts', __( 'You cannot post as this user.' ) );
+ return new WP_Error( 'edit_others_posts', __( 'You are not allowed to post as this user.' ) );
}
}
@@ -184,10 +184,10 @@ function edit_post() {
if ( $_POST['post_author'] != $_POST['user_ID'] ) {
if ( 'page' == $_POST['post_type'] ) {
if ( !current_user_can( 'edit_others_pages' ) )
- wp_die( __('You cannot edit pages as this user.' ));
+ wp_die( __('You are not allowed to edit pages as this user.' ));
} else {
if ( !current_user_can( 'edit_others_posts' ) )
- wp_die( __('You cannot edit posts as this user.' ));
+ wp_die( __('You are not allowed to edit posts as this user.' ));
}
}
@@ -561,7 +561,7 @@ function add_link() {
function edit_link( $link_id = '' ) {
if (!current_user_can( 'manage_links' ))
- wp_die( __("Cheatin' uh ?" ));
+ wp_die( __( 'Cheatin&8217; uh?' ));
$_POST['link_url'] = wp_specialchars( $_POST['link_url'] );
$_POST['link_url'] = preg_match('/^(https?|ftps?|mailto|news|irc|gopher|nntp|feed|telnet):/is', $_POST['link_url']) ? $_POST['link_url'] : 'http://' . $_POST['link_url'];
@@ -826,7 +826,7 @@ function user_row( $user_object, $style = '' ) {
$r .= "\n\t\t
";
if ( $numposts > 0 ) {
$r .= "";
- $r .= sprintf( __('View %1$s %2$s' ), $numposts, __ngettext( 'post', 'posts', $numposts ));
+ $r .= sprintf(__ngettext( 'View %s post', 'View %s posts', $numposts ), $numposts);
$r .= '';
}
$r .= " | \n\t\t";
@@ -1069,9 +1069,7 @@ function touch_time( $edit = 1, $for_post = 1 ) {
get_month( $mm ) . "$jj, $aa @ $hh:$mn";
- echo sprintf( __(': %1$s %2$s, %3$s @ %4$s:%5$s' ), $wp_locale->get_month( $mm ), $jj, $aa, $hh, $mn );
+ printf( __('Existing timestamp: %1$s %2$s, %3$s @ %4$s:%5$s' ), $wp_locale->get_month( $mm ), $jj, $aa, $hh, $mn );
}
?>
diff --git a/wp-admin/categories.php b/wp-admin/categories.php
index 0bdd68f500..a1017270e1 100644
--- a/wp-admin/categories.php
+++ b/wp-admin/categories.php
@@ -34,10 +34,10 @@ case 'delete':
// Don't delete the default cats.
if ( $cat_ID == get_option('default_category') )
- wp_die(sprintf(__("Can't delete the %s category: this is the default one"), $cat_name));
+ wp_die(sprintf(__("Can&8217;t delete the %s category: this is the default one"), $cat_name));
if ( $cat_ID == get_option('default_link_category') )
- wp_die(sprintf(__("Can't delete the %s category: this is the default one for links"), $cat_name));
+ wp_die(sprintf(__("Can&8217;t delete the %s category: this is the default one for links"), $cat_name));
wp_delete_category($cat_ID);
diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php
index 52b2bc156d..dfa1a23efa 100644
--- a/wp-admin/edit-comments.php
+++ b/wp-admin/edit-comments.php
@@ -67,10 +67,11 @@ if ( !empty( $_POST['delete_comments'] ) ) :
}
endforeach;
echo '';
- if ( !empty( $_POST['spam_button'] ) )
- printf(__('%s comments marked as spam.'), $i);
- else
- printf(__('%s comments deleted.'), $i);
+ if ( !empty( $_POST['spam_button'] ) ) {
+ printf(__ngettext('%s comment marked as spam', '%s comments marked as spam.', $i), $i);
+ } else {
+ printf(__ngettext('%s comment deleted.', '%s comments deleted.', $i), $i);
+ }
echo ' ';
endif;
diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php
index 4e2858718e..133e7dd32e 100644
--- a/wp-admin/edit-form-advanced.php
+++ b/wp-admin/edit-form-advanced.php
@@ -206,7 +206,7 @@ if (current_user_can('upload_files')) {
- : ()
+ ()
comment_ID ); ?>: |
- />
+ | />
diff --git a/wp-admin/edit-form.php b/wp-admin/edit-form.php
index d907a629e6..8ed3d54374 100644
--- a/wp-admin/edit-form.php
+++ b/wp-admin/edit-form.php
@@ -51,7 +51,7 @@ edCanvas = document.getElementById('content');
- (Separate multiple URLs with spaces.) '), 'http://wordpress.org/docs/reference/post/#trackback') ?>
+ (Separate multiple URLs with spaces.)'), 'http://wordpress.org/docs/reference/post/#trackback'); echo ' '; ?>
diff --git a/wp-admin/edit-page-form.php b/wp-admin/edit-page-form.php
index 9d48a85931..5247f17932 100644
--- a/wp-admin/edit-page-form.php
+++ b/wp-admin/edit-page-form.php
@@ -52,13 +52,13 @@ addLoadEvent(focusit);
+
| |