| @@ -52,15 +52,15 @@ | ||
| 52 | 52 | global $wpdb; |
| 53 | 53 | |
| 54 | 54 | $fields = [ |
| 55 | 55 | 'key' => 'main', |
| 56 | - 'label' => 'Comment', | |
| 56 | + 'label' => __('Comment', 'jc-importer'), | |
| 57 | 57 | 'loop' => true, |
| 58 | 58 | 'fields' => [], |
| 59 | 59 | 'children' => [ |
| 60 | 60 | 'custom_fields' => [ |
| 61 | 61 | 'key' => 'custom_fields', |
| 62 | - 'label' => 'Custom Fields', | |
| 62 | + 'label' => __('Custom Fields', 'jc-importer'), | |
| 63 | 63 | 'loop' => true, |
| 64 | 64 | 'loop_fields' => ['meta_key', 'meta_value'], |
| 65 | 65 | 'fields' => [], |
| 66 | 66 | 'children' => [] |
| @@ -88,9 +88,9 @@ | ||
| 88 | 88 | } |
| 89 | 89 | |
| 90 | 90 | $fields['children']['custom_fields']['fields'] = apply_filters('iwp/exporter/comment/custom_field_list', $fields['children']['custom_fields']['fields'], $this->post_type); |
| 91 | 91 | |
| 92 | - return $fields; | |
| 92 | + return $this->parse_fields($fields); | |
| 93 | 93 | } |
| 94 | 94 | |
| 95 | 95 | public function have_records($exporter_id) |
| 96 | 96 | { |