Fix comment action button translation
This commit is contained in:
parent
68bce00d0c
commit
2db9caba31
@ -345,7 +345,7 @@ function fictioneer_get_comment_delete_button( $hidden = true ) {
|
||||
mb_strtoupper( _x( 'delete', 'Prompt confirm deletion string.', 'fictioneer' ) )
|
||||
) .
|
||||
'" data-dialog-confirm="' . esc_attr_x( 'delete', 'Prompt confirm deletion string.', 'fictioneer' ) .
|
||||
'" data-tooltip="' . esc_attr_x( 'Delete', 'Delete comment inline.'. 'fictioneer' ) .
|
||||
'" data-tooltip="' . esc_attr_x( 'Delete', 'Delete comment inline.', 'fictioneer' ) .
|
||||
'" data-click="delete-my-comment" %s><i class="fa-solid fa-eraser"></i></button>';
|
||||
}
|
||||
|
||||
@ -369,9 +369,7 @@ function fictioneer_get_comment_edit_button( $hidden = true ) {
|
||||
static $html_start = null;
|
||||
|
||||
if ( is_null( $html_start ) ) {
|
||||
$html_start = '<button class="fictioneer-comment__edit-toggle comment-quick-button hide-on-edit tooltipped hide-if-logged-out hide-on-ajax" type="button" data-dialog-message="' .
|
||||
'" data-tooltip="' . esc_attr_x( 'Edit', 'Edit comment inline.'. 'fictioneer' ) .
|
||||
'" data-click="trigger-inline-comment-edit" %s><i class="fa-solid fa-pen"></i></button>';
|
||||
$html_start = '<button class="fictioneer-comment__edit-toggle comment-quick-button hide-on-edit tooltipped hide-if-logged-out hide-on-ajax" type="button" data-tooltip="' . esc_attr_x( 'Edit', 'Edit comment inline.', 'fictioneer' ) . '" data-click="trigger-inline-comment-edit" %s><i class="fa-solid fa-pen"></i></button>';
|
||||
}
|
||||
|
||||
return sprintf(
|
||||
|
Loading…
x
Reference in New Issue
Block a user