Grammar fixes from takayukister and thenlich. fixes #5992

git-svn-id: http://svn.automattic.com/wordpress/trunk@7026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-02-25 19:13:21 +00:00
parent 538126aff8
commit fc943e24c6
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ class STP_Import {
// run that funky magic!
$tags_added = $this->tag2post();
echo '<p>' . sprintf( __ngettext('Done! <strong>%s</strong> tags where added!', 'Done! <strong>%s</strong> tags where added!', $tags_added), $tags_added ) . '<br /></p>';
echo '<p>' . sprintf( __ngettext('Done! <strong>%s</strong> tag was added!', 'Done! <strong>%s</strong> tags were added!', $tags_added), $tags_added ) . '<br /></p>';
echo '<form action="admin.php?import=stp&amp;step=3" method="post">';
wp_nonce_field('import-stp');
echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 3').'" /></p>';

View File

@ -636,7 +636,7 @@ class wp_xmlrpc_server extends IXR_Server {
set_current_user(0, $username);
if( !current_user_can("manage_categories") ) {
return new IXR_Error( 401, __( "Sorry, you do not the right to delete a category." ) );
return new IXR_Error( 401, __( "Sorry, you do not have the right to delete a category." ) );
}
return wp_delete_category( $category_id );