- Timestamp:
- 05/21/2018 01:00:36 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/includes/activity/template-tags.php
r12082 r12104 312 312 'link_text' => sprintf( 313 313 '<span class="bp-screen-reader-text">%1$s</span>', 314 esc_html__( 'View Conversation', 'buddypress' )314 __( 'View Conversation', 'buddypress' ) 315 315 ), 316 316 ); … … 340 340 'id' => 'acomment-comment-' . $activity_id, 341 341 'class' => 'button acomment-reply bp-primary-action bp-tooltip', 342 'data-bp-tooltip' => _ _( 'Comment', 'buddypress' ),342 'data-bp-tooltip' => _x( 'Comment', 'button', 'buddypress' ), 343 343 'aria-expanded' => 'false', 344 344 ), 345 345 'link_text' => sprintf( 346 346 '<span class="bp-screen-reader-text">%1$s</span> <span class="comment-count">%2$s</span>', 347 esc_html__( 'Comment', 'buddypress' ),347 _x( 'Comment', 'link', 'buddypress' ), 348 348 esc_html( bp_activity_get_comment_count() ) 349 349 ), … … 454 454 'link_class' => 'button item-button bp-secondary-action bp-tooltip delete-activity confirm', 455 455 'link_rel' => 'nofollow', 456 'data_bp_tooltip' => _ _( 'Delete', 'buddypress' ),457 'link_text' => _ _( 'Delete', 'buddypress' ),456 'data_bp_tooltip' => _x( 'Delete', 'button', 'buddypress' ), 457 'link_text' => _x( 'Delete', 'button', 'buddypress' ), 458 458 'link_href' => bp_get_activity_delete_url(), 459 459 ); … … 499 499 'button_attr' => array( 500 500 'class' => 'bp-secondary-action spam-activity confirm button item-button bp-tooltip', 501 'id' => 'activity_make_spam_' . $activity_id,502 'data-bp-tooltip' => __( 'Spam', 'buddypress' ),501 'id' => 'activity_make_spam_' . $activity_id, 502 'data-bp-tooltip' => _x( 'Spam', 'button', 'buddypress' ), 503 503 ), 504 504 'link_text' => sprintf( 505 505 /** @todo: use a specific css rule for this *************************************************************/ 506 506 '<span class="dashicons dashicons-flag" style="color:#a00;vertical-align:baseline;width:18px;height:18px" aria-hidden="true"></span><span class="bp-screen-reader-text">%s</span>', 507 esc_html_ _( 'Spam', 'buddypress' )507 esc_html_x( 'Spam', 'button', 'buddypress' ) 508 508 ), 509 509 ); … … 795 795 'parent_attr' => $parent_attr, 796 796 'button_element' => $button_element, 797 'link_text' => _ _( 'Reply', 'buddypress' ),798 'button_attr' => array(797 'link_text' => _x( 'Reply', 'link', 'buddypress' ), 798 'button_attr' => array( 799 799 'class' => "acomment-reply bp-primary-action", 800 800 'id' => sprintf( 'acomment-reply-%1$s-from-%2$s', $activity_id, $activity_comment_id ), … … 809 809 'parent_attr' => $parent_attr, 810 810 'button_element' => $button_element, 811 'link_text' => _ _( 'Delete', 'buddypress' ),811 'link_text' => _x( 'Delete', 'link', 'buddypress' ), 812 812 'button_attr' => array( 813 813 'class' => 'delete acomment-delete confirm bp-secondary-action', 814 814 'rel' => 'nofollow', 815 ),815 ), 816 816 ), 817 817 ); … … 836 836 'parent_attr' => $parent_attr, 837 837 'button_element' => $button_element, 838 'link_text' => _ _( 'Spam', 'buddypress' ),838 'link_text' => _x( 'Spam', 'link', 'buddypress' ), 839 839 'button_attr' => array( 840 840 'id' => "activity_make_spam_{$activity_comment_id}",
Note: See TracChangeset
for help on using the changeset viewer.