Better Notifications for WordPress - Version 1.3.9.2

Version Description

  • 29th January 2016 =
  • The Add-on Store is now live! Looking for some extra, premium functionality in your notifications? You might find an add-on for it!
  • New: A filter is now available for adding compatibility to themes for creating posts using wp_insert_post. Please see the bottom of the FAQ for details.
  • Fixed: 'User Role Changed' notifications were being triggered for new users.
  • Fixed: The label for custom taxonomies was showing in the Notification select box even if you didn't have any.
  • Fixed: A warning was showing when no 'CC' or 'BCC' details were added but the 'Name' and 'From' details were specified.
  • Fixed: A warning was showing after a taxonomy was deleted but a notification existed for it.
  • Fixed: Replaced select2 v4 script for full version for better compatibility with other plugins.
  • Fixed: The javascript in the plugin is now translatable.
  • Added: French translation - props Mygale06.
Download this release

Release Info

Developer voltronik
Plugin Icon 128x128 Better Notifications for WordPress
Version 1.3.9.2
Comparing to
See all releases

Code changes from version 1.3.9.1 to 1.3.9.2

README.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://betternotificationsforwp.com/donate/
4
  Tags: notifications, email, mail, alerts, roles, user, users, admin, HTML, plain, wp_mail, shortcode, customize, post, page, updated, pending review, scheduled, category, tag, term, custom post type, comment, akismet, trackback, pingback, lost password, welcome, new user, bulk, notice, trigger, CC, BCC, from, author
5
  Requires at least: 3.5
6
  Tested up to: 4.4.1
7
- Stable tag: 1.3.9.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -91,7 +91,7 @@ Don't think the plugin is worthy of 5 stars? Having problems? Let me know in the
91
 
92
  = What are shortcodes? Where can I use them in this plugin? =
93
 
94
- Shortcodes are little blocks of content inserted by WordPress, contained in square brackets. For example, if you want to add the content of a post to a notification for 'New Post Published', you can use the `[post_content]` shortcode to display this in the email that is sent out.
95
 
96
  Shortcodes can be used in the 'Subject' and 'Message Body' of your notifications, except for a select few (due to a restriction in WordPress).
97
 
@@ -112,7 +112,7 @@ Yes! There is an option for suppressing comments marked as SPAM by Akismet in th
112
 
113
  = Does this plugin work with Multisite? =
114
 
115
- Yes and no - some notifications work, others don't, and some are missing entirely. I do plan on adding full Multisite support at a later date however, this will most likely be in the form of an add-on.
116
 
117
  = What isn't this plugin? =
118
 
@@ -122,21 +122,21 @@ It's not designed to send out newsletters. There is no send-this-out-on-this-dat
122
 
123
  This will very much depend on what notifications you're using the plugin for. Out-of-the-box, this plugin works very well but there are a few tweaks that you will need to ensure 100% compatibility. All the below points refer to this plugin:
124
 
125
- * If you want to use the new comment notifications in BNFW, you need to un-tick 'Email me whenever anyone posts a comment' and 'A comment is held for moderation' under Settings > Discussion. It's ok if you don't do this but you might receive WordPress's own email notifications along with the ones you've configure using BNFW. It also goes without saying that you need to enable comments for your posts if you want the email notifications to come through.
126
 
127
  * If you want to use the 'Comment Reply' transactional email, you need to ensure that comments are only set-up to be 2-levels deep. You can do this by going to Settings > Discussion and changing the option 'Enable threaded (nested) comments 'X' levels deep' to '2'. Please also ensure this option is ticked.
128
 
129
  = Notifications aren't coming through! =
130
 
