Skip to content
Snippets Groups Projects
Commit abe5aad1 authored by Alex Barth's avatar Alex Barth
Browse files

Filter content type names and numbers.

parent ea0e005b
No related branches found
No related tags found
No related merge requests found
...@@ -81,10 +81,10 @@ class FeedsNodeProcessor extends FeedsProcessor { ...@@ -81,10 +81,10 @@ class FeedsNodeProcessor extends FeedsProcessor {
// Set messages. // Set messages.
if ($batch->created) { if ($batch->created) {
drupal_set_message(format_plural($batch->created, 'Created !number !type node.', 'Created !number !type nodes.', array('!number' => $batch->created, '!type' => node_get_types('name', $this->config['content_type'])))); drupal_set_message(format_plural($batch->created, 'Created @number @type node.', 'Created !number @type nodes.', array('@number' => $batch->created, '@type' => node_get_types('name', $this->config['content_type']))));
} }
elseif ($batch->updated) { elseif ($batch->updated) {
drupal_set_message(format_plural($batch->updated, 'Updated !number !type node.', 'Updated !number !type nodes.', array('!number' => $batch->updated, '!type' => node_get_types('name', $this->config['content_type'])))); drupal_set_message(format_plural($batch->updated, 'Updated @number @type node.', 'Updated @number @type nodes.', array('@number' => $batch->updated, '@type' => node_get_types('name', $this->config['content_type']))));
} }
else { else {
drupal_set_message(t('There is no new content.')); drupal_set_message(t('There is no new content.'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment