Changeset 8145
- Timestamp:
- 01/26/2019 10:30:53 AM (6 years ago)
- File:
- 1 edited
Legend:
- Unmodified
- Added
- Removed
sites/trunk/wordpress.org/public_html/wp-content/mu-plugins/pub/class-o2-follow.php
r7334 r8145 79 79 public function get_options( $options ) { 80 80 $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' ), 88 88 ); 89 89 $localizations = array_merge( $options['strings'], $localizations ); โฆ โฆ 120 120 $comment_form_extras .= '<p class="comment-subscription-form">'; 121 121 $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>'; 123 123 $comment_form_extras .= '</p>'; 124 124 โฆ โฆ 170 170 **/ 171 171 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' ); 173 173 174 174 $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;"/>'; โฆ โฆ 186 186 o2_register_post_action_states( 'follow', [ 187 187 'normal' => [ 188 'shortText' => __( 'Follow', ' o2' ),189 'title' => __( 'Follow comments', ' o2' ),188 'shortText' => __( 'Follow', 'wporg' ), 189 'title' => __( 'Follow comments', 'wporg' ), 190 190 'classes' => [], 191 191 'genericon' => 'genericon-subscribe', โฆ โฆ 193 193 ], 194 194 'subscribed' => [ 195 'shortText' => __( 'Following', ' o2' ),196 'title' => __( 'Unfollow comments', ' o2' ),195 'shortText' => __( 'Following', 'wporg' ), 196 'title' => __( 'Unfollow comments', 'wporg' ), 197 197 'classes' => [ 'post-comments-subscribed' ], 198 198 'genericon' => 'genericon-unsubscribe',
Note: See TracChangeset for help on using the changeset viewer.