131
- A [very handy answer](http://stackoverflow.com/questions/371/how-do-you-make-sure-email-you-send-programmatically-is-not-automatically-marked) on StackExchange explains what you might need to do to make sure that emails don't make it through to your users SPAM / Junk folders. It's worth going through this and completing as much as you can.
132
-
133
- After this, check your Notification settings to make sure all is as it should be, then check your SPAM folder and/or filter at your host. Gmail and certain hosts can mark messages from new websites (or IP addresses) as SPAM so it's worth checking and possibly creating a filter to ensure this doesn't happen in the future.
134
 
135
  Many hosts place a limit on the number of emails that can be sent out within an hour so this may also cause some delay in emails arriving. Please check with your host to find out what this limit is.
136
 
 
 
137
  = Some of my shortcodes aren't working! =
138
 
139
- It's possible you're inserting a shortcode into a notification that cannot use it. For example: the 'New Category' email notification cannot use any of the author or time shortcodes as WordPress only stores the category name, category slug and category description in the database. It's also worth checking the spelling and underscores in any shortcodes as well as if they are wrapped in square brackets `[]`.
140
 
141
  = I press the 'Send Me a Test Email' button but nothing happens! =
142
 
@@ -154,13 +154,25 @@ This is most likely because it's `public` setting is set to `false`. Try changin
154
 
155
  In order to fix a problem with P2 not triggering notifications at all, if you post from the WordPress Admin, it will trigger two notifications: one for the standard settings and one for the additional P2 settings. I recommend posting from the front-end only if you're using P2 in order to trigger just a single notification.
156
 
 
 
 
 
 
 
 
 
 
 
 
 
157
  = Can I translate this plugin? =
158
 
159
- Yes, of course! The plugin is completely translation-friendly and if you send me your .po file, i'll make sure to include it in the plugin and credit you on this page.
160
 
161
  = Will this plugin work with versions of WordPress less than 3.5? =
162
 
163
- It might do but this is untested.
164
 
165
 
166
 
@@ -176,6 +188,17 @@ It might do but this is untested.
176
 
177
  == Changelog ==
178
 
 
 
 
 
 
 
 
 
 
 
 
179
  = 1.3.9.1 - 9th January 2016 =
180
  * Fixed: Missing shortcode link for new 'User Role Changed' notification.
181
  * Fixed: Duplicate 'User Role Changed' listing in the Notification select box.
4
  Tags: notifications, email, mail, alerts, roles, user, users, admin, HTML, plain, wp_mail, shortcode, customize, post, page, updated, pending review, scheduled, category, tag, term, custom post type, comment, akismet, trackback, pingback, lost password, welcome, new user, bulk, notice, trigger, CC, BCC, from, author
5
  Requires at least: 3.5
6
  Tested up to: 4.4.1
7
+ Stable tag: 1.3.9.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
91
 
92
  = What are shortcodes? Where can I use them in this plugin? =
93
 
94
+ Shortcodes are little blocks of content contained in square brackets. For example, if you want to add the content of a post to a notification for 'New Post Published', you can use the `[post_content]` shortcode to display this in the email that is sent out.
95
 
96
  Shortcodes can be used in the 'Subject' and 'Message Body' of your notifications, except for a select few (due to a restriction in WordPress).
97
 
112
 
113
  = Does this plugin work with Multisite? =
114
 
115
+ Yes and no - some notifications work, others don't, and some are missing entirely. I do plan on adding full Multisite support at a later date however, this will be in the form of an add-on.
116
 
117
  = What isn't this plugin? =
118
 
122
 
123
  This will very much depend on what notifications you're using the plugin for. Out-of-the-box, this plugin works very well but there are a few tweaks that you will need to ensure 100% compatibility. All the below points refer to this plugin:
124
 
125
+ * If you want to use the new comment notifications in BNFW, you need to un-tick 'Email me whenever anyone posts a comment' and 'A comment is held for moderation' under Settings > Discussion. It's OK if you don't do this but you might receive WordPress's own email notifications along with the ones you've configure using BNFW. It also goes without saying that you need to enable comments for your posts if you want the email notifications to come through.
126
 
127
  * If you want to use the 'Comment Reply' transactional email, you need to ensure that comments are only set-up to be 2-levels deep. You can do this by going to Settings > Discussion and changing the option 'Enable threaded (nested) comments 'X' levels deep' to '2'. Please also ensure this option is ticked.
128
 
129
  = Notifications aren't coming through! =
130
 
131
+ First of all, follow [this article](https://betternotificationsforwp.com/how-can-i-receive-the-best-support/) about how to find out what might be causing the problem. Additionally, this [very handy answer](http://stackoverflow.com/questions/371/how-do-you-make-sure-email-you-send-programmatically-is-not-automatically-marked) on Stack Overflow explains what you might need to do to make sure that emails don't make it through to your users SPAM / Junk folders. It's worth going through this and completing as much as you can.
 
 
132
 
133
  Many hosts place a limit on the number of emails that can be sent out within an hour so this may also cause some delay in emails arriving. Please check with your host to find out what this limit is.
134
 
135
+ If you're still having problems, please drop me a line in the [Forum](https://wordpress.org/support/plugin/bnfw) and I'll do my best to help.
136
+
137
  = Some of my shortcodes aren't working! =
138
 
139
+ It's possible you're inserting a shortcode into a notification that cannot use it. For example: the 'New Category' email notification cannot use any of the author or time shortcodes as WordPress only stores the category name, category slug and category description in the database by default. It's also worth checking the spelling and underscores in any shortcodes as well as if they are wrapped in square brackets `[]`.
140
 
141
  = I press the 'Send Me a Test Email' button but nothing happens! =
142
 
154
 
155
  In order to fix a problem with P2 not triggering notifications at all, if you post from the WordPress Admin, it will trigger two notifications: one for the standard settings and one for the additional P2 settings. I recommend posting from the front-end only if you're using P2 in order to trigger just a single notification.
156
 
157
+ = I'm using a theme and notifications aren't coming through =
158
+
159
+ Try adding this code to your functions.php in your theme / child theme directory and replace `theme_name` with the name of your theme and re-test.
160
+
161
+ ```
162
+ function bnfw_insert_post_hook_for_theme( $themes ) {
163
+ $themes[] = 'theme_name';
164
+ return $themes;
165
+ }
166
+ add_filter( 'bnfw_insert_post_themes', 'bnfw_insert_post_hook_for_theme' );
167
+ ```
168
+
169
  = Can I translate this plugin? =
170
 
171
+ Yes, of course! The plugin is completely translation-friendly and if you send me your .po file, I'll make sure to include it in the plugin and credit you on this page.
172
 
173
  = Will this plugin work with versions of WordPress less than 3.5? =
174
 
175
+ An older version might work but this is untested. A lot of the newer features require WordPress 4.0 and above.
176
 
177
 
178
 
188
 
189
  == Changelog ==
190
 
191
+ = 1.3.9.2 - 29th January 2016 =
192
+ * The [Add-on Store](https://betternotificationsforwp.com/store/) is now live! Looking for some extra, premium functionality in your notifications? You might find an add-on for it!
193
+ * New: A filter is now available for adding compatibility to themes for creating posts using `wp_insert_post`. Please see the bottom of the [FAQ](https://wordpress.org/plugins/bnfw/faq/) for details.
194
+ * Fixed: 'User Role Changed' notifications were being triggered for new users.
195
+ * Fixed: The label for custom taxonomies was showing in the Notification select box even if you didn't have any.
196
+ * Fixed: A warning was showing when no 'CC' or 'BCC' details were added but the 'Name' and 'From' details were specified.
197
+ * Fixed: A warning was showing after a taxonomy was deleted but a notification existed for it.
198
+ * Fixed: Replaced select2 v4 script for full version for better compatibility with other plugins.
199
+ * Fixed: The javascript in the plugin is now translatable.
200
+ * Added: French translation - props Mygale06.
201
+
202
  = 1.3.9.1 - 9th January 2016 =
203
  * Fixed: Missing shortcode link for new 'User Role Changed' notification.
204
  * Fixed: Duplicate 'User Role Changed' listing in the Notification select box.
assets/js/bnfw.js CHANGED
@@ -104,7 +104,7 @@ jQuery(document).ready(function($) {
104
  if ( $('#users').is(':visible') ) {
105
  if ( null === $('#users-select').val() ) {
106
  $('#bnfw_error').remove();
107
- $('.wrap h1').after('<div class="error" id="bnfw_error"><p>You must choose at least one User or User Role to send the notification to before you can save</p></div>');
108
  return false;
109
  }
110
  }
104
  if ( $('#users').is(':visible') ) {
105
  if ( null === $('#users-select').val() ) {
106
  $('#bnfw_error').remove();
107
+ $('.wrap h1').after('<div class="error" id="bnfw_error"><p>' + BNFW.empty_user + '</p></div>');
108
  return false;
109
  }
110
  }
bnfw.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Better Notifications for WordPress
4
  * Plugin URI: http://wordpress.org/plugins/bnfw/
5
  * Description: Send customisable emails to your users for different WordPress notifications.
6
- * Version: 1.3.9.1
7
  * Author: Voltronik
8
  * Author URI: https://betternotificationsforwp.com/
9
  * Author Email: plugins@voltronik.co.uk
@@ -107,14 +107,18 @@ class BNFW {
107
  public function hooks() {
108
  register_activation_hook( __FILE__ , array( $this, 'activate' ) );
109
 
110
- // P2 theme directly inserts the post into db
111
- if ( 'P2' == wp_get_theme() ) {
 
 
 
112
  add_action( 'wp_insert_post' , array( $this, 'insert_post' ), 10, 3 );
113
  }
114
 
115
  add_action( 'draft_to_publish' , array( $this, 'publish_post' ) );
116
  add_action( 'future_to_publish' , array( $this, 'publish_post' ) );
117
  add_action( 'pending_to_publish' , array( $this, 'publish_post' ) );
 
118
  add_action( 'publish_to_publish' , array( $this, 'update_post' ) );
119
  add_action( 'init' , array( $this, 'custom_post_type_hooks' ), 100 );
120
  add_action( 'create_term' , array( $this, 'create_term' ), 10, 3 );
@@ -125,7 +129,7 @@ class BNFW {
125
 
126
  add_action( 'user_register' , array( $this, 'user_register' ) );
127
  add_action( 'user_register' , array( $this, 'welcome_email' ) );
128
- add_action( 'set_user_role' , array( $this, 'user_role_changed' ), 10, 2 );
129
 
130
  add_action( 'lostpassword_post' , array( $this, 'on_lost_password' ) );
131
  add_filter( 'retrieve_password_title' , array( $this, 'change_password_email_title' ) );
@@ -416,11 +420,14 @@ class BNFW {
416
  * @since 1.3.9
417
  * @param int $user_id User ID
418
  * @param string $new_role New User role
 
419
  */
420
- public function user_role_changed( $user_id, $new_role ) {
421
- $notifications = $this->notifier->get_notifications( 'user-role' );
422
- foreach ( $notifications as $notification ) {
423
- $this->engine->send_user_role_chnaged_email( $this->notifier->read_settings( $notification->ID ), $user_id );
 
 
424
  }
425
  }
426
 
3
  * Plugin Name: Better Notifications for WordPress
4
  * Plugin URI: http://wordpress.org/plugins/bnfw/
5
  * Description: Send customisable emails to your users for different WordPress notifications.
6
+ * Version: 1.3.9.2
7
  * Author: Voltronik
8
  * Author URI: https://betternotificationsforwp.com/
9
  * Author Email: plugins@voltronik.co.uk
107
  public function hooks() {
108
  register_activation_hook( __FILE__ , array( $this, 'activate' ) );
109
 
110
+ // some themes like P2, directly insert posts into DB.
111
+ $insert_post_themes = apply_filters( 'bnfw_insert_post_themes', array( 'P2', 'Syncope' ) );
112
+ $current_theme = wp_get_theme();
113
+
114
+ if ( in_array( $current_theme, $insert_post_themes ) ) {
115
  add_action( 'wp_insert_post' , array( $this, 'insert_post' ), 10, 3 );
116
  }
117
 
118
  add_action( 'draft_to_publish' , array( $this, 'publish_post' ) );
119
  add_action( 'future_to_publish' , array( $this, 'publish_post' ) );
120
  add_action( 'pending_to_publish' , array( $this, 'publish_post' ) );
121
+ add_action( 'private_to_publish' , array( $this, 'publish_post' ) );
122
  add_action( 'publish_to_publish' , array( $this, 'update_post' ) );
123
  add_action( 'init' , array( $this, 'custom_post_type_hooks' ), 100 );
124
  add_action( 'create_term' , array( $this, 'create_term' ), 10, 3 );
129
 
130
  add_action( 'user_register' , array( $this, 'user_register' ) );
131
  add_action( 'user_register' , array( $this, 'welcome_email' ) );
132
+ add_action( 'set_user_role' , array( $this, 'user_role_changed' ), 10, 3 );
133
 
134
  add_action( 'lostpassword_post' , array( $this, 'on_lost_password' ) );
135
  add_filter( 'retrieve_password_title' , array( $this, 'change_password_email_title' ) );
420
  * @since 1.3.9
421
  * @param int $user_id User ID
422
  * @param string $new_role New User role
423
+ * @param string $old_role Old User role
424
  */
425
+ public function user_role_changed( $user_id, $new_role, $old_role ) {
426
+ if ( ! empty( $old_role ) ) {
427
+ $notifications = $this->notifier->get_notifications( 'user-role' );
428
+ foreach ( $notifications as $notification ) {
429
+ $this->engine->send_user_role_changed_email( $this->notifier->read_settings( $notification->ID ), $user_id );
430
+ }
431
  }
432
  }
433
 
includes/admin/class-bnfw-notification.php CHANGED
@@ -218,7 +218,7 @@ class BNFW_Notification {
218
  ), 'objects'
219
  );
220
 
221
- if ( count( $taxs > 0 ) ) {
222
  ?>
223
  <optgroup label="<?php _e( 'Custom Taxonomy', 'bnfw' );?>">
224
  <?php
@@ -414,10 +414,16 @@ class BNFW_Notification {
414
  wp_dequeue_script( 'um_admin_scripts' );
415
 
416
  wp_enqueue_style( 'select2', '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.1/css/select2.min.css', array(), '4.0.1' );
417
- wp_enqueue_script( 'select2', '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.1/js/select2.min.js', array( 'jquery' ), '4.0.1', true );
418
 
419
  wp_enqueue_script( 'bnfw', plugins_url( '../assets/js/bnfw.js', dirname( __FILE__ ) ), array( 'select2' ), '0.1', true );
420
  wp_enqueue_style( 'bnfw', plugins_url( '../assets/css/bnfw.css', dirname( __FILE__ ) ), array( 'dashicons', 'select2' ), '0.1' );
 
 
 
 
 
 
421
  }
422
 
423
  /**
@@ -469,8 +475,8 @@ class BNFW_Notification {
469
  $setting['show-fields'] = 'true';
470
  $setting['from-name'] = sanitize_text_field( $_POST['from-name'] );
471
  $setting['from-email'] = sanitize_email( $_POST['from-email'] );
472
- $setting['cc'] = $_POST['cc'];
473
- $setting['bcc'] = $_POST['bcc'];
474
  } else {
475
  $setting['show-fields'] = 'false';
476
  }
@@ -880,7 +886,11 @@ class BNFW_Notification {
880
  break;
881
  case 'newterm':
882
  $tax = get_taxonomy( $splited[1] );
883
- $name = __( 'New Term in ', 'bnfw' ) . $tax->labels->name;
 
 
 
 
884
  break;
885
  }
886
  break;
218
  ), 'objects'
219
  );
220
 
221
+ if ( count( $taxs ) > 0 ) {
222
  ?>
223
  <optgroup label="<?php _e( 'Custom Taxonomy', 'bnfw' );?>">
224
  <?php
414
  wp_dequeue_script( 'um_admin_scripts' );
415
 
416
  wp_enqueue_style( 'select2', '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.1/css/select2.min.css', array(), '4.0.1' );
417
+ wp_enqueue_script( 'select2', '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.1/js/select2.full.min.js', array( 'jquery' ), '4.0.1', true );
418
 
419
  wp_enqueue_script( 'bnfw', plugins_url( '../assets/js/bnfw.js', dirname( __FILE__ ) ), array( 'select2' ), '0.1', true );
420
  wp_enqueue_style( 'bnfw', plugins_url( '../assets/css/bnfw.css', dirname( __FILE__ ) ), array( 'dashicons', 'select2' ), '0.1' );
421
+
422
+ $strings = array(
423
+ 'empty_user' => __( 'You must choose at least one User or User Role to send the notification to before you can save', 'bnfw' ),
424
+ );
425
+
426
+ wp_localize_script( 'bnfw', 'BNFW', $strings );
427
  }
428
 
429
  /**
475
  $setting['show-fields'] = 'true';
476
  $setting['from-name'] = sanitize_text_field( $_POST['from-name'] );
477
  $setting['from-email'] = sanitize_email( $_POST['from-email'] );
478
+ $setting['cc'] = isset( $_POST['cc'] ) ? $_POST['cc'] : '';
479
+ $setting['bcc'] = isset( $_POST['bcc'] ) ? $_POST['bcc'] : '';
480
  } else {
481
  $setting['show-fields'] = 'false';
482
  }
886
  break;
887
  case 'newterm':
888
  $tax = get_taxonomy( $splited[1] );
889
+ if ( ! $tax ) {
890
+ $name = __( 'New Term', 'bnfw' );
891
+ } else {
892
+ $name = __( 'New Term in ', 'bnfw' ) . $tax->labels->name;
893
+ }
894
  break;
895
  }
896
  break;
includes/engine/class-bnfw-engine.php CHANGED
@@ -138,7 +138,7 @@ class BNFW_Engine {
138
  * @param array $setting Notification setting
139
  * @param object $user_id User ID
140
  */
141
- public function send_user_role_chnaged_email( $setting, $user_id ) {
142
  $subject = $this->handle_shortcodes( $setting['subject'], $setting['notification'], $user_id );
143
  $message = $this->handle_shortcodes( $setting['message'], $setting['notification'], $user_id );
144
 
@@ -152,7 +152,9 @@ class BNFW_Engine {
152
  }
153
 
154
  $user = get_user_by( 'id', $user_id );
155
- wp_mail( $user->user_email, stripslashes( $subject ), $message, $headers );
 
 
156
  }
157
 
158
  /**
138
  * @param array $setting Notification setting
139
  * @param object $user_id User ID
140
  */
141
+ public function send_user_role_changed_email( $setting, $user_id ) {
142
  $subject = $this->handle_shortcodes( $setting['subject'], $setting['notification'], $user_id );
143
  $message = $this->handle_shortcodes( $setting['message'], $setting['notification'], $user_id );
144
 
152
  }
153
 
154
  $user = get_user_by( 'id', $user_id );
155
+ if ( $user->user_activation_key == '' ) {
156
+ wp_mail( $user->user_email, stripslashes( $subject ), $message, $headers );
157
+ }
158
  }
159
 
160
  /**
languages/bnfw-fr_FR.mo ADDED
Binary file
languages/bnfw-fr_FR.po ADDED
@@ -0,0 +1,478 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Translation of Stable (latest release) in French (France)
2
+ # This file is distributed under the same license as the Stable (latest release) package.
3
+ msgid ""
4
+ msgstr ""
5
+ "PO-Revision-Date: 2016-01-12 14:23+0100\n"
6
+ "MIME-Version: 1.0\n"
7
+ "Content-Type: text/plain; charset=UTF-8\n"
8
+ "Content-Transfer-Encoding: 8bit\n"
9
+ "Plural-Forms: nplurals=2; plural=n > 1;\n"
10
+ "X-Generator: Poedit 1.8.5\n"
11
+ "Project-Id-Version: Stable (latest release)\n"
12
+ "POT-Creation-Date: \n"
13
+ "Last-Translator: \n"
14
+ "Language-Team: \n"
15
+ "Language: fr\n"
16
+
17
+ #: includes/admin/class-bnfw-notification.php:171
18
+ #: includes/admin/class-bnfw-notification.php:836
19
+ msgid "User Role Changed"
20
+ msgstr "Changer le rôle de l’utilisateur"
21
+
22
+ #: includes/overrides.php:113
23
+ msgid "[%s] Your username and password"
24
+ msgstr "[%s] Vos nom d'utilisateur et mot de passe"
25
+
26
+ #: includes/tmp.php:7
27
+ msgid "Show additional email fields"
28
+ msgstr "Afficher des champs d’emails supplémentaires"
29
+
30
+ #. Plugin Name of the plugin/theme
31
+ msgid "Better Notifications for WordPress"
32
+ msgstr "Better Notifications pour WordPress"
33
+
34
+ #. Plugin URI of the plugin/theme
35
+ msgid "http://wordpress.org/plugins/bnfw/"
36
+ msgstr "http://wordpress.org/plugins/bnfw/"
37
+
38
+ #. Description of the plugin/theme
39
+ msgid "Send customisable emails to your users for different WordPress notifications."
40
+ msgstr "Envoyez d’emails personnalisés à vos utilisateurs pour les différentes notifications."
41
+
42
+ #. Author of the plugin/theme
43
+ msgid "Voltronik"
44
+ msgstr "Ludovic D"
45
+
46
+ #. Author URI of the plugin/theme
47
+ msgid "https://betternotificationsforwp.com/"
48
+ msgstr "https://betternotificationsforwp.com/"
49
+
50
+ #: includes/overrides.php:80
51
+ msgid "[%s] Your username and password info"
52
+ msgstr "[%s] Votre identifiant et votre mot de passe"
53
+
54
+ #: includes/overrides.php:110
55
+ msgid "Password: %s"
56
+ msgstr "Mot de passe: %s"
57
+
58
+ #: includes/overrides.php:46 includes/overrides.php:96
59
+ msgid "[%s] New User Registration"
60
+ msgstr "[%s] Enregistrement d'un nouvel utilisateur"
61
+
62
+ #: includes/overrides.php:75
63
+ msgid "To set your password, visit the following address:"
64
+ msgstr "Pour configurer votre mot de passe, rendez-vous à l'adresse suivante :"
65
+
66
+ #: includes/overrides.php:43 includes/overrides.php:74
67
+ #: includes/overrides.php:93 includes/overrides.php:109
68
+ msgid "Username: %s"
69
+ msgstr "Utilisateur : %s"
70
+
71
+ #: includes/overrides.php:44 includes/overrides.php:94
72
+ msgid "E-mail: %s"
73
+ msgstr "Adresse E-mail: %s"
74
+
75
+ #: includes/license/class-bnfw-license-setting.php:18
76
+ msgid "Addon Licenses"
77
+ msgstr "Ajouter licences"
78
+
79
+ #: includes/license/class-bnfw-license-setting.php:76
80
+ msgid "Deactivate License"
81
+ msgstr "Désactiver la license"
82
+
83
+ #: includes/license/class-bnfw-license.php:96
84
+ msgid "%1$s License Key"
85
+ msgstr "%1$s clé de licence"
86
+
87
+ #: includes/overrides.php:42 includes/overrides.php:92
88
+ msgid "New user registration on your site %s:"
89
+ msgstr "Enregistrement d'un nouvel utilisateur sur votre site %s"
90
+
91
+ #: includes/import.php:60
92
+ msgid " for "
93
+ msgstr " pour "
94
+
95
+ #: includes/import.php:60
96
+ msgid " (Auto Imported)"
97
+ msgstr ""
98
+ " \n"
99
+ "(Auto importé)"
100
+
101
+ #: includes/libraries/EDD_SL_Plugin_Updater.php:181
102
+ msgid "There is a new version of %1$s available. <a target=\"_blank\" class=\"thickbox\" href=\"%2$s\">View version %3$s details</a>."
103
+ msgstr "Une nouvelle version de %1$s est disponible. <a target=\"_blank\" class=\"thickbox\" href=\"%2$s\">Voir les détails de la version %3$s</a>."
104
+
105
+ #: includes/libraries/EDD_SL_Plugin_Updater.php:188
106
+ msgid "There is a new version of %1$s available. <a target=\"_blank\" class=\"thickbox\" href=\"%2$s\">View version %3$s details</a> or <a href=\"%4$s\">update now</a>."
107
+ msgstr "Une nouvelle version de %1$s est disponible. <a target=\"_blank\" class=\"thickbox\" href=\"%2$s\">Voir les détails de la version %3$s</a> ou <a href=\"%4$s\">effectuer la mise-à-jour maintenant</a>."
108
+
109
+ #: includes/libraries/EDD_SL_Plugin_Updater.php:326
110
+ msgid "You do not have permission to install plugin updates"
111
+ msgstr "Vous n’avez pas les droits pour installer des mises-à-jour d’extensions"
112
+
113
+ #: includes/libraries/EDD_SL_Plugin_Updater.php:326
114
+ msgid "Error"
115
+ msgstr "<p><b>Erreur Google Map:</b> <i>latitude</i> et <i>longitude</i> attributs requis. Voir la documentation de l'aide.</p>"
116
+
117
+ #: includes/helpers/ajax-helpers.php:28
118
+ msgid "User Roles"
119
+ msgstr "Rôtes utilisateurs"
120
+
121
+ #: includes/admin/class-bnfw-notification.php:722
122
+ msgid "Notification Type"
123
+ msgstr "type de notification"
124
+
125
+ #: includes/admin/class-bnfw-notification.php:723
126
+ msgid "Enabled?"
127
+ msgstr "Activé ?"
128
+
129
+ #: includes/admin/class-bnfw-notification.php:725
130
+ msgid "User Roles / Users"
131
+ msgstr "Rôles de l'utilisateur / Utilisateurs"
132
+
133
+ #: includes/admin/class-bnfw-notification.php:827
134
+ msgid "User Registration - For User"
135
+ msgstr "Enregistrement de l'utilisateur - pour l’utilisateur"
136
+
137
+ #: includes/admin/class-bnfw-notification.php:833
138
+ msgid "User Registration - For Admin"
139
+ msgstr "Enregistrement de l'utilisateur - pour l’admin"
140
+
141
+ #: includes/admin/class-bnfw-notification.php:870
142
+ msgid "Updated "
143
+ msgstr "Mise a jour "
144
+
145
+ #: includes/admin/class-bnfw-notification.php:873
146
+ msgid " Pending Review"
147
+ msgstr " en attendant l'examen"
148
+
149
+ #: includes/admin/class-bnfw-notification.php:876
150
+ msgid " Scheduled"
151
+ msgstr " planifié"
152
+
153
+ #: includes/admin/class-bnfw-notification.php:879
154
+ msgid " Comment"
155
+ msgstr " commentaire"
156
+
157
+ #: includes/admin/class-bnfw-notification.php:883
158
+ msgid "New Term in "
159
+ msgstr "Nouveau terme dans "
160
+
161
+ #: includes/helpers/ajax-helpers.php:51
162
+ msgid "Users"
163
+ msgstr "Abonnés"
164
+
165
+ #: includes/admin/class-bnfw-notification.php:640
166
+ msgid "Move to Trash"
167
+ msgstr "Déplacer dans la corbeille"
168
+
169
+ #: includes/admin/class-bnfw-notification.php:620
170
+ msgid "Disable Notification"
171
+ msgstr "Désactiver les notifications"
172
+
173
+ #: includes/admin/class-bnfw-notification.php:628
174
+ msgid "Send Me a Test Email"
175
+ msgstr "Envoyez-moi un mail de test"
176
+
177
+ #: includes/admin/class-bnfw-notification.php:638
178
+ msgid "Delete Permanently"
179
+ msgstr "Dupprimer définitivement"
180
+
181
+ #: includes/admin/class-bnfw-notification.php:364
182
+ msgid "Shortcode Help"
183
+ msgstr "Aide Shortcode"
184
+
185
+ #: includes/admin/class-bnfw-notification.php:374
186
+ msgid "Stop additional paragraph and line break HTML from being inserted into my notifications"
187
+ msgstr "Arrêtez les paragraphes supplémentaire et un saut de ligne HTML d'être inséré dans mes notifications"
188
+
189
+ #: includes/admin/class-bnfw-notification.php:510
190
+ msgid "Test Notification Sent."
191
+ msgstr "Test de notification envoyé."
192
+
193
+ #: includes/admin/class-bnfw-notification.php:591
194
+ msgid "Notification saved."
195
+ msgstr "Notification sauvé."
196
+
197
+ #: includes/admin/class-bnfw-notification.php:609
198
+ #: includes/admin/class-bnfw-notification.php:648
199
+ #: includes/admin/class-bnfw-notification.php:649
200
+ msgid "Save"
201
+ msgstr "Enregister"
202
+
203
+ #: includes/admin/class-bnfw-notification.php:354
204
+ msgid "Message Body"
205
+ msgstr "Votre message"
206
+
207
+ #: includes/admin/class-bnfw-notification.php:358
208
+ msgid "Need some help?"
209
+ msgstr "Besoin d’aide ?"
210
+
211
+ #: includes/admin/class-bnfw-notification.php:361
212
+ msgid "Documentation"
213
+ msgstr "Consultez la documentation."
214
+
215
+ #: includes/admin/class-bnfw-notification.php:228
216
+ msgid "New"
217
+ msgstr "Ajouter"
218
+
219
+ #: includes/admin/class-bnfw-notification.php:246
220
+ msgid "This notification doesn't support additional email fields."
221
+ msgstr "Cette notification ne supporte pas les champs d’emails supplémentaires."
222
+
223
+ #: includes/admin/class-bnfw-notification.php:253
224
+ msgid "Email Formatting"
225
+ msgstr "Formatage de l’émail"
226
+
227
+ #: includes/admin/class-bnfw-notification.php:270 includes/tmp.php:3
228
+ msgid "Additional Email Fields"
229
+ msgstr "Champ d’email supplémentaire"
230
+
231
+ #: includes/admin/class-bnfw-notification.php:274
232
+ msgid "Set \"From\" Name & Email, CC, BCC"
233
+ msgstr "Ensemble \" De \" Nom & Email, CC, BCC"
234
+
235
+ #: includes/admin/class-bnfw-notification.php:280 includes/tmp.php:13
236
+ msgid "From Name and Email"
237
+ msgstr "Nom et email"
238
+
239
+ #: includes/admin/class-bnfw-notification.php:290 includes/tmp.php:23
240
+ msgid "CC"
241
+ msgstr "CC"
242
+
243
+ #: includes/admin/class-bnfw-notification.php:302 includes/tmp.php:34
244
+ msgid "BCC"
245
+ msgstr "Cc"
246
+
247
+ #: includes/admin/class-bnfw-notification.php:317
248
+ msgid "Send this notification to the Author only"
249
+ msgstr "Envoyer cette notification à l'auteur seulement"
250
+
251
+ #: includes/admin/class-bnfw-notification.php:324
252
+ msgid "Send To"
253
+ msgstr "Envoyé à"
254
+
255
+ #: includes/admin/class-bnfw-notification.php:338
256
+ msgid "Disable this Notification for the User that triggered it"
257
+ msgstr "Désactivez cette notification pour l'utilisateur qui l'a déclenché"
258
+
259
+ #: includes/admin/class-bnfw-notification.php:345
260
+ #: includes/admin/class-bnfw-notification.php:724
261
+ msgid "Subject"
262
+ msgstr "Objet"
263
+
264
+ #: includes/admin/class-bnfw-notification.php:207
265
+ msgid "Scheduled"
266
+ msgstr "Programmé"
267
+
268
+ #: includes/admin/class-bnfw-notification.php:208
269
+ #: includes/admin/class-bnfw-notification.php:809
270
+ msgid "New Comment"
271
+ msgstr "Nouveau Commentaire"
272
+
273
+ #: includes/admin/class-bnfw-notification.php:223
274
+ msgid "Custom Taxonomy"
275
+ msgstr "Taxonomie personnalisée"
276
+
277
+ #: includes/admin/class-bnfw-notification.php:180
278
+ #: includes/admin/class-bnfw-notification.php:854
279
+ msgid "New Tag"
280
+ msgstr "Nouveau Tag"
281
+
282
+ #: includes/admin/class-bnfw-notification.php:184
283
+ msgid "New Page Published"
284
+ msgstr "Nouvelle page publié"
285
+
286
+ #: includes/admin/class-bnfw-notification.php:185
287
+ msgid "Page Updated"
288
+ msgstr "Page mise à jour"
289
+
290
+ #: includes/admin/class-bnfw-notification.php:186
291
+ msgid "Page Pending Review"
292
+ msgstr "Page en attente d'examen"
293
+
294
+ #: includes/admin/class-bnfw-notification.php:187
295
+ msgid "Page Scheduled"
296
+ msgstr "Page planifié"
297
+
298
+ #: includes/admin/class-bnfw-notification.php:188
299
+ #, fuzzy
300
+ msgid "Page - New Comment"
301
+ msgstr "Page - nouveau commentaire"
302
+
303
+ #: includes/admin/class-bnfw-notification.php:203
304
+ msgid "Custom Post Type"
305
+ msgstr "Type post personnalisé"
306
+
307
+ #: includes/admin/class-bnfw-notification.php:204
308
+ #: includes/admin/class-bnfw-notification.php:867
309
+ msgid "New "
310
+ msgstr "Nouveau"
311
+
312
+ #: includes/admin/class-bnfw-notification.php:205
313
+ msgid "Update "
314
+ msgstr "Mettre &agrave; jour"
315
+
316
+ #: includes/admin/class-bnfw-notification.php:206
317
+ msgid "Pending Review"
318
+ msgstr "En attente"
319
+
320
+ #: includes/admin/class-bnfw-notification.php:50
321
+ msgid "Add New Notification"
322
+ msgstr "Ajouter une nouvelle notification"
323
+
324
+ #: includes/admin/class-bnfw-notification.php:51
325
+ msgid "Edit Notification"
326
+ msgstr "Editer une notification"
327
+
328
+ #: includes/admin/class-bnfw-notification.php:52
329
+ msgid "New Notification"
330
+ msgstr "Nouvelle notification"
331
+
332
+ #: includes/admin/class-bnfw-notification.php:53
333
+ msgid "View Notification"
334
+ msgstr "Voir la notification"
335
+
336
+ #: includes/admin/class-bnfw-notification.php:54
337
+ msgid "Search Notifications"
338
+ msgstr "Rechercher la notification"
339
+
340
+ #: includes/admin/class-bnfw-notification.php:55
341
+ msgid "No Notifications found"
342
+ msgstr "Aucune Notification trouvé"
343
+
344
+ #: includes/admin/class-bnfw-notification.php:56
345
+ msgid "No Notifications found in trash"
346
+ msgstr "Aucune notification trouvé dans la poubelle"
347
+
348
+ #: includes/admin/class-bnfw-notification.php:57
349
+ msgid "All Notifications"
350
+ msgstr "Toute les notifications"
351
+
352
+ #: includes/admin/class-bnfw-notification.php:128
353
+ msgid "Save Notification"
354
+ msgstr "Enregistrer la notification"
355
+
356
+ #: includes/admin/class-bnfw-notification.php:156
357
+ msgid "Notification For"
358
+ msgstr "Recevoir une notification pour"
359
+
360
+ #: includes/admin/class-bnfw-notification.php:161
361
+ msgid "New Comment / Awaiting Moderation"
362
+ msgstr "Nouveau commentaire / Modération en attente"
363
+
364
+ #: includes/admin/class-bnfw-notification.php:162
365
+ #: includes/admin/class-bnfw-notification.php:812
366
+ msgid "New Trackback"
367
+ msgstr "Retracer à nouveau"
368
+
369
+ #: includes/admin/class-bnfw-notification.php:163
370
+ #: includes/admin/class-bnfw-notification.php:815
371
+ msgid "New Pingback"
372
+ msgstr "Nouveau pingback"
373
+
374
+ #: includes/admin/class-bnfw-notification.php:164
375
+ #: includes/admin/class-bnfw-notification.php:824
376
+ msgid "Lost Password - For Admin"
377
+ msgstr "Mot de passe perdu - pour admin"
378
+
379
+ #: includes/admin/class-bnfw-notification.php:165
380
+ msgid "New User Registration - For Admin"
381
+ msgstr "Enregistrement d'un nouvel utilisateur - pour admin"
382
+
383
+ #: includes/admin/class-bnfw-notification.php:168
384
+ #: includes/admin/class-bnfw-notification.php:821
385
+ msgid "Lost Password - For User"
386
+ msgstr "Mot de passe perdu - pour l'utilisateur"
387
+
388
+ #: includes/admin/class-bnfw-notification.php:169
389
+ msgid "New User Registration - For User"
390
+ msgstr "Enregistrement d'un nouvel utilisateur - pour l'utilisateur"
391
+
392
+ #: includes/admin/class-bnfw-notification.php:170
393
+ #: includes/admin/class-bnfw-notification.php:830
394
+ msgid "New User - Welcome Email"
395
+ msgstr "Nouvel utilisateur - Bienvenue"
396
+
397
+ #: includes/admin/class-bnfw-notification.php:172
398
+ #: includes/admin/class-bnfw-notification.php:818
399
+ msgid "Comment Reply"
400
+ msgstr "Commenter pour répondre"
401
+
402
+ #: includes/admin/class-bnfw-notification.php:175
403
+ #: includes/admin/class-bnfw-notification.php:839
404
+ msgid "New Post Published"
405
+ msgstr "Nouveau message publié"
406
+
407
+ #: includes/admin/class-bnfw-notification.php:176
408
+ #: includes/admin/class-bnfw-notification.php:842
409
+ msgid "Post Updated"
410
+ msgstr "Mise à jour du message"
411
+
412
+ #: includes/admin/class-bnfw-notification.php:177
413
+ #: includes/admin/class-bnfw-notification.php:845
414
+ msgid "Post Pending Review"
415
+ msgstr "Message en attente d'examen"
416
+
417
+ #: includes/admin/class-bnfw-notification.php:178
418
+ #: includes/admin/class-bnfw-notification.php:848
419
+ msgid "Post Scheduled"
420
+ msgstr "Message planifié"
421
+
422
+ #: includes/admin/class-bnfw-notification.php:179
423
+ #: includes/admin/class-bnfw-notification.php:851
424
+ msgid "New Category"
425
+ msgstr "Nouvelle catégorie"
426
+
427
+ #: includes/admin/class-bnfw-notification.php:45
428
+ #: includes/admin/class-bnfw-notification.php:48
429
+ #: includes/admin/class-bnfw-notification.php:49
430
+ msgid "Notifications"
431
+ msgstr "Alertes"
432
+
433
+ #: includes/admin/class-bnfw-notification.php:46
434
+ msgid "Notification"
435
+ msgstr "Note"
436
+
437
+ #: includes/admin/class-bnfw-notification.php:47
438
+ msgid "Add New"
439
+ msgstr "Ajouter nouveau"
440
+
441
+ #: includes/admin/bnfw-settings.php:38
442
+ msgid "BNFW Settings"
443
+ msgstr "Réglages BNFW"
444
+
445
+ #: includes/admin/bnfw-settings.php:123
446
+ msgid "Suppress SPAM comment notification"
447
+ msgstr "Réprimer le commentaire de notification dans SPAM"
448
+
449
+ #: includes/admin/bnfw-settings.php:128
450
+ msgid "Don't send notifications for comments marked as SPAM by Akismet"
451
+ msgstr "Ne pas envoyer des notifications pour les commentaires marqués comme spam par Akismet"
452
+
453
+ #: includes/admin/bnfw-settings.php:141
454
+ msgid "Default Email Format"
455
+ msgstr "Défaut du format de l’email"
456
+
457
+ #: includes/admin/bnfw-settings.php:146
458
+ msgid "This will apply to all emails sent out via WordPress, even those from other plugins. For more details, please see the <a href=\"https://wordpress.org/plugins/bnfw/faq/\" target=\"_blank\">FAQ</a>."
459
+ msgstr "Cela vaut pour tout les emails envoyés via WordPress, même ceux d'autres plugins. Pour plus de détails, s'il vous plaît voir la <a href=\"https://wordpress.org/plugins/bnfw/faq/\" target=\"_blank\">FAQ</a>."
460
+
461
+ #: includes/admin/bnfw-settings.php:189
462
+ #: includes/admin/class-bnfw-notification.php:258
463
+ msgid "HTML Formatting"
464
+ msgstr "Recevoir en HTML"
465
+
466
+ #: includes/admin/bnfw-settings.php:193
467
+ #: includes/admin/class-bnfw-notification.php:263
468
+ msgid "Plain Text"
469
+ msgstr "Recevoir en Texte brut"
470
+
471
+ #: includes/admin/bnfw-settings.php:14
472
+ #: includes/admin/class-bnfw-notification.php:120
473
+ msgid "Notification Settings"
474
+ msgstr "Paramètres de notification"
475
+
476
+ #: includes/admin/bnfw-settings.php:15
477
+ msgid "Settings"
478
+ msgstr "Réglage"