MailChimp for WordPress - Version 2.2.1

Version Description

  • January 12, 2014 =

Improvements

  • Use JS object to transfer lists data to Field Wizard.
  • Field Wizard strings are now translatable
  • Add is_spam method to checkbox integration to battle spam sign-ups
  • Minor code & code style improvements
  • Updated Danish, German, Spanish, French, Italian and Portugese (Brazil) translations

Additions

  • You can now set MC_LOCATION, MC_NOTES and MC_LANGUAGE from your form HTML
  • The submit button now has a default value when generating HTML for it
Download this release

Release Info

Developer DvanKooten
Plugin Icon 128x128 MailChimp for WordPress
Version 2.2.1
Comparing to
See all releases

Code changes from version 2.2 to 2.2.1

README.md CHANGED
@@ -1,30 +1,34 @@
1
  MailChimp for WordPress
2
  ======================
3
 
4
- Here you can browse the source of the [MailChimp for WordPress Plugin](http://wordpress.org/plugins/mailchimp-for-wp/) project, find and discuss open issues or contribute yourself.
5
 
6
  Installation
7
  ------------
8
 
9
- Here's a [guide on how to install the plugin in your WordPress site](http://wordpress.org/plugins/mailchimp-for-wp/installation/).
10
- If you want to run the Git version, you have two options:
11
 
12
- * You can clone the GitHub repository: `https://github.com/dannyvankooten/mailchimp-for-wordpress.git`
13
  * You can download the repository .zip file: [mailchimp-for-wordpress.zip](https://github.com/dannyvankooten/mailchimp-for-wordpress/archive/master.zip)
 
14
 
15
  This will download the latest development version of the MailChimp for WordPress plugin. While this version is usually stable,
16
  it is not recommended for use in a production environment.
17
 
18
  Bugs
19
  ----
20
- If you find an issue, [let us know here](https://github.com/dannyvankooten/mailchimp-for-wordpress/issues?state=open)!
 
 
 
 
21
 
22
  Support
23
  -------
24
  This is a developer's portal for the MailChimp for WordPress plugin and should not be used for support. Please visit the
25
- [plugin support forums on WordPress.org](http://wordpress.org/support/plugin/mailchimp-for-wp).
26
 
27
- If you need priority support, please consider upgrading to [MailChimp for WordPress Pro](https://mc4wp.com/).
28
 
29
  Contributions
30
  -------------
1
  MailChimp for WordPress
2
  ======================
3
 
4
+ Here, you can browse the source of the [MailChimp for WordPress Plugin](https://wordpress.org/plugins/mailchimp-for-wp/) project, find and discuss open issues or contribute code to the plugin yourself.
5
 
6
  Installation
7
  ------------
8
 
9
+ Here's a [guide on how to install the plugin in your WordPress site](https://wordpress.org/plugins/mailchimp-for-wp/installation/).
10
+ If you want to run the latest development version, you have two options:
11
 
 
12
  * You can download the repository .zip file: [mailchimp-for-wordpress.zip](https://github.com/dannyvankooten/mailchimp-for-wordpress/archive/master.zip)
13
+ * You can clone the GitHub repository using Git
14
 
15
  This will download the latest development version of the MailChimp for WordPress plugin. While this version is usually stable,
16
  it is not recommended for use in a production environment.
17
 
18
  Bugs
19
  ----
20
+ If you think you've found a bug, [please raise an issue here](https://github.com/dannyvankooten/mailchimp-for-wordpress/issues?state=open)!
21
+
22
+ Translations
23
+ -------------
24
+ It's easy to translate the plugin into your own language. Head over to the [translation project on Transifex](https://www.transifex.com/projects/p/mailchimp-for-wordpress/) and click on "[Help translate MailChimp for WordPress](https://www.transifex.com/signup/?join_project=mailchimp-for-wordpress)".
25
 
26
  Support
27
  -------
28
  This is a developer's portal for the MailChimp for WordPress plugin and should not be used for support. Please visit the
29
+ [MailChimp for WordPress support forum on WordPress.org](https://wordpress.org/support/plugin/mailchimp-for-wp).
30
 
31
+ If you need priority support, please upgrade to [MailChimp for WordPress Pro](https://mc4wp.com/).
32
 
33
  Contributions
34
  -------------
assets/js/admin.js CHANGED
@@ -9,7 +9,7 @@
9
  this.checked = false;
10
  }
11
 
12
- alert( mc4wp.strings.pro_only );
13
  event.stopPropagation();
14
  }
15
 
@@ -64,7 +64,7 @@
64
  QTags.addButton( 'mc4wp_response', 'form response', '{response}', '', 'response', 'Shows the form response' );
65
  QTags.addButton( 'mc4wp_subscriber_count', '# of subscribers', '{subscriber_count}', '', 'subscribers', 'Shows number of subscribers of selected list(s)' );
66
 
67
- if( window.mc4wp.has_captcha_plugin == true ) {
68
  QTags.addButton( 'mc4wp_captcha', 'CAPTCHA', '{captcha}', '', 'captcha', 'Display a CAPTCHA field' );
69
  }
70
  })();
@@ -90,6 +90,7 @@
90
  var $wrapp = $("#mc4wp-fw-wrap-p");
91
  var fieldType, fieldName;
92
  var $codePreview = $("#mc4wp-fw-preview");
 
93
  // functions
94
 
95
  // set the fields the user can choose from
@@ -100,12 +101,12 @@
100
 
101
  // loop through checked lists
102
  $lists.filter(':checked').each(function() {
103
- var listFields = $(this).data('list-fields');
104
- var listGroupings = $(this).data('list-groupings');
105
 
106
  // loop through merge fields from this list
107
- for(var i = 0, fieldCount = listFields.length; i < fieldCount; i++) {
108
- var listField = listFields[i];
109
 
110
  // add field to select if no similar option exists yet
111
  if($mailchimpMergeFields.find("option[value='"+ listField.tag +"']").length == 0) {
@@ -119,8 +120,8 @@
119
  .data('list-field', listField);
120
 
121
  // only enable 3 fields
122
- if(i > 3) {
123
- $option.text("(PRO ONLY) " + text)
124
  .attr('disabled', 'disabled')
125
  .data('field', null);
126
  }
@@ -130,8 +131,8 @@
130
  }
131
 
132
  // loop through interest groupings
133
- for(var i = 0, groupingsCount = listGroupings.length; i < groupingsCount; i++) {
134
- var listGrouping = listGroupings[i];
135
 
136
  // add field to select if no similar option exists yet
137
  if($mailchimpGroupings.find("option[value='"+ listGrouping.id +"']").length == 0) {
@@ -145,7 +146,7 @@
145
 
146
  // only show 1 grouping
147
  if(i >= 1) {
148
- $option.text("(PRO ONLY) " + text)
149
  .attr('disabled', 'disabled')
150
  .data('list-grouping', null);
151
  }
@@ -170,14 +171,14 @@
170
 
171
  case 'submit':
172
  fieldType = 'submit';
173
- $valueLabel.text("Button text");
 
174
  $wizardFields.find('p.row').filter('.value, .wrap-p').show();
175
  break;
176
 
177
  case 'lists':
178
  fieldType = 'lists';
179
  $wizardFields.find('.wrap-p').show();
180
- updateCodePreview();
181
  break;
182
 
183
  default:
@@ -213,7 +214,7 @@
213
 
214
  fieldType = 'text';
215
  fieldName = '';
216
- $valueLabel.html("Initial value <small>(optional)</small>");
217
  }
218
 
219
  /**
@@ -225,7 +226,7 @@
225
  for(var i = 0, groupsCount = groups.length; i < groupsCount; i++) {
226
  $("<input />").attr('type', 'text')
227
  .addClass('widefat').data('value', groups[i].name)
228
- .attr('placeholder', 'Label for "' + groups[i].name + '" (or leave empty)')
229
  .attr('value', groups[i].name)
230
  .appendTo($multipleValues);
231
  }
@@ -350,7 +351,13 @@
350
 
351
  if($multipleValues.is(":visible") && data.choices) {
352
  for(var i = 0; i < data.choices.length; i++) {
353
- $("<input />").attr('type', 'text').addClass('widefat').data('value', data.choices[i]).attr('placeholder', 'Label for "' + data.choices[i] + '" (or leave empty)').attr('value', data.choices[i]).appendTo($multipleValues);
 
 
 
 
 
 
354
  }
355
  }
356
 
@@ -381,7 +388,7 @@
381
  case 'lists':
382
  var html = getListChoiceHTML();
383
 
384
- if($wrapp.is(':visible:checked')) {
385
  html = "<p>" + html + "</p>";
386
  }
387
 
@@ -466,7 +473,7 @@
466
  }
467
 
468
  // wrap in paragraphs?
469
- if($wrapp.is(':visible:checked')) {
470
  $code.wrapInner($("<p />"));
471
  }
472
 
@@ -493,6 +500,15 @@
493
  }
494
  }
495
 
 
 
 
 
 
 
 
 
 
496
  // setup events
497
  $lists.change(setMailChimpFields);
498
  $mailchimpFields.change(setPresets);
9
  this.checked = false;
10
  }
11
 
12
+ alert( mc4wp.strings.proOnlyNotice );
13
  event.stopPropagation();
14
  }
15
 
64
  QTags.addButton( 'mc4wp_response', 'form response', '{response}', '', 'response', 'Shows the form response' );
65
  QTags.addButton( 'mc4wp_subscriber_count', '# of subscribers', '{subscriber_count}', '', 'subscribers', 'Shows number of subscribers of selected list(s)' );
66
 
67
+ if( window.mc4wp.hasCaptchaPlugin == true ) {
68
  QTags.addButton( 'mc4wp_captcha', 'CAPTCHA', '{captcha}', '', 'captcha', 'Display a CAPTCHA field' );
69
  }
70
  })();
90
  var $wrapp = $("#mc4wp-fw-wrap-p");
91
  var fieldType, fieldName;
92
  var $codePreview = $("#mc4wp-fw-preview");
93
+ var strings = mc4wp.strings.fieldWizard;
94
  // functions
95
 
96
  // set the fields the user can choose from
101
 
102
  // loop through checked lists
103
  $lists.filter(':checked').each(function() {
104
+ var listId = $(this).val();
105
+ var list = mc4wp.mailchimpLists[listId];
106
 
107
  // loop through merge fields from this list
108
+ for(var i = 0, fieldCount = list.merge_vars.length; i < fieldCount; i++) {
109
+ var listField = list.merge_vars[i];
110
 
111
  // add field to select if no similar option exists yet
112
  if($mailchimpMergeFields.find("option[value='"+ listField.tag +"']").length == 0) {
120
  .data('list-field', listField);
121
 
122
  // only enable 3 fields
123
+ if( i > 3 ) {
124
+ $option.text( strings.proOnly + " " + text)
125
  .attr('disabled', 'disabled')
126
  .data('field', null);
127
  }
131
  }
132
 
133
  // loop through interest groupings
134
+ for(var i = 0, groupingsCount = list.interest_groupings.length; i < groupingsCount; i++) {
135
+ var listGrouping = list.interest_groupings[i];
136
 
137
  // add field to select if no similar option exists yet
138
  if($mailchimpGroupings.find("option[value='"+ listGrouping.id +"']").length == 0) {
146
 
147
  // only show 1 grouping
148
  if(i >= 1) {
149
+ $option.text( strings.proOnly + " " + text)
150
  .attr('disabled', 'disabled')
151
  .data('list-grouping', null);
152
  }
171
 
172
  case 'submit':
173
  fieldType = 'submit';
174
+ $valueLabel.text( strings.buttonText );
175
+ $value.val( strings.subscribe );
176
  $wizardFields.find('p.row').filter('.value, .wrap-p').show();
177
  break;
178
 
179
  case 'lists':
180
  fieldType = 'lists';
181
  $wizardFields.find('.wrap-p').show();
 
182
  break;
183
 
184
  default:
214
 
215
  fieldType = 'text';
216
  fieldName = '';
217
+ $valueLabel.html( strings.initialValue + " <small>" + strings.optional + "</small>" );
218
  }
219
 
220
  /**
226
  for(var i = 0, groupsCount = groups.length; i < groupsCount; i++) {
227
  $("<input />").attr('type', 'text')
228
  .addClass('widefat').data('value', groups[i].name)
229
+ .attr('placeholder', strings.labelFor + ' "' + groups[i].name + '" ' + strings.orLeaveEmpty )
230
  .attr('value', groups[i].name)
231
  .appendTo($multipleValues);
232
  }
351
 
352
  if($multipleValues.is(":visible") && data.choices) {
353
  for(var i = 0; i < data.choices.length; i++) {
354
+ $("<input />")
355
+ .attr('type', 'text')
356
+ .addClass('widefat')
357
+ .data('value', data.choices[i])
358
+ .attr('placeholder', strings.labelFor + ' "' + data.choices[i] + '" ' + strings.orLeaveEmpty )
359
+ .attr('value', data.choices[i])
360
+ .appendTo($multipleValues);
361
  }
362
  }
363
 
388
  case 'lists':
389
  var html = getListChoiceHTML();
390
 
391
+ if( wrapInParagraph() ) {
392
  html = "<p>" + html + "</p>";
393
  }
394
 
473
  }
474
 
475
  // wrap in paragraphs?
476
+ if( wrapInParagraph() ) {
477
  $code.wrapInner($("<p />"));
478
  }
479
 
500
  }
501
  }
502
 
503
+ /**
504
+ * Should we wrap the HTML in paragraph tags?
505
+ *
506
+ * @returns {boolean}
507
+ */
508
+ function wrapInParagraph() {
509
+ return ( $wrapp.is(':visible:checked') ) ? true: false;
510
+ }
511
+
512
  // setup events
513
  $lists.change(setMailChimpFields);
514
  $mailchimpFields.change(setPresets);
assets/js/admin.min.js CHANGED
@@ -1 +1 @@
1
- !function(a){function b(){"boolean"==typeof this.checked&&(this.checked=!1),alert(mc4wp.strings.pro_only),event.stopPropagation()}var c=a("#mc4wp-admin");c.find(".pro-feature, .pro-feature label, .pro-feature :radio").click(b),c.find('input[name$="[show_at_woocommerce_checkout]"]').change(function(){c.find("tr#woocommerce-settings").toggle(a(this).prop("checked"))});var d=a("#mc4wp-lists").find(":input");d.change(function(){var b=d.filter(":checked").length>0;a(".mc4wp-notice.no-lists-selected").toggle(!b),a("#mc4wp-fw-fields, #mc4wp-fw-mailchimp-fields").toggle(b)}),a(document).delegate("#mc4wpformmarkup","keydown",function(b){var c=b.keyCode||b.which;if(9==c){b.preventDefault();var d=this.selectionStart,e=this.selectionEnd;a(this).val(a(this).val().substring(0,d)+" "+a(this).val().substring(e)),this.selectionStart=this.selectionEnd=d+1}}),function(){"undefined"!=typeof QTags&&(QTags.addButton("mc4wp_paragraph","<p>","<p>","</p>","paragraph","Paragraph tag",1),QTags.addButton("mc4wp_label","label","<label>","</label>","label","Label tag",2),QTags.addButton("mc4wp_response","form response","{response}","","response","Shows the form response"),QTags.addButton("mc4wp_subscriber_count","# of subscribers","{subscriber_count}","","subscribers","Shows number of subscribers of selected list(s)"),1==window.mc4wp.has_captcha_plugin&&QTags.addButton("mc4wp_captcha","CAPTCHA","{captcha}","","captcha","Display a CAPTCHA field"))}(),function(){function b(){o.find("option").not(".default").remove(),n.filter(":checked").each(function(){for(var b=a(this).data("list-fields"),c=a(this).data("list-groupings"),d=0,e=b.length;e>d;d++){var f=b[d];if(0==p.find("option[value='"+f.tag+"']").length){var g=f.name.length>25?f.name.substring(0,25)+"..":f.name;f.req&&(g+="*");var h=a("<option />").text(g).val(f.tag).data("list-field",f);d>3&&h.text("(PRO ONLY) "+g).attr("disabled","disabled").data("field",null),p.append(h)}}for(var d=0,i=c.length;i>d;d++){var j=c[d];if(0==q.find("option[value='"+j.id+"']").length){var g=j.name.length>25?j.name.substring(0,25)+"..":j.name,h=a("<option />").text(g).val(j.id).data("list-grouping",j);d>=1&&h.text("(PRO ONLY) "+g).attr("disabled","disabled").data("list-grouping",null),q.append(h)}}})}function c(){d();var b=a(this).find(":selected");switch(b.val()){case"submit":l="submit",t.text("Button text"),r.find("p.row").filter(".value, .wrap-p").show();break;case"lists":l="lists",r.find(".wrap-p").show(),j();break;default:var c=b.data("list-field");if(c)return h(c);var c=b.data("list-grouping");if(c)return f(c)}j()}function d(){r.find(".row :input").each(function(){a(this).is(":checkbox")?this.checked=!0:this.value=""}),r.find("p.row").hide(),u.find(":input").remove(),r.show(),l="text",m="",t.html("Initial value <small>(optional)</small>")}function e(b){for(var c=0,d=b.length;d>c;c++)a("<input />").attr("type","text").addClass("widefat").data("value",b[c].name).attr("placeholder",'Label for "'+b[c].name+'" (or leave empty)').attr("value",b[c].name).appendTo(u)}function f(a){switch(r.find("p.row").filter(".values, .label, .wrap-p").show(),v.val(a.name+":"),m="GROUPINGS["+a.id+"]",e(a.groups),a.form_field){case"radio":l="radio";break;case"hidden":r.find("p.row").filter(".values, .label, .wrap-p").hide(),r.find("p.row.value").show();for(var b=0,c=a.groups.length;c>b;b++)s.val(s.val()+a.groups[b].name+",");l="hidden";break;case"dropdown":l="select";break;default:l="checkbox",m+="[]"}j()}function g(){var b="";return n.each(function(){var c=a(this).val(),d=a(this).parent("label").text(),e="";a(this).is(":checked")&&(e+="checked "),b+="<label>\n",b+=' <input type="checkbox" name="_mc4wp_lists[]" value="'+c+'" '+e+" /> "+d+"\n",b+="</label>\n"}),b}function h(b){var c={"default":["label","value","placeholder","required","wrap-p"],select:["label","required","wrap-p","values"],radio:["label","required","wrap-p","values"],date:["label","required","wrap-p","value"]},d={text:"text",email:"email",phone:"tel",address:"text",number:"number",dropdown:"select",date:"date",birthday:"date",radio:"radio",checkbox:"checkbox"};if(l=void 0!=d[b.field_type]?d[b.field_type]:"text",void 0!=c[l])var e=c[l];else var e=c["default"];for(var f=0;f<e.length;f++)r.find("p.row."+e[f]).show();if(l=l,m=b.tag,w.val("Your "+b.name.toLowerCase()),v.val(b.name+":"),x.attr("checked",b.req),u.is(":visible")&&b.choices)for(var f=0;f<b.choices.length;f++)a("<input />").attr("type","text").addClass("widefat").data("value",b.choices[f]).attr("placeholder",'Label for "'+b.choices[f]+'" (or leave empty)').attr("value",b.choices[f]).appendTo(u);j()}function i(a){a=html_beautify(a),z.val(a)}function j(){var b,c=a("<div></div>");switch(l){case"lists":var d=g();return y.is(":visible:checked")&&(d="<p>"+d+"</p>"),i(d);case"select":b=a("<select />"),u.find(":input").each(function(){a(this).val().length>0&&a("<option />").val(a(this).data("value")).text(a(this).val()).appendTo(b)});break;case"radio":case"checkbox":u.find(":input").each(function(){a(this).val().length>0&&(b=a("<input />").attr("type",l).attr("name",m).val(a(this).data("value")),x.is(":visible:checked")&&b.attr("required",!0),c.append(b),b.wrap("<label />"),a("<span />").text(a(this).val()+" ").insertAfter(b))});break;case"textarea":b=a("<textarea />");break;default:b=a("<input />").attr("type",l)}"radio"!=l&&"checkbox"!=l&&(m.length>0&&b.attr("name",m),s.is(":visible")&&s.val().length>0&&("textarea"==l?b.text(s.val()):b.attr("value",s.val())),w.is(":visible")&&w.val().length>0&&b.attr("placeholder",w.val()),x.is(":visible:checked")&&b.attr("required",!0),c.append(b)),v.is(":visible")&&v.val().length>0&&a("<label />").text(v.val()).prependTo(c),y.is(":visible:checked")&&c.wrapInner(a("<p />"));var d=c.html();i(d)}function k(){var b=!1;if("undefined"!=typeof wpActiveEditor&&"undefined"!=typeof QTags&&QTags.insertContent&&(b=QTags.insertContent(z.val())),!b){var c=a("#mc4wpformmarkup");a("#mc4wpformmarkup").val(c.val()+"\n"+z.val())}}var l,m,n=a("#mc4wp-lists :input"),o=a("#mc4wp-fw-mailchimp-fields"),p=a("#mc4wp-fw-mailchimp-fields .merge-fields"),q=a("#mc4wp-fw-mailchimp-fields .groupings"),r=a("#mc4wp-fw-fields"),s=a("#mc4wp-fw-value"),t=a("#mc4wp-fw-value-label"),u=a("#mc4wp-fw-values"),v=a("#mc4wp-fw-label"),w=a("#mc4wp-fw-placeholder"),x=a("#mc4wp-fw-required"),y=a("#mc4wp-fw-wrap-p"),z=a("#mc4wp-fw-preview");n.change(b),o.change(c),r.change(j),a("#mc4wp-fw-add-to-form").click(k),b()}()}(jQuery);
1
+ !function(a){function b(){"boolean"==typeof this.checked&&(this.checked=!1),alert(mc4wp.strings.proOnlyNotice),event.stopPropagation()}var c=a("#mc4wp-admin");c.find(".pro-feature, .pro-feature label, .pro-feature :radio").click(b),c.find('input[name$="[show_at_woocommerce_checkout]"]').change(function(){c.find("tr#woocommerce-settings").toggle(a(this).prop("checked"))});var d=a("#mc4wp-lists").find(":input");d.change(function(){var b=d.filter(":checked").length>0;a(".mc4wp-notice.no-lists-selected").toggle(!b),a("#mc4wp-fw-fields, #mc4wp-fw-mailchimp-fields").toggle(b)}),a(document).delegate("#mc4wpformmarkup","keydown",function(b){var c=b.keyCode||b.which;if(9==c){b.preventDefault();var d=this.selectionStart,e=this.selectionEnd;a(this).val(a(this).val().substring(0,d)+" "+a(this).val().substring(e)),this.selectionStart=this.selectionEnd=d+1}}),function(){"undefined"!=typeof QTags&&(QTags.addButton("mc4wp_paragraph","<p>","<p>","</p>","paragraph","Paragraph tag",1),QTags.addButton("mc4wp_label","label","<label>","</label>","label","Label tag",2),QTags.addButton("mc4wp_response","form response","{response}","","response","Shows the form response"),QTags.addButton("mc4wp_subscriber_count","# of subscribers","{subscriber_count}","","subscribers","Shows number of subscribers of selected list(s)"),1==window.mc4wp.hasCaptchaPlugin&&QTags.addButton("mc4wp_captcha","CAPTCHA","{captcha}","","captcha","Display a CAPTCHA field"))}(),function(){function b(){p.find("option").not(".default").remove(),o.filter(":checked").each(function(){for(var b=a(this).val(),c=mc4wp.mailchimpLists[b],d=0,e=c.merge_vars.length;e>d;d++){var f=c.merge_vars[d];if(0==q.find("option[value='"+f.tag+"']").length){var g=f.name.length>25?f.name.substring(0,25)+"..":f.name;f.req&&(g+="*");var h=a("<option />").text(g).val(f.tag).data("list-field",f);d>3&&h.text(B.proOnly+" "+g).attr("disabled","disabled").data("field",null),q.append(h)}}for(var d=0,i=c.interest_groupings.length;i>d;d++){var j=c.interest_groupings[d];if(0==r.find("option[value='"+j.id+"']").length){var g=j.name.length>25?j.name.substring(0,25)+"..":j.name,h=a("<option />").text(g).val(j.id).data("list-grouping",j);d>=1&&h.text(B.proOnly+" "+g).attr("disabled","disabled").data("list-grouping",null),r.append(h)}}})}function c(){d();var b=a(this).find(":selected");switch(b.val()){case"submit":m="submit",u.text(B.buttonText),t.val(B.subscribe),s.find("p.row").filter(".value, .wrap-p").show();break;case"lists":m="lists",s.find(".wrap-p").show();break;default:var c=b.data("list-field");if(c)return h(c);var c=b.data("list-grouping");if(c)return f(c)}j()}function d(){s.find(".row :input").each(function(){a(this).is(":checkbox")?this.checked=!0:this.value=""}),s.find("p.row").hide(),v.find(":input").remove(),s.show(),m="text",n="",u.html(B.initialValue+" <small>"+B.optional+"</small>")}function e(b){for(var c=0,d=b.length;d>c;c++)a("<input />").attr("type","text").addClass("widefat").data("value",b[c].name).attr("placeholder",B.labelFor+' "'+b[c].name+'" '+B.orLeaveEmpty).attr("value",b[c].name).appendTo(v)}function f(a){switch(s.find("p.row").filter(".values, .label, .wrap-p").show(),w.val(a.name+":"),n="GROUPINGS["+a.id+"]",e(a.groups),a.form_field){case"radio":m="radio";break;case"hidden":s.find("p.row").filter(".values, .label, .wrap-p").hide(),s.find("p.row.value").show();for(var b=0,c=a.groups.length;c>b;b++)t.val(t.val()+a.groups[b].name+",");m="hidden";break;case"dropdown":m="select";break;default:m="checkbox",n+="[]"}j()}function g(){var b="";return o.each(function(){var c=a(this).val(),d=a(this).parent("label").text(),e="";a(this).is(":checked")&&(e+="checked "),b+="<label>\n",b+=' <input type="checkbox" name="_mc4wp_lists[]" value="'+c+'" '+e+" /> "+d+"\n",b+="</label>\n"}),b}function h(b){var c={"default":["label","value","placeholder","required","wrap-p"],select:["label","required","wrap-p","values"],radio:["label","required","wrap-p","values"],date:["label","required","wrap-p","value"]},d={text:"text",email:"email",phone:"tel",address:"text",number:"number",dropdown:"select",date:"date",birthday:"date",radio:"radio",checkbox:"checkbox"};if(m=void 0!=d[b.field_type]?d[b.field_type]:"text",void 0!=c[m])var e=c[m];else var e=c["default"];for(var f=0;f<e.length;f++)s.find("p.row."+e[f]).show();if(m=m,n=b.tag,x.val("Your "+b.name.toLowerCase()),w.val(b.name+":"),y.attr("checked",b.req),v.is(":visible")&&b.choices)for(var f=0;f<b.choices.length;f++)a("<input />").attr("type","text").addClass("widefat").data("value",b.choices[f]).attr("placeholder",B.labelFor+' "'+b.choices[f]+'" '+B.orLeaveEmpty).attr("value",b.choices[f]).appendTo(v);j()}function i(a){a=html_beautify(a),A.val(a)}function j(){var b,c=a("<div></div>");switch(m){case"lists":var d=g();return l()&&(d="<p>"+d+"</p>"),i(d);case"select":b=a("<select />"),v.find(":input").each(function(){a(this).val().length>0&&a("<option />").val(a(this).data("value")).text(a(this).val()).appendTo(b)});break;case"radio":case"checkbox":v.find(":input").each(function(){a(this).val().length>0&&(b=a("<input />").attr("type",m).attr("name",n).val(a(this).data("value")),y.is(":visible:checked")&&b.attr("required",!0),c.append(b),b.wrap("<label />"),a("<span />").text(a(this).val()+" ").insertAfter(b))});break;case"textarea":b=a("<textarea />");break;default:b=a("<input />").attr("type",m)}"radio"!=m&&"checkbox"!=m&&(n.length>0&&b.attr("name",n),t.is(":visible")&&t.val().length>0&&("textarea"==m?b.text(t.val()):b.attr("value",t.val())),x.is(":visible")&&x.val().length>0&&b.attr("placeholder",x.val()),y.is(":visible:checked")&&b.attr("required",!0),c.append(b)),w.is(":visible")&&w.val().length>0&&a("<label />").text(w.val()).prependTo(c),l()&&c.wrapInner(a("<p />"));var d=c.html();i(d)}function k(){var b=!1;if("undefined"!=typeof wpActiveEditor&&"undefined"!=typeof QTags&&QTags.insertContent&&(b=QTags.insertContent(A.val())),!b){var c=a("#mc4wpformmarkup");a("#mc4wpformmarkup").val(c.val()+"\n"+A.val())}}function l(){return z.is(":visible:checked")?!0:!1}var m,n,o=a("#mc4wp-lists :input"),p=a("#mc4wp-fw-mailchimp-fields"),q=a("#mc4wp-fw-mailchimp-fields .merge-fields"),r=a("#mc4wp-fw-mailchimp-fields .groupings"),s=a("#mc4wp-fw-fields"),t=a("#mc4wp-fw-value"),u=a("#mc4wp-fw-value-label"),v=a("#mc4wp-fw-values"),w=a("#mc4wp-fw-label"),x=a("#mc4wp-fw-placeholder"),y=a("#mc4wp-fw-required"),z=a("#mc4wp-fw-wrap-p"),A=a("#mc4wp-fw-preview"),B=mc4wp.strings.fieldWizard;o.change(b),p.change(c),s.change(j),a("#mc4wp-fw-add-to-form").click(k),b()}()}(jQuery);
includes/class-admin.php CHANGED
@@ -19,6 +19,9 @@ class MC4WP_Lite_Admin
19
  */
20
  private $plugin_file = 'mailchimp-for-wp/mailchimp-for-wp.php';
21
 
 
 
 
22
  public function __construct()
23
  {
24
  $this->setup_hooks();
@@ -153,9 +156,16 @@ class MC4WP_Lite_Admin
153
  /**
154
  * Register the setting pages and their menu items
155
  */
156
- public function build_menu()
157
- {
 
 
 
 
 
 
158
  $required_cap = apply_filters( 'mc4wp_settings_cap', 'manage_options' );
 
159
  add_menu_page( 'MailChimp for WP Lite', 'MailChimp for WP', $required_cap, 'mc4wp-lite', array($this, 'show_api_settings'), MC4WP_LITE_PLUGIN_URL . 'assets/img/menu-icon.png' );
160
  add_submenu_page( 'mc4wp-lite', 'API Settings - MailChimp for WP Lite', __( 'MailChimp Settings', 'mailchimp-for-wp' ), $required_cap, 'mc4wp-lite', array( $this, 'show_api_settings' ) );
161
  add_submenu_page( 'mc4wp-lite', 'Checkbox Settings - MailChimp for WP Lite', __( 'Checkboxes', 'mailchimp-for-wp' ), $required_cap, 'mc4wp-lite-checkbox-settings', array($this, 'show_checkbox_settings' ) );
@@ -284,6 +294,7 @@ class MC4WP_Lite_Admin
284
  }
285
 
286
  $suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
 
287
 
288
  // css
289
  wp_enqueue_style( 'mc4wp-admin-css', MC4WP_LITE_PLUGIN_URL . 'assets/css/admin' . $suffix . '.css' );
@@ -294,10 +305,20 @@ class MC4WP_Lite_Admin
294
  wp_enqueue_script( array( 'jquery', 'mc4wp-beautifyhtml', 'mc4wp-admin' ) );
295
  wp_localize_script( 'mc4wp-admin', 'mc4wp',
296
  array(
297
- 'has_captcha_plugin' => $this->has_captcha_plugin,
298
  'strings' => array(
299
- 'pro_only' => __( 'This option is only available in MailChimp for WordPress Pro.', 'mailchimp-for-wp' )
300
- )
 
 
 
 
 
 
 
 
 
 
301
  )
302
  );
303
  }
@@ -309,6 +330,12 @@ class MC4WP_Lite_Admin
309
  */
310
  public function get_checkbox_compatible_plugins()
311
  {
 
 
 
 
 
 
312
  $checkbox_plugins = array(
313
  'comment_form' => __( "Comment form", 'mailchimp-for-wp' ),
314
  "registration_form" => __( "Registration form", 'mailchimp-for-wp' )
19
  */
20
  private $plugin_file = 'mailchimp-for-wp/mailchimp-for-wp.php';
21
 
22
+ /**
23
+ * Constructor
24
+ */
25
  public function __construct()
26
  {
27
  $this->setup_hooks();
156
  /**
157
  * Register the setting pages and their menu items
158
  */
159
+ public function build_menu() {
160
+
161
+ /**
162
+ * @filter mc4wp_settings_cap
163
+ * @expects string A valid WP capability like 'manage_options' (default)
164
+ *
165
+ * Use to customize the required user capability to access the MC4WP settings pages
166
+ */
167
  $required_cap = apply_filters( 'mc4wp_settings_cap', 'manage_options' );
168
+
169
  add_menu_page( 'MailChimp for WP Lite', 'MailChimp for WP', $required_cap, 'mc4wp-lite', array($this, 'show_api_settings'), MC4WP_LITE_PLUGIN_URL . 'assets/img/menu-icon.png' );
170
  add_submenu_page( 'mc4wp-lite', 'API Settings - MailChimp for WP Lite', __( 'MailChimp Settings', 'mailchimp-for-wp' ), $required_cap, 'mc4wp-lite', array( $this, 'show_api_settings' ) );
171
  add_submenu_page( 'mc4wp-lite', 'Checkbox Settings - MailChimp for WP Lite', __( 'Checkboxes', 'mailchimp-for-wp' ), $required_cap, 'mc4wp-lite-checkbox-settings', array($this, 'show_checkbox_settings' ) );
294
  }
295
 
296
  $suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
297
+ $mailchimp = new MC4WP_MailChimp();
298
 
299
  // css
300
  wp_enqueue_style( 'mc4wp-admin-css', MC4WP_LITE_PLUGIN_URL . 'assets/css/admin' . $suffix . '.css' );
305
  wp_enqueue_script( array( 'jquery', 'mc4wp-beautifyhtml', 'mc4wp-admin' ) );
306
  wp_localize_script( 'mc4wp-admin', 'mc4wp',
307
  array(
308
+ 'hasCaptchaPlugin' => $this->has_captcha_plugin,
309
  'strings' => array(
310
+ 'proOnlyNotice' => __( 'This option is only available in MailChimp for WordPress Pro.', 'mailchimp-for-wp' ),
311
+ 'fieldWizard' => array(
312
+ 'proOnly' => __( '(PRO ONLY)', 'mailchimp-for-wp' ),
313
+ 'buttonText' => __( 'Button text', 'mailchimp-for-wp' ),
314
+ 'initialValue' => __( 'Initial value', 'mailchimp-for-wp' ),
315
+ 'optional' => __( '(optional)', 'mailchimp-for-wp' ),
316
+ 'labelFor' => __( 'Label for', 'mailchimp-for-wp' ),
317
+ 'orLeaveEmpty' => __( '(or leave empty)', 'mailchimp-for-wp' ),
318
+ 'subscribe' => __( 'Subscribe', 'mailchimp-for-wp' )
319
+ )
320
+ ),
321
+ 'mailchimpLists' => $mailchimp->get_lists()
322
  )
323
  );
324
  }
330
  */
331
  public function get_checkbox_compatible_plugins()
332
  {
333
+ static $checkbox_plugins;
334
+
335
+ if( is_array( $checkbox_plugins ) ) {
336
+ return $checkbox_plugins;
337
+ }
338
+
339
  $checkbox_plugins = array(
340
  'comment_form' => __( "Comment form", 'mailchimp-for-wp' ),
341
  "registration_form" => __( "Registration form", 'mailchimp-for-wp' )
includes/class-checkbox-manager.php CHANGED
@@ -77,8 +77,11 @@ class MC4WP_Lite_Checkbox_Manager
77
  $this->integrations['easy_digital_downloads'] = new MC4WP_EDD_Integration();
78
  }
79
 
80
- // Always load General Integration
81
- $this->integrations['general'] = new MC4WP_General_Integration();
 
 
 
82
  }
83
 
84
  /**
77
  $this->integrations['easy_digital_downloads'] = new MC4WP_EDD_Integration();
78
  }
79
 
80
+ // load General Integration on POST requests
81
+ if( $_SERVER['REQUEST_METHOD'] === 'POST' ) {
82
+ $this->integrations['general'] = new MC4WP_General_Integration();
83
+ }
84
+
85
  }
86
 
87
  /**
includes/class-form-request.php CHANGED
@@ -55,6 +55,11 @@ class MC4WP_Lite_Form_Request {
55
  */
56
  private $mailchimp_error = '';
57
 
 
 
 
 
 
58
  /**
59
  * @return bool
60
  */
@@ -380,12 +385,19 @@ class MC4WP_Lite_Form_Request {
380
 
381
  // add to total map
382
  $map[ $list_id ] = $list_map;
 
383
 
384
-
 
 
 
 
 
385
  }
386
 
387
- // loop through data to find unmapped fields
388
- if( count( $mapped_fields ) < count( $data ) ) {
 
389
  foreach( $data as $field_key => $field_value ) {
390
  if( ! in_array( $field_key, $mapped_fields ) ) {
391
  $unmapped_fields[ $field_key ] = $field_value;
@@ -393,6 +405,7 @@ class MC4WP_Lite_Form_Request {
393
  }
394
  }
395
 
 
396
  $this->unmapped_fields = $unmapped_fields;
397
  $this->lists_fields_map = $map;
398
  return true;
@@ -416,8 +429,7 @@ class MC4WP_Lite_Form_Request {
416
  foreach ( $lists_data as $list_id => $list_field_data ) {
417
 
418
  // allow plugins to alter merge vars for each individual list
419
- $list_merge_vars = $this->get_list_merge_vars( $list_field_data );
420
- $list_merge_vars = apply_filters( 'mc4wp_merge_vars', $list_merge_vars, 0, $list_id );
421
 
422
  // send a subscribe request to MailChimp for each list
423
  $result = $api->subscribe( $list_id, $this->data['EMAIL'], $list_merge_vars, $email_type, $this->form_options['double_optin'], $this->form_options['update_existing'], $this->form_options['replace_interests'], $this->form_options['send_welcome'] );
@@ -508,22 +520,35 @@ class MC4WP_Lite_Form_Request {
508
  /**
509
  * Adds global fields like OPTIN_IP, MC_LANGUAGE, OPTIN_DATE, etc to the list of user-submitted field data.
510
  *
511
- * @param $field_data
 
512
  * @return array
513
  */
514
- private function get_list_merge_vars( $field_data ) {
515
 
516
- $merge_vars = array(
517
- 'OPTIN_IP' => sanitize_text_field( $_SERVER['REMOTE_ADDR'] )
518
- );
519
 
520
- // add MC_LANGUAGE
521
- if( isset( $field_data['MC_LANGUAGE'] ) ) {
522
- $field_data['MC_LANGUAGE'] = strtolower( substr( $field_data['MC_LANGUAGE'], 0, 2 ) );
 
 
 
523
  }
524
 
525
- $merge_vars = array_merge( $merge_vars, $field_data );
526
- return $merge_vars;
 
 
 
 
 
 
 
 
 
 
 
527
  }
528
 
529
  /**
55
  */
56
  private $mailchimp_error = '';
57
 
58
+ /**
59
+ * @var array
60
+ */
61
+ private $global_fields = array();
62
+
63
  /**
64
  * @return bool
65
  */
385
 
386
  // add to total map
387
  $map[ $list_id ] = $list_map;
388
+ }
389
 
390
+ // map global fields
391
+ $global_field_names = array( 'MC_LOCATION', 'MC_NOTES', 'MC_LANGUAGE' );
392
+ foreach( $global_field_names as $field_name ) {
393
+ if( isset( $data[ $field_name ] ) ) {
394
+ $this->global_fields[ $field_name ] = $data[ $field_name ];
395
+ }
396
  }
397
 
398
+ // is there still unmapped data left?
399
+ $total_fields_mapped = count( $mapped_fields ) + count( $this->global_fields );
400
+ if( $total_fields_mapped < count( $data ) ) {
401
  foreach( $data as $field_key => $field_value ) {
402
  if( ! in_array( $field_key, $mapped_fields ) ) {
403
  $unmapped_fields[ $field_key ] = $field_value;
405
  }
406
  }
407
 
408
+ // add built arrays to instance properties
409
  $this->unmapped_fields = $unmapped_fields;
410
  $this->lists_fields_map = $map;
411
  return true;
429
  foreach ( $lists_data as $list_id => $list_field_data ) {
430
 
431
  // allow plugins to alter merge vars for each individual list
432
+ $list_merge_vars = $this->get_list_merge_vars( $list_id, $list_field_data );
 
433
 
434
  // send a subscribe request to MailChimp for each list
435
  $result = $api->subscribe( $list_id, $this->data['EMAIL'], $list_merge_vars, $email_type, $this->form_options['double_optin'], $this->form_options['update_existing'], $this->form_options['replace_interests'], $this->form_options['send_welcome'] );
520
  /**
521
  * Adds global fields like OPTIN_IP, MC_LANGUAGE, OPTIN_DATE, etc to the list of user-submitted field data.
522
  *
523
+ * @param string $list_id
524
+ * @param array $list_field_data
525
  * @return array
526
  */
527
+ private function get_list_merge_vars( $list_id, $list_field_data ) {
528
 
529
+ $merge_vars = array();
 
 
530
 
531
+ // add OPTIN_IP, we do this here as the user shouldn't be allowed to set this
532
+ $merge_vars['OPTIN_IP'] = sanitize_text_field( $_SERVER['REMOTE_ADDR'] );
533
+
534
+ // make sure MC_LANGUAGE matches the requested format. Useful when getting the language from WPML etc.
535
+ if( isset( $this->global_fields['MC_LANGUAGE'] ) ) {
536
+ $merge_vars['MC_LANGUAGE'] = strtolower( substr( $this->global_fields['MC_LANGUAGE'], 0, 2 ) );
537
  }
538
 
539
+ $merge_vars = array_merge( $merge_vars, $list_field_data );
540
+
541
+ /**
542
+ * @filter `mc4wp_merge_vars`
543
+ * @expects array
544
+ * @param int $form_id
545
+ * @param string $list_id
546
+ *
547
+ * Can be used to filter the merge variables sent to a given list
548
+ */
549
+ $merge_vars = apply_filters( 'mc4wp_merge_vars', $merge_vars, 0, $list_id );
550
+
551
+ return (array) $merge_vars;
552
  }
553
 
554
  /**
includes/class-widget.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- if( ! defined("MC4WP_LITE_VERSION") ) {
4
  header( 'Status: 403 Forbidden' );
5
  header( 'HTTP/1.1 403 Forbidden' );
6
  exit;
@@ -18,7 +18,9 @@ class MC4WP_Lite_Widget extends WP_Widget {
18
  parent::__construct(
19
  'MC4WP_Widget', // Base ID
20
  __( 'MailChimp Sign-Up Form', 'mailchimp-for-wp' ), // Name
21
- array( 'description' => __( 'Displays your MailChimp for WordPress sign-up form', 'mailchimp-for-wp' ), ) // Args
 
 
22
  );
23
  }
24
 
@@ -56,7 +58,9 @@ class MC4WP_Lite_Widget extends WP_Widget {
56
  *
57
  * @see WP_Widget::form()
58
  *
59
- * @param array $instance Previously saved values from database.
 
 
60
  */
61
  public function form( $instance ) {
62
  $title = isset( $instance['title'] ) ? $instance['title'] : __( 'Newsletter', 'mailchimp-for-wp' );
1
  <?php
2
 
3
+ if( ! defined( 'MC4WP_LITE_VERSION' ) ) {
4
  header( 'Status: 403 Forbidden' );
5
  header( 'HTTP/1.1 403 Forbidden' );
6
  exit;
18
  parent::__construct(
19
  'MC4WP_Widget', // Base ID
20
  __( 'MailChimp Sign-Up Form', 'mailchimp-for-wp' ), // Name
21
+ array(
22
+ 'description' => __( 'Displays your MailChimp for WordPress sign-up form', 'mailchimp-for-wp' ),
23
+ )
24
  );
25
  }
26
 
58
  *
59
  * @see WP_Widget::form()
60
  *
61
+ * @param array $instance Previously saved values from database.
62
+ *
63
+ * @return string|void
64
  */
65
  public function form( $instance ) {
66
  $title = isset( $instance['title'] ) ? $instance['title'] : __( 'Newsletter', 'mailchimp-for-wp' );
includes/integrations/class-bbpress.php CHANGED
@@ -9,6 +9,9 @@ if( ! defined("MC4WP_LITE_VERSION") ) {
9
 
10
  class MC4WP_bbPress_Integration extends MC4WP_Integration {
11
 
 
 
 
12
  protected $type = 'bbpress_forms';
13
 
14
  public function __construct() {
@@ -30,7 +33,11 @@ class MC4WP_bbPress_Integration extends MC4WP_Integration {
30
  */
31
  public function subscribe_from_bbpress( $anonymous_data, $user_id, $trigger ) {
32
 
33
- if ( $this->checkbox_was_checked === false ) {
 
 
 
 
34
  return false;
35
  }
36
 
9
 
10
  class MC4WP_bbPress_Integration extends MC4WP_Integration {
11
 
12
+ /**
13
+ * @var string
14
+ */
15
  protected $type = 'bbpress_forms';
16
 
17
  public function __construct() {
33
  */
34
  public function subscribe_from_bbpress( $anonymous_data, $user_id, $trigger ) {
35
 
36
+ if( $this->is_spam() ) {
37
+ return false;
38
+ }
39
+
40
+ if ( $this->checkbox_was_checked() === false ) {
41
  return false;
42
  }
43
 
includes/integrations/class-buddypress.php CHANGED
@@ -28,8 +28,12 @@ class MC4WP_BuddyPress_Integration extends MC4WP_Integration {
28
  * @param array $usermeta
29
  */
30
  public function subscribe_from_buddypress( $user_id, $user_login, $user_password, $user_email ) {
31
-
32
- if ( $this->checkbox_was_checked === false ) {
 
 
 
 
33
  return false;
34
  }
35
 
28
  * @param array $usermeta
29
  */
30
  public function subscribe_from_buddypress( $user_id, $user_login, $user_password, $user_email ) {
31
+
32
+ if( $this->is_spam() ) {
33
+ return false;
34
+ }
35
+
36
+ if ( $this->checkbox_was_checked() === false ) {
37
  return false;
38
  }
39
 
includes/integrations/class-cf7.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  // prevent direct file access
4
- if( ! defined("MC4WP_LITE_VERSION") ) {
5
  header( 'Status: 403 Forbidden' );
6
  header( 'HTTP/1.1 403 Forbidden' );
7
  exit;
@@ -9,9 +9,16 @@ if( ! defined("MC4WP_LITE_VERSION") ) {
9
 
10
  class MC4WP_CF7_Integration extends MC4WP_General_Integration {
11
 
 
 
 
12
  protected $type = 'contact_form_7';
13
 
 
 
 
14
  public function __construct() {
 
15
  add_action( 'init', array( $this, 'init') );
16
 
17
  add_action( 'wpcf7_mail_sent', array( $this, 'subscribe_from_cf7' ) );
@@ -20,6 +27,7 @@ class MC4WP_CF7_Integration extends MC4WP_General_Integration {
20
 
21
  /**
22
  * Registers the CF7 shortcode
 
23
  * @return boolean
24
  */
25
  public function init() {
@@ -47,9 +55,8 @@ class MC4WP_CF7_Integration extends MC4WP_General_Integration {
47
 
48
  /**
49
  * Subscribe from Contact Form 7 Forms
50
- * @param array $args
51
  */
52
- public function subscribe_from_cf7( $args = null ) {
53
 
54
  // was sign-up checkbox checked?
55
  if ( $this->checkbox_was_checked() === false ) {
1
  <?php
2
 
3
  // prevent direct file access
4
+ if( ! defined( 'MC4WP_LITE_VERSION' ) ) {
5
  header( 'Status: 403 Forbidden' );
6
  header( 'HTTP/1.1 403 Forbidden' );
7
  exit;
9
 
10
  class MC4WP_CF7_Integration extends MC4WP_General_Integration {
11
 
12
+ /**
13
+ * @var string
14
+ */
15
  protected $type = 'contact_form_7';
16
 
17
+ /**
18
+ * Constructor
19
+ */
20
  public function __construct() {
21
+
22
  add_action( 'init', array( $this, 'init') );
23
 
24
  add_action( 'wpcf7_mail_sent', array( $this, 'subscribe_from_cf7' ) );
27
 
28
  /**
29
  * Registers the CF7 shortcode
30
+ *
31
  * @return boolean
32
  */
33
  public function init() {
55
 
56
  /**
57
  * Subscribe from Contact Form 7 Forms
 
58
  */
59
+ public function subscribe_from_cf7() {
60
 
61
  // was sign-up checkbox checked?
62
  if ( $this->checkbox_was_checked() === false ) {
includes/integrations/class-comment-form.php CHANGED
@@ -23,13 +23,19 @@ class MC4WP_Comment_Form_Integration extends MC4WP_Integration {
23
  }
24
 
25
  /**
26
- * Grabs data from WP Comment Form
27
- *
28
- * @param int $comment_id
29
- * @param string $comment_approved
30
- */
 
 
31
  public function subscribe_from_comment( $comment_id, $comment_approved = '' ) {
32
 
 
 
 
 
33
  // was sign-up checkbox checked?
34
  if ( $this->checkbox_was_checked() === false ) {
35
  return false;
23
  }
24
 
25
  /**
26
+ * Grabs data from WP Comment Form
27
+ *
28
+ * @param int $comment_id
29
+ * @param string $comment_approved
30
+ *
31
+ * @return bool|string
32
+ */
33
  public function subscribe_from_comment( $comment_id, $comment_approved = '' ) {
34
 
35
+ if( $this->is_spam() ) {
36
+ return false;
37
+ }
38
+
39
  // was sign-up checkbox checked?
40
  if ( $this->checkbox_was_checked() === false ) {
41
  return false;
includes/integrations/class-events-manager.php CHANGED
@@ -19,18 +19,19 @@ class MC4WP_Events_Manager_Integration extends MC4WP_General_Integration {
19
  * Subscribe from Events Manager booking forms.
20
  *
21
  * @param array $args
 
22
  */
23
- public function subscribe_from_events_manager( $em_booking ) {
24
 
25
  // was sign-up checkbox checked?
26
- if( ! isset( $em_booking->booking_meta['booking']['mc4wp-subscribe'] ) || $em_booking->booking_meta['booking']['mc4wp-subscribe'] != 1 ) {
27
  return false;
28
  }
29
 
30
  // find email field
31
- if( isset( $em_booking->booking_meta['registration']['user_email'] ) ) {
32
 
33
- $meta = $em_booking->booking_meta;
34
 
35
  $email = $meta['registration']['user_email'];
36
  $merge_vars = array();
@@ -67,7 +68,7 @@ class MC4WP_Events_Manager_Integration extends MC4WP_General_Integration {
67
  return $this->subscribe( $email, $merge_vars );
68
  }
69
 
70
- // try general fallback
71
  return $this->try_subscribe();
72
  }
73
 
19
  * Subscribe from Events Manager booking forms.
20
  *
21
  * @param array $args
22
+ * @return bool
23
  */
24
+ public function subscribe_from_events_manager( $args ) {
25
 
26
  // was sign-up checkbox checked?
27
+ if( ! isset( $args->booking_meta['booking']['mc4wp-subscribe'] ) || $args->booking_meta['booking']['mc4wp-subscribe'] != 1 ) {
28
  return false;
29
  }
30
 
31
  // find email field
32
+ if( isset( $args->booking_meta['registration']['user_email'] ) ) {
33
 
34
+ $meta = $args->booking_meta;
35
 
36
  $email = $meta['registration']['user_email'];
37
  $merge_vars = array();
68
  return $this->subscribe( $email, $merge_vars );
69
  }
70
 
71
+ // try general fallback to get the email and stuff.
72
  return $this->try_subscribe();
73
  }
74
 
includes/integrations/class-general.php CHANGED
@@ -29,6 +29,7 @@ class MC4WP_General_Integration extends MC4WP_Integration {
29
 
30
  // hook actions
31
  add_action( 'init', array( $this, 'maybe_subscribe'), 90 );
 
32
  }
33
 
34
  /**
@@ -45,13 +46,23 @@ class MC4WP_General_Integration extends MC4WP_Integration {
45
  $_POST[ $this->checkbox_name ] = 1;
46
  unset( $_POST['mc4wp-do-subscribe'] );
47
  }
 
 
 
 
 
48
  }
49
 
50
  /**
51
  * Maybe fire a general subscription request
52
  */
53
  public function maybe_subscribe() {
54
- if ( $this->checkbox_was_checked() === false ) {
 
 
 
 
 
55
  return false;
56
  }
57
 
@@ -60,35 +71,17 @@ class MC4WP_General_Integration extends MC4WP_Integration {
60
  return false;
61
  }
62
 
63
- // don't run if this is an events manager request
64
  if( isset( $_POST['action'] ) && $_POST['action'] === 'booking_add' && isset( $_POST['event_id'] ) ) {
65
  return false;
66
  }
67
 
68
- $this->try_subscribe();
69
  }
70
 
71
  /**
72
- * @return boolean
73
  */
74
- public function checkbox_was_checked() {
75
-
76
- if( $this->is_honeypot_filled() ) {
77
- return false;
78
- }
79
-
80
- if( isset( $_POST[ '_mc4wp_subscribe' ] ) && $_POST[ '_mc4wp_subscribe' ] == 1 ) {
81
- return true;
82
- }
83
-
84
- return ( isset( $_POST[ $this->checkbox_name ] ) && $_POST[ $this->checkbox_name ] == 1 );
85
- }
86
-
87
- /**
88
- * Tries to subscribe from any third-party form (and CF7)
89
- *
90
- * @param string $trigger
91
- */
92
  public function try_subscribe() {
93
 
94
  // start running..
@@ -112,9 +105,10 @@ class MC4WP_General_Integration extends MC4WP_Integration {
112
  break;
113
 
114
  case 'GROUPINGS':
115
- $groupings = $value;
116
 
117
- foreach($groupings as $grouping_id_or_name => $groups) {
 
 
118
 
119
  $grouping = array();
120
 
29
 
30
  // hook actions
31
  add_action( 'init', array( $this, 'maybe_subscribe'), 90 );
32
+
33
  }
34
 
35
  /**
46
  $_POST[ $this->checkbox_name ] = 1;
47
  unset( $_POST['mc4wp-do-subscribe'] );
48
  }
49
+
50
+ if( isset( $_POST['_mc4wp_subscribe'] ) ) {
51
+ $_POST[ $this->checkbox_name ] = 1;
52
+ unset( $_POST['_mc4wp_subscribe'] );
53
+ }
54
  }
55
 
56
  /**
57
  * Maybe fire a general subscription request
58
  */
59
  public function maybe_subscribe() {
60
+
61
+ if( $this->is_spam() ) {
62
+ return false;
63
+ }
64
+
65
+ if ( ! $this->checkbox_was_checked() ) {
66
  return false;
67
  }
68
 
71
  return false;
72
  }
73
 
74
+ // don't run if this is an Events Manager request
75
  if( isset( $_POST['action'] ) && $_POST['action'] === 'booking_add' && isset( $_POST['event_id'] ) ) {
76
  return false;
77
  }
78
 
79
+ return $this->try_subscribe();
80
  }
81
 
82
  /**
83
+ * Tries to create a sign-up request from the current $_POST data
84
  */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
  public function try_subscribe() {
86
 
87
  // start running..
105
  break;
106
 
107
  case 'GROUPINGS':
 
108
 
109
+ $groupings = (array) $value;
110
+
111
+ foreach( $groupings as $grouping_id_or_name => $groups ) {
112
 
113
  $grouping = array();
114
 
includes/integrations/class-integration.php CHANGED
@@ -44,6 +44,47 @@ abstract class MC4WP_Integration {
44
  return $this->options;
45
  }
46
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  /**
48
  * Should the checkbox be pre-checked?
49
  *
@@ -78,30 +119,10 @@ abstract class MC4WP_Integration {
78
  return $label;
79
  }
80
 
81
- /**
82
- * Was the honeypot filled?
83
- *
84
- * @return bool
85
- */
86
- protected function is_honeypot_filled() {
87
-
88
- // Check if honeypot was filled (by spam bots)
89
- if( isset( $_POST['_mc4wp_required_but_not_really'] ) && ! empty( $_POST['_mc4wp_required_but_not_really'] ) ) {
90
- return true;
91
- }
92
-
93
- return false;
94
- }
95
-
96
  /**
97
  * @return bool
98
  */
99
  public function checkbox_was_checked() {
100
-
101
- if( $this->is_honeypot_filled() ) {
102
- return false;
103
- }
104
-
105
  return ( isset( $_POST[ $this->checkbox_name ] ) && $_POST[ $this->checkbox_name ] == 1 );
106
  }
107
 
44
  return $this->options;
45
  }
46
 
47
+ /**
48
+ * Is this a spam request?
49
+ *
50
+ * @return bool
51
+ */
52
+ protected function is_spam() {
53
+
54
+ // check if honeypot was filled
55
+ if( $this->is_honeypot_filled() ) {
56
+ return true;
57
+ }
58
+
59
+ // check user agent
60
+ $user_agent = substr( $_SERVER['HTTP_USER_AGENT'], 0, 254 );
61
+ if( strlen( $user_agent ) < 2 ) {
62
+ return true;
63
+ }
64
+
65
+ /**
66
+ * @filter `mc4wp_is_spam`
67
+ * @expects boolean True if this is a spam request
68
+ * @default false
69
+ */
70
+ return apply_filters( 'mc4wp_is_spam', false );
71
+ }
72
+
73
+ /**
74
+ * Was the honeypot filled?
75
+ *
76
+ * @return bool
77
+ */
78
+ protected function is_honeypot_filled() {
79
+
80
+ // Check if honeypot was filled (by spam bots)
81
+ if( isset( $_POST['_mc4wp_required_but_not_really'] ) && ! empty( $_POST['_mc4wp_required_but_not_really'] ) ) {
82
+ return true;
83
+ }
84
+
85
+ return false;
86
+ }
87
+
88
  /**
89
  * Should the checkbox be pre-checked?
90
  *
119
  return $label;
120
  }
121
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
122
  /**
123
  * @return bool
124
  */
125
  public function checkbox_was_checked() {
 
 
 
 
 
126
  return ( isset( $_POST[ $this->checkbox_name ] ) && $_POST[ $this->checkbox_name ] == 1 );
127
  }
128
 
includes/integrations/class-registration-form.php CHANGED
@@ -9,8 +9,14 @@ if( ! defined("MC4WP_LITE_VERSION") ) {
9
 
10
  class MC4WP_Registration_Form_Integration extends MC4WP_Integration {
11
 
 
 
 
12
  protected $type = 'registration_form';
13
 
 
 
 
14
  public function __construct() {
15
 
16
  parent::__construct();
@@ -20,12 +26,18 @@ class MC4WP_Registration_Form_Integration extends MC4WP_Integration {
20
  }
21
 
22
  /**
23
- * Subscribes from WP Registration Form
24
- *
25
- * @param int $user_id
26
- */
 
 
27
  public function subscribe_from_registration( $user_id ) {
28
 
 
 
 
 
29
  // was sign-up checkbox checked?
30
  if ( $this->checkbox_was_checked() === false ) {
31
  return false;
@@ -35,7 +47,7 @@ class MC4WP_Registration_Form_Integration extends MC4WP_Integration {
35
  $user = get_userdata( $user_id );
36
 
37
  // was a user found with the given ID?
38
- if ( ! $user ) {
39
  return false;
40
  }
41
 
@@ -43,16 +55,16 @@ class MC4WP_Registration_Form_Integration extends MC4WP_Integration {
43
  $merge_vars = array( 'NAME' => $user->user_login );
44
 
45
  // try to add first name
46
- if ( isset( $user->user_firstname ) && !empty( $user->user_firstname ) ) {
47
- $merge_vars['FNAME'] = $user->user_firstname;
48
  }
49
 
50
  // try to add last name
51
- if ( isset( $user->user_lastname ) && !empty( $user->user_lastname ) ) {
52
- $merge_vars['LNAME'] = $user->user_lastname;
53
  }
54
 
55
- return $this->subscribe( $email, $merge_vars, 'registration' );
56
  }
57
  /* End registration form functions */
58
 
9
 
10
  class MC4WP_Registration_Form_Integration extends MC4WP_Integration {
11
 
12
+ /**
13
+ * @var string
14
+ */
15
  protected $type = 'registration_form';
16
 
17
+ /**
18
+ * Constructor
19
+ */
20
  public function __construct() {
21
 
22
  parent::__construct();
26
  }
27
 
28
  /**
29
+ * Subscribe from WP Registration form
30
+ *
31
+ * @param $user_id
32
+ *
33
+ * @return bool|string
34
+ */
35
  public function subscribe_from_registration( $user_id ) {
36
 
37
+ if( $this->is_spam() ) {
38
+ return false;
39
+ }
40
+
41
  // was sign-up checkbox checked?
42
  if ( $this->checkbox_was_checked() === false ) {
43
  return false;
47
  $user = get_userdata( $user_id );
48
 
49
  // was a user found with the given ID?
50
+ if ( ! is_object( $user ) || ! isset( $user->user_email ) ) {
51
  return false;
52
  }
53
 
55
  $merge_vars = array( 'NAME' => $user->user_login );
56
 
57
  // try to add first name
58
+ if ( isset( $user->first_name ) && !empty( $user->first_name ) ) {
59
+ $merge_vars['FNAME'] = $user->first_name;
60
  }
61
 
62
  // try to add last name
63
+ if ( isset( $user->last_name ) && !empty( $user->last_name ) ) {
64
+ $merge_vars['LNAME'] = $user->last_name;
65
  }
66
 
67
+ return $this->subscribe( $email, $merge_vars, $this->type );
68
  }
69
  /* End registration form functions */
70
 
includes/views/form-settings.php CHANGED
@@ -53,7 +53,7 @@ if( ! defined("MC4WP_LITE_VERSION") ) {
53
  <?php foreach($lists as $list) { ?>
54
  <li>
55
  <label>
56
- <input type="checkbox" name="mc4wp_lite_form[lists][<?php echo esc_attr( $list->id ); ?>]" value="<?php echo esc_attr( $list->id ); ?>" data-list-groupings="<?php echo esc_attr(json_encode($list->interest_groupings)); ?>" data-list-fields="<?php echo esc_attr(json_encode($list->merge_vars)); ?>" <?php if(array_key_exists($list->id, $opts['lists'])) echo 'checked="checked"'; ?>> <?php echo esc_html( $list->name ); ?>
57
  </label>
58
  </li>
59
  <?php } ?>
53
  <?php foreach($lists as $list) { ?>
54
  <li>
55
  <label>
56
+ <input type="checkbox" name="mc4wp_lite_form[lists][<?php echo esc_attr( $list->id ); ?>]" value="<?php echo esc_attr( $list->id ); ?>" <?php if(array_key_exists($list->id, $opts['lists'])) echo 'checked="checked"'; ?>> <?php echo esc_html( $list->name ); ?>
57
  </label>
58
  </li>
59
  <?php } ?>
includes/views/parts/admin-need-support.php CHANGED
@@ -8,7 +8,6 @@ if( ! defined("MC4WP_LITE_VERSION") ) {
8
  <div class="mc4wp-box">
9
  <h4 class="mc4wp-title"><?php _e('Looking for support?', 'mailchimp-for-wp' ); ?></h4>
10
  <p><?php printf( __( 'Make sure to look at the <a href="%s">frequently asked questions</a> or use the <a href="%s">support forums</a> on WordPress.org.', 'mailchimp-for-wp' ), 'https://wordpress.org/plugins/mailchimp-for-wp/faq/', 'http://wordpress.org/support/plugin/mailchimp-for-wp' ); ?></p>
11
- <p><?php printf( __( 'If you need priority support, please <a href="%s">upgrade to the premium version</a>.', 'mailchimp-for-wp' ), 'https://mc4wp.com/#utm_source=lite-plugin&utm_medium=link&utm_campaign=support-link' ); ?></p>
12
  </div>
13
 
14
  <div class="mc4wp-box">
8
  <div class="mc4wp-box">
9
  <h4 class="mc4wp-title"><?php _e('Looking for support?', 'mailchimp-for-wp' ); ?></h4>
10
  <p><?php printf( __( 'Make sure to look at the <a href="%s">frequently asked questions</a> or use the <a href="%s">support forums</a> on WordPress.org.', 'mailchimp-for-wp' ), 'https://wordpress.org/plugins/mailchimp-for-wp/faq/', 'http://wordpress.org/support/plugin/mailchimp-for-wp' ); ?></p>
 
11
  </div>
12
 
13
  <div class="mc4wp-box">
includes/views/parts/admin-upgrade-to-pro.php CHANGED
@@ -10,5 +10,5 @@ if( ! defined("MC4WP_LITE_VERSION") ) {
10
 
11
  <p><em><?php _e( 'This plugin has an even better premium version, I am sure you will love it.', 'mailchimp-for-wp' ); ?></em></p>
12
  <p><?php _e( 'Pro features include better and multiple forms, advanced and easy form styling, more default themes, detailed statistics and priority support.', 'mailchimp-for-wp' ); ?></p>
13
- <p><a href="https://mc4wp.com/#utm_source=lite-plugin&utm_medium=link&utm_campaign=upgrade-box"><?php _e( 'More information about MailChimp for WP Pro', 'mailchimp-for-wp' ); ?> &raquo;</a></p>
14
  </div>
10
 
11
  <p><em><?php _e( 'This plugin has an even better premium version, I am sure you will love it.', 'mailchimp-for-wp' ); ?></em></p>
12
  <p><?php _e( 'Pro features include better and multiple forms, advanced and easy form styling, more default themes, detailed statistics and priority support.', 'mailchimp-for-wp' ); ?></p>
13
+ <p><a class="button-primary" href="https://mc4wp.com/#utm_source=lite-plugin&utm_medium=link&utm_campaign=upgrade-box"><?php _e( 'Upgrade Now', 'mailchimp-for-wp' ); ?> &raquo;</a></p>
14
  </div>
languages/mailchimp-for-wp-da_DK.po CHANGED
@@ -1,13 +1,14 @@
1
  # Copyright (C) 2014 Danny van Kooten
2
  # This file is distributed under the GPL v3.
3
  # Translators:
 
4
  msgid ""
5
  msgstr ""
6
  "Project-Id-Version: MailChimp for WordPress\n"
7
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/mailchimp-for-wp\n"
8
  "POT-Creation-Date: 2014-12-09 19:20:27+00:00\n"
9
- "PO-Revision-Date: 2014-12-09 19:20+0000\n"
10
- "Last-Translator: Danny van Kooten <dannyvankooten@gmail.com>\n"
11
  "Language-Team: Danish (Denmark) (http://www.transifex.com/projects/p/mailchimp-for-wordpress/language/da_DK/)\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -27,24 +28,24 @@ msgstr ""
27
  #: mailchimp-for-wordpress/includes/class-admin.php:130
28
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:185
29
  msgid "Settings"
30
- msgstr ""
31
 
32
  #: mailchimp-for-wordpress/includes/class-admin.php:149
33
  #: mailchimp-for-wordpress/includes/class-admin.php:163
34
  msgid "Upgrade to Pro"
35
- msgstr ""
36
 
37
  #: mailchimp-for-wordpress/includes/class-admin.php:160
38
  #: mailchimp-for-wordpress/includes/views/api-settings.php:12
39
  #: mailchimp-for-wordpress/includes/views/form-settings.php:106
40
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:10
41
  msgid "MailChimp Settings"
42
- msgstr ""
43
 
44
  #: mailchimp-for-wordpress/includes/class-admin.php:161
45
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:572
46
  msgid "Checkboxes"
47
- msgstr ""
48
 
49
  #: mailchimp-for-wordpress/includes/class-admin.php:162
50
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:573
@@ -54,7 +55,7 @@ msgstr ""
54
 
55
  #: mailchimp-for-wordpress/includes/class-admin.php:299
56
  msgid "This option is only available in MailChimp for WordPress Pro."
57
- msgstr ""
58
 
59
  #: mailchimp-for-wordpress/includes/class-admin.php:313
60
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:671
@@ -1165,7 +1166,7 @@ msgstr ""
1165
 
1166
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/views/form.php:26
1167
  msgid "ACTIVE"
1168
- msgstr ""
1169
 
1170
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/views/form.php:26
1171
  msgid "you are receiving updates"
@@ -1173,7 +1174,7 @@ msgstr ""
1173
 
1174
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/views/form.php:28
1175
  msgid "EXPIRED"
1176
- msgstr ""
1177
 
1178
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/views/form.php:28
1179
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/views/form.php:30
@@ -1182,7 +1183,7 @@ msgstr ""
1182
 
1183
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/views/form.php:30
1184
  msgid "INACTIVE"
1185
- msgstr ""
1186
 
1187
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/views/form.php:35
1188
  msgid "Toggle license status"
@@ -1199,7 +1200,7 @@ msgstr ""
1199
 
1200
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/views/form.php:44
1201
  msgid "Activate License"
1202
- msgstr ""
1203
 
1204
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/views/form.php:46
1205
  msgid "Please enter a license key in the field below first."
@@ -1250,7 +1251,7 @@ msgstr ""
1250
  #: mailchimp-for-wordpress-pro/includes/class-form-request.php:635
1251
  #: mailchimp-for-wordpress-pro/includes/tables/class-log-table.php:54
1252
  msgid "List"
1253
- msgstr ""
1254
 
1255
  #: mailchimp-for-wordpress-pro/includes/class-form-request.php:675
1256
  msgid "Other fields"
@@ -1328,12 +1329,12 @@ msgstr ""
1328
  #: mailchimp-for-wordpress-pro/includes/tables/class-forms-table.php:76
1329
  #: mailchimp-for-wordpress-pro/includes/tables/class-forms-table.php:80
1330
  msgid "Edit Form"
1331
- msgstr ""
1332
 
1333
  #: mailchimp-for-wordpress-pro/includes/tables/class-forms-table.php:77
1334
  #: mailchimp-for-wordpress-pro/includes/tables/class-log-table.php:188
1335
  msgid "Delete"
1336
- msgstr ""
1337
 
1338
  #: mailchimp-for-wordpress-pro/includes/tables/class-forms-table.php:98
1339
  msgid "No MailChimp list(s) selected yet."
@@ -1361,7 +1362,7 @@ msgstr ""
1361
 
1362
  #: mailchimp-for-wordpress-pro/includes/tables/class-log-table.php:56
1363
  msgid "Source"
1364
- msgstr ""
1365
 
1366
  #: mailchimp-for-wordpress-pro/includes/tables/class-log-table.php:57
1367
  msgid "Data"
@@ -1378,15 +1379,15 @@ msgstr ""
1378
  #: mailchimp-for-wordpress-pro/includes/tables/class-log-table.php:209
1379
  #: mailchimp-for-wordpress-pro/includes/tables/class-log-table.php:215
1380
  msgid "Comment"
1381
- msgstr ""
1382
 
1383
  #: mailchimp-for-wordpress-pro/includes/tables/class-log-table.php:209
1384
  msgid "deleted"
1385
- msgstr ""
1386
 
1387
  #: mailchimp-for-wordpress-pro/includes/tables/class-log-table.php:219
1388
  msgid "Registration"
1389
- msgstr ""
1390
 
1391
  #: mailchimp-for-wordpress-pro/includes/tables/class-log-table.php:235
1392
  msgid "MultiSite registration"
@@ -1419,7 +1420,7 @@ msgstr ""
1419
 
1420
  #: mailchimp-for-wordpress-pro/includes/tables/class-log-table.php:335
1421
  msgid "All"
1422
- msgstr ""
1423
 
1424
  #: mailchimp-for-wordpress-pro/includes/tables/class-log-table.php:347
1425
  msgid "Checkbox"
@@ -1457,7 +1458,7 @@ msgstr ""
1457
 
1458
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:150
1459
  msgid "Messages"
1460
- msgstr ""
1461
 
1462
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:153
1463
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:140
@@ -1487,7 +1488,7 @@ msgstr ""
1487
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:175
1488
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:164
1489
  msgid "Other errors"
1490
- msgstr ""
1491
 
1492
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/required-form-settings.php:86
1493
  msgid "Form usage"
@@ -1592,7 +1593,7 @@ msgstr ""
1592
 
1593
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:40
1594
  msgid "Select Color"
1595
- msgstr ""
1596
 
1597
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:48
1598
  msgid "Save all changes"
@@ -1619,7 +1620,7 @@ msgstr ""
1619
 
1620
  #. Plugin URI of the plugin/theme
1621
  msgid "https://mc4wp.com/"
1622
- msgstr ""
1623
 
1624
  #. Description of the plugin/theme
1625
  msgid "Adds various sign-up methods to your website."
@@ -1627,8 +1628,8 @@ msgstr ""
1627
 
1628
  #. Author of the plugin/theme
1629
  msgid "Danny van Kooten"
1630
- msgstr ""
1631
 
1632
  #. Author URI of the plugin/theme
1633
  msgid "http://dannyvankooten.com"
1634
- msgstr ""
1
  # Copyright (C) 2014 Danny van Kooten
2
  # This file is distributed under the GPL v3.
3
  # Translators:
4
+ # Rasmus Larsen <rasmus@rblarsen.dk>, 2014
5
  msgid ""
6
  msgstr ""
7
  "Project-Id-Version: MailChimp for WordPress\n"
8
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/mailchimp-for-wp\n"
9
  "POT-Creation-Date: 2014-12-09 19:20:27+00:00\n"
10
+ "PO-Revision-Date: 2014-12-10 09:42+0000\n"
11
+ "Last-Translator: Rasmus Larsen <rasmus@rblarsen.dk>\n"
12
  "Language-Team: Danish (Denmark) (http://www.transifex.com/projects/p/mailchimp-for-wordpress/language/da_DK/)\n"
13
  "MIME-Version: 1.0\n"
14
  "Content-Type: text/plain; charset=UTF-8\n"
28
  #: mailchimp-for-wordpress/includes/class-admin.php:130
29
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:185
30
  msgid "Settings"
31
+ msgstr "Indstillinger"
32
 
33
  #: mailchimp-for-wordpress/includes/class-admin.php:149
34
  #: mailchimp-for-wordpress/includes/class-admin.php:163
35
  msgid "Upgrade to Pro"
36
+ msgstr "Opgrader til Pro"
37
 
38
  #: mailchimp-for-wordpress/includes/class-admin.php:160
39
  #: mailchimp-for-wordpress/includes/views/api-settings.php:12
40
  #: mailchimp-for-wordpress/includes/views/form-settings.php:106
41
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:10
42
  msgid "MailChimp Settings"
43
+ msgstr "MailChimp Indstillinger"
44
 
45
  #: mailchimp-for-wordpress/includes/class-admin.php:161
46
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:572
47
  msgid "Checkboxes"
48
+ msgstr "Checkboxe"
49
 
50
  #: mailchimp-for-wordpress/includes/class-admin.php:162
51
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:573
55
 
56
  #: mailchimp-for-wordpress/includes/class-admin.php:299
57
  msgid "This option is only available in MailChimp for WordPress Pro."
58
+ msgstr "Denne mulighed er kun tilgængelig i MailChimp for WordPress Pro."
59
 
60
  #: mailchimp-for-wordpress/includes/class-admin.php:313
61
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:671
1166
 
1167
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/views/form.php:26
1168
  msgid "ACTIVE"
1169
+ msgstr "AKTIV"
1170
 
1171
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/views/form.php:26
1172
  msgid "you are receiving updates"
1174
 
1175
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/views/form.php:28
1176
  msgid "EXPIRED"
1177
+ msgstr "UDLØBET"
1178
 
1179
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/views/form.php:28
1180
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/views/form.php:30
1183
 
1184
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/views/form.php:30
1185
  msgid "INACTIVE"
1186
+ msgstr "INAKTIV"
1187
 
1188
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/views/form.php:35
1189
  msgid "Toggle license status"
1200
 
1201
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/views/form.php:44
1202
  msgid "Activate License"
1203
+ msgstr "Aktiver licens"
1204
 
1205
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/views/form.php:46
1206
  msgid "Please enter a license key in the field below first."
1251
  #: mailchimp-for-wordpress-pro/includes/class-form-request.php:635
1252
  #: mailchimp-for-wordpress-pro/includes/tables/class-log-table.php:54
1253
  msgid "List"
1254
+ msgstr "Liste"
1255
 
1256
  #: mailchimp-for-wordpress-pro/includes/class-form-request.php:675
1257
  msgid "Other fields"
1329
  #: mailchimp-for-wordpress-pro/includes/tables/class-forms-table.php:76
1330
  #: mailchimp-for-wordpress-pro/includes/tables/class-forms-table.php:80
1331
  msgid "Edit Form"
1332
+ msgstr "Rediger form"
1333
 
1334
  #: mailchimp-for-wordpress-pro/includes/tables/class-forms-table.php:77
1335
  #: mailchimp-for-wordpress-pro/includes/tables/class-log-table.php:188
1336
  msgid "Delete"
1337
+ msgstr "Slet"
1338
 
1339
  #: mailchimp-for-wordpress-pro/includes/tables/class-forms-table.php:98
1340
  msgid "No MailChimp list(s) selected yet."
1362
 
1363
  #: mailchimp-for-wordpress-pro/includes/tables/class-log-table.php:56
1364
  msgid "Source"
1365
+ msgstr "Kilde"
1366
 
1367
  #: mailchimp-for-wordpress-pro/includes/tables/class-log-table.php:57
1368
  msgid "Data"
1379
  #: mailchimp-for-wordpress-pro/includes/tables/class-log-table.php:209
1380
  #: mailchimp-for-wordpress-pro/includes/tables/class-log-table.php:215
1381
  msgid "Comment"
1382
+ msgstr "Kommentar"
1383
 
1384
  #: mailchimp-for-wordpress-pro/includes/tables/class-log-table.php:209
1385
  msgid "deleted"
1386
+ msgstr "slettet"
1387
 
1388
  #: mailchimp-for-wordpress-pro/includes/tables/class-log-table.php:219
1389
  msgid "Registration"
1390
+ msgstr "Registrering"
1391
 
1392
  #: mailchimp-for-wordpress-pro/includes/tables/class-log-table.php:235
1393
  msgid "MultiSite registration"
1420
 
1421
  #: mailchimp-for-wordpress-pro/includes/tables/class-log-table.php:335
1422
  msgid "All"
1423
+ msgstr "Alle"
1424
 
1425
  #: mailchimp-for-wordpress-pro/includes/tables/class-log-table.php:347
1426
  msgid "Checkbox"
1458
 
1459
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:150
1460
  msgid "Messages"
1461
+ msgstr "Beskeder"
1462
 
1463
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:153
1464
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:140
1488
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:175
1489
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:164
1490
  msgid "Other errors"
1491
+ msgstr "Andre fejl"
1492
 
1493
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/required-form-settings.php:86
1494
  msgid "Form usage"
1593
 
1594
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:40
1595
  msgid "Select Color"
1596
+ msgstr "Vælg farve"
1597
 
1598
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:48
1599
  msgid "Save all changes"
1620
 
1621
  #. Plugin URI of the plugin/theme
1622
  msgid "https://mc4wp.com/"
1623
+ msgstr "https://mc4wp.com/"
1624
 
1625
  #. Description of the plugin/theme
1626
  msgid "Adds various sign-up methods to your website."
1628
 
1629
  #. Author of the plugin/theme
1630
  msgid "Danny van Kooten"
1631
+ msgstr "Danny von Kooten"
1632
 
1633
  #. Author URI of the plugin/theme
1634
  msgid "http://dannyvankooten.com"
1635
+ msgstr "http://dannyvankooten.com"
languages/mailchimp-for-wp-de_DE.po CHANGED
@@ -1,13 +1,14 @@
1
  # Copyright (C) 2014 Danny van Kooten
2
  # This file is distributed under the GPL v3.
3
  # Translators:
 
4
  msgid ""
5
  msgstr ""
6
  "Project-Id-Version: MailChimp for WordPress\n"
7
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/mailchimp-for-wp\n"
8
  "POT-Creation-Date: 2014-12-09 19:20:27+00:00\n"
9
- "PO-Revision-Date: 2014-12-09 19:21+0000\n"
10
- "Last-Translator: Danny van Kooten <dannyvankooten@gmail.com>\n"
11
  "Language-Team: German (Germany) (http://www.transifex.com/projects/p/mailchimp-for-wordpress/language/de_DE/)\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -32,7 +33,7 @@ msgstr "Einstellungen"
32
  #: mailchimp-for-wordpress/includes/class-admin.php:149
33
  #: mailchimp-for-wordpress/includes/class-admin.php:163
34
  msgid "Upgrade to Pro"
35
- msgstr ""
36
 
37
  #: mailchimp-for-wordpress/includes/class-admin.php:160
38
  #: mailchimp-for-wordpress/includes/views/api-settings.php:12
@@ -54,28 +55,28 @@ msgstr "Formulare"
54
 
55
  #: mailchimp-for-wordpress/includes/class-admin.php:299
56
  msgid "This option is only available in MailChimp for WordPress Pro."
57
- msgstr ""
58
 
59
  #: mailchimp-for-wordpress/includes/class-admin.php:313
60
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:671
61
  msgid "Comment form"
62
- msgstr "Kommentar Formular"
63
 
64
  #: mailchimp-for-wordpress/includes/class-admin.php:314
65
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:672
66
  msgid "Registration form"
67
- msgstr "Registrierungs Formular"
68
 
69
  #: mailchimp-for-wordpress/includes/class-admin.php:318
70
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:676
71
  msgid "MultiSite forms"
72
- msgstr "MultiSite Formular"
73
 
74
  #: mailchimp-for-wordpress/includes/class-admin.php:322
75
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:680
76
  #: mailchimp-for-wordpress-pro/includes/tables/class-log-table.php:231
77
  msgid "BuddyPress registration"
78
- msgstr "BuddyPress Formular"
79
 
80
  #: mailchimp-for-wordpress/includes/class-admin.php:330
81
  #: mailchimp-for-wordpress/includes/class-admin.php:334
@@ -92,39 +93,39 @@ msgstr "MailChimp Cache erneuern."
92
  #: mailchimp-for-wordpress/includes/class-admin.php:365
93
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:740
94
  msgid "Failed to renew MailChimp cache - please try again later."
95
- msgstr "Konnte den MailChimp Cache nicht erneuern - Bitte später noch mal probieren."
96
 
97
  #: mailchimp-for-wordpress/includes/class-admin.php:398
98
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:313
99
  msgid "An EMAIL field. Example: <code>%s</code>"
100
- msgstr ""
101
 
102
  #: mailchimp-for-wordpress/includes/class-admin.php:404
103
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:319
104
  msgid "A submit button. Example: <code>%s</code>"
105
- msgstr ""
106
 
107
  #: mailchimp-for-wordpress/includes/class-admin.php:404
108
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:319
109
  msgid "Sign Up"
110
- msgstr ""
111
 
112
  #: mailchimp-for-wordpress/includes/class-admin.php:429
113
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:347
114
  msgid "A '%s' field"
115
- msgstr ""
116
 
117
  #: mailchimp-for-wordpress/includes/class-form-request.php:675
118
  msgid "Please select at least one list to subscribe to."
119
- msgstr ""
120
 
121
  #: mailchimp-for-wordpress/includes/class-widget.php:20
122
  msgid "MailChimp Sign-Up Form"
123
- msgstr ""
124
 
125
  #: mailchimp-for-wordpress/includes/class-widget.php:21
126
  msgid "Displays your MailChimp for WordPress sign-up form"
127
- msgstr ""
128
 
129
  #: mailchimp-for-wordpress/includes/class-widget.php:62
130
  #: mailchimp-for-wordpress-pro/includes/class-widget.php:69
@@ -140,7 +141,7 @@ msgstr "Titel:"
140
  msgid ""
141
  "You can edit your sign-up form in the %sMailChimp for WordPress form "
142
  "settings%s."
143
- msgstr ""
144
 
145
  #: mailchimp-for-wordpress/includes/functions/general.php:21
146
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:285
@@ -167,7 +168,7 @@ msgstr "Trage mich in den Newsletter ein!"
167
  msgid ""
168
  "Thank you, your sign-up request was successful! Please check your e-mail "
169
  "inbox."
170
- msgstr ""
171
 
172
  #: mailchimp-for-wordpress/includes/functions/general.php:48
173
  #: mailchimp-for-wordpress-pro/includes/functions/general.php:51
@@ -182,17 +183,17 @@ msgstr "Bitte eine gültige E-Mail Adresse angeben."
182
  #: mailchimp-for-wordpress/includes/functions/general.php:50
183
  #: mailchimp-for-wordpress-pro/includes/functions/general.php:53
184
  msgid "Given email address is already subscribed, thank you!"
185
- msgstr "Die angegebene E-Mail Adresse befindet sicher bereits im Verteile, Danke!"
186
 
187
  #: mailchimp-for-wordpress/includes/functions/general.php:51
188
  #: mailchimp-for-wordpress-pro/includes/functions/general.php:54
189
  msgid "Please complete the CAPTCHA."
190
- msgstr "Bitte das CAPTCHA eingeben."
191
 
192
  #: mailchimp-for-wordpress/includes/functions/general.php:52
193
  #: mailchimp-for-wordpress-pro/includes/functions/general.php:55
194
  msgid "Please fill in the required fields."
195
- msgstr ""
196
 
197
  #: mailchimp-for-wordpress/includes/integrations/class-cf7.php:44
198
  #: mailchimp-for-wordpress/includes/views/checkbox-settings.php:52
@@ -263,37 +264,37 @@ msgstr "Nein"
263
  #: mailchimp-for-wordpress/includes/integrations/class-integration.php:293
264
  #: mailchimp-for-wordpress/includes/integrations/class-integration.php:302
265
  msgid "MailChimp for WordPress - Error"
266
- msgstr ""
267
 
268
  #: mailchimp-for-wordpress/includes/integrations/class-integration.php:213
269
  msgid ""
270
  "Please select a list to subscribe to in the <a href=\"%s\">checkbox "
271
  "settings</a>."
272
- msgstr ""
273
 
274
  #: mailchimp-for-wordpress/includes/integrations/class-integration.php:214
275
  #: mailchimp-for-wordpress/includes/integrations/class-integration.php:301
276
  msgid "This message is only visible to administrators for debugging purposes."
277
- msgstr ""
278
 
279
  #: mailchimp-for-wordpress/includes/integrations/class-integration.php:294
280
  msgid ""
281
  "The MailChimp server returned the following error message as a response to "
282
  "our sign-up request:"
283
- msgstr ""
284
 
285
  #: mailchimp-for-wordpress/includes/integrations/class-integration.php:296
286
  msgid "This is the data that was sent to MailChimp:"
287
- msgstr ""
288
 
289
  #: mailchimp-for-wordpress/includes/integrations/class-integration.php:297
290
  #: mailchimp-for-wordpress-pro/includes/class-form-request.php:638
291
  msgid "Email address:"
292
- msgstr ""
293
 
294
  #: mailchimp-for-wordpress/includes/integrations/class-integration.php:299
295
  msgid "Merge variables:"
296
- msgstr ""
297
 
298
  #. Plugin Name of the plugin/theme
299
  msgid "MailChimp for WordPress"
@@ -351,7 +352,7 @@ msgstr "MailChimp Listen erneuern"
351
 
352
  #: mailchimp-for-wordpress/includes/views/api-settings.php:112
353
  msgid "No lists were found in your MailChimp account"
354
- msgstr ""
355
 
356
  #: mailchimp-for-wordpress/includes/views/checkbox-settings.php:11
357
  #: mailchimp-for-wordpress-pro/includes/views/pages/admin-checkbox-settings.php:11
@@ -474,23 +475,23 @@ msgstr ""
474
  #: mailchimp-for-wordpress-pro/includes/views/pages/admin-checkbox-settings.php:115
475
  msgid ""
476
  "Choose the position for the checkbox in your WooCommerce checkout form."
477
- msgstr ""
478
 
479
  #: mailchimp-for-wordpress/includes/views/form-settings.php:9
480
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:431
481
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:91
482
  msgid "Form Settings"
483
- msgstr ""
484
 
485
  #: mailchimp-for-wordpress/includes/views/form-settings.php:15
486
  msgid ""
487
  "To use the MailChimp sign-up form, configure the form below and then either "
488
  "paste %s in the content of a post or page or use the widget."
489
- msgstr ""
490
 
491
  #: mailchimp-for-wordpress/includes/views/form-settings.php:20
492
  msgid "Required form settings"
493
- msgstr ""
494
 
495
  #: mailchimp-for-wordpress/includes/views/form-settings.php:24
496
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:19
@@ -506,7 +507,7 @@ msgstr "Ja, lade Standard Formular Stile"
506
  #: mailchimp-for-wordpress/includes/views/form-settings.php:36
507
  #: mailchimp-for-wordpress/includes/views/parts/admin-field-wizard.php:20
508
  msgid "(PRO ONLY)"
509
- msgstr ""
510
 
511
  #: mailchimp-for-wordpress/includes/views/form-settings.php:29
512
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:24
@@ -552,7 +553,7 @@ msgstr "Benutzerdefinierte Farben Theme"
552
  msgid ""
553
  "If you want to load some default CSS styles, select \"basic formatting "
554
  "styles\" or choose one of the color themes"
555
- msgstr ""
556
 
557
  #: mailchimp-for-wordpress/includes/views/form-settings.php:45
558
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/required-form-settings.php:14
@@ -1457,7 +1458,7 @@ msgstr "Sende die Kopie an diese E-Mail:"
1457
 
1458
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:150
1459
  msgid "Messages"
1460
- msgstr ""
1461
 
1462
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:153
1463
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:140
@@ -1467,7 +1468,7 @@ msgstr ""
1467
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:157
1468
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:145
1469
  msgid "Invalid email address"
1470
- msgstr ""
1471
 
1472
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:161
1473
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:149
@@ -1482,16 +1483,16 @@ msgstr ""
1482
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:170
1483
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:159
1484
  msgid "Invalid CAPTCHA"
1485
- msgstr ""
1486
 
1487
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:175
1488
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:164
1489
  msgid "Other errors"
1490
- msgstr ""
1491
 
1492
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/required-form-settings.php:86
1493
  msgid "Form usage"
1494
- msgstr "Formular Nutzung"
1495
 
1496
  #: mailchimp-for-wordpress-pro/includes/views/pages/admin-checkbox-settings.php:86
1497
  msgid ""
@@ -1537,11 +1538,11 @@ msgstr "Log"
1537
  msgid ""
1538
  "Need help? Have a look at the <a href=\"%s\">plugin documentation</a> or "
1539
  "email me directly at <a href=\"%s\">support@mc4wp.com</a>."
1540
- msgstr ""
1541
 
1542
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:10
1543
  msgid "Use the fields below to create custom styling rules for your forms."
1544
- msgstr "Benutze diese Felder um benutzerdefinierte Stil Regeln für deine Formulare zu definieren."
1545
 
1546
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:15
1547
  msgid "Select form to build styles for:"
@@ -1553,7 +1554,7 @@ msgstr ""
1553
 
1554
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:41
1555
  msgid "You need to have JavaScript enabled to see a preview of your form."
1556
- msgstr ""
1557
 
1558
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:223
1559
  msgid "Are you sure you want to delete all custom styles for this form?"
@@ -1573,7 +1574,7 @@ msgstr "CSS File erstellen"
1573
 
1574
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:8
1575
  msgid "Sign-Up Forms"
1576
- msgstr "Registrierungs Formulare"
1577
 
1578
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:8
1579
  msgid "Create New Form"
@@ -1592,7 +1593,7 @@ msgstr "Wenn du ein %sbenutzerdefiniertes Stylesheet erstellt%s hast und dieses
1592
 
1593
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:40
1594
  msgid "Select Color"
1595
- msgstr "Wähle Farbe"
1596
 
1597
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:48
1598
  msgid "Save all changes"
@@ -1615,11 +1616,11 @@ msgstr ""
1615
 
1616
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:137
1617
  msgid "Default Messages"
1618
- msgstr ""
1619
 
1620
  #. Plugin URI of the plugin/theme
1621
  msgid "https://mc4wp.com/"
1622
- msgstr ""
1623
 
1624
  #. Description of the plugin/theme
1625
  msgid "Adds various sign-up methods to your website."
@@ -1627,8 +1628,8 @@ msgstr ""
1627
 
1628
  #. Author of the plugin/theme
1629
  msgid "Danny van Kooten"
1630
- msgstr ""
1631
 
1632
  #. Author URI of the plugin/theme
1633
  msgid "http://dannyvankooten.com"
1634
- msgstr ""
1
  # Copyright (C) 2014 Danny van Kooten
2
  # This file is distributed under the GPL v3.
3
  # Translators:
4
+ # Freakspot, 2014
5
  msgid ""
6
  msgstr ""
7
  "Project-Id-Version: MailChimp for WordPress\n"
8
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/mailchimp-for-wp\n"
9
  "POT-Creation-Date: 2014-12-09 19:20:27+00:00\n"
10
+ "PO-Revision-Date: 2014-12-17 14:14+0000\n"
11
+ "Last-Translator: Freakspot\n"
12
  "Language-Team: German (Germany) (http://www.transifex.com/projects/p/mailchimp-for-wordpress/language/de_DE/)\n"
13
  "MIME-Version: 1.0\n"
14
  "Content-Type: text/plain; charset=UTF-8\n"
33
  #: mailchimp-for-wordpress/includes/class-admin.php:149
34
  #: mailchimp-for-wordpress/includes/class-admin.php:163
35
  msgid "Upgrade to Pro"
36
+ msgstr "Auf Pro upgraden"
37
 
38
  #: mailchimp-for-wordpress/includes/class-admin.php:160
39
  #: mailchimp-for-wordpress/includes/views/api-settings.php:12
55
 
56
  #: mailchimp-for-wordpress/includes/class-admin.php:299
57
  msgid "This option is only available in MailChimp for WordPress Pro."
58
+ msgstr "Diese Option ist nur für MailChimp für Wordpress Pro verfügbar."
59
 
60
  #: mailchimp-for-wordpress/includes/class-admin.php:313
61
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:671
62
  msgid "Comment form"
63
+ msgstr "Kommentarformular"
64
 
65
  #: mailchimp-for-wordpress/includes/class-admin.php:314
66
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:672
67
  msgid "Registration form"
68
+ msgstr "Registrierungsformular"
69
 
70
  #: mailchimp-for-wordpress/includes/class-admin.php:318
71
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:676
72
  msgid "MultiSite forms"
73
+ msgstr "MultiSite-Formular"
74
 
75
  #: mailchimp-for-wordpress/includes/class-admin.php:322
76
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:680
77
  #: mailchimp-for-wordpress-pro/includes/tables/class-log-table.php:231
78
  msgid "BuddyPress registration"
79
+ msgstr "BuddyPress-Formular"
80
 
81
  #: mailchimp-for-wordpress/includes/class-admin.php:330
82
  #: mailchimp-for-wordpress/includes/class-admin.php:334
93
  #: mailchimp-for-wordpress/includes/class-admin.php:365
94
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:740
95
  msgid "Failed to renew MailChimp cache - please try again later."
96
+ msgstr "Konnte den MailChimp Cache nicht erneuern - Bitte später noch einmal probieren."
97
 
98
  #: mailchimp-for-wordpress/includes/class-admin.php:398
99
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:313
100
  msgid "An EMAIL field. Example: <code>%s</code>"
101
+ msgstr "Ein E-Mail-Feld. Beispiel: <code>%s</code>"
102
 
103
  #: mailchimp-for-wordpress/includes/class-admin.php:404
104
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:319
105
  msgid "A submit button. Example: <code>%s</code>"
106
+ msgstr "Ein Bestätigungs-Button. Beispiel: <code>%s</code>"
107
 
108
  #: mailchimp-for-wordpress/includes/class-admin.php:404
109
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:319
110
  msgid "Sign Up"
111
+ msgstr "Registrieren"
112
 
113
  #: mailchimp-for-wordpress/includes/class-admin.php:429
114
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:347
115
  msgid "A '%s' field"
116
+ msgstr "Ein '%s' Feld."
117
 
118
  #: mailchimp-for-wordpress/includes/class-form-request.php:675
119
  msgid "Please select at least one list to subscribe to."
120
+ msgstr "Bitte wähle wenigstens eine Mailingsliste zum Abonnieren aus."
121
 
122
  #: mailchimp-for-wordpress/includes/class-widget.php:20
123
  msgid "MailChimp Sign-Up Form"
124
+ msgstr "MailChimp Registrierungsformular"
125
 
126
  #: mailchimp-for-wordpress/includes/class-widget.php:21
127
  msgid "Displays your MailChimp for WordPress sign-up form"
128
+ msgstr "Zeige dein MailChimp für WordPress Registrierungsformulare an"
129
 
130
  #: mailchimp-for-wordpress/includes/class-widget.php:62
131
  #: mailchimp-for-wordpress-pro/includes/class-widget.php:69
141
  msgid ""
142
  "You can edit your sign-up form in the %sMailChimp for WordPress form "
143
  "settings%s."
144
+ msgstr "Du kannst Dein Registrierungsformular in den %sMailChimp für WordPress Formlareinstellungen%s bearbeiten."
145
 
146
  #: mailchimp-for-wordpress/includes/functions/general.php:21
147
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:285
168
  msgid ""
169
  "Thank you, your sign-up request was successful! Please check your e-mail "
170
  "inbox."
171
+ msgstr "Dankeschön, Deine Registrierungsanfrage war erfolgreich! Bitte überprüfe Deinen E-Mail-Eingang."
172
 
173
  #: mailchimp-for-wordpress/includes/functions/general.php:48
174
  #: mailchimp-for-wordpress-pro/includes/functions/general.php:51
183
  #: mailchimp-for-wordpress/includes/functions/general.php:50
184
  #: mailchimp-for-wordpress-pro/includes/functions/general.php:53
185
  msgid "Given email address is already subscribed, thank you!"
186
+ msgstr "Die angegebene E-Mail Adresse befindet sich bereits im Verteiler, danke!"
187
 
188
  #: mailchimp-for-wordpress/includes/functions/general.php:51
189
  #: mailchimp-for-wordpress-pro/includes/functions/general.php:54
190
  msgid "Please complete the CAPTCHA."
191
+ msgstr "Bitte das CAPTCHA vervollständigen."
192
 
193
  #: mailchimp-for-wordpress/includes/functions/general.php:52
194
  #: mailchimp-for-wordpress-pro/includes/functions/general.php:55
195
  msgid "Please fill in the required fields."
196
+ msgstr "Bitte fülle die erforderlichen Felder aus."
197
 
198
  #: mailchimp-for-wordpress/includes/integrations/class-cf7.php:44
199
  #: mailchimp-for-wordpress/includes/views/checkbox-settings.php:52
264
  #: mailchimp-for-wordpress/includes/integrations/class-integration.php:293
265
  #: mailchimp-for-wordpress/includes/integrations/class-integration.php:302
266
  msgid "MailChimp for WordPress - Error"
267
+ msgstr "MailChimp für WordPress - Fehler"
268
 
269
  #: mailchimp-for-wordpress/includes/integrations/class-integration.php:213
270
  msgid ""
271
  "Please select a list to subscribe to in the <a href=\"%s\">checkbox "
272
  "settings</a>."
273
+ msgstr "Bitte wähle aus, welches Registrierungsformular Du hier in den <a href=\"%s\">Widget Einstellungen</a> anzeigen möchtest."
274
 
275
  #: mailchimp-for-wordpress/includes/integrations/class-integration.php:214
276
  #: mailchimp-for-wordpress/includes/integrations/class-integration.php:301
277
  msgid "This message is only visible to administrators for debugging purposes."
278
+ msgstr "Diese Nachricht ist nur sichtbar für Administratoren für Debugging-Zwecke."
279
 
280
  #: mailchimp-for-wordpress/includes/integrations/class-integration.php:294
281
  msgid ""
282
  "The MailChimp server returned the following error message as a response to "
283
  "our sign-up request:"
284
+ msgstr "Der MailChimp Server hat die folgende Fehlernachricht als Antwort auf deine Registrierungsanfrage zurückgegeben."
285
 
286
  #: mailchimp-for-wordpress/includes/integrations/class-integration.php:296
287
  msgid "This is the data that was sent to MailChimp:"
288
+ msgstr "Dies sind die Daten, die zu MailChimp gesendet wurden:"
289
 
290
  #: mailchimp-for-wordpress/includes/integrations/class-integration.php:297
291
  #: mailchimp-for-wordpress-pro/includes/class-form-request.php:638
292
  msgid "Email address:"
293
+ msgstr "E-Mail-Adresse:"
294
 
295
  #: mailchimp-for-wordpress/includes/integrations/class-integration.php:299
296
  msgid "Merge variables:"
297
+ msgstr "Variablen zusammenführen:"
298
 
299
  #. Plugin Name of the plugin/theme
300
  msgid "MailChimp for WordPress"
352
 
353
  #: mailchimp-for-wordpress/includes/views/api-settings.php:112
354
  msgid "No lists were found in your MailChimp account"
355
+ msgstr "In Deinem MailChimp Account wurden keine Mailinglisten gefunden"
356
 
357
  #: mailchimp-for-wordpress/includes/views/checkbox-settings.php:11
358
  #: mailchimp-for-wordpress-pro/includes/views/pages/admin-checkbox-settings.php:11
475
  #: mailchimp-for-wordpress-pro/includes/views/pages/admin-checkbox-settings.php:115
476
  msgid ""
477
  "Choose the position for the checkbox in your WooCommerce checkout form."
478
+ msgstr "Wähle die Position für die Checkbox in Deinem WooCommerce Checkout Formular."
479
 
480
  #: mailchimp-for-wordpress/includes/views/form-settings.php:9
481
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:431
482
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:91
483
  msgid "Form Settings"
484
+ msgstr "Formulareinstellungen"
485
 
486
  #: mailchimp-for-wordpress/includes/views/form-settings.php:15
487
  msgid ""
488
  "To use the MailChimp sign-up form, configure the form below and then either "
489
  "paste %s in the content of a post or page or use the widget."
490
+ msgstr "Um das MailChimp Registrierungsformular nutzen zu können, individualisiere das untenstehende Formular und dann kopiere %s in den Inhalt einer Seite oder eines Posts oder benutze ein Widget."
491
 
492
  #: mailchimp-for-wordpress/includes/views/form-settings.php:20
493
  msgid "Required form settings"
494
+ msgstr "Erforderliche Formulareinstellungen"
495
 
496
  #: mailchimp-for-wordpress/includes/views/form-settings.php:24
497
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:19
507
  #: mailchimp-for-wordpress/includes/views/form-settings.php:36
508
  #: mailchimp-for-wordpress/includes/views/parts/admin-field-wizard.php:20
509
  msgid "(PRO ONLY)"
510
+ msgstr "(NUR PRO)"
511
 
512
  #: mailchimp-for-wordpress/includes/views/form-settings.php:29
513
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:24
553
  msgid ""
554
  "If you want to load some default CSS styles, select \"basic formatting "
555
  "styles\" or choose one of the color themes"
556
+ msgstr "Wenn du ein %sbenutzerdefiniertes Stylesheet erstellt%s hast und dieses laden möchtest, wähle \"eigenen Formularstil\". Andernfalls wähle eines der Standard Formularstile oder eines der Standard Themes."
557
 
558
  #: mailchimp-for-wordpress/includes/views/form-settings.php:45
559
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/required-form-settings.php:14
1458
 
1459
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:150
1460
  msgid "Messages"
1461
+ msgstr "Nachrichten"
1462
 
1463
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:153
1464
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:140
1468
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:157
1469
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:145
1470
  msgid "Invalid email address"
1471
+ msgstr "Ungültige E-Mail-Adresse"
1472
 
1473
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:161
1474
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:149
1483
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:170
1484
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:159
1485
  msgid "Invalid CAPTCHA"
1486
+ msgstr "Ungültiges CAPTCHA"
1487
 
1488
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:175
1489
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:164
1490
  msgid "Other errors"
1491
+ msgstr "Andere Fehler"
1492
 
1493
  #: mailchimp-for-wordpress-pro/includes/views/metaboxes/required-form-settings.php:86
1494
  msgid "Form usage"
1495
+ msgstr "Formular-Nutzung"
1496
 
1497
  #: mailchimp-for-wordpress-pro/includes/views/pages/admin-checkbox-settings.php:86
1498
  msgid ""
1538
  msgid ""
1539
  "Need help? Have a look at the <a href=\"%s\">plugin documentation</a> or "
1540
  "email me directly at <a href=\"%s\">support@mc4wp.com</a>."
1541
+ msgstr "Du benötigst Hilfe? Schaue dir die <a href=\"%s\">Dokumentation des Plugins</a> an oder schreibe mir direkt eine E-Mail an <a href=\"%s\">support@mc4wp.com</a>."
1542
 
1543
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:10
1544
  msgid "Use the fields below to create custom styling rules for your forms."
1545
+ msgstr "Benutze diese Felder, um benutzerdefinierte Stilregeln für deine Formulare zu definieren."
1546
 
1547
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:15
1548
  msgid "Select form to build styles for:"
1554
 
1555
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:41
1556
  msgid "You need to have JavaScript enabled to see a preview of your form."
1557
+ msgstr "Du musst JavaScript aktivieren, um eine Vorschau zu erhalten!"
1558
 
1559
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:223
1560
  msgid "Are you sure you want to delete all custom styles for this form?"
1574
 
1575
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:8
1576
  msgid "Sign-Up Forms"
1577
+ msgstr "Registrierungs-Formulare"
1578
 
1579
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:8
1580
  msgid "Create New Form"
1593
 
1594
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:40
1595
  msgid "Select Color"
1596
+ msgstr "Wähle eine Farbe"
1597
 
1598
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:48
1599
  msgid "Save all changes"
1616
 
1617
  #: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:137
1618
  msgid "Default Messages"
1619
+ msgstr "Standardnachrichten"
1620
 
1621
  #. Plugin URI of the plugin/theme
1622
  msgid "https://mc4wp.com/"
1623
+ msgstr "https://mc4wp.com/"
1624
 
1625
  #. Description of the plugin/theme
1626
  msgid "Adds various sign-up methods to your website."
1628
 
1629
  #. Author of the plugin/theme
1630
  msgid "Danny van Kooten"
1631
+ msgstr "Danny van Kooten"
1632
 
1633
  #. Author URI of the plugin/theme
1634
  msgid "http://dannyvankooten.com"
1635
+ msgstr "http://dannyvankooten.com"
languages/mailchimp-for-wp-es_ES.po CHANGED
@@ -1,6 +1,7 @@
1
  # Copyright (C) 2014 Danny van Kooten
2
  # This file is distributed under the GPL v3.
3
  # Translators:
 
4
  # jose Miranda <joseamirandavelez@gmail.com>, 2014
5
  # Tane <yosoytane@gmail.com>, 2014
6
  msgid ""
@@ -8,8 +9,8 @@ msgstr ""
8
  "Project-Id-Version: MailChimp for WordPress\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/mailchimp-for-wp\n"
10
  "POT-Creation-Date: 2014-12-09 19:20:27+00:00\n"
11
- "PO-Revision-Date: 2014-12-09 19:21+0000\n"
12
- "Last-Translator: Danny van Kooten <dannyvankooten@gmail.com>\n"
13
  "Language-Team: Spanish (Spain) (http://www.transifex.com/projects/p/mailchimp-for-wordpress/language/es_ES/)\n"
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -56,7 +57,7 @@ msgstr "Formularios"
56
 
57
  #: mailchimp-for-wordpress/includes/class-admin.php:299
58
  msgid "This option is only available in MailChimp for WordPress Pro."
59
- msgstr ""
60
 
61
  #: mailchimp-for-wordpress/includes/class-admin.php:313
62
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:671
@@ -66,7 +67,7 @@ msgstr "Formulario de comentarios"
66
  #: mailchimp-for-wordpress/includes/class-admin.php:314
67
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:672
68
  msgid "Registration form"
69
- msgstr "Formulario de registros"
70
 
71
  #: mailchimp-for-wordpress/includes/class-admin.php:318
72
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:676
@@ -89,7 +90,7 @@ msgstr "verificación de %s"
89
  #: mailchimp-for-wordpress/includes/class-admin.php:363
90
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:738
91
  msgid "Renewed MailChimp cache."
92
- msgstr "Renovar cache de MailChimp"
93
 
94
  #: mailchimp-for-wordpress/includes/class-admin.php:365
95
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:740
@@ -163,7 +164,7 @@ msgstr "Registro"
163
  #: mailchimp-for-wordpress/includes/functions/general.php:30
164
  #: mailchimp-for-wordpress-pro/includes/functions/general.php:27
165
  msgid "Sign me up for the newsletter!"
166
- msgstr "¡Suscríbeme a la lista de suscriptores!"
167
 
168
  #: mailchimp-for-wordpress/includes/functions/general.php:47
169
  msgid ""
@@ -179,7 +180,7 @@ msgstr "Ups. Algo salió mal. Por favor, intentalo otra vez más tarde. "
179
  #: mailchimp-for-wordpress/includes/functions/general.php:49
180
  #: mailchimp-for-wordpress-pro/includes/functions/general.php:52
181
  msgid "Please provide a valid email address."
182
- msgstr "Por favor, introduce una cuenta de correo valida"
183
 
184
  #: mailchimp-for-wordpress/includes/functions/general.php:50
185
  #: mailchimp-for-wordpress-pro/includes/functions/general.php:53
@@ -291,7 +292,7 @@ msgstr "Esta es la data que fue enviada a MailChimp:"
291
  #: mailchimp-for-wordpress/includes/integrations/class-integration.php:297
292
  #: mailchimp-for-wordpress-pro/includes/class-form-request.php:638
293
  msgid "Email address:"
294
- msgstr "Dirección de Email:"
295
 
296
  #: mailchimp-for-wordpress/includes/integrations/class-integration.php:299
297
  msgid "Merge variables:"
@@ -319,7 +320,7 @@ msgstr "NO CONECTADO"
319
  #: mailchimp-for-wordpress/includes/views/api-settings.php:32
320
  #: mailchimp-for-wordpress-pro/includes/views/pages/admin-general-settings.php:29
321
  msgid "API Key"
322
- msgstr "Llave API"
323
 
324
  #: mailchimp-for-wordpress/includes/views/api-settings.php:34
325
  #: mailchimp-for-wordpress-pro/includes/views/pages/admin-general-settings.php:31
@@ -419,7 +420,7 @@ msgstr "Selecciona \"sí \" si quieres que los suscriptores confirmen su direcci
419
  #: mailchimp-for-wordpress/includes/views/checkbox-settings.php:63
420
  #: mailchimp-for-wordpress-pro/includes/views/pages/admin-checkbox-settings.php:68
421
  msgid "Checkbox settings"
422
- msgstr "Configuración de las casillas de verificación"
423
 
424
  #: mailchimp-for-wordpress/includes/views/checkbox-settings.php:67
425
  #: mailchimp-for-wordpress-pro/includes/views/pages/admin-checkbox-settings.php:71
@@ -460,7 +461,7 @@ msgstr "Seleccione \"sí \" si la casilla de verificación aparece en un lugar i
460
  #: mailchimp-for-wordpress/includes/views/checkbox-settings.php:100
461
  #: mailchimp-for-wordpress-pro/includes/views/pages/admin-checkbox-settings.php:108
462
  msgid "WooCommerce checkbox position"
463
- msgstr "Posición de los checkbox en WooCommerce"
464
 
465
  #: mailchimp-for-wordpress/includes/views/checkbox-settings.php:103
466
  #: mailchimp-for-wordpress-pro/includes/views/pages/admin-checkbox-settings.php:111
@@ -706,47 +707,47 @@ msgstr "Las etiquetas HTML como %s están permitidas en los campos del mensaje."
706
 
707
  #: mailchimp-for-wordpress/includes/views/form-settings.php:239
708
  msgid "Building your sign-up form"
709
- msgstr ""
710
 
711
  #: mailchimp-for-wordpress/includes/views/form-settings.php:240
712
  msgid ""
713
  "At a minimum, your form should include just an %s field and a submit button."
714
- msgstr ""
715
 
716
  #: mailchimp-for-wordpress/includes/views/form-settings.php:241
717
  msgid ""
718
  "Add more form fields if your selected lists require more fields. Field names"
719
  " should match the field tags of the selected lists. Use the \"Add a new "
720
  "field\" tool to have the HTML generated for you."
721
- msgstr ""
722
 
723
  #: mailchimp-for-wordpress/includes/views/form-settings.php:243
724
  msgid "Form Styling"
725
- msgstr ""
726
 
727
  #: mailchimp-for-wordpress/includes/views/form-settings.php:244
728
  msgid "Alter the visual appearance of the form by applying CSS rules to %s."
729
- msgstr ""
730
 
731
  #: mailchimp-for-wordpress/includes/views/form-settings.php:245
732
  msgid ""
733
  "You can add the CSS rules to your theme stylesheet using the <a "
734
  "href=\"%s\">Theme Editor</a> or by editing %s over FTP. Alternatively, use a"
735
  " plugin like %s"
736
- msgstr ""
737
 
738
  #: mailchimp-for-wordpress/includes/views/form-settings.php:246
739
  msgid ""
740
  "The <a href=\"%s\" target=\"_blank\">plugin FAQ</a> lists the various CSS "
741
  "selectors you can use to target the different form elements."
742
- msgstr ""
743
 
744
  #: mailchimp-for-wordpress/includes/views/form-settings.php:247
745
  msgid ""
746
  "If you need an easier way to style your forms, <a href=\"%s\">upgrade to "
747
  "MailChimp for WordPress Pro</a>. It comes with a \"Styles Builder\" that "
748
  "lets you customize form styles without writing any code."
749
- msgstr ""
750
 
751
  #: mailchimp-for-wordpress/includes/views/form-settings.php:249
752
  msgid "Form variables"
@@ -760,7 +761,7 @@ msgstr "Utiliza las siguientes variables para añadir algo de contenido dinámic
760
  #: mailchimp-for-wordpress/includes/views/form-settings.php:257
761
  #: mailchimp-for-wordpress-pro/includes/views/parts/admin-text-variables.php:13
762
  msgid "Replaced with the visitor's email (if set in URL or cookie)."
763
- msgstr ""
764
 
765
  #: mailchimp-for-wordpress/includes/views/form-settings.php:261
766
  #: mailchimp-for-wordpress-pro/includes/views/parts/admin-text-variables.php:17
@@ -912,7 +913,7 @@ msgid ""
912
  "translated in your language or do you spot errors with the current "
913
  "translations? Helping out is easy! Head over to <a href=\"%s\">the "
914
  "translation project and click \"help translate\"</a>."
915
- msgstr ""
916
 
917
  #: mailchimp-for-wordpress/includes/views/parts/admin-footer.php:10
918
  msgid ""
@@ -948,7 +949,7 @@ msgstr "Danos una muestra de afecto."
948
 
949
  #: mailchimp-for-wordpress/includes/views/parts/admin-need-support.php:17
950
  msgid "Upgrade to MailChimp for WordPress Pro"
951
- msgstr ""
952
 
953
  #: mailchimp-for-wordpress/includes/views/parts/admin-need-support.php:18
954
  msgid "Leave a %s plugin review on WordPress.org"
@@ -966,7 +967,7 @@ msgstr "Tuitear acerca de MailChimp para WordPress"
966
  msgid ""
967
  "Review the plugin on your blog and link to <a href=\"%s\">the plugin "
968
  "page</a>."
969
- msgstr ""
970
 
971
  #: mailchimp-for-wordpress/includes/views/parts/admin-need-support.php:21
972
  msgid "Vote \"works\" on the WordPress.org plugin page"
@@ -974,7 +975,7 @@ msgstr "Vota \"Works\" en la pagina del plugin en WordPress.org"
974
 
975
  #: mailchimp-for-wordpress/includes/views/parts/admin-need-support.php:25
976
  msgid "About the developer"
977
- msgstr ""
978
 
979
  #: mailchimp-for-wordpress/includes/views/parts/admin-upgrade-to-pro.php:11
980
  msgid ""
@@ -1113,7 +1114,7 @@ msgstr "Has alcanzado el límite de tus activaciones. Debes <a href=\"%s\">reest
1113
  msgid ""
1114
  "Your license has expired. You must <a href=\"%s\">renew your license</a> if "
1115
  "you want to use it again."
1116
- msgstr ""
1117
 
1118
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/class-license-manager.php:240
1119
  msgid "Failed to activate your license, your license key seems to be invalid."
@@ -1129,7 +1130,7 @@ msgstr "Su licencia de %s se ha desactivado."
1129
  msgid ""
1130
  "Your plugin license has expired. You will no longer have access to plugin "
1131
  "updates unless you <a href=\"%s\">renew your license</a>."
1132
- msgstr ""
1133
 
1134
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/class-license-manager.php:272
1135
  msgid "Failed to deactivate your %s license."
@@ -1175,7 +1176,7 @@ msgstr "usted esta recibiendo actualizaciones"
1175
 
1176
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/views/form.php:28
1177
  msgid "EXPIRED"
1178
- msgstr ""
1179
 
1180
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/views/form.php:28
1181
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/views/form.php:30
@@ -1239,7 +1240,7 @@ msgstr "<strong> Error: </strong> formulario de registro no encontrado. Por favo
1239
 
1240
  #: mailchimp-for-wordpress-pro/includes/class-form-request.php:621
1241
  msgid "New MailChimp Sign-Up"
1242
- msgstr ""
1243
 
1244
  #: mailchimp-for-wordpress-pro/includes/class-form-request.php:629
1245
  msgid "New Sign-Up"
@@ -1256,7 +1257,7 @@ msgstr "Lista"
1256
 
1257
  #: mailchimp-for-wordpress-pro/includes/class-form-request.php:675
1258
  msgid "Other fields"
1259
- msgstr ""
1260
 
1261
  #: mailchimp-for-wordpress-pro/includes/class-form-request.php:692
1262
  msgid ""
@@ -1271,7 +1272,7 @@ msgstr "Este correo fue auto-enviado por el plugin MailChimp para WordPress"
1271
 
1272
  #: mailchimp-for-wordpress-pro/includes/class-mailchimp.php:140
1273
  msgid "IP Address"
1274
- msgstr ""
1275
 
1276
  #: mailchimp-for-wordpress-pro/includes/class-widget.php:20
1277
  msgid "MailChimp for WP Form"
@@ -1367,7 +1368,7 @@ msgstr "Origen"
1367
 
1368
  #: mailchimp-for-wordpress-pro/includes/tables/class-log-table.php:57
1369
  msgid "Data"
1370
- msgstr ""
1371
 
1372
  #: mailchimp-for-wordpress-pro/includes/tables/class-log-table.php:58
1373
  msgid "Subscribed"
1
  # Copyright (C) 2014 Danny van Kooten
2
  # This file is distributed under the GPL v3.
3
  # Translators:
4
+ # eldietista <info@eldietista.es>, 2014
5
  # jose Miranda <joseamirandavelez@gmail.com>, 2014
6
  # Tane <yosoytane@gmail.com>, 2014
7
  msgid ""
9
  "Project-Id-Version: MailChimp for WordPress\n"
10
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/mailchimp-for-wp\n"
11
  "POT-Creation-Date: 2014-12-09 19:20:27+00:00\n"
12
+ "PO-Revision-Date: 2014-12-18 15:50+0000\n"
13
+ "Last-Translator: eldietista <info@eldietista.es>\n"
14
  "Language-Team: Spanish (Spain) (http://www.transifex.com/projects/p/mailchimp-for-wordpress/language/es_ES/)\n"
15
  "MIME-Version: 1.0\n"
16
  "Content-Type: text/plain; charset=UTF-8\n"
57
 
58
  #: mailchimp-for-wordpress/includes/class-admin.php:299
59
  msgid "This option is only available in MailChimp for WordPress Pro."
60
+ msgstr "Esta opción solo está disponible en MailChimp para WordPress versión Pro."
61
 
62
  #: mailchimp-for-wordpress/includes/class-admin.php:313
63
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:671
67
  #: mailchimp-for-wordpress/includes/class-admin.php:314
68
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:672
69
  msgid "Registration form"
70
+ msgstr "Formulario de registro"
71
 
72
  #: mailchimp-for-wordpress/includes/class-admin.php:318
73
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:676
90
  #: mailchimp-for-wordpress/includes/class-admin.php:363
91
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:738
92
  msgid "Renewed MailChimp cache."
93
+ msgstr "Cache de MailChimp renovada."
94
 
95
  #: mailchimp-for-wordpress/includes/class-admin.php:365
96
  #: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:740
164
  #: mailchimp-for-wordpress/includes/functions/general.php:30
165
  #: mailchimp-for-wordpress-pro/includes/functions/general.php:27
166
  msgid "Sign me up for the newsletter!"
167
+ msgstr "¡Suscríbeme a la lista de correo!"
168
 
169
  #: mailchimp-for-wordpress/includes/functions/general.php:47
170
  msgid ""
180
  #: mailchimp-for-wordpress/includes/functions/general.php:49
181
  #: mailchimp-for-wordpress-pro/includes/functions/general.php:52
182
  msgid "Please provide a valid email address."
183
+ msgstr "Por favor, introduce un correo electrónico válido."
184
 
185
  #: mailchimp-for-wordpress/includes/functions/general.php:50
186
  #: mailchimp-for-wordpress-pro/includes/functions/general.php:53
292
  #: mailchimp-for-wordpress/includes/integrations/class-integration.php:297
293
  #: mailchimp-for-wordpress-pro/includes/class-form-request.php:638
294
  msgid "Email address:"
295
+ msgstr "Correo electrónico:"
296
 
297
  #: mailchimp-for-wordpress/includes/integrations/class-integration.php:299
298
  msgid "Merge variables:"
320
  #: mailchimp-for-wordpress/includes/views/api-settings.php:32
321
  #: mailchimp-for-wordpress-pro/includes/views/pages/admin-general-settings.php:29
322
  msgid "API Key"
323
+ msgstr "Clave API"
324
 
325
  #: mailchimp-for-wordpress/includes/views/api-settings.php:34
326
  #: mailchimp-for-wordpress-pro/includes/views/pages/admin-general-settings.php:31
420
  #: mailchimp-for-wordpress/includes/views/checkbox-settings.php:63
421
  #: mailchimp-for-wordpress-pro/includes/views/pages/admin-checkbox-settings.php:68
422
  msgid "Checkbox settings"
423
+ msgstr "Configuración de la casilla de verificación"
424
 
425
  #: mailchimp-for-wordpress/includes/views/checkbox-settings.php:67
426
  #: mailchimp-for-wordpress-pro/includes/views/pages/admin-checkbox-settings.php:71
461
  #: mailchimp-for-wordpress/includes/views/checkbox-settings.php:100
462
  #: mailchimp-for-wordpress-pro/includes/views/pages/admin-checkbox-settings.php:108
463
  msgid "WooCommerce checkbox position"
464
+ msgstr "Posición de la casilla de verificación en WooCommerce"
465
 
466
  #: mailchimp-for-wordpress/includes/views/checkbox-settings.php:103
467
  #: mailchimp-for-wordpress-pro/includes/views/pages/admin-checkbox-settings.php:111
707
 
708
  #: mailchimp-for-wordpress/includes/views/form-settings.php:239
709
  msgid "Building your sign-up form"
710
+ msgstr "Construyendo tu formulario"
711
 
712
  #: mailchimp-for-wordpress/includes/views/form-settings.php:240
713
  msgid ""
714
  "At a minimum, your form should include just an %s field and a submit button."
715
+ msgstr "Como mínimo, tu formulario debería incluir un campo %s y un botón de enviar."
716
 
717
  #: mailchimp-for-wordpress/includes/views/form-settings.php:241
718
  msgid ""
719
  "Add more form fields if your selected lists require more fields. Field names"
720
  " should match the field tags of the selected lists. Use the \"Add a new "
721
  "field\" tool to have the HTML generated for you."
722
+ msgstr "Añade más campos si tus listas requieren más campos. Los nombres de los campos deben coincidir con las etiquetas de los campos de las listas seleccionadas. Usa la herramienta \"Añadir un nuevo campo\" para autogenerar el código HTML."
723
 
724
  #: mailchimp-for-wordpress/includes/views/form-settings.php:243
725
  msgid "Form Styling"
726
+ msgstr "Estilo del formulario"
727
 
728
  #: mailchimp-for-wordpress/includes/views/form-settings.php:244
729
  msgid "Alter the visual appearance of the form by applying CSS rules to %s."
730
+ msgstr "Modifica la apariencia del formulario aplicando estilos CSS a %s."
731
 
732
  #: mailchimp-for-wordpress/includes/views/form-settings.php:245
733
  msgid ""
734
  "You can add the CSS rules to your theme stylesheet using the <a "
735
  "href=\"%s\">Theme Editor</a> or by editing %s over FTP. Alternatively, use a"
736
  " plugin like %s"
737
+ msgstr "Puedes añadir normas CSS a la hoja de estilos de tu tema usando el <a href=\"%s\">Editor de Tema</a> o editando %s a través de FTP. Alternativamente, usa un plugin como %s."
738
 
739
  #: mailchimp-for-wordpress/includes/views/form-settings.php:246
740
  msgid ""
741
  "The <a href=\"%s\" target=\"_blank\">plugin FAQ</a> lists the various CSS "
742
  "selectors you can use to target the different form elements."
743
+ msgstr "El <a href=\"%s\" target=\"_blank\">plugin FAQ</a> lista los diferentes selectores CSS que puedes usar para modificar los diferentes elementos del formulario."
744
 
745
  #: mailchimp-for-wordpress/includes/views/form-settings.php:247
746
  msgid ""
747
  "If you need an easier way to style your forms, <a href=\"%s\">upgrade to "
748
  "MailChimp for WordPress Pro</a>. It comes with a \"Styles Builder\" that "
749
  "lets you customize form styles without writing any code."
750
+ msgstr "Si necesitas una forma sencilla de dar estilo a tus formularios, <a href=\"%s\">actualiza a MailChimp para WordPress Pro</a>. Incluye un \"Constructor de Estilos\" que te permite personalizar estilos de formulario sin escribir ningún código."
751
 
752
  #: mailchimp-for-wordpress/includes/views/form-settings.php:249
753
  msgid "Form variables"
761
  #: mailchimp-for-wordpress/includes/views/form-settings.php:257
762
  #: mailchimp-for-wordpress-pro/includes/views/parts/admin-text-variables.php:13
763
  msgid "Replaced with the visitor's email (if set in URL or cookie)."
764
+ msgstr "Sustituido por el correo electrónico del visitante (si se ha configurado en la URL o en cookies)"
765
 
766
  #: mailchimp-for-wordpress/includes/views/form-settings.php:261
767
  #: mailchimp-for-wordpress-pro/includes/views/parts/admin-text-variables.php:17
913
  "translated in your language or do you spot errors with the current "
914
  "translations? Helping out is easy! Head over to <a href=\"%s\">the "
915
  "translation project and click \"help translate\"</a>."
916
+ msgstr "Mailchimp para Wordpress necesita ser traducido. ¿No está traducido a tu idioma o hay errores con la traducción actual? Ayudarnos es fácil. Visita <a href=\"%s\">el proyecto de traducción y selecciona \"help translate\"</a>."
917
 
918
  #: mailchimp-for-wordpress/includes/views/parts/admin-footer.php:10
919
  msgid ""
949
 
950
  #: mailchimp-for-wordpress/includes/views/parts/admin-need-support.php:17
951
  msgid "Upgrade to MailChimp for WordPress Pro"
952
+ msgstr "Actualiza a MailChimp para WordPress Pro"
953
 
954
  #: mailchimp-for-wordpress/includes/views/parts/admin-need-support.php:18
955
  msgid "Leave a %s plugin review on WordPress.org"
967
  msgid ""
968
  "Review the plugin on your blog and link to <a href=\"%s\">the plugin "
969
  "page</a>."
970
+ msgstr "Valora el plugin en tu blog y enlázanos a <a href=\"%s\">la página del plugin</a>."
971
 
972
  #: mailchimp-for-wordpress/includes/views/parts/admin-need-support.php:21
973
  msgid "Vote \"works\" on the WordPress.org plugin page"
975
 
976
  #: mailchimp-for-wordpress/includes/views/parts/admin-need-support.php:25
977
  msgid "About the developer"
978
+ msgstr "Sobre el desarrollador"
979
 
980
  #: mailchimp-for-wordpress/includes/views/parts/admin-upgrade-to-pro.php:11
981
  msgid ""
1114
  msgid ""
1115
  "Your license has expired. You must <a href=\"%s\">renew your license</a> if "
1116
  "you want to use it again."
1117
+ msgstr "Tu licencia ha caducado. Debes <a href=\"%s\">renovar tu licencia</a> si quieres usarlo de nuevo."
1118
 
1119
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/class-license-manager.php:240
1120
  msgid "Failed to activate your license, your license key seems to be invalid."
1130
  msgid ""
1131
  "Your plugin license has expired. You will no longer have access to plugin "
1132
  "updates unless you <a href=\"%s\">renew your license</a>."
1133
+ msgstr "Tu licencia ha caducado. No tendrás acceso al plugin a menos que <a href=\"%s\">renueves tu licencia</a>."
1134
 
1135
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/class-license-manager.php:272
1136
  msgid "Failed to deactivate your %s license."
1176
 
1177
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/views/form.php:28
1178
  msgid "EXPIRED"
1179
+ msgstr "CADUCADO"
1180
 
1181
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/views/form.php:28
1182
  #: mailchimp-for-wordpress-pro/includes/admin/license-manager/views/form.php:30
1240
 
1241
  #: mailchimp-for-wordpress-pro/includes/class-form-request.php:621
1242
  msgid "New MailChimp Sign-Up"
1243
+ msgstr "Nuevo formulario de Mailchimp"
1244
 
1245
  #: mailchimp-for-wordpress-pro/includes/class-form-request.php:629
1246
  msgid "New Sign-Up"
1257
 
1258
  #: mailchimp-for-wordpress-pro/includes/class-form-request.php:675
1259
  msgid "Other fields"
1260
+ msgstr "Otros campos"
1261
 
1262
  #: mailchimp-for-wordpress-pro/includes/class-form-request.php:692
1263
  msgid ""
1272
 
1273
  #: mailchimp-for-wordpress-pro/includes/class-mailchimp.php:140
1274
  msgid "IP Address"
1275
+ msgstr "Dirección IP"
1276
 
1277