Skip to:
Content

bbPress.org

Ticket #2977: 2977.patch

File 2977.patch, 2.7 KB (added by ocean90, 8 years ago)
  • src/includes/admin/list-tables/topic-replies.php

     
    3434         */
    3535        public function __construct( $args = array() ) {
    3636                $args = array(
    37                         'singular' => esc_html__( 'Reply',  'bbpress' ),
     37                        'singular' => esc_html_x( 'Reply', 'noun', 'bbpress' ),
    3838                        'plural'   => esc_html__( 'Replies', 'bbpress' ),
    3939                        'ajax'     => true
    4040                );
  • src/includes/admin/settings.php

     
    332332
    333333                        // Reply slug setting
    334334                        '_bbp_reply_slug' => array(
    335                                 'title'             => __( 'Reply', 'bbpress' ),
     335                                'title'             => _x( 'Reply', 'noun', 'bbpress' ),
    336336                                'callback'          => 'bbp_admin_setting_callback_reply_slug',
    337337                                'sanitize_callback' => 'bbp_sanitize_slug',
    338338                                'args'              => array( 'label_for'=>'_bbp_reply_slug' )
  • src/includes/replies/template.php

     
    4646        return apply_filters( 'bbp_get_reply_post_type_labels', array(
    4747                'name'               => __( 'Replies',                   'bbpress' ),
    4848                'menu_name'          => __( 'Replies',                   'bbpress' ),
    49                 'singular_name'      => __( 'Reply',                     'bbpress' ),
     49                'singular_name'      => _x( 'Reply', 'noun',             'bbpress' ),
    5050                'all_items'          => __( 'All Replies',               'bbpress' ),
    5151                'add_new'            => __( 'New Reply',                 'bbpress' ),
    5252                'add_new_item'       => __( 'Create New Reply',          'bbpress' ),
     
    16751675                        'id'           => 0,
    16761676                        'link_before'  => '',
    16771677                        'link_after'   => '',
    1678                         'reply_text'   => __( 'Reply', 'bbpress' ),
     1678                        'reply_text'   => _x( 'Reply', 'verb', 'bbpress' ),
    16791679                        'depth'        => 0,
    16801680                        'add_below'    => 'post',
    16811681                        'respond_id'   => 'new-reply-' . bbp_get_topic_id(),
  • src/includes/topics/template.php

     
    30873087                        'id'           => 0,
    30883088                        'link_before'  => '',
    30893089                        'link_after'   => '',
    3090                         'reply_text'   => esc_html__( 'Reply', 'bbpress' ),
     3090                        'reply_text'   => esc_html_x( 'Reply', 'verb', 'bbpress' ),
    30913091                ), 'get_topic_reply_link' );
    30923092
    30933093                // Get the reply to use it's ID and post_parent