mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 20:54:29 +00:00
I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders.
Add missing translator comments in `WP_Theme_Install_List_Table` and `wp_notify_postauthor()`. Add missing commas in some translator comments. Fixes #43523. git-svn-id: https://develop.svn.wordpress.org/trunk@42827 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -146,7 +146,7 @@ if ( $post_id ) {
|
||||
$comments_count = wp_count_comments( $post_id );
|
||||
$draft_or_post_title = wp_html_excerpt( _draft_or_post_title( $post_id ), 50, '…' );
|
||||
if ( $comments_count->moderated > 0 ) {
|
||||
/* translators: 1: comments count 2: post title */
|
||||
/* translators: 1: comments count, 2: post title */
|
||||
$title = sprintf(
|
||||
__( 'Comments (%1$s) on “%2$s”' ),
|
||||
number_format_i18n( $comments_count->moderated ),
|
||||
|
||||
Reference in New Issue
Block a user