'#description'=>t('The API key for your MailChimp account. Get or generate a valid API key at your !apilink.',array('!apilink'=>l(t('MailChimp API Dashboard'),'http://admin.mailchimp.com/account/api'))),
'#description'=>t('The API key for your Mailchimp account. Get or generate a valid API key at your !apilink.',array('!apilink'=>l(t('Mailchimp API Dashboard'),'http://admin.mailchimp.com/account/api'))),
);
$form['connected_sites']=array(
@@ -25,7 +25,7 @@ function mailchimp_admin_settings() {
'#prefix'=>t("<p><b>Configure paths to embed MailChimp's JavaScript code on.</b></p>"),
'#description'=>t('Specify pages using their paths. Enter one path per line. <front> is the front page. If you have created a pop-up subscription form in MailChimp, it will appear on paths defined here.'),
'#prefix'=>t("<p><b>Configure paths to embed Mailchimp's JavaScript code on.</b></p>"),
'#description'=>t('Specify pages using their paths. Enter one path per line. <front> is the front page. If you have created a pop-up subscription form in Mailchimp, it will appear on paths defined here.'),
);
}
else{
// If the MailChimp account does not contain any connected sites, gently
// If the Mailchimp account does not contain any connected sites, gently
// encourage the user to create one.
$form['connected_sites']['sites']['info']=array(
'#type'=>'markup',
'#markup'=>t("You'll need to connect this site to MailChimp first! !link.",array(
'#markup'=>t("You'll need to connect this site to Mailchimp first! !link.",array(
'!link'=>l(t('Check out the documentation here'),'https://kb.mailchimp.com/integrations/connected-sites/about-connected-sites'),
)),
);
@@ -104,7 +104,7 @@ function mailchimp_admin_settings() {
$form['batch']['mailchimp_cron']=array(
'#type'=>'checkbox',
'#title'=>t('Use batch processing'),
'#description'=>t('Puts all MailChimp subscription operations into the cron queue. (Includes subscribe, update, and unsubscribe operations.) <i>Note: May cause confusion if caches are cleared, as requested changes will appear to have failed until cron is run.</i>'),
'#description'=>t('Puts all Mailchimp subscription operations into the cron queue. (Includes subscribe, update, and unsubscribe operations.) <i>Note: May cause confusion if caches are cleared, as requested changes will appear to have failed until cron is run.</i>'),
@@ -127,7 +127,7 @@ function mailchimp_admin_settings() {
'10000'=>'10000',
),
'#title'=>t('Batch limit'),
'#description'=>t('Maximum number of entities to process in a single cron run. MailChimp suggest keeping this at 5000 or below. <i>This value is also used for batch Merge Variable updates on the Fields tab (part of mailchimp_lists).</i>'),
'#description'=>t('Maximum number of entities to process in a single cron run. Mailchimp suggest keeping this at 5000 or below. <i>This value is also used for batch Merge Variable updates on the Fields tab (part of mailchimp_lists).</i>'),