update 14 July 2016
This commit is contained in:
@@ -46,10 +46,10 @@ class Export {
|
||||
function process() {
|
||||
try {
|
||||
if(is_writable($this->export_path) === false) {
|
||||
throw new \Exception(__("Couldn't save export file on the server."));
|
||||
throw new \Exception(__("Couldn't save export file on the server"));
|
||||
}
|
||||
if(!extension_loaded('zip')) {
|
||||
throw new \Exception(__('Export requires a ZIP extension to be installed on the host.'));
|
||||
throw new \Exception(__('Export requires a ZIP extension to be installed on the host'));
|
||||
}
|
||||
$processed_subscribers = call_user_func(
|
||||
array(
|
||||
|
@@ -135,13 +135,13 @@ class MailChimp {
|
||||
$errorMessage = __('Invalid API Key.');
|
||||
break;
|
||||
case 'connection':
|
||||
$errorMessage = __('Could not connect to your MailChimp account.');
|
||||
$errorMessage = __('Could not connect to your MailChimp account');
|
||||
break;
|
||||
case 'headers':
|
||||
$errorMessage = __('The selected lists do not have matching columns (headers).');
|
||||
$errorMessage = __('The selected lists do not have matching columns (headers)');
|
||||
break;
|
||||
case 'size':
|
||||
$errorMessage = __('The information received from MailChimp is too large for processing. Please limit the number of lists.');
|
||||
$errorMessage = __('The information received from MailChimp is too large for processing. Please limit the number of lists!');
|
||||
break;
|
||||
case 'subscribers':
|
||||
$errorMessage = __('Did not find any active subscribers.');
|
||||
|
Reference in New Issue
Block a user