Changeset 757
- Timestamp:
- 07/22/2014 06:13:52 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/email-post-changes-specific-post/widget-subscribe.php
r107 r757 15 15 $widget_options = array( 16 16 'classname' => 'epcsp_subscribe', 17 'description' => __( 'Allow visitors to subscribe to email notifications for a specific post or page' )17 'description' => __( 'Allow visitors to subscribe to email notifications for a specific post or page', 'wordcamporg' ), 18 18 ); 19 19 $control_options = array( 'width' => 300 ); 20 20 21 parent::__construct( 'epcsp_subscribe', __( 'Subscribe to Specific Post' ), $widget_options, $control_options );21 parent::__construct( 'epcsp_subscribe', __( 'Subscribe to Specific Post', 'wordcamporg' ), $widget_options, $control_options ); 22 22 23 23 add_action( 'wp_head', array( $this, 'output_css' ) ); … … 47 47 } 48 48 } else { 49 $message = 'You have been subscribed to this post.';49 $message = __( 'You have been subscribed to this post.', 'wordcamporg' ); 50 50 } 51 51 } … … 92 92 93 93 <form id="epcsp_subscribe" name="epcsp_subscribe" action="" method="POST"> 94 <label for="epcsp_subscribe_address"> Email Address:</label>94 <label for="epcsp_subscribe_address"><?php _e( 'Email Address:', 'wordcamporg' ); ?></label> 95 95 <input id="epcsp_subscribe_address" name="epcsp_subscribe_address" type="text" /> 96 96 <input name="epcsp_subscribe_submit" type="submit" value="Subscribe" /> … … 137 137 138 138 if ( isset( $subscribed_addresses[ $post_id ] ) && in_array( $email, $subscribed_addresses[ $post_id ] ) ) { 139 $errors[] = 'You are already subscribed to this post.';139 $errors[] = __( 'You are already subscribed to this post.', 'wordcamporg' ); 140 140 } else { 141 141 $subscribed_addresses[ $post_id ][] = sanitize_email( $email ); … … 145 145 } 146 146 } else { 147 $errors[] = 'The email address you entered was not valid.';147 $errors[] = __( 'The email address you entered was not valid.', 'wordcamporg' ); 148 148 } 149 149
Note: See TracChangeset
for help on using the changeset viewer.