Making WordPress.org

Changeset 8145


Ignore:
Timestamp:
01/26/2019 10:30:53 AM (6 years ago)
Author:
ocean90
Message:

O2 Follow: Change text domain to wporg.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/mu-plugins/pub/class-o2-follow.php

    r7334r8145 
    7979    public function get_options( $options ) {
    8080        $localizations      = array(
    81             'follow'               => __( 'Follow', 'o2' ),
    82             'followComments'       => __( 'Follow comments', 'o2' ),
    83             'unfollow'             => __( 'Unfollow', 'o2' ),
    84             'unfollowComments'     => __( 'Unfollow comments', 'o2' ),
    85             'followError'          => __( 'There was a problem updating your following preferences.', 'o2' ),
    86             'followingAll'         => __( 'Following all', 'o2' ),
    87             'followingAllComments' => __( 'You are already following all comments on this site.', 'o2' ),
     81            'follow'               => __( 'Follow', 'wporg' ),
     82            'followComments'       => __( 'Follow comments', 'wporg' ),
     83            'unfollow'             => __( 'Unfollow', 'wporg' ),
     84            'unfollowComments'     => __( 'Unfollow comments', 'wporg' ),
     85            'followError'          => __( 'There was a problem updating your following preferences.', 'wporg' ),
     86            'followingAll'         => __( 'Following all', 'wporg' ),
     87            'followingAllComments' => __( 'You are already following all comments on this site.', 'wporg' ),
    8888        );
    8989        $localizations      = array_merge( $options['strings'], $localizations );
    โ€ฆโ€ฆ 
    120120        $comment_form_extras .= '<p class="comment-subscription-form">';
    121121        $comment_form_extras .= '<input type="checkbox" name="subscribe" id="subscribe" value="subscribe" style="width: auto;"' . checked( $checked, true, false ) . '/> ';
    122         $comment_form_extras .= '<label class="subscribe-label" id="subscribe-label" for="subscribe" style="display: inline;">' . esc_html__( 'Notify me of new comments via email.', 'o2' ) . '</label>';
     122        $comment_form_extras .= '<label class="subscribe-label" id="subscribe-label" for="subscribe" style="display: inline;">' . esc_html__( 'Notify me of new comments via email.', 'wporg' ) . '</label>';
    123123        $comment_form_extras .= '</p>';
    124124
    โ€ฆโ€ฆ 
    170170     **/
    171171    public function subscription_o2_post_form( $post_form_extras = '' ) {
    172         $label = esc_html__( 'Notify me of new comments via email.', 'o2' );
     172        $label = esc_html__( 'Notify me of new comments via email.', 'wporg' );
    173173
    174174        $post_form_extras .= '<p style="margin-top: 1.5em;" class="comment-subscription-form"><input type="checkbox" name="post_subscribe" id="post_subscribe" value="post_subscribe" style="margin-left: .5em;"/>';
    โ€ฆโ€ฆ 
    186186            o2_register_post_action_states( 'follow', [
    187187                'normal'     => [
    188                     'shortText' => __( 'Follow', 'o2' ),
    189                     'title'     => __( 'Follow comments', 'o2' ),
     188                    'shortText' => __( 'Follow', 'wporg' ),
     189                    'title'     => __( 'Follow comments', 'wporg' ),
    190190                    'classes'   => [],
    191191                    'genericon' => 'genericon-subscribe',
    โ€ฆโ€ฆ 
    193193                ],
    194194                'subscribed' => [
    195                     'shortText' => __( 'Following', 'o2' ),
    196                     'title'     => __( 'Unfollow comments', 'o2' ),
     195                    'shortText' => __( 'Following', 'wporg' ),
     196                    'title'     => __( 'Unfollow comments', 'wporg' ),
    197197                    'classes'   => [ 'post-comments-subscribed' ],
    198198                    'genericon' => 'genericon-unsubscribe',
Note: See TracChangeset for help on using the changeset viewer.