From b4b427c0c4922b2a5ade75c5241bcf81c9356007 Mon Sep 17 00:00:00 2001 From: Gravity Forms Date: Wed, 12 Dec 2018 14:45:10 +0100 Subject: [PATCH] 4.4 --- change_log.txt | 6 +- class-gf-mailchimp.php | 34 ++++++++++++ composer.json | 9 +++ css/form_settings.css | 3 + css/form_settings.min.css | 2 +- languages/gravityformsmailchimp-ar.mo | Bin 0 -> 498 bytes languages/gravityformsmailchimp-ca.mo | Bin 1548 -> 1540 bytes languages/gravityformsmailchimp-da_DK.mo | Bin 5716 -> 5708 bytes languages/gravityformsmailchimp-de_DE.mo | Bin 5869 -> 5879 bytes .../gravityformsmailchimp-de_DE_formal.mo | Bin 1083 -> 1075 bytes languages/gravityformsmailchimp-en.mo | Bin 5545 -> 0 bytes languages/gravityformsmailchimp-en_AU.mo | Bin 5572 -> 5564 bytes languages/gravityformsmailchimp-en_GB.mo | Bin 5578 -> 5570 bytes languages/gravityformsmailchimp-es_ES.mo | Bin 5902 -> 5894 bytes languages/gravityformsmailchimp-fi.mo | Bin 5734 -> 5726 bytes languages/gravityformsmailchimp-fr_CA.mo | Bin 5980 -> 5971 bytes languages/gravityformsmailchimp-fr_FR.mo | Bin 5975 -> 5967 bytes languages/gravityformsmailchimp-hu_HU.mo | Bin 0 -> 442 bytes languages/gravityformsmailchimp-it_IT.mo | Bin 5899 -> 5891 bytes languages/gravityformsmailchimp-ja.mo | Bin 0 -> 421 bytes languages/gravityformsmailchimp-nb_NO.mo | Bin 5560 -> 5552 bytes languages/gravityformsmailchimp-nl_BE.mo | Bin 0 -> 438 bytes languages/gravityformsmailchimp-nl_NL.mo | Bin 5854 -> 5843 bytes languages/gravityformsmailchimp-pt_BR.mo | Bin 5942 -> 5934 bytes languages/gravityformsmailchimp-pt_PT.mo | Bin 5914 -> 5906 bytes languages/gravityformsmailchimp-ru_RU.mo | Bin 7293 -> 7285 bytes languages/gravityformsmailchimp-sv_SE.mo | Bin 0 -> 439 bytes languages/gravityformsmailchimp-zh_CN.mo | Bin 1323 -> 1324 bytes languages/gravityformsmailchimp.pot | 52 +++++++++++------- mailchimp.php | 6 +- 30 files changed, 86 insertions(+), 26 deletions(-) create mode 100644 composer.json create mode 100644 languages/gravityformsmailchimp-ar.mo delete mode 100644 languages/gravityformsmailchimp-en.mo create mode 100644 languages/gravityformsmailchimp-hu_HU.mo create mode 100644 languages/gravityformsmailchimp-ja.mo create mode 100644 languages/gravityformsmailchimp-nl_BE.mo create mode 100644 languages/gravityformsmailchimp-sv_SE.mo diff --git a/change_log.txt b/change_log.txt index 05b0639..2601b05 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,4 +1,8 @@ -4.3 | 2018-03-27 +# 4.4 | 2018-10-29 + - Added support for MailChimp contact tags. + + +# 4.3 | 2018-03-27 - Added security enhancements. - Added GPL to plugin header. - Updated API library to public property in support of MailChimp block. diff --git a/class-gf-mailchimp.php b/class-gf-mailchimp.php index bfca2fe..0e225f4 100644 --- a/class-gf-mailchimp.php +++ b/class-gf-mailchimp.php @@ -402,6 +402,17 @@ public function feed_settings_fields() { ), ), ), + array( + 'name' => 'tags', + 'type' => 'text', + 'class' => 'medium merge-tag-support mt-position-right mt-hide_all_fields', + 'label' => esc_html__( 'Tags', 'gravityformsmailchimp' ), + 'tooltip' => sprintf( + '
%s
%s', + esc_html__( 'Tags', 'gravityformsmailchimp' ), + esc_html__( 'Associate tags to your MailChimp contacts with a comma separated list. (e.g. new lead, Gravity Forms, web source)', 'gravityformsmailchimp' ) + ), + ), array( 'name' => 'note', 'type' => 'textarea', @@ -1150,6 +1161,24 @@ public function process_feed( $feed, $entry, $form ) { } + // Get tags. + $tags = explode(',', rgars( $feed, 'meta/tags' ) ); + $tags = array_map( 'trim', $tags ); + + // Prepare tags. + if ( ! empty( $tags ) ) { + + // Loop through tags, replace merge tags. + foreach ( $tags as &$tag ) { + $tag = GFCommon::replace_variables( $tag, $form, $entry, false, false, false, 'text' ); + $tag = trim( $tag ); + } + + // Remove empty tags. + $tags = array_filter( $tags ); + + } + // If member status is not defined or is anything other than pending, set to subscribed. $member_status = isset( $member_status ) && $member_status === 'pending' ? $member_status : 'subscribed'; @@ -1167,6 +1196,11 @@ public function process_feed( $feed, $entry, $form ) { 'note' => rgars( $feed, 'meta/note' ), ); + // Add tags to subscription. + if ( ! empty( $tags ) ) { + $subscription['tags'] = $tags; + } + // Prepare transaction type for filter. $transaction = $member_found ? 'Update' : 'Subscribe'; diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..6f2db09 --- /dev/null +++ b/composer.json @@ -0,0 +1,9 @@ +{ + "name": "wp-premium/gravityformsmailchimp", + "type": "wordpress-plugin", + "autoload": { + "classmap": [ + "." + ] + } +} \ No newline at end of file diff --git a/css/form_settings.css b/css/form_settings.css index b33e6e6..8f21764 100644 --- a/css/form_settings.css +++ b/css/form_settings.css @@ -9,3 +9,6 @@ .gaddon-mailchimp-category .gf_animate_sub_settings { padding-left: 10px; } +.gaddon-mailchimp-category { + padding-bottom: 12px; +} diff --git a/css/form_settings.min.css b/css/form_settings.min.css index f480c5b..3cb42c9 100644 --- a/css/form_settings.min.css +++ b/css/form_settings.min.css @@ -1 +1 @@ -.gaddon-mailchimp-categoryname{font-weight:700}.gaddon-setting-checkbox{margin:5px 0 0}.gaddon-mailchimp-category .gf_animate_sub_settings{padding-left:10px} \ No newline at end of file +.gaddon-mailchimp-categoryname{font-weight:700}.gaddon-setting-checkbox{margin:5px 0 0}.gaddon-mailchimp-category .gf_animate_sub_settings{padding-left:10px}.gaddon-mailchimp-category{padding-bottom:12px} \ No newline at end of file diff --git a/languages/gravityformsmailchimp-ar.mo b/languages/gravityformsmailchimp-ar.mo new file mode 100644 index 0000000000000000000000000000000000000000..e80bbee7808e8c590ac6d840aa35721de4ff6175 GIT binary patch literal 498 zcmYLFO-~y!5T%0C9yxQE18^zc*qacgP7UI-LTW^WwiV(wY|O^huD!Ay0zZWR!mr`C zblk1TNKbw<^WJF2AGEr{n1rqHw*S#`(T`v zP%NV;L2ZQx`ohM&3y)Um^o6T=a zcHuQf8p|#*Y6%4w6DBw-Mj*!WxRAr*E9a8)Y<4rd+Uy{5o?SQ_wT-NN?Z_GROB{3! z8ast*i9YD4ewEj3ve9|8;YoXTWh=KZww5q?G?CU|clz0+|yacM) zdWE%SrN&mmna4*{eO4u)&+gd|ZME+W4`?wWjPh|_WbNg$0XS9UmDbS3O!X| smEv#;9H_07AS!xV5G@it5S*W=Asim|{JRp#G2HY-vW+M|o@QHr0VWKLBLDyZ literal 0 HcmV?d00001 diff --git a/languages/gravityformsmailchimp-ca.mo b/languages/gravityformsmailchimp-ca.mo index 6d7a0b00bd66c464401d60b904831b781f6fe071..a96352f39e2479bc494d0a5fc588813bbb637333 100644 GIT binary patch delta 284 zcmeC-Y2ler5^BQCz;Ka~fkBvofq{*cfk6;RO95$FAgu$WgMqXckQM^c^MEu^Im1RE z%?_lu0%;i_y%$Q~0@6G{{`ZY1eHcZGt@QQF%ggoBixSI9GAq;ai*k!6t24=p7#ipr znJ5^VS(zGH85?OE7+4t?Oy*%WWeyE-o9x1@oF3q>8S)7@lr|Xhfl4_-3WMF8a zYhbEtWTs$XWMyaw)MQ}5<&#)kq8n0_m{**WSdw34rQn=jkeQmIkW{GMK%s?@Cli#R|iz5JqdyUBZ)0wEW4B5^BTDz;Ka~fkBvofq{>efk6;RD*G7a3MOkZ$<`Yf>l&FW z7#Ug_n^+kcYa19?85nQ{`0ECxmSq-a=I80UB$lLFDHs_TTIl-v>$*59c=%iSdTK}c z`?+%YBo>$Gh7={{73U# z8Nu6sfVQ6CRv*?m78f*RG2(3v5=&MMW(2-j7yBU z65KGQq|OUQj+>gUiZQL2O&^P?vbfI++~nfoQ7w^DW$C<@MCrBW60?SB-UTBZO1 delta 519 zcmXZWxlaN?6bA5zM^qL(@QhJ2hQ@=H6}++#0|f9E;}v7Kh7~vA%IpGCkznbYr2+6i($o3W#*CQSHzu|7!I=an7p$wdm7t~Shp435D&SM){}~n z;WCS!uu$VRt?)SWpI@E@3R%%;USpO%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M?m jT}H(b>0ZDaWxdRzIW?=Xa6!%_*`}lxCH3Liaccbm3|V7_ diff --git a/languages/gravityformsmailchimp-fr_CA.mo b/languages/gravityformsmailchimp-fr_CA.mo index 40327c65980bc032973f05b621d15c47a4c5ba29..0999949ea5e026e6fb1eeba02010ac12e035f5fc 100644 GIT binary patch delta 504 zcmXZX&r1S96bJB^hKVg{Wj~;T4e3xZ>+G6ROGHuGWhp7WNSC!X5z4LIMX`$~srz<` zZqYHKABRps{RKh=cJNko=&$H&cA3wcH}B27X-aR>t=3Up@)CUph!_z~^boDWE$D~m zFbpr@8GMApPzw?zp#l5hHN+7;!xXH;2oys^U2p|@paxIi2JC~45LIae!4DGXAzv@i zQ3uf=Y!#eh8HX1TbJ7zWfG@BUHel<4CT!Jx!FA}vR4p?w2CrZOe!vV2;#V3p!cn4E z1oue1!y0bCgV{l%Q78H$)Ct`ShgiDc3B;Uq2Ltc{R>F7aKJW$Id*3h){g}#i9fsi((<-m+~VnNXUN-8lEQ*K zz~qn;jwo`tSCSM-^31Ek0?+GN-86&=&E^V|rO==dQ-z5!Hlr%B+1^z(KIw^SSzB1L zG$WhVY|~QMn6Y7T7B_jC4Qp;J8i+@=6gQGQvulb;Gc(fn*A2x+D(6Ie%TC4{smR%z m&WX3%+4oJiPGd&hF0v`p%4FGiPET*JMQ-J}b@k@Udwu~jmu1=j diff --git a/languages/gravityformsmailchimp-fr_FR.mo b/languages/gravityformsmailchimp-fr_FR.mo index 52e9f330be5ba12b3bd43160596d8a587c06d3ff..f647049fe9d0a442e80e451f1a6e327fe171f8f9 100644 GIT binary patch delta 504 zcmXZXOG^S#6bJC528s@)Wwq$RM7W5!<8@N0A$pe)_Mo&y)Z$tuLOC@vD7J|x=mSif zpjFF=C?cX=pCBWoHtnLX5&bP!zjMw#_ug|pl!|hjbR3Smh`zi;jEF*wMAL8udf+(> z!b^AtA7L9zHWAIjP1pjjA&%%7F2M@yhO(c?4M(99Cg3TYgU#^GPlwcj;2QsVXf~IF2J9<^O$Y``2~!_SD1!wY?Xu?!7$M~ zf-4lN@CdKp!Bwo;2|exqhM@dQmR94?hgO3n~PD_`E$ja}0o@^u9xoT*Vc z64zp?HlX%%u5oVnNikPCHDe2@H@CFNmb1mYnb!+!N?2JwW$YhCH*zEPi*MaNkrGn9 NIjY1J_5NEjyuV3RUKaoW delta 519 zcmXZX&o2W(6bJBE#E-V2e#g&@xJa0GwSHxZAShB+N)sWGtXQ>CEwkHJPdy5b>*gfs zg@gEY6%iLV7f}&TT>THe8xE7tyf^dSym|KKy_X?JcDj)0%SprutDI;8uE0`w3Txmw zJcjqM4lY&@O~EZ#4R0Zi=n2llJZyy>9-H)K=&)Sif=YUPyL@9x)IOZWC|`yt7M-qolbkBLQR=^W>bspSc9&XtQ6q>e&+9% z13j`o&?!l>Bsu359@bL2p(o;eTs1YB`K9gwKCAHYQ8uN>v(uf+%G`uAq#7n)6l&av zsb)gRY;uW>J)Xr?vCf7z_SQzyJKX#~MlZvg5Ygc-yICJ<M3K jSG#rS4mJicqi$x{WI}8kY%HnA*4ct4QkuB=bPMM%S1o0? diff --git a/languages/gravityformsmailchimp-hu_HU.mo b/languages/gravityformsmailchimp-hu_HU.mo new file mode 100644 index 0000000000000000000000000000000000000000..ea706db1a7f329b659987ac7361cacc993a7004c GIT binary patch literal 442 zcmYLF!A=4(5XI=JN6#K=;sK&vc2^{82^SHBL?R)JF<#8Ll%;03-L$hHH-Ez4^IPn? z243>gnfATOoBo`hd^a499M2pt9FHBZ94kbQU+(eNot0*fnb992K{i>kXJM?=iqq7< zM&fRzO>T3LS+bUSLFS^+2HDi6a>?$>)UsG}x<)K4Z@0JGtylR_);=%MIhj4hY+wYS z8_Vti1*f4OL@e-G*r7p}--P@+y!3tU`(!$q4i6au&nE+|P$*>au5eBipV%%kkg7+M zH5eyVhRfwl3es3-ZDqgc7D6@CphLXvgb%A(>^RfsBo+ALLXOf359@ QJzAIjrlRM48nj5`7k&|g761SM literal 0 HcmV?d00001 diff --git a/languages/gravityformsmailchimp-it_IT.mo b/languages/gravityformsmailchimp-it_IT.mo index 3c486d5640eb0c3800842030830bc7e50aae944d..5cd2e12ce1ada5dce50575a6051ea8e3d194df55 100644 GIT binary patch delta 504 zcmXZX-z!657zglYCbS(a8%?N#DCwNN=h%j0A%qM0xk=*U-OO6CqjOGMQ(Boja&!Ix zMQ)U2w+fdi<C&Zq$F4rl_uKovJ@2txlyBx7g$XCohl@xiqTU9gc^HE=@B;ea z6)eIB=!H{_L^E&=*26RCf!A;a-osAlMOl6)1gl^K8gLBy;jM=X)P>;%1@6!nTy+rr zKsR!%iKq>7SPc(gH$1H5OIVA11v_8~mKS@2gRm9bM&J@0fu}G5pW!ByeF36J3@7;J z6P#}*I*0xiqIP&!@f`}t-=%!jb)C=D0)bpEC#MXawbJ=*-PkqlVRwg5VUijYm9Q34 zwE?xCF^w_1PY5|<(P^6t-KoU|X*roqn`u2GO>rx!i7HcuBo>m?u*g(RQE-Vd*Bm!3 zDQfVHxx+2p(8Ni7FP+>H<9TtNXSl`1NaC-N;(2NRuNnVG){WGt{p#MZkAzvFayTf5 LWwrDv^tgTjq^VvX delta 519 zcmXZXOD_Xa6bJC*5u`2Z8SzLijaAKbv|bsHAf+XJh|(ZwVlZlwYUR$f)m0Z_!*awI zU_l}xX=1@jNU&vPBN5-hQv54j-2Co2H|L*o55!~fCQz22uORxi5Q&6SM-+lFSOu?O zGc3RZ_yU_?pq|JF*I_NZfOdEbBk&n^!wxiyIpeS#dLf5C*aq+Hl&2nC-qFAe{lI7$ zh8l>hsAG)?ff}rYhtL6!O7%6YMqPki@E#Ty`+&o+8{3Y-RX7Sy;U;{8F*wxhB6`5( z1mApx(H5dJ$Xbay;Zw;kXhZ#5$dzB$G|DblHk%dWT*(+(Zbwb*nWNUOyyOww!_3_; zdj@2;$0yo#a9%q{hg2*I%6onrp59Gr8mg+nuzfTA115?7LX zLNQWYX0t17`tdTU@GUmBy}vP;-4l$`GqQ9s#p4rw|6!O-#?y*9Xj?XStpgQlW7|Bp jI?N-Rzuku&H6zDnQ+!uv(`hZS#Ud)tsJ!rL>$Us=ceQ1} diff --git a/languages/gravityformsmailchimp-ja.mo b/languages/gravityformsmailchimp-ja.mo new file mode 100644 index 0000000000000000000000000000000000000000..8744f823927b959a9f529979c40f00206fcabf48 GIT binary patch literal 421 zcmYL_!A=4(5QZ^&>d~`@9=z!+-4)4N!bJpwkx0mDjJI(qOL4c|v;)Y4_B(0s)KTCpa2_}gTn3s-10Uh?CajI-P*Z1DDkm7v;YB&Gt&zNNxY4v* zSXcQ9b(t@9RkN9@ts|KDLeJrLU3kc>F~HKuM>HdTnHhBV3YA=_@5z;1RGdG$`E9`IygyvQoAlun;y@X=)9u- zb2ftXU+2*Hg>o=7xt(iMNS?lH3Nc`&HoAG-Ukdh!KFn?OC6aZLhmI-MSSZL8R+2wp yjYfHO=u5sr_6qmPD7Uw~p+Q34iMmn3rsdjU38UuEBscZ%(f8vX-*5YZwSEA+7<|tF literal 0 HcmV?d00001 diff --git a/languages/gravityformsmailchimp-nb_NO.mo b/languages/gravityformsmailchimp-nb_NO.mo index 35c0d20f2848c227d6dc2702271b01c0c20d4a0d..f3f42b5f03f50b26eb63465e03f8a9d33d6a4137 100644 GIT binary patch delta 469 zcmXZWze@sP7zgmj3@h&{O+$jDOUL8R*Yg(~V)nzZC@8R@wlhlv)3`elBXE&uKN^}F zS{eieYi#Hb=nrV9C1`1Eap-&I^m*Rz`@UbEC$S@T(vH@yljzP(6egmtX`&3|W{6yH z8_vOfScN4x3*TT0e!w7HK!~rDf@?4b?YfjyRxl%&8EH5$bW#@suaVM+yEs~J_ztm~?iPx# delta 477 zcmXZWOG^S_6b9g9N*6UVHHs+u%H^bv7bqt2MwwA&S14&S;U!^mY8*8oaN|0HS+$7P z(Izmcg%HuIML(c@Eou|}f_f!a&-u>bdwFlU2kthgt8eRxE{sG@BKqzp3PHPts2grT z8{CBwl;8k-gER0Gj>AbT@s+|b29vOzcMf~t9W=letidNZ1m~<&rzs5U*8gA?3Ob?& zYzICL5)H#w*bexB4*1o1|90*Mv^bh89xC z;4x~oJ%eU=)7=fXQe9h$SS(4RDk}nu@37eObx~9@ESNjlk5rFbYUf;# zizT4Z_T3atXsavyf;;bHvKBZg;cUc#RL`&gZ4NB=g4v?u_8* z#=?lBU^MiD2m&9%9u4~JCS=#)rSCJ}C$s5ne8>=ZKDpBhg+fTSm2;x_#BNn^sRlI7 zxv>J{r(^=rL1(zKD`8-)QoWQaV>Eh~=wiS^tY!1K{}kkbTQ|4S7aX-=)ZM78=9z#* z@RHF{jcHEXLs4Y1E<5`+qpEltj>!w$3nk3X{K^$aPJ3S83(35w4KHBQ{GL-+e@7dK Q1G?MBZAH&x8gxkO7ddEwI{*Lx literal 0 HcmV?d00001 diff --git a/languages/gravityformsmailchimp-nl_NL.mo b/languages/gravityformsmailchimp-nl_NL.mo index af1e9c1dab58a47d48c8be76df059a58babbcaec..36648397585a6269db53027afc82b2425c2cd6c0 100644 GIT binary patch delta 504 zcmXZX&npCB7zgl&75ihb*~P(+rd)(~_MO=uF-cmR9OPH4v=?SsYl|JtOuLN>B{^^# zSG5NYE>bJyACM~!ZVr^96#s$mEcMps?fX7&&-1*nCw4Vmw>#+}dh-)8A{uBRO2H-A z2v1=cp20nM3p=3NN)(0j5D^`~06c+HumXGG2W*1gAQ9S75FWuWY=@N~?NS#mHwaKm zk8q}r=oR9S+(y(1ldu71pgX`a^uZEz2i=1`@DRESoWmsighP;pi27j$y6^k{-iIP+ zhM*a1zQb>L4WBVyH#|l+*9$1XyQ*D(=?$A|BvLMyrM#h)tb)C+8(XF`66guboGCF; zPN;E3jVgnjtDHMrhVvQ?qnK6({uVLT*jW+G0j4YL+IBuGSKkwb@QB8UI7ljr^GN5Lj`Jgel>_ OI3^_|rTQiO_I&*TqqPqc1<~NtHnJbOb8Uq2B-0Ir>!zk*i1YA*a9p-# zi=tByu4S9bq_vmNZYvp2NsFRzg_7F(tFVm6_Wvs5|EQLo8}nZxoBpvhE7h74s-f!D IFKIFS1OJmvGmoidGW6+lab}$WucUgmG96 z4`Bm5fhBkY9WYQ!6o%8V5gwF1gLBAtuoGJA{`>U83S~!T5Y kJhgY3`$D8Wf;VbLk%conrL$m8ORlp;mFHD{{U$_hKf+LD8vprg5csHIQS3vwaxUq=i}aU?zxmMq*A=@H0CAx@)L~^(Qtq$26td1 zyn{hlf~W8qcEI@-q9wQi1$YbFVF`xe6YPh-u+k^cO5}kd=)i8+2Jc(Zb^wP*1eFG# zaI22!4>qG-Mc50sVLd#7J@Cw}ub>b04HV%WjKde#F8p>9bsCPr8@LSL;UXLg${316 z9&3KUM2P4bvd-GzSJ!V?*|ect^gQ^2mL|)ELP5%!`jMS0?iuERYrU7XsjCM;EC$JJz}hGdx8Y3Hpe<(vyK!M!{x LMJ2WTBS`*#@#9_h delta 519 zcmXZXKS%;m90%~986o~Dvp-N|y=b&MFExrYqNGg0OR1oLG+cPufq&xe)SO&e+M?Tn zrW%SM5*ylsmT0Lt2x@3-YiQ|fIep&u_jup;-Z6i|-y|&6l$Ge+P81}fP&-i!?!q=$ zgWd2BR^b!uf>H-j9LmrMub>CsK_7gCgYX+RdV1YNEzk>1$Y3YDb)$9|iw6uE1)p%s zLi7V&$md7r!+9f{mZL>Xnvjn@9Bf%jGhk(d3e$R(6%_o*8y{t3r?qOt8S17z~Ml zpidA)L9nNi+>%mKb+wS^=43+=SwI+@7- diff --git a/languages/gravityformsmailchimp-ru_RU.mo b/languages/gravityformsmailchimp-ru_RU.mo index 0201ceb7b6260bbea58c64683ab816a36eabb034..3eb08ae64752991b406fb5f263514e698f4edc2d 100644 GIT binary patch delta 504 zcmXZX%P%BR6bA4QA%^m5?;t5@NrzF@w~Fqx3L+sk1d+CpNZg(&J)Mj$sw!GdG7*!^ z(yA6LZ7qn`#(!XgkXTyTSlC($Ut@EBHz((O_nz0(OX_&KWb3L7c&q}J0i4tVJ2X-U zD0H88(?fbdZ)g_{>H(YX(q8&X`)RBJ_)F7tfZow!PDKQ$q>c2PcG4Dl8^IQ0ygYps z>KlQPQU=iu*6n6M&}~{lPid51Q2rGUl%sg2#hf>~Nn=d^NB3!(Mq7bdx=HuwC0(Vm zEe@2IaI-dGhTgXW-)IkC?_`6{qv#Zm;wHb&g3_bPCeMn;3x$H7b>)Vi3sxL=)eDEJ zyP6E4nS-j4v=XK@V15_E5+dwV5@ieN$uOftvvafByuFe0a!y{GkiKoHrZ7^PNN8qK z6{ckv91@~xT6(^gc4glCEq%we)NyAmXa7_)fx0O3(wFM+kB^F$3A8^Sm9bBB$IXt0 X*VRkmf8|d3Y97>+x_P!rdjxC_@|0KURvj>Ab*2|e%%cECpX;-nmPV)6OE z;i@MZEf$lI1wV5U&BM25qAKXa>n*s@k5Y6ArTCM?WwzwJ(kb$MI-TwgYjVm^vpY&8VGi0_ zb3%ag4={g^80Z!K0k0s4f?!>cxJ4zU>S{d3O~{5KGQZFhSfkCCN!$F=Z??=K9!v2ap0`|K-b s)Ye;?G`7t%Tf2E=e{@e{M%Bo&skj!^*?3ZoY_TOpODWo=T5YfS1)_Uq=>Px# diff --git a/languages/gravityformsmailchimp-sv_SE.mo b/languages/gravityformsmailchimp-sv_SE.mo new file mode 100644 index 0000000000000000000000000000000000000000..fc5f0cb24e7d32e9e23a87f21bda75a8a73de2d6 GIT binary patch literal 439 zcmYLFK~BRk5Cp-=N6s9K#Gw^znuJmXSG`bLREdhJ4G3{TCUFy^#E$H3Lk~QI@9`EK zirSGz-u2F`#{M}u{yuOxbUbxDcRX^ubZihge!1a|I~&aoGowF5f-p(pSr{v|Vl*>+ zEpfBdrnDuOMUu<1B6Cq`gD|z3OyPEwS%@{GIbvm5r&HIp*Z5FweO{tVGJA|+Xaq;M z7VbC-MngY{An+mV(xAt#Lv|Hj_&)P}GM!9E`wW5Slc8296hgeIoD;<-cB+C))u&0$ zjTJa}ipLP`b%rau6b42r(Wz7!qtUxW7X#*EEt|*vryvj9y1k9Q;HV9w?nY%Ro(YHr zFBx6bB9%6$t)>vFy_+*?*Kdmvd4YSOgxR`Zx#Gxa*Xwy9nH4L;3m7-w$Ed3QT002) PbXyKuik=N<&?X1J*rI{l literal 0 HcmV?d00001 diff --git a/languages/gravityformsmailchimp-zh_CN.mo b/languages/gravityformsmailchimp-zh_CN.mo index 5a4e5f2cebc1709ef9901422f78bcf87a85feb52..9644b4d307e6c4dc3ee08660fa44fb26564ccf78 100644 GIT binary patch delta 326 zcmZ3@wT5d#jI9GR14A4m0|O5O1H*h41_mu4y#`3L0qN^d`W}#$0rHPdijkr zIT>Axt@QQF%ggoBixSI9GAq;ai*k$glJj%90{laCor_WvOEUBGbX^ilQmqt>3=A!F z4GnaSOcV^wtW1rpjE%Gn46F6%vlvaEfvK*MnSz0Z zm8m6AlYs%3PhxS2Zb(sLUU5!hNq&))f^&XBW@?H;Ql&yvVqRiNqJm8_SVT9eQnv~$ z;sBxa@{7{#fco>&OB2&mbwg4UbAh@uGV@Z4Qxzu1GPwxCG7a3iOimbGZWiLv)>sQWHxu^Ye6F5=&C86pRcEEp!cx zb&bpwj0~-eO{|QJwG9lc3=AeaGD&#&`s=zlDtP!?`Fd(c`TMzY`6L#X=!O&}<`w58 zmgE;%Ddc7*XC$WPD5R!jD%e0dK(>RSnK8&pI~|Y>=95=4#Y}#|Xu@1tk~UeMNtwqd yF)zI|F&*fDs*K5E%%)QAK&NJwR4TaT7v&Z!IF)ARq$mWZ7L}zIZ4PI?$_M~`!b?H` diff --git a/languages/gravityformsmailchimp.pot b/languages/gravityformsmailchimp.pot index 280f538..bfe03c0 100644 --- a/languages/gravityformsmailchimp.pot +++ b/languages/gravityformsmailchimp.pot @@ -1,9 +1,9 @@ # Copyright 2009-2018 Rocketgenius, Inc. msgid "" msgstr "" -"Project-Id-Version: Gravity Forms MailChimp Add-On 4.3\n" -"Report-Msgid-Bugs-To: http://www.gravtiyhelp.com\n" -"POT-Creation-Date: 2018-04-10 16:38:34+00:00\n" +"Project-Id-Version: Gravity Forms MailChimp Add-On 4.4\n" +"Report-Msgid-Bugs-To: https://www.gravtiyforms.com\n" +"POT-Creation-Date: 2018-10-29 19:28:36+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -46,7 +46,7 @@ msgid "MailChimp Feed Settings" msgstr "" #: class-gf-mailchimp.php:335 class-gf-mailchimp.php:341 -#: class-gf-mailchimp.php:628 +#: class-gf-mailchimp.php:639 msgid "Name" msgstr "" @@ -55,7 +55,7 @@ msgid "Enter a feed name to uniquely identify this setup." msgstr "" #: class-gf-mailchimp.php:347 class-gf-mailchimp.php:352 -#: class-gf-mailchimp.php:629 +#: class-gf-mailchimp.php:640 msgid "MailChimp List" msgstr "" @@ -103,70 +103,80 @@ msgstr "" msgid "Mark subscriber as VIP" msgstr "" -#: class-gf-mailchimp.php:409 +#: class-gf-mailchimp.php:409 class-gf-mailchimp.php:412 +msgid "Tags" +msgstr "" + +#: class-gf-mailchimp.php:413 +msgid "" +"Associate tags to your MailChimp contacts with a comma separated list. " +"(e.g. new lead, Gravity Forms, web source)" +msgstr "" + +#: class-gf-mailchimp.php:420 msgid "Note" msgstr "" -#: class-gf-mailchimp.php:413 class-gf-mailchimp.php:417 +#: class-gf-mailchimp.php:424 class-gf-mailchimp.php:428 msgid "Conditional Logic" msgstr "" -#: class-gf-mailchimp.php:418 +#: class-gf-mailchimp.php:429 msgid "" "When conditional logic is enabled, form submissions will only be exported " "to MailChimp when the conditions are met. When disabled all form " "submissions will be exported." msgstr "" -#: class-gf-mailchimp.php:481 class-gf-mailchimp.php:494 +#: class-gf-mailchimp.php:492 class-gf-mailchimp.php:505 msgid "Could not load MailChimp contact lists. %sError: %s" msgstr "" -#: class-gf-mailchimp.php:494 +#: class-gf-mailchimp.php:505 msgid "No lists found." msgstr "" -#: class-gf-mailchimp.php:506 +#: class-gf-mailchimp.php:517 msgid "Select a MailChimp List" msgstr "" -#: class-gf-mailchimp.php:552 +#: class-gf-mailchimp.php:563 msgid "Email Address" msgstr "" -#: class-gf-mailchimp.php:770 +#: class-gf-mailchimp.php:781 msgid "Assign to group:" msgstr "" -#: class-gf-mailchimp.php:779 +#: class-gf-mailchimp.php:790 msgid "Always" msgstr "" -#: class-gf-mailchimp.php:783 +#: class-gf-mailchimp.php:794 msgid "If" msgstr "" -#: class-gf-mailchimp.php:897 +#: class-gf-mailchimp.php:908 msgid "Abusing this may cause your MailChimp account to be suspended." msgstr "" -#: class-gf-mailchimp.php:928 +#: class-gf-mailchimp.php:939 msgid "Unable to process feed because API could not be initialized." msgstr "" -#: class-gf-mailchimp.php:943 +#: class-gf-mailchimp.php:954 msgid "A valid Email address must be provided." msgstr "" -#: class-gf-mailchimp.php:1057 +#: class-gf-mailchimp.php:1068 msgid "Unable to check if email address is already used by a member: %s" msgstr "" -#: class-gf-mailchimp.php:1251 +#: class-gf-mailchimp.php:1285 msgid "Unable to add/update subscriber: %s" msgstr "" -#: class-gf-mailchimp.php:1276 +#: class-gf-mailchimp.php:1310 msgid "Unable to add note to subscriber: %s" msgstr "" diff --git a/mailchimp.php b/mailchimp.php index 807729a..8265cea 100644 --- a/mailchimp.php +++ b/mailchimp.php @@ -9,7 +9,7 @@ Plugin Name: Gravity Forms MailChimp Add-On Plugin URI: https://www.gravityforms.com Description: Integrates Gravity Forms with MailChimp, allowing form submissions to be automatically sent to your MailChimp account -Version: 4.3 +Version: 4.4 Author: rocketgenius Author URI: https://www.rocketgenius.com License: GPL-2.0+ @@ -34,7 +34,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA **/ -define( 'GF_MAILCHIMP_VERSION', '4.3' ); +define( 'GF_MAILCHIMP_VERSION', '4.4' ); // If Gravity Forms is loaded, bootstrap the Mailchimp Add-On. add_action( 'gform_loaded', array( 'GF_MailChimp_Bootstrap', 'load' ), 5 ); @@ -69,7 +69,7 @@ public static function load() { * * @see GFMailChimp::get_instance() * - * @return object GFMailChimp + * @return GFMailChimp */ function gf_mailchimp() { return GFMailChimp::get_instance();