drupal_set_message(format_plural($update_count,'Changed the content type of 1 post from %old-type to %type.','Changed the content type of @count posts from %old-type to %type.',array('%old-type'=>$info->old_type,'%type'=>$info->type)));
}
}
}
...
...
@@ -391,7 +389,7 @@ function node_type_delete_confirm($type) {
$num_nodes=db_num_rows(db_query("SELECT * FROM {node} WHERE type = '%s'",$type->type));
if($num_nodes){
$caption.='<p>'.strtr(format_plural($num_nodes,'<strong>Warning:</strong> there is currently @count %type post on your site. It may not be able to be displayed or edited correctly, once you have removed this content type.','<strong>Warning:</strong> there are currently @count %type posts on your site. They may not be able to be displayed or edited correctly, once you have removed this content type.'),array('%type'=>theme('placeholder',$type->name))).'</p>';
$caption.='<p>'.format_plural($num_nodes,'<strong>Warning:</strong> there is currently 1 %type post on your site. It may not be able to be displayed or edited correctly, once you have removed this content type.','<strong>Warning:</strong> there are currently @count %type posts on your site. They may not be able to be displayed or edited correctly, once you have removed this content type.',array('%type'=>$type->name)).'</p>';
}
$caption.='<p>'.t('This action cannot be undone.').'</p>';
$items[]=strtr(format_plural(count($missing_dependencies),'You must enable the %dependencies module to install %module.','You must enable the %dependencies modules to install %module.'),$t_argument);
$items[]=format_plural(count($missing_dependencies),'You must enable the @dependencies module to install @module.','You must enable the @dependencies modules to install @module.',$t_argument);