I18N: Add translator context to the use of "Reply".

Props timse201, audrasjb, sanketparmar.
Fixes #64984.

Built from https://develop.svn.wordpress.org/trunk@62324


git-svn-id: http://core.svn.wordpress.org/trunk@61604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Aaron Jorbin
2026-05-07 20:48:44 +00:00
parent 78581f225a
commit f0ec22b948
6 changed files with 13 additions and 8 deletions
@@ -875,7 +875,8 @@ class WP_Comments_List_Table extends WP_List_Table {
'replyto',
'vim-r comment-inline',
esc_attr__( 'Reply to this comment' ),
__( 'Reply' )
/* translators: Comment reply button text. */
_x( 'Reply', 'verb' )
);
}
+2 -1
View File
@@ -772,7 +772,8 @@ function _wp_dashboard_recent_comments_row( &$comment, $show_date = true ) {
$comment->comment_ID,
$comment->comment_post_ID,
esc_attr__( 'Reply to this comment' ),
__( 'Reply' )
/* translators: Comment reply button text. */
_x( 'Reply', 'verb' )
);
$actions['spam'] = sprintf(
+5 -3
View File
@@ -14,7 +14,7 @@ var getCount, updateCount, updateCountText, updatePending, updateApproved,
updateHtmlTitle, updateDashboardText, updateInModerationText, adminTitle = document.title,
isDashboard = $('#dashboard_right_now').length,
titleDiv, titleRegEx,
__ = wp.i18n.__;
__ = wp.i18n.__, _x = wp.i18n._x;
/**
* Extracts a number from the content of a jQuery element.
@@ -370,7 +370,8 @@ window.setCommentsList = function() {
} else {
if ( settings.data.id == replyID )
replyButton.text( __( 'Reply' ) );
/* translators: Comment reply button text. */
replyButton.text( _x( 'Reply', 'verb' ) );
c.find( '.row-actions span.view' ).removeClass( 'hidden' ).end()
.find( 'div.comment_status' ).html( '1' );
@@ -1012,7 +1013,8 @@ window.commentReply = {
if ( c.hasClass('unapproved') ) {
replyButton.text( __( 'Approve and Reply' ) );
} else {
replyButton.text( __( 'Reply' ) );
/* translators: Comment reply button text. */
replyButton.text( _x( 'Reply', 'verb' ) );
}
$('#replyrow').fadeIn(300, function(){ $(this).show(); });
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -1
View File
@@ -1756,7 +1756,8 @@ function get_comment_reply_link( $args = array(), $comment = null, $post = null
$defaults = array(
'add_below' => 'comment',
'respond_id' => 'respond',
'reply_text' => __( 'Reply' ),
/* translators: Comment reply button text. */
'reply_text' => _x( 'Reply', 'verb' ),
/* translators: Comment reply button text. %s: Comment author name. */
'reply_to_text' => __( 'Reply to %s' ),
'login_text' => __( 'Log in to Reply' ),
+1 -1
View File
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '7.1-alpha-62321';
$wp_version = '7.1-alpha-62324';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.