Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Oct 2008 at 20:13 UTC
Updated:
16 Jun 2009 at 18:10 UTC
file: modules/node/views_handler_argument_node_type.inc
change the function node_type to the following: (add the translation for $output)
function node_type($type) {
$output = node_get_types('name', $type);
if (empty($output)) {
$output = t('Unknown node type');
}
return t(check_plain($output));
}
Comments
Comment #1
merlinofchaos commentedFixed.