Finish changing segments to lists and columns to fields

This commit is contained in:
Tautvidas Sipavičius
2016-07-28 20:21:17 +03:00
parent 88d9315f8b
commit 18398a3bfb
5 changed files with 23 additions and 23 deletions

View File

@@ -17,7 +17,7 @@ class ImportExportFactory {
Segment::getSegmentsWithSubscriberCount() :
Segment::getSegmentsForExport($with_confirmed_subscribers);
return array_map(function($segment) {
if(!$segment['name']) $segment['name'] = __('Not In Segment');
if(!$segment['name']) $segment['name'] = __('Not In List');
if(!$segment['id']) $segment['id'] = 0;
return array(
'id' => $segment['id'],
@@ -70,11 +70,11 @@ class ImportExportFactory {
array(
array(
'id' => 'ignore',
'name' => __('Ignore column...'),
'name' => __('Ignore field...'),
),
array(
'id' => 'create',
'name' => __('Create new column...')
'name' => __('Create new field...')
),
) :
array(
@@ -93,13 +93,13 @@ class ImportExportFactory {
'children' => $actions
),
array(
'name' => __('System columns'),
'name' => __('System fields'),
'children' => $this->formatSubscriberFields($subscriber_fields)
)
);
if($subscriber_custom_fields) {
array_push($select2Fields, array(
'name' => __('User columns'),
'name' => __('User fields'),
'children' => $this->formatSubscriberCustomFields(
$subscriber_custom_fields
)