mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +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:
@@ -1540,7 +1540,7 @@ function comments_popup_link( $zero = false, $one = false, $more = false, $css_c
|
||||
}
|
||||
|
||||
if ( false === $more ) {
|
||||
/* translators: 1: Number of comments 2: post title */
|
||||
/* translators: 1: number of comments, 2: post title */
|
||||
$more = _n( '%1$s Comment<span class="screen-reader-text"> on %2$s</span>', '%1$s Comments<span class="screen-reader-text"> on %2$s</span>', $number );
|
||||
$more = sprintf( $more, number_format_i18n( $number ), $title );
|
||||
}
|
||||
@@ -1629,7 +1629,7 @@ function get_comment_reply_link( $args = array(), $comment = null, $post = null
|
||||
'add_below' => 'comment',
|
||||
'respond_id' => 'respond',
|
||||
'reply_text' => __( 'Reply' ),
|
||||
/* translators: Comment reply button text. 1: Comment author name */
|
||||
/* translators: Comment reply button text. %s: Comment author name */
|
||||
'reply_to_text' => __( 'Reply to %s' ),
|
||||
'login_text' => __( 'Log in to Reply' ),
|
||||
'max_depth' => 0,
|
||||
|
||||
Reference in New Issue
Block a user