WordPress.org

Making WordPress.org


Ignore:
Timestamp:
07/29/2016 10:44:47 AM (4 years ago)
Author:
ocean90
Message:

Support: Use wporg-forums as the text domain for bbPress plugins.

We already use it for the theme.

See #1544.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-topic-resolution/inc/class-plugin.php

    r3738 r3739  
    6565     */
    6666    public function get_topic_title( $title, $topic_id ) {
    67         $resolved = __( 'Resolved', 'wporg' );
     67        $resolved = __( 'Resolved', 'wporg-forums' );
    6868        if ( 'yes' == $this->get_topic_resolution( array( 'id' => $topic_id ) ) ) {
    6969           return sprintf( esc_html( '[%s]: %s' ), $resolved, $title );
     
    101101        }
    102102        ?>
    103         <p><label for="topic-resolved"><?php esc_html_e( 'This topic is', 'wporg' ); ?></label><br />
     103        <p><label for="topic-resolved"><?php esc_html_e( 'This topic is', 'wporg-forums' ); ?></label><br />
    104104
    105105        <select name="<?php echo esc_attr( self::META_KEY ); ?>" id="topic-resolved">
     
    129129        }
    130130        ?>
    131         <p><label for="topic-resolved"><input type="checkbox" name="<?php echo esc_attr( self::META_KEY ); ?>" id="topic-resolved" value="mu"> <?php esc_html_e( 'This topic is not a support question', 'wporg' ); ?></label></p>
     131        <p><label for="topic-resolved"><input type="checkbox" name="<?php echo esc_attr( self::META_KEY ); ?>" id="topic-resolved" value="mu"> <?php esc_html_e( 'This topic is not a support question', 'wporg-forums' ); ?></label></p>
    132132        <?php
    133133    }
     
    155155    public function add_forum_topic_resolution_column( $columns ) {
    156156        return array_merge( $columns, array(
    157             'bbp_topic_resolution' => __( 'Support', 'wporg' ),
     157            'bbp_topic_resolution' => __( 'Support', 'wporg-forums' ),
    158158        ) );
    159159    }
     
    260260    public function get_topic_resolutions() {
    261261        return apply_filters( 'wporg_bbp_get_topic_resolutions', array(
    262                 'no'  => __( 'not resolved', 'wporg' ),
    263                 'yes' => __( 'resolved', 'wporg' ),
    264                 'mu'  => __( 'not a support question', 'wporg' ),
     262                'no'  => __( 'not resolved', 'wporg-forums' ),
     263                'yes' => __( 'resolved', 'wporg-forums' ),
     264                'mu'  => __( 'not a support question', 'wporg-forums' ),
    265265        ) );
    266266    }
Note: See TracChangeset for help on using the changeset viewer.