mirror of
https://github.com/WordPress/WordPress.git
synced 2026-06-19 07:37:07 +00:00
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:
@@ -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' )
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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(); });
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -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' ),
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user