name = tt('content_type_name:'.$type->type, $type->name); $type->description = tt('content_type_description:'.$type->type, $type->description); $info[$type->type] = (array)$type; } return $info; } /** * Blocks retrieving of normal content types */ function i18ncontent_db_rewrite_sql($query, $primary_table, $primary_key) { if (preg_match("/SELECT nt\.type, nt\.\* FROM {node_type} nt/", $query)) { // Using FALSE here doesn't work with older mysql versions return array('where' => '0 = 1'); } }