SendinBlue Subscribe Form And WP SMTP - Version 2.9.6

Version Description

  • Fr translations fixes
  • Small improvements related to Query Monitor, Form Redirection etc.
Download this release

Release Info

Developer neeraj_slit
Plugin Icon 128x128 SendinBlue Subscribe Form And WP SMTP
Version 2.9.6
Comparing to
See all releases

Code changes from version 2.9.5 to 2.9.6

js/mailin-front.js CHANGED
@@ -158,9 +158,7 @@ jQuery(document).ready(function(){
158
  {
159
  jQuery('.sib-multi-lists').removeClass('sib_error');
160
  }
161
- if (data.redirect) {
162
- window.location.href = data.redirect;
163
- } else if (data.status === 'success' || data.status === 'update') {
164
  var cdata = '<p class="sib-alert-message sib-alert-message-success ">' + data.msg.successMsg + '</p>';
165
  form.find('.sib_msg_disp').html(cdata).show();
166
  } else if (data.status === 'failure') {
@@ -180,6 +178,9 @@ jQuery(document).ready(function(){
180
  form.find('.sib_msg_disp').html(cdata).show();
181
  }
182
  form[0].reset();
 
 
 
183
  var previous_code = form.find('.sib-cflags').data('dial-code');
184
  if ( previous_code )
185
  {
158
  {
159
  jQuery('.sib-multi-lists').removeClass('sib_error');
160
  }
161
+ if (data.status === 'success' || data.status === 'update') {
 
 
162
  var cdata = '<p class="sib-alert-message sib-alert-message-success ">' + data.msg.successMsg + '</p>';
163
  form.find('.sib_msg_disp').html(cdata).show();
164
  } else if (data.status === 'failure') {
178
  form.find('.sib_msg_disp').html(cdata).show();
179
  }
180
  form[0].reset();
181
+ if (data.status === 'success' && data.status === 'update' && data.redirect) {
182
+ window.location.href = data.redirect;
183
+ }
184
  var previous_code = form.find('.sib-cflags').data('dial-code');
185
  if ( previous_code )
186
  {
lang/sib_lang-fr_FR.mo CHANGED
Binary file
lang/sib_lang-fr_FR.po CHANGED
@@ -78,7 +78,7 @@ msgstr "Shortcode"
78
 
79
  #: ../inc/table-forms.php:121
80
  msgid "Visible attributes"
81
- msgstr "Attributs exposés"
82
 
83
  #: ../inc/table-forms.php:122 ../page/page-form.php:338
84
  #: ../page/page-form.php:339
@@ -451,20 +451,16 @@ msgid "Create a SendinBlue Account"
451
  msgstr "Créer un compte SendinBlue"
452
 
453
  #: ../page/page-home.php:116
454
- msgid ""
455
- "By Creating a free SendinBlue account, you will have access to send a "
456
- "confirmation message."
457
- msgstr ""
458
- "En créant un compte gratuit SendinBlue, vous pourrez envoyer un message de "
459
- "confirmation après inscription."
460
 
461
  #: ../page/page-home.php:118
462
  msgid "Collect your contacts and upload your lists"
463
- msgstr "Collectez vos contacts et importez vos listes"
464
 
465
  #: ../page/page-home.php:119
466
  msgid "Use SendinBlue SMTP to send your transactional emails"
467
- msgstr "Utilisez le SMTP SendinBlue pour vos emails transactionnels"
468
 
469
  #: ../page/page-home.php:120
470
  msgid "Email marketing builders"
@@ -472,15 +468,15 @@ msgstr "Editeurs d'Email Marketing"
472
 
473
  #: ../page/page-home.php:121
474
  msgid "Create and schedule your email marketing campaigns"
475
- msgstr "Créer une nouvelle campagne email"
476
 
477
  #: ../page/page-home.php:122
478
- msgid "See all of"
479
- msgstr "Consulter toutes les"
480
 
481
  #: ../page/page-home.php:122
482
  msgid "SendinBlue's features"
483
- msgstr "Fonctionnalités de Sendinblue"
484
 
485
  #: ../page/page-home.php:124
486
  msgid "Create an account"
@@ -507,16 +503,8 @@ msgid "Curl error."
507
  msgstr "Erreur Curl."
508
 
509
  #: ../page/page-home.php:140
510
- Once you have created a SendinBlue account, activate this plugin to send
511
- all of your transactional emails via SendinBlue SMTP. SendinBlue optimizes email delivery to ensure emails reach the inbox.
512
- msgid ""
513
- "Once you have created a SendinBlue account, activate this plugin to send"
514
- "all of your transactional emails via SendinBlue SMTP."
515
- "SendinBlue optimizes email delivery to ensure emails reach the inbox."
516
- msgstr ""
517
- "Une fois votre compte SendinBlue créé, activez ce plugin pour envoyer tous "
518
- "vos emails transactionnels avec SendinBlue SMTP. Vous vous assurerez que vos "
519
- "contacts reçoivent vos emails."
520
 
521
  #: ../page/page-home.php:141
522
  msgid "To activate your plugin, enter your API Access key."
@@ -532,7 +520,7 @@ msgstr "Clé d'accès"
532
 
533
  #: ../page/page-home.php:149
534
  msgid "Login"
535
- msgstr "Identifiant"
536
 
537
  #: ../page/page-home.php:195
538
  msgid "My Account"
@@ -564,7 +552,7 @@ msgstr "contacts."
564
 
565
  #: ../page/page-home.php:217
566
  msgid "Access to the list of all my contacts"
567
- msgstr "Accéder à ma liste de tous mes contacts"
568
 
569
  #: ../page/page-home.php:225
570
  msgid "Email Campaigns"
@@ -713,13 +701,8 @@ msgid "About SendinBlue"
713
  msgstr "A propos de SendinBlue"
714
 
715
  #: ../page/page-home.php:409
716
- msgid ""
717
- "SendinBlue is an online software that allows you to send emails and SMS. "
718
- "Easily manage your Marketing campaigns, transactional emails and SMS."
719
- msgstr ""
720
- "SendinBlue est un logiciel en ligne qui permet d'envoyer SMS et emails. "
721
- "Gérer de manière simple et efficace vos campagnes Marketing, SMS et emails "
722
- "transactionnels"
723
 
724
  #: ../page/page-home.php:412
725
  msgid "Who we are"
@@ -734,12 +717,12 @@ msgid "Features"
734
  msgstr "Fonctionnalités"
735
 
736
  #: ../page/page-home.php:425
737
- msgid "Need Help ?"
738
- msgstr "Besoin d'aide"
739
 
740
  #: ../page/page-home.php:427
741
- msgid "You have a question or need more information ?"
742
- msgstr "Vous avez une question, ou besoin de plus d'information ? "
743
 
744
  #: ../page/page-home.php:429
745
  msgid "Tutorials"
@@ -967,8 +950,8 @@ msgid "Add Terms URL"
967
  msgstr "Ajouter l'URL de consultation des CGU"
968
 
969
  #: ../page/page-form.php:123
970
- msgid "Note: Forms created in SendinBlue plugin for Wordpress won't be displayed in Forms section in SendinBlue application"
971
- msgstr "Note : Les formulaires créés dans le plugin SendinBlue pour Wordpress ne seront pas visibles dans la section Formulaires de l'application SendinBlue"
972
 
973
  #: ../page/page-home.php:464
974
  msgid "Let everyone know you like this plugin through a review!"
@@ -1068,156 +1051,231 @@ msgstr "Charger le formulaire par défaut"
1068
  msgid "Your e-mail address is only used to send you our newsletter and information about the activities of %s. You can always use the unsubscribe link included in the newsletter."
1069
  msgstr "Votre adresse email est utilisée uniquement pour vous envoyer notre newsletter ainsi que les activités concernant %s. Vous pouvez toujours vous désinscrire en cliquant sur le lien de désinscription se trouvant dans la newsletter."
1070
 
1071
- #~ msgid "Settings"
1072
- #~ msgstr "Paramètres"
1073
-
1074
- #~ msgid ""
1075
- #~ "Confirmation emails will be sent through your own email server, but you "
1076
- #~ "have no guarantees on their deliverability. <br/> <a href=\"https://app-"
1077
- #~ "smtp.sendinblue.com\" target=\"_blank\">Click here</a> to send your "
1078
- #~ "emails through SendinBlue in order to improve your deliverability and get "
1079
- #~ "statistics"
1080
- #~ msgstr ""
1081
- #~ "Les emails de confirmation seront envoyés par votre propre serveur email. "
1082
- #~ "Vous n'avez donc aucune garantie sur la délivrabilité de vos emails. <br/"
1083
- #~ "> Pour améliorer la délivrabilité et obtenir des statistiques, activez "
1084
- #~ "l'envoi des emails via le serveur SMTP de SendinBlue en <a href=\"https://"
1085
- #~ "app-smtp.sendinblue.com\" target=\"_blank\">cliquant ici</a>"
1086
-
1087
- #~ msgid "Sign up"
1088
- #~ msgstr "S'inscrire"
1089
-
1090
- #~ msgid "Wrap in Paragraph (&lt;p&gt;) tags ?"
1091
- #~ msgstr "Entourer de balise <p> ?"
1092
-
1093
- #~ msgid "Display"
1094
- #~ msgstr "Afficher"
1095
-
1096
- #~ msgid "Input"
1097
- #~ msgstr "Saisir"
1098
-
1099
- #~ msgid "List"
1100
- #~ msgstr "Liste"
1101
-
1102
- #~ msgid ""
1103
- #~ "Unfortunately, you wannot activate \"Transactional emails\" because your "
1104
- #~ "SendinBlue SMTP account is not valid. Please send an email to "
1105
- #~ "contact@sendinblue.com in order to ask for SMTP account activation"
1106
- #~ msgstr ""
1107
- #~ "Malheureusement, vous ne pouvez pas activer \"Emails transactionnels\" "
1108
- #~ "parce que votre compte SMTP SendinBlue n'a pas été validé. Merci "
1109
- #~ "d'envoyer un email à contact@sendinblue.com afin de demander l'activation "
1110
- #~ "de votre compte SMTP"
1111
-
1112
- #~ msgid "SendinBlue merge fields"
1113
- #~ msgstr "Champs synchronisé avec SendinBlue"
1114
-
1115
- #~ msgid "Double Optin"
1116
- #~ msgstr "Double Optin"
1117
-
1118
- #~ msgid ""
1119
- #~ "The template you selected does not include a link [DOUBLEOPTIN] to allow "
1120
- #~ "subscribers to confirm their subscription. Please edit the template to "
1121
- #~ "include a link with [DOUBLEOPTIN] as URL."
1122
- #~ msgstr ""
1123
- #~ "Le template choisi ne contient pas de lien [DOUBLEOPTIN] qui permet aux "
1124
- #~ "inscrits de confirmer leur inscription. Vous devez modifier votre "
1125
- #~ "template pour inclure le shortcode [DOUBLEOPTIN] à la place d'une URL "
1126
- #~ "avant de pouvoir le choisir."
1127
-
1128
- #~ msgid "Close"
1129
- #~ msgstr "Fermer"
1130
-
1131
- #~ msgid "Confirmation email"
1132
- #~ msgstr "Les emails de confirmation"
1133
-
1134
- #~ msgid ""
1135
- #~ "Confirmation emails will be sent through your own email server, but you "
1136
- #~ "have no guarantees on their deliverability. <a href=\"https://app-smtp."
1137
- #~ "sendinblue.com\" target=\"_blank\">Click here</a> to send your emails "
1138
- #~ "through SendinBlue in order to improve your deliverability and get "
1139
- #~ "statistics"
1140
- #~ msgstr ""
1141
- #~ "Les emails de confirmation seront envoyés par votre propre serveur email. "
1142
- #~ "Vous n'avez donc aucune garantie sur la délivrabilité de vos emails. Pour "
1143
- #~ "améliorer la délivrabilité et obtenir des statistiques, activez l'envoi "
1144
- #~ "des emails via le serveur SMTP de SendinBlue en <a href=\"https://app-"
1145
- #~ "smtp.sendinblue.com\" target=\"_blank\">cliquant ici</a>"
1146
-
1147
- #~ msgid ""
1148
- #~ "You can choose to add a step in the confirmation process, by requiring a "
1149
- #~ "new suscriber to click on a link sent to the registered email adress. By "
1150
- #~ "doing so, he will be added to your contact"
1151
- #~ msgstr ""
1152
- #~ "Vous pouvez choisir d'ajouter une étape dans le processus d'inscription, "
1153
- #~ "en demandant à vos nouveaux inscrits de cliquer sur un lien envoyé à "
1154
- #~ "l'adresse email déclarée. Ils seront ensuite ajoutés à votre liste de "
1155
- #~ "contact. "
1156
-
1157
- #~ msgid ""
1158
- #~ "Confirmation emails will be sent through your own email servers. This "
1159
- #~ "means no guarantees on emails deliverability. If you want to improve your "
1160
- #~ "deliverability and get statistics,"
1161
- #~ msgstr ""
1162
- #~ "Les emails de confirmation seront envoyés par votre propre serveur email. "
1163
- #~ "Vous n'avez donc aucune garantie sur la délivrabilité de vos emails. Pour "
1164
- #~ "améliorer la délivrabilité et obtenir des statistiques, activez l'envoi "
1165
- #~ "des emails via le serveur SMTP de SendinBlue en"
1166
-
1167
- #~ msgid "click here"
1168
- #~ msgstr "cliquant ici"
1169
-
1170
- #~ msgid "Set up my senders"
1171
- #~ msgstr "Paramétrer mes expéditeurs"
1172
-
1173
- #~ msgid "To activate your plugin, enter your API Access key and Secret key."
1174
- #~ msgstr ""
1175
- #~ "Pour activer ce plugin, entrez votre clé API d'accès et votre clé API "
1176
- #~ "secrète"
1177
-
1178
- #~ msgid "Secret Key"
1179
- #~ msgstr "Clé secrète"
1180
-
1181
- #~ msgid "Choose Template"
1182
- #~ msgstr "Choisir un Template"
1183
-
1184
- #~ msgid "Choose Sender"
1185
- #~ msgstr "Choisir l'expéditeur"
1186
-
1187
- #~ msgid "And more"
1188
- #~ msgstr "Et bien plus"
1189
-
1190
- #~ msgid "Yes, subscribe me to this list."
1191
- #~ msgstr "Oui, je souhaite m'inscrire à cette liste"
1192
-
1193
- #~ msgid ""
1194
- #~ "If you received this email by mistake, simply delete it. You will not be "
1195
- #~ "subscribed to this list if you don't click the confirmation link above."
1196
- #~ msgstr ""
1197
- #~ "SI vous avez reçu cet email par erreur, merci de le supprimer. Vous ne "
1198
- #~ "serez pas inscrit si vous ne cliquez pas sur le lien de confirmation ci-"
1199
- #~ "dessus"
1200
-
1201
- #~ msgid "Campaign"
1202
- #~ msgstr "Campagne"
1203
-
1204
- #~ msgid "Welcome"
1205
- #~ msgstr "Bienvenue "
1206
-
1207
- #~ msgid "Get it from"
1208
- #~ msgstr "Obtenez les depuis"
1209
-
1210
- #~ msgid "your account"
1211
- #~ msgstr "votre compte"
1212
-
1213
- #~ msgid "SendinBlue API Access Key"
1214
- #~ msgstr "Clé API d'accès"
1215
-
1216
- #~ msgid "Please input Access key to activate."
1217
- #~ msgstr "Insérez votre clé API d'accès pour l'activation"
1218
-
1219
- #~ msgid "SendinBlue API Secret Key"
1220
- #~ msgstr "Clé API secrète"
1221
-
1222
- #~ msgid "My account "
1223
- #~ msgstr "Mon compte"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
 
79
  #: ../inc/table-forms.php:121
80
  msgid "Visible attributes"
81
+ msgstr "Attributs affichés"
82
 
83
  #: ../inc/table-forms.php:122 ../page/page-form.php:338
84
  #: ../page/page-form.php:339
451
  msgstr "Créer un compte SendinBlue"
452
 
453
  #: ../page/page-home.php:116
454
+ msgid "By creating a free SendinBlue account, you will be able to send confirmation emails and:"
455
+ msgstr "En créant un compte gratuit Sendinblue, vous pourrez envoyer vos emails de confirmations d'inscription et :"
 
 
 
 
456
 
457
  #: ../page/page-home.php:118
458
  msgid "Collect your contacts and upload your lists"
459
+ msgstr "Collecter vos contacts et importer vos listes"
460
 
461
  #: ../page/page-home.php:119
462
  msgid "Use SendinBlue SMTP to send your transactional emails"
463
+ msgstr "Utiliser le SMTP SendinBlue pour vos emails transactionnels"
464
 
465
  #: ../page/page-home.php:120
466
  msgid "Email marketing builders"
468
 
469
  #: ../page/page-home.php:121
470
  msgid "Create and schedule your email marketing campaigns"
471
+ msgstr "Créer et programmer vos campagnes d'email marketing"
472
 
473
  #: ../page/page-home.php:122
474
+ msgid "Try all of"
475
+ msgstr "Essayer toutes les"
476
 
477
  #: ../page/page-home.php:122
478
  msgid "SendinBlue's features"
479
+ msgstr "fonctionnalités de Sendinblue"
480
 
481
  #: ../page/page-home.php:124
482
  msgid "Create an account"
503
  msgstr "Erreur Curl."
504
 
505
  #: ../page/page-home.php:140
506
+ msgid "Once you have created a SendinBlue account, activate this plugin to send all of your transactional emails via SendinBlue SMTP. SendinBlue optimizes email delivery to ensure emails reach the inbox."
507
+ msgstr "Une fois votre compte SendinBlue créé, activez ce plugin pour envoyer tous vos emails transactionnels avec SendinBlue SMTP afin d'optimiser la délivrabilité de vos emails."
 
 
 
 
 
 
 
 
508
 
509
  #: ../page/page-home.php:141
510
  msgid "To activate your plugin, enter your API Access key."
520
 
521
  #: ../page/page-home.php:149
522
  msgid "Login"
523
+ msgstr "Se connecter"
524
 
525
  #: ../page/page-home.php:195
526
  msgid "My Account"
552
 
553
  #: ../page/page-home.php:217
554
  msgid "Access to the list of all my contacts"
555
+ msgstr "Accéder à la liste de tous mes contacts"
556
 
557
  #: ../page/page-home.php:225
558
  msgid "Email Campaigns"
701
  msgstr "A propos de SendinBlue"
702
 
703
  #: ../page/page-home.php:409
704
+ msgid "SendinBlue is an online software that helps you build and grow relationships through marketing and transactional emails, marketing automation, and text messages."
705
+ msgstr "SendinBlue est une plateforme tout-en-un qui permet de gérer votre marketing relationnel : gérez de manière simple et efficace vos campagnes marketing, SMS et emails transactionnels."
 
 
 
 
 
706
 
707
  #: ../page/page-home.php:412
708
  msgid "Who we are"
717
  msgstr "Fonctionnalités"
718
 
719
  #: ../page/page-home.php:425
720
+ msgid "Need Help?"
721
+ msgstr "Besoin d'aide ?"
722
 
723
  #: ../page/page-home.php:427
724
+ msgid "Do you have a question or need more information?"
725
+ msgstr "Vous avez une question, ou avez besoin de plus d'information ?"
726
 
727
  #: ../page/page-home.php:429
728
  msgid "Tutorials"
950
  msgstr "Ajouter l'URL de consultation des CGU"
951
 
952
  #: ../page/page-form.php:123
953
+ msgid "Note: Forms created in SendinBlue plugin for WordPress won't be displayed in Forms section in SendinBlue application"
954
+ msgstr "Note : Les formulaires créés avec le plugin Sendinblue pour Wordpress ne seront pas présents sur la page Formulaires de votre compte Sendinblue"
955
 
956
  #: ../page/page-home.php:464
957
  msgid "Let everyone know you like this plugin through a review!"
1051
  msgid "Your e-mail address is only used to send you our newsletter and information about the activities of %s. You can always use the unsubscribe link included in the newsletter."
1052
  msgstr "Votre adresse email est utilisée uniquement pour vous envoyer notre newsletter ainsi que les activités concernant %s. Vous pouvez toujours vous désinscrire en cliquant sur le lien de désinscription se trouvant dans la newsletter."
1053
 
1054
+ msgid "Settings"
1055
+ msgstr "Paramètres"
1056
+
1057
+ msgid ""
1058
+ "Confirmation emails will be sent through your own email server, but you "
1059
+ "have no guarantees on their deliverability. <br/> <a href=\"https://app-"
1060
+ "smtp.sendinblue.com\" target=\"_blank\">Click here</a> to send your "
1061
+ "emails through SendinBlue in order to improve your deliverability and get "
1062
+ "statistics"
1063
+ msgstr ""
1064
+ "Les emails de confirmation seront envoyés par votre propre serveur email. "
1065
+ "Vous n'avez donc aucune garantie sur la délivrabilité de vos emails. <br/"
1066
+ "> Pour améliorer la délivrabilité et obtenir des statistiques, activez "
1067
+ "l'envoi des emails via le serveur SMTP de SendinBlue en <a href=\"https://"
1068
+ "app-smtp.sendinblue.com\" target=\"_blank\">cliquant ici</a>"
1069
+
1070
+ msgid "Sign up"
1071
+ msgstr "S'inscrire"
1072
+
1073
+ msgid "Wrap in Paragraph (&lt;p&gt;) tags ?"
1074
+ msgstr "Entourer de balise <p> ?"
1075
+
1076
+ msgid "Display"
1077
+ msgstr "Afficher"
1078
+
1079
+ msgid "Input"
1080
+ msgstr "Saisir"
1081
+
1082
+ msgid "List"
1083
+ msgstr "Liste"
1084
+
1085
+ msgid ""
1086
+ "Unfortunately, you wannot activate \"Transactional emails\" because your "
1087
+ "SendinBlue SMTP account is not valid. Please send an email to "
1088
+ "contact@sendinblue.com in order to ask for SMTP account activation"
1089
+ msgstr ""
1090
+ "Malheureusement, vous ne pouvez pas activer \"Emails transactionnels\" "
1091
+ "parce que votre compte SMTP SendinBlue n'a pas été validé. Merci "
1092
+ "d'envoyer un email à contact@sendinblue.com afin de demander l'activation "
1093
+ "de votre compte SMTP"
1094
+
1095
+ msgid "SendinBlue merge fields"
1096
+ msgstr "Champs synchronisé avec SendinBlue"
1097
+
1098
+ msgid "Double Optin"
1099
+ msgstr "Double Optin"
1100
+
1101
+ msgid ""
1102
+ "The template you selected does not include a link [DOUBLEOPTIN] to allow "
1103
+ "subscribers to confirm their subscription. Please edit the template to "
1104
+ "include a link with [DOUBLEOPTIN] as URL."
1105
+ msgstr ""
1106
+ "Le template choisi ne contient pas de lien [DOUBLEOPTIN] qui permet aux "
1107
+ "inscrits de confirmer leur inscription. Vous devez modifier votre "
1108
+ "template pour inclure le shortcode [DOUBLEOPTIN] à la place d'une URL "
1109
+ "avant de pouvoir le choisir."
1110
+
1111
+ msgid "Close"
1112
+ msgstr "Fermer"
1113
+
1114
+ msgid "Confirmation email"
1115
+ msgstr "Les emails de confirmation"
1116
+
1117
+ msgid ""
1118
+ "Confirmation emails will be sent through your own email server, but you "
1119
+ "have no guarantees on their deliverability. <a href=\"https://app-smtp."
1120
+ "sendinblue.com\" target=\"_blank\">Click here</a> to send your emails "
1121
+ "through SendinBlue in order to improve your deliverability and get "
1122
+ "statistics"
1123
+ msgstr ""
1124
+ "Les emails de confirmation seront envoyés par votre propre serveur email. "
1125
+ "Vous n'avez donc aucune garantie sur la délivrabilité de vos emails. Pour "
1126
+ "améliorer la délivrabilité et obtenir des statistiques, activez l'envoi "
1127
+ "des emails via le serveur SMTP de SendinBlue en <a href=\"https://app-"
1128
+ "smtp.sendinblue.com\" target=\"_blank\">cliquant ici</a>"
1129
+
1130
+ msgid ""
1131
+ "You can choose to add a step in the confirmation process, by requiring a "
1132
+ "new suscriber to click on a link sent to the registered email adress. By "
1133
+ "doing so, he will be added to your contact"
1134
+ msgstr ""
1135
+ "Vous pouvez choisir d'ajouter une étape dans le processus d'inscription, "
1136
+ "en demandant à vos nouveaux inscrits de cliquer sur un lien envoyé à "
1137
+ "l'adresse email déclarée. Ils seront ensuite ajoutés à votre liste de "
1138
+ "contact. "
1139
+
1140
+ msgid ""
1141
+ "Confirmation emails will be sent through your own email servers. This "
1142
+ "means no guarantees on emails deliverability. If you want to improve your "
1143
+ "deliverability and get statistics,"
1144
+ msgstr ""
1145
+ "Les emails de confirmation seront envoyés par votre propre serveur email. "
1146
+ "Vous n'avez donc aucune garantie sur la délivrabilité de vos emails. Pour "
1147
+ "améliorer la délivrabilité et obtenir des statistiques, activez l'envoi "
1148
+ "des emails via le serveur SMTP de SendinBlue en"
1149
+
1150
+ msgid "click here"
1151
+ msgstr "cliquant ici"
1152
+
1153
+ msgid "Set up my senders"
1154
+ msgstr "Paramétrer mes expéditeurs"
1155
+
1156
+ msgid "To activate your plugin, enter your API Access key and Secret key."
1157
+ msgstr ""
1158
+ "Pour activer ce plugin, entrez votre clé API d'accès et votre clé API "
1159
+ "secrète"
1160
+
1161
+ msgid "Secret Key"
1162
+ msgstr "Clé secrète"
1163
+
1164
+ msgid "Choose Template"
1165
+ msgstr "Choisir un Template"
1166
+
1167
+ msgid "Choose Sender"
1168
+ msgstr "Choisir l'expéditeur"
1169
+
1170
+ msgid "And more"
1171
+ msgstr "Et bien plus"
1172
+
1173
+ msgid "Yes, subscribe me to this list."
1174
+ msgstr "Oui, je souhaite m'inscrire à cette liste"
1175
+
1176
+ msgid ""
1177
+ "If you received this email by mistake, simply delete it. You will not be "
1178
+ "subscribed to this list if you don't click the confirmation link above."
1179
+ msgstr ""
1180
+ "SI vous avez reçu cet email par erreur, merci de le supprimer. Vous ne "
1181
+ "serez pas inscrit si vous ne cliquez pas sur le lien de confirmation ci-"
1182
+ "dessus"
1183
+
1184
+ msgid "Campaign"
1185
+ msgstr "Campagne"
1186
+
1187
+ msgid "Welcome"
1188
+ msgstr "Bienvenue "
1189
+
1190
+ msgid "Get it from"
1191
+ msgstr "Obtenez les depuis"
1192
+
1193
+ msgid "your account"
1194
+ msgstr "votre compte"
1195
+
1196
+ msgid "SendinBlue API Access Key"
1197
+ msgstr "Clé API d'accès"
1198
+
1199
+ msgid "Please input Access key to activate."
1200
+ msgstr "Insérez votre clé API d'accès pour l'activation"
1201
+
1202
+ msgid "SendinBlue API Secret Key"
1203
+ msgstr "Clé API secrète"
1204
+
1205
+ msgid "My account "
1206
+ msgstr "Mon compte"
1207
+
1208
+ msgid "Users Synchronisation"
1209
+ msgstr "Synchronisation des utilisateurs"
1210
+
1211
+ msgid "You have"
1212
+ msgstr "Vous avez"
1213
+
1214
+ msgid "existing users."
1215
+ msgstr "utilisateurs existants."
1216
+
1217
+ msgid "Do you want to add them to SendinBlue?"
1218
+ msgstr "Souhaitez-vous les ajouter à SendinBlue ?"
1219
+
1220
+ msgid "Sync my users"
1221
+ msgstr "Synchroniser"
1222
+
1223
+ msgid "Sync my users"
1224
+ msgstr "Synchroniser"
1225
+
1226
+ msgid "Roles to sync"
1227
+ msgstr "Rôles à synchroniser"
1228
+
1229
+ msgid "Administrator"
1230
+ msgstr "Administrateur"
1231
+
1232
+ msgid "Author"
1233
+ msgstr "Auteur"
1234
+
1235
+ msgid "Subscriber"
1236
+ msgstr "Abonné"
1237
+
1238
+ msgid "Shop manager"
1239
+ msgstr "Gestionnaire boutique"
1240
+
1241
+ msgid "Editor"
1242
+ msgstr "Editeur"
1243
+
1244
+ msgid "Contributor"
1245
+ msgstr "Contributeur"
1246
+
1247
+ msgid "Customer"
1248
+ msgstr "Client"
1249
+
1250
+ msgid "Sync Lists"
1251
+ msgstr "Listes de synchronisation"
1252
+
1253
+ msgid "Choose the Sendinblue list in which you want to add your existing customers:"
1254
+ msgstr "Choisissez à quelle(s) liste(s) vos contacts existants seront ajoutés :"
1255
+
1256
+ msgid "Match Attributes"
1257
+ msgstr "Mapping des champs"
1258
+
1259
+ msgid "WordPress Users Attributes"
1260
+ msgstr "Attributs des utilisateurs WordPress"
1261
+
1262
+ msgid "SendinBlue Contact Attributes"
1263
+ msgstr "Attributs de contact SendinBlue"
1264
+
1265
+ msgid "You have %s existing users. Do you want to add them to SendinBlue?"
1266
+ msgstr "Vous avez %s utilisateurs existants. Souhaitez-vous les ajouter à SendinBlue ?"
1267
+
1268
+ msgid "Set up the message that will appear when the required field is empty"
1269
+ msgstr "Configurez le message qui apparaîtra lorsque le champ requis est vide"
1270
+
1271
+ msgid "Apply"
1272
+ msgstr "Appliquer"
1273
+
1274
+ msgid "Required Field"
1275
+ msgstr "Champ obligatoire"
1276
+
1277
+ msgid "Please fill out this field"
1278
+ msgstr "Remplissez ce champ s’il vous plaît"
1279
+
1280
+ msgid "Default Form"
1281
+ msgstr "Formulaire par défaut"
model/model-forms.php CHANGED
@@ -52,7 +52,7 @@ if ( ! class_exists( 'SIB_Forms' ) ) {
52
  PRIMARY KEY (`id`)
53
  );';
54
  require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
55
- dbDelta( $creation_query );
56
  // create default form.
57
  $rows = $wpdb->get_results('SELECT * FROM '. $wpdb->prefix . self::TABLE_NAME );
58
  if (count( $rows ) == 0 )
@@ -146,6 +146,7 @@ if ( ! class_exists( 'SIB_Forms' ) ) {
146
  'errorMsg' => $formData['errorMsg'],
147
  'existMsg' => $formData['existMsg'],
148
  'invalidMsg' => $formData['invalidMsg'],
 
149
  'attributes' => 'email,NAME',
150
  );
151
  } else {
@@ -178,6 +179,7 @@ if ( ! class_exists( 'SIB_Forms' ) ) {
178
  continue;
179
  }
180
  $listIDs = maybe_unserialize( $form['listID'] );
 
181
  // get names form id array.
182
  $lists = SIB_API_Manager::get_lists(); // pair of id and name.
183
 
@@ -275,8 +277,9 @@ if ( ! class_exists( 'SIB_Forms' ) ) {
275
  $attributes = 'email,NAME';
276
  global $wpdb;
277
  $query = 'INSERT INTO ' . $wpdb->prefix . self::TABLE_NAME . ' ';
 
278
  $query .= '(title,html,css,listID,dependTheme,successMsg,errorMsg,existMsg,invalidMsg,requiredMsg,attributes,date,isDefault) ';
279
- $query .= "VALUES ('Default Form','{$html}','{$css}','{$list}','1','{$formData['successMsg']}','{$formData['errorMsg']}','{$formData['existMsg']}','{$formData['invalidMsg']}','{$formData['requiredMsg']}','{$attributes}','{$current_date}','1')";
280
  $wpdb->query( $query ); // db call ok; no-cache ok.
281
  }
282
 
52
  PRIMARY KEY (`id`)
53
  );';
54
  require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
55
+ $wpdb->query($creation_query);
56
  // create default form.
57
  $rows = $wpdb->get_results('SELECT * FROM '. $wpdb->prefix . self::TABLE_NAME );
58
  if (count( $rows ) == 0 )
146
  'errorMsg' => $formData['errorMsg'],
147
  'existMsg' => $formData['existMsg'],
148
  'invalidMsg' => $formData['invalidMsg'],
149
+ 'requiredMsg' => $formData['requiredMsg'],
150
  'attributes' => 'email,NAME',
151
  );
152
  } else {
179
  continue;
180
  }
181
  $listIDs = maybe_unserialize( $form['listID'] );
182
+ $lisIDs = !empty($listIDs) ? $listIDs : [];
183
  // get names form id array.
184
  $lists = SIB_API_Manager::get_lists(); // pair of id and name.
185
 
277
  $attributes = 'email,NAME';
278
  global $wpdb;
279
  $query = 'INSERT INTO ' . $wpdb->prefix . self::TABLE_NAME . ' ';
280
+ $deafult_form_name = esc_attr( __( 'Default Form', 'sib_lang' ) );
281
  $query .= '(title,html,css,listID,dependTheme,successMsg,errorMsg,existMsg,invalidMsg,requiredMsg,attributes,date,isDefault) ';
282
+ $query .= "VALUES ('{$deafult_form_name}','{$html}','{$css}','{$list}','1','{$formData['successMsg']}','{$formData['errorMsg']}','{$formData['existMsg']}','{$formData['invalidMsg']}','{$formData['requiredMsg']}','{$attributes}','{$current_date}','1')";
283
  $wpdb->query( $query ); // db call ok; no-cache ok.
284
  }
285
 
model/model-lang.php CHANGED
@@ -29,7 +29,7 @@ if ( ! class_exists( 'SIB_Forms_Lang' ) ) {
29
  PRIMARY KEY (`id`)
30
  );';
31
  require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
32
- dbDelta( $creation_query );
33
  }
34
 
35
  /**
29
  PRIMARY KEY (`id`)
30
  );';
31
  require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
32
+ $wpdb->query($creation_query);
33
  }
34
 
35
  /**
model/model-users.php CHANGED
@@ -41,7 +41,7 @@ class SIB_Model_Users {
41
  PRIMARY KEY (`id`)
42
  );';
43
  require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
44
- dbDelta( $creation_query );
45
  }
46
 
47
  /**
41
  PRIMARY KEY (`id`)
42
  );';
43
  require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
44
+ $wpdb->query($creation_query);
45
  }
46
 
47
  /**
page/page-home.php CHANGED
@@ -443,8 +443,8 @@ if ( ! class_exists( 'SIB_Page_Home' ) ) {
443
  echo ' disabled';
444
  }
445
  ?>
446
- >&nbsp;Yes</label>
447
- <label class="col-md-6"><input type="radio" name="activate_email" id="activate_email_radio_no" value="no" <?php checked( $home_settings['activate_email'], 'no' ); ?>>&nbsp;No</label>
448
  </div>
449
  <div class="col-md-5">
450
  <small style="font-style: italic;"><?php esc_attr_e( 'Choose "Yes" if you want to use SendinBlue SMTP to send transactional emails', 'sib_lang' ); ?></small>
@@ -503,15 +503,15 @@ if ( ! class_exists( 'SIB_Page_Home' ) ) {
503
  <?php
504
  checked( $home_settings['activate_ma'], 'yes' );
505
  ?>
506
- >&nbsp;Yes</label>
507
- <label class="col-md-6"><input type="radio" name="activate_ma" id="activate_ma_radio_no" value="no" <?php checked( $home_settings['activate_ma'], 'no' ); ?>>&nbsp;No</label>
508
  </div>
509
  <div class="col-md-5">
510
  <small style="font-style: italic;"><?php esc_attr_e( 'Choose "Yes" if you want to use SendinBlue Automation to track your website activity', 'sib_lang' ); ?></small>
511
  </div>
512
  </div>
513
  <div class="row" style="">
514
- <p class="col-md-4 text-left" style="font-size: 13px; font-style: italic;"><?php printf( esc_attr__( '%1$s Explore our resource %2$s to learn more about SendinBlue Automation', 'sib_lang' ), '<a href="https://help.sendinblue.com/hc/en-us/articles/208775609" target="_blank">', '</a>' ); ?></p>
515
  <div class="col-md-3">
516
  <button type="button" id="validate_ma_btn" class="col-md-12 btn btn-primary"><span class="sib-spin"><i class="fa fa-circle-o-notch fa-spin fa-lg"></i>&nbsp;&nbsp;</span><?php esc_attr_e( 'Activate', 'sib_lang' ); ?></button>
517
  </div>
@@ -641,7 +641,7 @@ if ( ! class_exists( 'SIB_Page_Home' ) ) {
641
  <div class="modal-content">
642
  <div class="modal-header">
643
  <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true" style="font-size: 22px;">&times;</span><span class="sr-only">Close</span></button>
644
- <h4 class="modal-title"><?php esc_attr_e( 'Customers Synchronisation','sib_lang' ); ?></h4>
645
  </div>
646
  <div class="modal-body sync-modal-body" style="padding: 10px;">
647
  <div id="sync-failure" class="sib_alert alert alert-danger" style="margin-bottom: 0px;display: none;"></div>
@@ -651,7 +651,7 @@ if ( ! class_exists( 'SIB_Page_Home' ) ) {
651
  <b><p><?php esc_attr_e( 'Roles to sync', 'sib_lang' ); ?></p></b>
652
  <?php foreach ( wp_roles()->roles as $role_name => $role_info ) : ?>
653
  <div class="col-md-6">
654
- <span class="" style="display: block;float:left;padding-left: 16px;"><input type="checkbox" id="<?php echo esc_attr( $role_name ); ?>" value="<?php echo esc_attr( $role_name ); ?>" name="sync_role" checked><label for="<?php echo esc_attr( $role_name ); ?>" style="margin: 4px 24px 0 7px;font-weight: normal;"><?php echo esc_attr( $role_info['name'] ); ?></label></span>
655
  </div>
656
  <?php endforeach; ?>
657
  </div>
443
  echo ' disabled';
444
  }
445
  ?>
446
+ >&nbsp;<?php esc_attr_e( 'Yes', 'sib_lang' ); ?></label>
447
+ <label class="col-md-6"><input type="radio" name="activate_email" id="activate_email_radio_no" value="no" <?php checked( $home_settings['activate_email'], 'no' ); ?>>&nbsp;<?php esc_attr_e( 'No', 'sib_lang' ); ?></label>
448
  </div>
449
  <div class="col-md-5">
450
  <small style="font-style: italic;"><?php esc_attr_e( 'Choose "Yes" if you want to use SendinBlue SMTP to send transactional emails', 'sib_lang' ); ?></small>
503
  <?php
504
  checked( $home_settings['activate_ma'], 'yes' );
505
  ?>
506
+ >&nbsp;<?php esc_attr_e( 'Yes', 'sib_lang' ); ?></label>
507
+ <label class="col-md-6"><input type="radio" name="activate_ma" id="activate_ma_radio_no" value="no" <?php checked( $home_settings['activate_ma'], 'no' ); ?>>&nbsp;<?php esc_attr_e( 'No', 'sib_lang' ); ?></label>
508
  </div>
509
  <div class="col-md-5">
510
  <small style="font-style: italic;"><?php esc_attr_e( 'Choose "Yes" if you want to use SendinBlue Automation to track your website activity', 'sib_lang' ); ?></small>
511
  </div>
512
  </div>
513
  <div class="row" style="">
514
+ <p class="col-md-4 text-left" style="font-size: 13px; font-style: italic;"><?php printf( esc_attr__( '%s Explore our resource %s to learn more about SendinBlue Automation', 'sib_lang' ), '<a href="https://help.sendinblue.com/hc/en-us/articles/208775609" target="_blank">', '</a>' ); ?></p>
515
  <div class="col-md-3">
516
  <button type="button" id="validate_ma_btn" class="col-md-12 btn btn-primary"><span class="sib-spin"><i class="fa fa-circle-o-notch fa-spin fa-lg"></i>&nbsp;&nbsp;</span><?php esc_attr_e( 'Activate', 'sib_lang' ); ?></button>
517
  </div>
641
  <div class="modal-content">
642
  <div class="modal-header">
643
  <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true" style="font-size: 22px;">&times;</span><span class="sr-only">Close</span></button>
644
+ <h4 class="modal-title"><?php esc_attr_e( 'Users Synchronisation','sib_lang' ); ?></h4>
645
  </div>
646
  <div class="modal-body sync-modal-body" style="padding: 10px;">
647
  <div id="sync-failure" class="sib_alert alert alert-danger" style="margin-bottom: 0px;display: none;"></div>
651
  <b><p><?php esc_attr_e( 'Roles to sync', 'sib_lang' ); ?></p></b>
652
  <?php foreach ( wp_roles()->roles as $role_name => $role_info ) : ?>
653
  <div class="col-md-6">
654
+ <span class="" style="display: block;float:left;padding-left: 16px;"><input type="checkbox" id="<?php echo esc_attr( $role_name ); ?>" value="<?php echo esc_attr( $role_name ); ?>" name="sync_role" checked><label for="<?php echo esc_attr( $role_name ); ?>" style="margin: 4px 24px 0 7px;font-weight: normal;"><?php esc_attr_e( ucfirst($role_name), 'sib_lang' ); ?></label></span>
655
  </div>
656
  <?php endforeach; ?>
657
  </div>
readme.txt CHANGED
@@ -113,6 +113,11 @@ In order to create a signup form, you need to:
113
 
114
 
115
  == Changelog ==
 
 
 
 
 
116
  = 2.9.5 =
117
  * Fix fr translation issue.
118
 
113
 
114
 
115
  == Changelog ==
116
+ = 2.9.6 =
117
+ * Fr translations fixes
118
+ * Small improvements related to Query Monitor, Form Redirection etc.
119
+
120
+
121
  = 2.9.5 =
122
  * Fix fr translation issue.
123
 
sendinblue.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: SendinBlue Subscribe Form And WP SMTP
4
  * Plugin URI: https://www.sendinblue.com/?r=wporg
5
  * Description: Easily send emails from your WordPress blog using SendinBlue SMTP and easily add a subscribe form to your site
6
- * Version: 2.9.5
7
  * Author: SendinBlue
8
  * Author URI: https://www.sendinblue.com/?r=wporg
9
  * License: GPLv2 or later
@@ -440,9 +440,16 @@ if ( ! class_exists( 'SIB_Manager' ) ) {
440
  $home_settings = get_option( SIB_Manager::HOME_OPTION_NAME, array() );
441
  if ( isset( $home_settings['activate_ma'] ) && 'yes' == $home_settings['activate_ma'] ) {
442
  $general_settings = get_option( SIB_Manager::MAIN_OPTION_NAME, array() );
 
 
 
 
 
443
  $ma_key = $general_settings['ma_key'];
444
  $output = '<script type="text/javascript">
445
- (function() {window.sib ={equeue:[],client_key:"'. $ma_key .'"};/* OPTIONAL: email for identify request*/window.sendinblue = {}; for (var j = [\'track\', \'identify\', \'trackLink\', \'page\'], i = 0; i < j.length; i++) { (function(k) { window.sendinblue[k] = function() { var arg = Array.prototype.slice.call(arguments); (window.sib[k] || function() { var t = {}; t[k] = arg; window.sib.equeue.push(t);})(arg[0], arg[1], arg[2]);};})(j[i]);}var n = document.createElement("script"),i = document.getElementsByTagName("script")[0]; n.type = "text/javascript", n.id = "sendinblue-js", n.async = !0, n.src = "https://sibautomation.com/sa.js?key=" + window.sib.client_key, i.parentNode.insertBefore(n, i), window.sendinblue.page();})();
 
 
446
  </script>';
447
  echo $output;
448
  }
@@ -612,6 +619,9 @@ if ( ! class_exists( 'SIB_Manager' ) ) {
612
  }
613
 
614
  $listID = $formData['listID'];
 
 
 
615
  $interestingLists = isset( $_POST['interestingLists']) ? $_POST['interestingLists'] : array();
616
  $expectedLists = isset( $_POST['listIDs'] ) ? $_POST['listIDs'] : array();
617
  if ( empty($interestingLists) )
@@ -726,7 +736,8 @@ if ( ! class_exists( 'SIB_Manager' ) ) {
726
  * @param array $attachments - attachments.
727
  */
728
  static function wp_mail_native( $to, $subject, $message, $headers = '', $attachments = array() ) {
729
- require self::$plugin_dir . '/inc/function.wp_mail.php';
 
730
  }
731
 
732
  /**
3
  * Plugin Name: SendinBlue Subscribe Form And WP SMTP
4
  * Plugin URI: https://www.sendinblue.com/?r=wporg
5
  * Description: Easily send emails from your WordPress blog using SendinBlue SMTP and easily add a subscribe form to your site
6
+ * Version: 2.9.6
7
  * Author: SendinBlue
8
  * Author URI: https://www.sendinblue.com/?r=wporg
9
  * License: GPLv2 or later
440
  $home_settings = get_option( SIB_Manager::HOME_OPTION_NAME, array() );
441
  if ( isset( $home_settings['activate_ma'] ) && 'yes' == $home_settings['activate_ma'] ) {
442
  $general_settings = get_option( SIB_Manager::MAIN_OPTION_NAME, array() );
443
+ $ma_email = '';
444
+ $current_user = wp_get_current_user();
445
+ if ( $current_user instanceof WP_User ) {
446
+ $ma_email = $current_user->user_email;
447
+ }
448
  $ma_key = $general_settings['ma_key'];
449
  $output = '<script type="text/javascript">
450
+ (function() {window.sib ={equeue:[],client_key:"'. $ma_key .'"};/* OPTIONAL: email for identify request*/
451
+ window.sib.email_id = "'. $ma_email .'";
452
+ window.sendinblue = {}; for (var j = [\'track\', \'identify\', \'trackLink\', \'page\'], i = 0; i < j.length; i++) { (function(k) { window.sendinblue[k] = function() { var arg = Array.prototype.slice.call(arguments); (window.sib[k] || function() { var t = {}; t[k] = arg; window.sib.equeue.push(t);})(arg[0], arg[1], arg[2]);};})(j[i]);}var n = document.createElement("script"),i = document.getElementsByTagName("script")[0]; n.type = "text/javascript", n.id = "sendinblue-js", n.async = !0, n.src = "https://sibautomation.com/sa.js?key=" + window.sib.client_key, i.parentNode.insertBefore(n, i), window.sendinblue.page();})();
453
  </script>';
454
  echo $output;
455
  }
619
  }
620
 
621
  $listID = $formData['listID'];
622
+ if (empty($listID)) {
623
+ $listID = [];
624
+ }
625
  $interestingLists = isset( $_POST['interestingLists']) ? $_POST['interestingLists'] : array();
626
  $expectedLists = isset( $_POST['listIDs'] ) ? $_POST['listIDs'] : array();
627
  if ( empty($interestingLists) )
736
  * @param array $attachments - attachments.
737
  */
738
  static function wp_mail_native( $to, $subject, $message, $headers = '', $attachments = array() ) {
739
+ $result = require self::$plugin_dir . '/inc/function.wp_mail.php';
740
+ return $result;
741
  }
742
 
743
  /**