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

Use real node names.

parent a422008a
No related branches found
No related tags found
No related merge requests found
......@@ -49,10 +49,10 @@ class FeedsNodeProcessor extends FeedsProcessor {
// Set messages.
if ($created) {
drupal_set_message(t('Created !number !type nodes.', array('!number' => $created, '!type' => $this->config['content_type'])));
drupal_set_message(t('Created !number !type nodes.', array('!number' => $created, '!type' => node_get_types('name', $this->config['content_type']))));
}
elseif ($updated) {
drupal_set_message(t('Updated !number !type nodes.', array('!number' => $updated, '!type' => $this->config['content_type'])));
drupal_set_message(t('Updated !number !type nodes.', array('!number' => $updated, '!type' => node_get_types('name', $this->config['content_type']))));
}
else {
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