String fixes. props demetris. fixes #15688.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-12-05 14:31:18 +00:00
parent 9722f6a8cb
commit d9b4dcf576
4 changed files with 4 additions and 4 deletions

View File

@ -209,7 +209,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
</td>
<td class="vers"><?php echo $version; ?></td>
<td class="vers">
<div class="star-holder" title="<?php printf( _n( '( based on %s rating )', '( based on %s ratings )', $plugin['num_ratings'] ), number_format_i18n( $plugin['num_ratings'] ) ) ?>">
<div class="star-holder" title="<?php printf( _n( '(based on %s rating)', '(based on %s ratings)', $plugin['num_ratings'] ), number_format_i18n( $plugin['num_ratings'] ) ) ?>">
<div class="star star-rating" style="width: <?php echo esc_attr( $plugin['rating'] ) ?>px"></div>
<div class="star star5"><img src="<?php echo admin_url( 'images/star.gif' ); ?>" alt="<?php _e( '5 stars' ) ?>" /></div>
<div class="star star4"><img src="<?php echo admin_url( 'images/star.gif' ); ?>" alt="<?php _e( '4 stars' ) ?>" /></div>

View File

@ -841,7 +841,7 @@ class WP_Posts_List_Table extends WP_List_Table {
<label>
<span class="title"><?php _e( 'Parent' ); ?></span>
<?php
$dropdown_args = array( 'post_type' => $post_type_object->name, 'selected' => $post->post_parent, 'name' => 'post_parent', 'show_option_none' => __( 'Main Page ( no parent )' ), 'option_none_value' => 0, 'sort_column'=> 'menu_order, post_title' );
$dropdown_args = array( 'post_type' => $post_type_object->name, 'selected' => $post->post_parent, 'name' => 'post_parent', 'show_option_none' => __( 'Main Page (no parent)' ), 'option_none_value' => 0, 'sort_column'=> 'menu_order, post_title' );
if ( $bulk )
$dropdown_args['show_option_no_change'] = __( '&mdash; No Change &mdash;' );
$dropdown_args = apply_filters( 'quick_edit_dropdown_pages_args', $dropdown_args );

View File

@ -393,7 +393,7 @@ function themes_api($action, $args = null) {
} else {
$res = unserialize($request['body']);
if ( ! $res )
$res = new WP_Error('themes_api_failed', __('An unknown error occurred'), $request['body']);
$res = new WP_Error('themes_api_failed', __('An unknown error occurred.'), $request['body']);
}
}
//var_dump(array($args, $res));

View File

@ -78,7 +78,7 @@ if ( !defined('WP_ALLOW_REPAIR') ) {
}
} else {
if ( isset($_GET['referrer']) && 'is_blog_installed' == $_GET['referrer'] )
_e('One or more database tables is unavailable. To allow WordPress to attempt to repair these tables, press the "Repair Database" button. Repairing can take a while, so please be patient.');
_e('One or more database tables are unavailable. To allow WordPress to attempt to repair these tables, press the &#8220;Repair Database&#8221; button. Repairing can take a while, so please be patient.');
else
_e('WordPress can automatically look for some common database problems and repair them. Repairing can take a while, so please be patient.')
?>