Removing old tests and translations directories
This commit is contained in:
parent
433e7eec80
commit
dfa2e142a7
53 changed files with 0 additions and 20508 deletions
|
@ -1,642 +0,0 @@
|
|||
<?php
|
||||
// $Id: content_taxonomy.test,v 1.1.2.6 2009/02/02 13:28:08 mh86 Exp $
|
||||
|
||||
|
||||
/**
|
||||
* Base Class for testing Content Taxonomy
|
||||
* extends the ContentCrudTestCase Class from CCK, which provides many useful helper functions
|
||||
*/
|
||||
class ContentTaxonomyTestCase extends ContentCrudTestCase {
|
||||
|
||||
function setUp() {
|
||||
$args = func_get_args();
|
||||
$modules = array_merge(array("optionwidgets", "content_taxonomy", "content_taxonomy_options", "content_taxonomy_autocomplete"), $args);
|
||||
call_user_func_array(array('parent','setUp'), $modules);
|
||||
$this->loginWithPermissions();
|
||||
$this->acquireContentTypes(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* helper function to create a vocabulary and terms
|
||||
*/
|
||||
function createTerms($count = 1) {
|
||||
$edit['name'] = $this->randomName(200);
|
||||
$edit['hierarchy'] = 2; // Hierarchy 0,1,2
|
||||
$edit['multiple'] = 1; // multiple 0,1
|
||||
$edit['required'] = 0; // required 0,1
|
||||
$edit['relations'] = 0;
|
||||
$edit['tags'] = 1;
|
||||
// exec save function
|
||||
taxonomy_save_vocabulary($edit);
|
||||
$vid = $edit['vid'];
|
||||
|
||||
for ($i = 0; $i < $count; $i++) {
|
||||
// create term
|
||||
$termname = $this->randomName(20);
|
||||
$data = array('name' => $termname, 'vid' => $vid);
|
||||
taxonomy_save_term($data);
|
||||
$terms[] = taxonomy_get_term($data['tid']);
|
||||
}
|
||||
return $terms;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* helper assertion function, which checks if the node field array is built correctly
|
||||
*/
|
||||
function assertNodeMultiValues($node, $field_name, $terms_in = array(), $terms_out = array()) {
|
||||
$tids = array();
|
||||
if (is_array($node->{$field_name})) {
|
||||
foreach ($node->{$field_name} as $key => $value) {
|
||||
$tids[$value['value']] = $value['value'];
|
||||
}
|
||||
}
|
||||
foreach ($terms_in as $term) {
|
||||
$this->assertTrue(in_array($term->tid, $tids), 'Term correctly in node field');
|
||||
}
|
||||
|
||||
foreach ($terms_out as $term) {
|
||||
$this->assertTrue(!in_array($term->tid, $tids), 'Term correctly in node field');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Base Class for testing Content Taxonomy,
|
||||
* extends the ContentCrudTestCase Class from CCK, which provides many useful helper functions
|
||||
*/
|
||||
class ContentTaxonomyTest extends ContentTaxonomyTestCase {
|
||||
|
||||
function getInfo() {
|
||||
return array(
|
||||
'name' => t('Content Taxonomy - Saving'),
|
||||
'description' => t('Tests basic saving'),
|
||||
'group' => t('Content Taxonomy'),
|
||||
);
|
||||
}
|
||||
|
||||
function setUp() {
|
||||
parent::setUp();
|
||||
}
|
||||
|
||||
|
||||
function testContentTaxonomySaving() {
|
||||
$type = $this->content_types[0];
|
||||
$type_url = str_replace('_', '-', $type->type);
|
||||
|
||||
$terms = $this->createTerms(4);
|
||||
|
||||
$settings = array(
|
||||
'type' => 'content_taxonomy',
|
||||
'widget_type' => 'content_taxonomy_options',
|
||||
'vid' => $terms[0]->vid,
|
||||
'parent' => 0,
|
||||
'parent_php_code' => '',
|
||||
'show_depth' => 0,
|
||||
'save_term_node' => FALSE,
|
||||
'depth' => NULL,
|
||||
'hide_taxonomy_fields' => TRUE,
|
||||
);
|
||||
|
||||
$field = $this->createField($settings, 0);
|
||||
$field_name = $field['field_name'];
|
||||
|
||||
//Check if field get's exposed to the content type
|
||||
$this->drupalGET('node/add/'. $type_url);
|
||||
$this->assertRaw($field_name, 'Field found on content type form');
|
||||
$this->assertRaw($terms[0]->name, 'Option value found on content type form');
|
||||
$this->assertRaw($terms[1]->name, 'Option value found on content type form');
|
||||
$this->assertRaw($terms[2]->name, 'Option value found on content type form');
|
||||
$this->assertRaw($terms[3]->name, 'Option value found on content type form');
|
||||
|
||||
// Create a node with one value selected
|
||||
$edit = array();
|
||||
$edit['title'] = $this->randomName(20);
|
||||
$edit['body'] = $this->randomName(20);
|
||||
$edit[$field_name .'[value]'] = $terms[0]->tid;
|
||||
$this->drupalPost('node/add/'. $type_url, $edit, 'Save');
|
||||
$node = node_load(array('title' => $edit['title']));
|
||||
$in_term_node = db_result(db_query("SELECT tid FROM {term_node} WHERE nid = %d", $node->nid));
|
||||
$this->assertFalse($in_term_node, "Terms not in term_node table");
|
||||
$this->assertEqual($node->{$field_name}[0]['value'], $terms[0]->tid, 'Terms saved');
|
||||
$this->drupalGet('node/'. $node->nid);
|
||||
$this->assertText($terms[0]->name, 'Terms displayed');
|
||||
$this->assertNoText($terms[1]->name, 'Term not displayed');
|
||||
|
||||
//Edit the node and select a different value
|
||||
$edit = array();
|
||||
$edit[$field_name.'[value]'] = $terms[1]->tid;
|
||||
$this->drupalPost('node/'. $node->nid .'/edit', $edit, 'Save');
|
||||
$node = node_load($node->nid, NULL, TRUE);
|
||||
$in_term_node = db_result(db_query("SELECT tid FROM {term_node} WHERE nid = %d", $node->nid));
|
||||
$this->assertFalse($in_term_node, "Terms not in term_node table");
|
||||
$this->assertIdentical($node->{$field_name}[0]['value'], $terms[1]->tid, 'Terms updated');
|
||||
$this->drupalGet('node/'. $node->nid);
|
||||
$this->assertText($terms[1]->name, 'Terms displayed');
|
||||
$this->assertNoText($terms[0]->name, 'Term not displayed');
|
||||
|
||||
//Edit the node and unselect the value (selecting '- None -').
|
||||
$edit = array();
|
||||
$edit[$field_name.'[value]'] = '';
|
||||
$this->drupalPost('node/'. $node->nid .'/edit', $edit, 'Save');
|
||||
$node = node_load($node->nid, NULL, TRUE);
|
||||
$in_term_node = db_result(db_query("SELECT tid FROM {term_node} WHERE nid = %d", $node->nid));
|
||||
$this->assertFalse($in_term_node, "Terms not in term_node table");
|
||||
$this->assertIdentical($node->{$field_name}[0]['value'], NULL, 'Terms deleted');
|
||||
$this->drupalGet('node/'. $node->nid);
|
||||
$this->assertNoText($terms[0]->name, 'Terms not displayed');
|
||||
$this->assertNoText($terms[1]->name, 'Terms not displayed');
|
||||
|
||||
|
||||
//CREATE NEW FIELD MULTIPLE
|
||||
$settings['multiple'] = TRUE;
|
||||
$field = $this->createField($settings, 0);
|
||||
$field_name = $field['field_name'];
|
||||
|
||||
//Check if field get's exposed to the content type
|
||||
$this->drupalGET('node/add/'. $type_url);
|
||||
$this->assertRaw($field_name, 'Field found on content type form');
|
||||
$this->assertRaw($terms[0]->name, 'Option value found on content type form');
|
||||
$this->assertRaw($terms[1]->name, 'Option value found on content type form');
|
||||
$this->assertRaw($terms[2]->name, 'Option value found on content type form');
|
||||
$this->assertRaw($terms[3]->name, 'Option value found on content type form');
|
||||
|
||||
// Edit the node and select multiple values.
|
||||
$edit[$field_name .'[value]['. $terms[0]->tid .']'] = $terms[0]->tid;
|
||||
$edit[$field_name .'[value]['. $terms[1]->tid .']'] = $terms[1]->tid;
|
||||
$this->drupalPost('node/'. $node->nid .'/edit', $edit, 'Save');
|
||||
$node = node_load($node->nid, NULL, TRUE);
|
||||
$in_term_node = db_result(db_query("SELECT tid FROM {term_node} WHERE nid = %d", $node->nid));
|
||||
$this->assertFalse($in_term_node, "Terms not in term_node table");
|
||||
$tids = array();
|
||||
foreach ($node->{$field_name} as $key => $value) {
|
||||
$tids[$value['value']] = $value['value'];
|
||||
}
|
||||
if (!in_array($terms[0]->tid, $tids) || !in_array($terms[1]->tid, $tids)) {
|
||||
$this->fail("Terms saved");
|
||||
}
|
||||
$this->drupalGet('node/'. $node->nid);
|
||||
$this->assertText($terms[0]->name, 'Terms displayed');
|
||||
$this->assertText($terms[1]->name, 'Terms displayed');
|
||||
$this->assertNoText($terms[2]->name, 'Term not displayed');
|
||||
|
||||
//Edit the node and select different values
|
||||
$edit = array();
|
||||
$edit[$field_name.'[value]['. $terms[0]->tid .']'] = FALSE;
|
||||
$edit[$field_name.'[value]['. $terms[1]->tid .']'] = $terms[1]->tid;
|
||||
$edit[$field_name.'[value]['. $terms[2]->tid .']'] = $terms[2]->tid;
|
||||
$this->drupalPost('node/'. $node->nid .'/edit', $edit, 'Save');
|
||||
$node = node_load($node->nid, NULL, TRUE);
|
||||
$in_term_node = db_result(db_query("SELECT tid FROM {term_node} WHERE nid = %d", $node->nid));
|
||||
$this->assertFalse($in_term_node, "Terms not in term_node table");
|
||||
$tids = array();
|
||||
foreach ($node->{$field_name} as $key => $value) {
|
||||
$tids[$value['value']] = $value['value'];
|
||||
}
|
||||
if (!in_array($terms[2]->tid, $tids) || !in_array($terms[1]->tid, $tids)) {
|
||||
$this->fail("Terms updated");
|
||||
}
|
||||
if (in_array($terms[0]->tid, $tids)) {
|
||||
$this->fail("Terms updated");
|
||||
}
|
||||
$this->drupalGet('node/'. $node->nid);
|
||||
$this->assertText($terms[1]->name, 'Terms displayed');
|
||||
$this->assertText($terms[2]->name, 'Terms displayed');
|
||||
$this->assertNoText($terms[0]->name, 'Term1 not displayed');
|
||||
|
||||
//Edit the node and unselect values
|
||||
$edit = array();
|
||||
$edit[$field_name.'[value]['. $terms[1]->tid .']'] = FALSE;
|
||||
$edit[$field_name.'[value]['. $terms[2]->tid .']'] = FALSE;
|
||||
$this->drupalPost('node/'. $node->nid .'/edit', $edit, 'Save');
|
||||
$node = node_load($node->nid, NULL, TRUE);
|
||||
$in_term_node = db_result(db_query("SELECT tid FROM {term_node} WHERE nid = %d", $node->nid));
|
||||
$this->assertFalse($in_term_node, "Terms not in term_node table");
|
||||
$tids = array();
|
||||
foreach ($node->{$field_name} as $key => $value) {
|
||||
$tids[$value['value']] = $value['value'];
|
||||
}
|
||||
if (in_array($terms[2]->tid, $tids) || in_array($terms[1]->tid, $tids) || in_array($terms[0]->tid, $tids)) {
|
||||
$this->fail("Terms deleted");
|
||||
}
|
||||
$this->drupalGet('node/'. $node->nid);
|
||||
$this->assertNoText($terms[1]->name, 'Terms not displayed');
|
||||
$this->assertNoText($terms[2]->name, 'Terms not displayed');
|
||||
$this->assertNoText($terms[0]->name, 'Terms not displayed');
|
||||
|
||||
|
||||
/**
|
||||
* Tests Saving in Term Node
|
||||
*/
|
||||
$ct = $this->content_types[1];
|
||||
$ct_url = str_replace('_', '-', $ct->type);
|
||||
|
||||
$settings['save_term_node'] = TRUE;
|
||||
$settings['multiple'] = FALSE;
|
||||
|
||||
//$terms = $this->createTerms(4);
|
||||
$field = $this->createField($settings, 1);
|
||||
$field_name = $field['field_name'];
|
||||
|
||||
//Check if field get's exposed to the content type
|
||||
$this->drupalGET('node/add/'. $ct_url);
|
||||
$this->assertRaw($field_name, 'Field found on content type form');
|
||||
$this->assertRaw($terms[0]->name, 'Option value found on content type form');
|
||||
$this->assertRaw($terms[1]->name, 'Option value found on content type form');
|
||||
$this->assertRaw($terms[2]->name, 'Option value found on content type form');
|
||||
$this->assertRaw($terms[3]->name, 'Option value found on content type form');
|
||||
|
||||
// Create a node with one value selected
|
||||
$edit = array();
|
||||
$edit['title'] = $this->randomName(20);
|
||||
$edit['body'] = $this->randomName(20);
|
||||
$edit[$field_name .'[value]'] = $terms[0]->tid;
|
||||
$this->drupalPost('node/add/'. $ct_url, $edit, 'Save');
|
||||
$node = node_load(array('title' => $edit['title']));
|
||||
$in_term_node = db_result(db_query("SELECT tid FROM {term_node} WHERE nid = %d", $node->nid));
|
||||
$this->assertEqual($in_term_node, $terms[0]->tid, "Terms saved in term_node table");
|
||||
$this->assertEqual($node->{$field_name}[0]['value'], $terms[0]->tid, 'Terms saved');
|
||||
$this->drupalGet('node/'. $node->nid);
|
||||
$this->assertText($terms[0]->name, 'Terms displayed');
|
||||
$this->assertNoText($terms[1]->name, 'Term not displayed');
|
||||
|
||||
//Edit the node and select a different value
|
||||
$edit = array();
|
||||
$edit[$field_name.'[value]'] = $terms[1]->tid;
|
||||
$this->drupalPost('node/'. $node->nid .'/edit', $edit, 'Save');
|
||||
$node = node_load($node->nid, NULL, TRUE);
|
||||
$in_term_node = db_result(db_query("SELECT tid FROM {term_node} WHERE nid = %d", $node->nid));
|
||||
$this->assertEqual($in_term_node, $terms[1]->tid, "Terms updated in term_node table");
|
||||
$this->assertEqual($node->{$field_name}[0]['value'], $terms[1]->tid, 'Terms updated');
|
||||
$this->drupalGet('node/'. $node->nid);
|
||||
$this->assertText($terms[1]->name, 'Terms displayed');
|
||||
$this->assertNoText($terms[0]->name, 'Term not displayed');
|
||||
|
||||
//Edit the node and unselect the value (selecting '- None -').
|
||||
$edit = array();
|
||||
$edit[$field_name.'[value]'] = '';
|
||||
$this->drupalPost('node/'. $node->nid .'/edit', $edit, 'Save');
|
||||
$node = node_load($node->nid, NULL, TRUE);
|
||||
$in_term_node = db_result(db_query("SELECT tid FROM {term_node} WHERE nid = %d", $node->nid));
|
||||
$this->assertFalse($in_term_node, "Terms deleted from term_node table");
|
||||
$this->assertIdentical($node->{$field_name}[0]['value'], NULL, 'Terms deleted');
|
||||
$this->drupalGet('node/'. $node->nid);
|
||||
$this->assertNoText($terms[0]->name, 'Terms not displayed');
|
||||
$this->assertNoText($terms[1]->name, 'Terms not displayed');
|
||||
|
||||
//CREATE NEW FIELD MULTIPLE
|
||||
$settings['multiple'] = TRUE;
|
||||
$field = $this->createField($settings, 1);
|
||||
$field_name = $field['field_name'];
|
||||
|
||||
//Check if field get's exposed to the content type
|
||||
$this->drupalGET('node/add/'. $ct_url);
|
||||
$this->assertRaw($field_name, 'Field found on content type form');
|
||||
$this->assertRaw($terms[0]->name, 'Option value found on content type form');
|
||||
$this->assertRaw($terms[1]->name, 'Option value found on content type form');
|
||||
$this->assertRaw($terms[2]->name, 'Option value found on content type form');
|
||||
$this->assertRaw($terms[3]->name, 'Option value found on content type form');
|
||||
|
||||
// Edit the node and select multiple values.
|
||||
$edit[$field_name .'[value]['. $terms[0]->tid .']'] = $terms[0]->tid;
|
||||
$edit[$field_name .'[value]['. $terms[1]->tid .']'] = $terms[1]->tid;
|
||||
$this->drupalPost('node/'. $node->nid .'/edit', $edit, 'Save');
|
||||
$node = node_load($node->nid, NULL, TRUE);
|
||||
$in_term_node1 = db_result(db_query("SELECT tid FROM {term_node} WHERE nid = %d AND tid = %d", $node->nid, $terms[0]->tid));
|
||||
$this->assertEqual($in_term_node1, $terms[0]->tid, "Terms updated in term_node table");
|
||||
$in_term_node2 = db_result(db_query("SELECT tid FROM {term_node} WHERE nid = %d AND tid = %d", $node->nid, $terms[1]->tid));
|
||||
$this->assertEqual($in_term_node2, $terms[1]->tid, "Terms updated in term_node table");
|
||||
$this->assertNodeMultiValues($node, $field_name, array($terms[0], $terms[1]));
|
||||
$this->drupalGet('node/'. $node->nid);
|
||||
$this->assertText($terms[0]->name, 'Terms displayed');
|
||||
$this->assertText($terms[1]->name, 'Terms displayed');
|
||||
$this->assertNoText($terms[2]->name, 'Term not displayed');
|
||||
|
||||
//Edit the node and select different values
|
||||
$edit = array();
|
||||
$edit[$field_name.'[value]['. $terms[0]->tid .']'] = FALSE;
|
||||
$edit[$field_name.'[value]['. $terms[1]->tid .']'] = $terms[1]->tid;
|
||||
$edit[$field_name.'[value]['. $terms[2]->tid .']'] = $terms[2]->tid;
|
||||
$this->drupalPost('node/'. $node->nid .'/edit', $edit, 'Save');
|
||||
$node = node_load($node->nid, NULL, TRUE);
|
||||
$in_term_node = db_result(db_query("SELECT tid FROM {term_node} WHERE nid = %d AND tid = %d", $node->nid, $terms[0]->tid));
|
||||
$this->assertFalse($in_term_node, "Term deleted term_node table");
|
||||
$in_term_node3 = db_result(db_query("SELECT tid FROM {term_node} WHERE nid = %d AND tid = %d", $node->nid, $terms[2]->tid));
|
||||
$this->assertEqual($in_term_node3, $terms[2]->tid, "Terms updated in term_node table");
|
||||
$in_term_node2 = db_result(db_query("SELECT tid FROM {term_node} WHERE nid = %d AND tid = %d", $node->nid, $terms[1]->tid));
|
||||
$this->assertEqual($in_term_node2, $terms[1]->tid, "Terms updated in term_node table");
|
||||
$this->assertNodeMultiValues($node, $field_name, array($terms[1], $terms[2]), array($terms[0]));
|
||||
$this->drupalGet('node/'. $node->nid);
|
||||
$this->assertText($terms[1]->name, 'Terms displayed');
|
||||
$this->assertText($terms[2]->name, 'Terms displayed');
|
||||
$this->assertNoText($terms[0]->name, 'Term1 not displayed');
|
||||
|
||||
//Edit the node and unselect values
|
||||
$edit = array();
|
||||
$edit[$field_name.'[value]['. $terms[1]->tid .']'] = FALSE;
|
||||
$edit[$field_name.'[value]['. $terms[2]->tid .']'] = FALSE;
|
||||
$this->drupalPost('node/'. $node->nid .'/edit', $edit, 'Save');
|
||||
$node = node_load($node->nid, NULL, TRUE);
|
||||
$in_term_node1 = db_result(db_query("SELECT tid FROM {term_node} WHERE nid = %d AND tid = %d", $node->nid, $terms[0]->tid));
|
||||
$this->assertFalse($in_term_node1, "Term deleted term_node table");
|
||||
$in_term_node2 = db_result(db_query("SELECT tid FROM {term_node} WHERE nid = %d AND tid = %d", $node->nid, $terms[1]->tid));
|
||||
$this->assertFalse($in_term_node2, "Term deleted term_node table");
|
||||
$in_term_node3 = db_result(db_query("SELECT tid FROM {term_node} WHERE nid = %d AND tid = %d", $node->nid, $terms[2]->tid));
|
||||
$this->assertFalse($in_term_node3, "Term deleted term_node table");
|
||||
$this->assertNodeMultiValues($node, $field_name, array(), array($terms[0], $terms[1], $terms[2]));
|
||||
$this->drupalGet('node/'. $node->nid);
|
||||
$this->assertNoText($terms[1]->name, 'Terms not displayed');
|
||||
$this->assertNoText($terms[2]->name, 'Terms not displayed');
|
||||
$this->assertNoText($terms[0]->name, 'Terms not displayed');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Test Cases for Content Taxonomy Autocomplete
|
||||
*/
|
||||
class ContentTaxonomyAutocompleteTest extends ContentTaxonomyTestCase {
|
||||
|
||||
function getInfo() {
|
||||
return array(
|
||||
'name' => t('Content Taxonomy - Autocomplete'),
|
||||
'description' => t('Tests freetagging widget'),
|
||||
'group' => t('Content Taxonomy'),
|
||||
);
|
||||
}
|
||||
|
||||
function setUp() {
|
||||
parent::setUp("diff");
|
||||
}
|
||||
|
||||
function testAutocomplete() {
|
||||
$type = $this->content_types[1];
|
||||
$type_url = str_replace('_', '-', $type->type);
|
||||
$terms = $this->createTerms(4);
|
||||
|
||||
//single field
|
||||
$settings = array(
|
||||
'type' => 'content_taxonomy',
|
||||
'widget_type' => 'content_taxonomy_autocomplete',
|
||||
'vid' => $terms[0]->vid,
|
||||
'parent' => 0,
|
||||
'parent_php_code' => '',
|
||||
'show_depth' => 0,
|
||||
'save_term_node' => FALSE,
|
||||
'depth' => NULL,
|
||||
'hide_taxonomy_fields' => TRUE,
|
||||
);
|
||||
|
||||
$field = $this->createField($settings, 1);
|
||||
$field_name = $field['field_name'];
|
||||
|
||||
// Create a node with one value
|
||||
$edit = array();
|
||||
$edit['title'] = $this->randomName(20);
|
||||
$edit['body'] = $this->randomName(20);
|
||||
$edit[$field_name .'[value]'] = $terms[0]->name;
|
||||
$this->drupalPost('node/add/'. $type_url, $edit, 'Save');
|
||||
$node = node_load(array('title' => $edit['title']));
|
||||
$this->assertEqual($node->{$field_name}[0]['value'], $terms[0]->tid, 'Terms saved');
|
||||
$this->drupalGet('node/'. $node->nid);
|
||||
$this->assertText($terms[0]->name, 'Terms displayed');
|
||||
$this->assertNoText($terms[1]->name, 'Term not displayed');
|
||||
|
||||
//Edit the node and select a different value
|
||||
$edit = array();
|
||||
$edit[$field_name.'[value]'] = $terms[1]->name;
|
||||
$this->drupalPost('node/'. $node->nid .'/edit', $edit, 'Save');
|
||||
$node = node_load($node->nid, NULL, TRUE);
|
||||
$this->assertIdentical($node->{$field_name}[0]['value'], $terms[1]->tid, 'Terms updated');
|
||||
$this->drupalGet('node/'. $node->nid);
|
||||
$this->assertText($terms[1]->name, 'Terms displayed');
|
||||
$this->assertNoText($terms[0]->name, 'Term not displayed');
|
||||
|
||||
//Edit the node and select 2 values for single field
|
||||
$edit = array();
|
||||
$edit[$field_name.'[value]'] = $terms[1]->name .", ". $terms[0]->name;
|
||||
$this->drupalPost('node/'. $node->nid .'/edit', $edit, 'Save');
|
||||
$this->assertText('You can provide only one value', 'Validated');
|
||||
$edit[$field_name.'[value]'] = $terms[1]->name;
|
||||
$this->drupalPost('node/'. $node->nid .'/edit', $edit, 'Save');
|
||||
$node = node_load($node->nid, NULL, TRUE);
|
||||
$this->assertIdentical($node->{$field_name}[0]['value'], $terms[1]->tid, 'Terms updated');
|
||||
$this->drupalGet('node/'. $node->nid);
|
||||
$this->assertText($terms[1]->name, 'Terms displayed');
|
||||
$this->assertNoText($terms[0]->name, 'Term not displayed');
|
||||
|
||||
//Add a new term
|
||||
$edit = array();
|
||||
$new_term_name = 'test';
|
||||
$edit['title'] = $this->randomName(20);
|
||||
$edit['body'] = $this->randomName(20);
|
||||
$edit[$field_name .'[value]'] = $new_term_name;
|
||||
$this->drupalPost('node/add/'. $type_url, $edit, 'Save');
|
||||
$new_term_tid = db_result(db_query("SELECT tid FROM {term_data} WHERE name = '%s' AND vid = %d", $new_term_name, $settings['vid']));
|
||||
$this->assertTrue(($new_term_tid > 0), "New term added to vocabulary");
|
||||
$node = node_load(array('title' => $edit['title']));
|
||||
$this->assertEqual($node->{$field_name}[0]['value'], $new_term_tid, 'Terms saved');
|
||||
$this->drupalGet('node/'. $node->nid);
|
||||
$this->assertText($new_term_name, 'Terms displayed');
|
||||
|
||||
//test Multi Field
|
||||
$type = $this->content_types[0];
|
||||
$type_url = str_replace('_', '-', $type->type);
|
||||
|
||||
//multi field
|
||||
$settings = array(
|
||||
'type' => 'content_taxonomy',
|
||||
'widget_type' => 'content_taxonomy_autocomplete',
|
||||
'vid' => $terms[0]->vid,
|
||||
'parent' => 0,
|
||||
'parent_php_code' => '',
|
||||
'show_depth' => 0,
|
||||
'save_term_node' => FALSE,
|
||||
'depth' => NULL,
|
||||
'hide_taxonomy_fields' => TRUE,
|
||||
'multiple' => TRUE,
|
||||
);
|
||||
|
||||
|
||||
$field = $this->createField($settings, 0);
|
||||
$field_name = $field['field_name'];
|
||||
|
||||
// Create a node with one value
|
||||
$edit = array();
|
||||
$edit['title'] = $this->randomName(20);
|
||||
$edit['body'] = $this->randomName(20);
|
||||
$edit[$field_name .'[value]'] = $terms[0]->name;
|
||||
$this->drupalPost('node/add/'. $type_url, $edit, 'Save');
|
||||
$node = node_load(array('title' => $edit['title']));
|
||||
$this->assertNodeMultiValues($node, $field_name, array($terms[0]));
|
||||
$this->drupalGet('node/'. $node->nid);
|
||||
$this->assertText($terms[0]->name, 'Terms displayed');
|
||||
$this->assertNoText($terms[1]->name, 'Term not displayed');
|
||||
|
||||
//Edit the node and select a different value
|
||||
$edit = array();
|
||||
$edit[$field_name.'[value]'] = $terms[1]->name;
|
||||
$this->drupalPost('node/'. $node->nid .'/edit', $edit, 'Save');
|
||||
$node = node_load($node->nid, NULL, TRUE);
|
||||
$this->assertNodeMultiValues($node, $field_name, array($terms[1]), array($terms[0]));
|
||||
$this->drupalGet('node/'. $node->nid);
|
||||
$this->assertText($terms[1]->name, 'Terms displayed');
|
||||
$this->assertNoText($terms[0]->name, 'Term not displayed');
|
||||
|
||||
//Edit the node and select a second value
|
||||
$edit = array();
|
||||
$edit[$field_name.'[value]'] = $terms[1]->name .", ". $terms[0]->name;
|
||||
$this->drupalPost('node/'. $node->nid .'/edit', $edit, 'Save');
|
||||
$node = node_load($node->nid, NULL, TRUE);
|
||||
$this->assertNodeMultiValues($node, $field_name, array($terms[0], $terms[1]));
|
||||
$this->drupalGet('node/'. $node->nid);
|
||||
$this->assertText($terms[1]->name, 'Terms displayed');
|
||||
$this->assertText($terms[0]->name, 'Terms displayed');
|
||||
|
||||
// Create a node with one value and test preview
|
||||
$edit = array();
|
||||
$edit['title'] = $this->randomName(20);
|
||||
$edit['body'] = $this->randomName(20);
|
||||
$edit[$field_name .'[value]'] = $terms[0]->name;
|
||||
$this->drupalPost('node/add/'. $type_url, $edit, 'Preview');
|
||||
$this->drupalPost('node/add/'. $type_url, $edit, 'Save');
|
||||
$node = node_load(array('title' => $edit['title']));
|
||||
$this->assertNodeMultiValues($node, $field_name, array($terms[0]));
|
||||
$this->drupalGet('node/'. $node->nid);
|
||||
$this->assertText($terms[0]->name, 'Terms displayed');
|
||||
|
||||
// Create a node with one value and test preview with a new term
|
||||
$new_term_name = 'test2';
|
||||
$edit = array();
|
||||
$edit['title'] = $this->randomName(20);
|
||||
$edit['body'] = $this->randomName(20);
|
||||
$edit[$field_name .'[value]'] = $new_term_name;
|
||||
$this->drupalPost('node/add/'. $type_url, $edit, 'Preview');
|
||||
$new_term_tid = db_result(db_query("SELECT tid FROM {term_data} WHERE name = '%s' AND vid = %d", $new_term_name, $settings['vid']));
|
||||
$this->assertTrue(($new_term_tid > 0), "Term in added to vocabulary");
|
||||
$this->drupalPost('node/add/'. $type_url, $edit, 'Save');
|
||||
$node = node_load(array('title' => $edit['title']));
|
||||
$this->assertNodeMultiValues($node, $field_name, array(taxonomy_get_term($new_term_tid)));
|
||||
$this->drupalGet('node/'. $node->nid);
|
||||
$this->assertText($new_term_name, 'Terms displayed');
|
||||
|
||||
// Create a node with one value and test preview diff
|
||||
$edit = array();
|
||||
$edit['title'] = $this->randomName(20);
|
||||
$edit['body'] = $this->randomName(20);
|
||||
$edit[$field_name .'[value]'] = $terms[0]->name;
|
||||
$this->drupalPost('node/add/'. $type_url, $edit, 'Save');
|
||||
$node = node_load(array('title' => $edit['title']));
|
||||
|
||||
$edit = array();
|
||||
$edit['title'] = $node->title;
|
||||
$edit['body'] = str_replace('<!--break-->', '', $node->body);
|
||||
$edit[$field_name .'[value]'] = $terms[0]->name;
|
||||
$this->drupalPost('node/'. $node->nid .'/edit', $edit, 'Preview changes');
|
||||
$this->assertText('No visible changes', 'No visible changes');
|
||||
$this->assertRaw($terms[0]->name, 'Term in field');
|
||||
/* $this->drupalPost('node/'. $node->nid .'/edit', $edit, 'Save');
|
||||
$node = node_load($node->nid, NULL, TRUE);
|
||||
$this->assertNodeMultiValues($node, $field_name, array($terms[0]));
|
||||
$this->drupalGet('node/'. $node->nid);
|
||||
$this->assertText($terms[0]->name, 'Terms displayed');*/
|
||||
|
||||
//CREATE NEW REQUIRED FIELD
|
||||
$settings['required'] = TRUE;
|
||||
$field = $this->createField($settings, 0);
|
||||
$field_name = $field['field_name'];
|
||||
|
||||
$edit = array();
|
||||
$edit['title'] = $this->randomName(20);
|
||||
$edit['body'] = $this->randomName(20);
|
||||
$edit[$field_name.'[value]'] = '';
|
||||
$this->drupalPost('node/add/'. $type_url, $edit, 'Save');
|
||||
$this->assertText($field_name .' field is required', 'Validated required field');
|
||||
$edit[$field_name.'[value]'] = $terms[1]->name;
|
||||
$this->drupalPost('node/add/'. $type_url, $edit, 'Save');
|
||||
$this->assertNoText($field_name .' field is required', 'Validation for required field successfully passed');
|
||||
$node = node_load(array('title' => $edit['title']));
|
||||
$this->assertNodeMultiValues($node, $field_name, array($terms[1]));
|
||||
$this->drupalGet('node/'. $node->nid);
|
||||
$this->assertText($terms[1]->name, 'Terms displayed');
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Test Cases for Content Taxonomy Autocomplete
|
||||
*/
|
||||
class ContentTaxonomyAutocompletePermissionsTest extends ContentTaxonomyTestCase {
|
||||
|
||||
function getInfo() {
|
||||
return array(
|
||||
'name' => t('Content Taxonomy - Autocomplete with Permissions'),
|
||||
'description' => t('Tests freetagging widget with content permissions'),
|
||||
'group' => t('Content Taxonomy'),
|
||||
);
|
||||
}
|
||||
|
||||
function setUp() {
|
||||
parent::setUp("content_permissions");
|
||||
}
|
||||
|
||||
function testAutocomplete() {
|
||||
$type = $this->content_types[1];
|
||||
$type_url = str_replace('_', '-', $type->type);
|
||||
$terms = $this->createTerms(4);
|
||||
|
||||
//single field
|
||||
$settings = array(
|
||||
'type' => 'content_taxonomy',
|
||||
'widget_type' => 'content_taxonomy_autocomplete',
|
||||
'vid' => $terms[0]->vid,
|
||||
'parent' => 0,
|
||||
'parent_php_code' => '',
|
||||
'show_depth' => 0,
|
||||
'save_term_node' => FALSE,
|
||||
'depth' => NULL,
|
||||
'hide_taxonomy_fields' => TRUE,
|
||||
);
|
||||
|
||||
$field = $this->createField($settings, 1);
|
||||
$field_name = $field['field_name'];
|
||||
|
||||
$permissions = array('edit '. $field_name, 'view '. $field_name);
|
||||
$rids = db_query("SELECT rid FROM {role}");
|
||||
while($obj = db_fetch_object($rids)) {
|
||||
db_query("INSERT INTO {permission} (rid, perm) VALUES (%d, '%s')", $obj->rid, implode(', ', $permissions));
|
||||
}
|
||||
|
||||
// Create a node with one value with edit permissions
|
||||
$edit = array();
|
||||
$edit['title'] = $this->randomName(20);
|
||||
$edit['body'] = $this->randomName(20);
|
||||
$edit[$field_name .'[value]'] = $terms[0]->name;
|
||||
$this->drupalPost('node/add/'. $type_url, $edit, 'Save');
|
||||
$node = node_load(array('title' => $edit['title']));
|
||||
$this->assertEqual($node->{$field_name}[0]['value'], $terms[0]->tid, 'Terms saved');
|
||||
$this->drupalGet('node/'. $node->nid);
|
||||
$this->assertText($terms[0]->name, 'Terms displayed');
|
||||
$this->assertNoText($terms[1]->name, 'Term not displayed');
|
||||
|
||||
//delete edit field perm
|
||||
$permissions_old = array('edit '. $field_name, 'view '. $field_name);
|
||||
$permissions_new = array('view '. $field_name);
|
||||
$rids = db_query("SELECT rid FROM {role}");
|
||||
while($obj = db_fetch_object($rids)) {
|
||||
db_query("DELETE FROM {permission WHERE rid = %d AND perm = '%s'", $obj->rid, implode(', ', $permissions_old));
|
||||
db_query("INSERT INTO {permission} (rid, perm) VALUES (%d, '%s')", $obj->rid, implode(', ', $permissions_new));
|
||||
}
|
||||
|
||||
//Edit the node, but without perm
|
||||
$edit = array();
|
||||
$this->drupalPost('node/'. $node->nid .'/edit', $edit, 'Save');
|
||||
$this->drupalGet('node/'. $node->nid .'/edit');
|
||||
$this->assertNoRaw($field_name, "Field hidden");
|
||||
$node = node_load($node->nid, NULL, TRUE);
|
||||
$this->assertIdentical($node->{$field_name}[0]['value'], $terms[0]->tid, 'Terms saved');
|
||||
$this->drupalGet('node/'. $node->nid);
|
||||
$this->assertText($terms[0]->name, 'Terms displayed');
|
||||
}
|
||||
}
|
|
@ -1,298 +0,0 @@
|
|||
# $Id: fr.po,v 1.1.2.1 2009/04/07 10:52:21 slybud Exp $
|
||||
#
|
||||
# French translation of Drupal (general)
|
||||
# Copyright YEAR NAME <EMAIL@ADDRESS>
|
||||
# Generated from files:
|
||||
# content_taxonomy.module,v 1.2.2.15.2.17 2009/02/02 18:07:50 mh86
|
||||
# content_taxonomy_autocomplete.module,v 1.2.2.4.2.12 2009/02/02 17:26:38 mh86
|
||||
# content_taxonomy_options.module,v 1.1.4.7.2.4 2008/12/27 11:25:27 mh86
|
||||
# content_taxonomy_tree.module,v 1.1.2.4 2008/08/20 16:54:36 mh86
|
||||
# content_taxonomy.info,v 1.1.2.2.2.1 2008/04/30 08:05:19 mh86
|
||||
# content_taxonomy_autocomplete.info,v 1.1.2.4.2.1 2008/04/30 08:05:19 mh86
|
||||
# content_taxonomy_options.info,v 1.1.2.5.2.1 2008/04/30 08:05:19 mh86
|
||||
# content_taxonomy_tree.info,v 1.1.2.1 2008/04/30 08:05:19 mh86
|
||||
# includes/content_taxonomy.token.inc: n/a
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: french translation for drupal6 content_taxonomy module\n"
|
||||
"POT-Creation-Date: 2009-04-07 11:50+0200\n"
|
||||
"PO-Revision-Date: 2009-04-07 12:48+0100\n"
|
||||
"Last-Translator: Sylvain Moreau <sylvain.moreau@ows.fr>\n"
|
||||
"Language-Team: Sylvain Moreau, OWS <sylvain.moreau@ows.fr>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n>1);\n"
|
||||
|
||||
#: content_taxonomy.module:16
|
||||
msgid "Defines a CCK field type for referencing taxonomy terms. The fields are independent from vocabulary settings and can be configured through the CCK admin field pages. The Content Taxonomy Module provides different widget types, at the moment including Option Widgets (Radios / Checkboxes, Selects), Autocompletes, Tree). The widget modules have to be enabled separately."
|
||||
msgstr "Définit un type de champ CCK pour référencer les termes de taxonomie. Les champs sont indépendant des paramètres de vocabulaire et peuvent être configurés par les pages d'admin du champ CCK. Le module Content Taxonomy fournit différents types de widget, incluant pour le moment les Widgets Option (Boutons Radio/Cases à Cocher, Listes déroulantes), AutoComplétion et Arborescence. Les modules de wisget doivent être activés séparément."
|
||||
|
||||
#: content_taxonomy.module:49
|
||||
msgid "Content Taxonomy Fields"
|
||||
msgstr "Content Taxonomy Fields"
|
||||
|
||||
#: content_taxonomy.module:50
|
||||
msgid "Stores terms for nodes in the database."
|
||||
msgstr "Stocke des termes pour les noeuds dans la base de données."
|
||||
|
||||
#: content_taxonomy.module:69
|
||||
msgid "Save values additionally to the core taxonomy system (into the 'term_node' table)."
|
||||
msgstr "Enregistrer les valeurs en plus dans le système core de taxonomie (dans la table 'term_node')."
|
||||
|
||||
#: content_taxonomy.module:71
|
||||
msgid "If this option is set, saving of terms is additionally handled by the taxonomy module. So saved terms from Content Taxonomy fields will appear as any other terms saved by the core taxonomy module. Set this option if you are using any other taxonomy application, like tagadelic. Otherwise terms are only saved in the cck tables and can only be accessed via the node or a view"
|
||||
msgstr "Si cette option est activée, l'enregistrement des termes est géré en plus par le module taxonomy. Ainsi, les termes enregistrés dans les champs Content Taxonomy apparaîtront comme n'importe quels autres termes enregistrées par le module taxonomy. Activez cette option si vous utilisez d'autres appicatifs de taxonomie, tel que tagadelic. Dans le cas contraire, les termes sont uniquement enregistrés dans les tables cck, et ne peuvent être accessibles qu'au travers du noeud ou d'une vue."
|
||||
|
||||
#: content_taxonomy.module:80
|
||||
msgid "Vocabulary"
|
||||
msgstr "Vocabulaire"
|
||||
|
||||
#: content_taxonomy.module:84
|
||||
msgid "Terms of the selected vocabulary get exposed to the field"
|
||||
msgstr "Les termes du vocabulaire sélectionné sont exposés dans le champ"
|
||||
|
||||
#: content_taxonomy.module:89
|
||||
msgid "Advanced settings for hierarchical vocabularies"
|
||||
msgstr "Paramètres avancés pour des vocabulaires hiérarchiques"
|
||||
|
||||
#: content_taxonomy.module:94
|
||||
msgid "Parent Term"
|
||||
msgstr "Terme Parent"
|
||||
|
||||
#: content_taxonomy.module:98
|
||||
msgid "If any term is selected here, only child terms of the selected are going to be exposed the field. Otherwise the whole vocabulary selected above"
|
||||
msgstr "Si un terme est sélectionné ici, seuls les termes enfants de celui-ci seront exposés dans le filtre. Autrement, le vocabulaire complet sélectionné ci-dessus"
|
||||
|
||||
#: content_taxonomy.module:102
|
||||
msgid "Advanced PHP code"
|
||||
msgstr "code PHP avancé"
|
||||
|
||||
#: content_taxonomy.module:107
|
||||
msgid "PHP Code for selecting the parent term"
|
||||
msgstr "Code PHP pour la sélection du terme parent"
|
||||
|
||||
#: content_taxonomy.module:111
|
||||
msgid "Advanced usage only: PHP code that returns the parent term ID. Should not include <?php ?> delimiters. If this field is filled out, the ID returned by this code will override the selected parent above."
|
||||
msgstr "Usage avancé uniquement : code PHP retournant l'ID du terme parent. Ne doit pas contenir les délimiteurs <?php ?>. Si ce champ est rempli, l'ID retourné par ce code remplacera le parent sélectionné ci-dessus."
|
||||
|
||||
#: content_taxonomy.module:116
|
||||
msgid "Depth of taxonomy tree"
|
||||
msgstr "Profondeur de l'arbre de taxonomie"
|
||||
|
||||
#: content_taxonomy.module:118
|
||||
msgid "By setting a numeric value, the depth of the hierarchy shown can be limited. Leave this field blank to show the whole hierarchy."
|
||||
msgstr "En définissant une valeur numérique, la profondeur de la hiérarchie affichée peut être limitée. Laissez ce champ vide pour afficher la hiérarchie complète."
|
||||
|
||||
#: content_taxonomy.module:141
|
||||
msgid "@field-title term"
|
||||
msgstr "Terme @field-title"
|
||||
|
||||
#: content_taxonomy.module:198
|
||||
msgid "As Text"
|
||||
msgstr "En tant que Texte"
|
||||
|
||||
#: content_taxonomy.module:203
|
||||
msgid "As Link"
|
||||
msgstr "En tant que Lien"
|
||||
|
||||
#: content_taxonomy.module:354;362
|
||||
msgid "content"
|
||||
msgstr "contenu"
|
||||
|
||||
#: content_taxonomy.module:354
|
||||
msgid "Deleted field %field_name and its data."
|
||||
msgstr "Le champ %field_name et ses données ont été supprimés."
|
||||
|
||||
#: content_taxonomy.module:362
|
||||
msgid "Entries with term id = %tid have been deleted out of %table for field %field_name."
|
||||
msgstr "Les enregistrements avec l'id de terme = %tid ont été supprimés de la table %table pour le champ %field_name."
|
||||
|
||||
#: content_taxonomy.module:0
|
||||
msgid "content_taxonomy"
|
||||
msgstr "content_taxonomy"
|
||||
|
||||
#: content_taxonomy_autocomplete.module:40
|
||||
msgid "Autocomplete (Freetagging)"
|
||||
msgstr "Autocomplétion (Étiquetage libre/Freetagging)"
|
||||
|
||||
#: content_taxonomy_autocomplete.module:59
|
||||
msgid "Settings for Autocompletes"
|
||||
msgstr "Paramètres pour les Autocomplétions"
|
||||
|
||||
#: content_taxonomy_autocomplete.module:65
|
||||
msgid "Freetagging settings"
|
||||
msgstr "Paramètres d'Etiquetage libre (Freetagging)"
|
||||
|
||||
#: content_taxonomy_autocomplete.module:67
|
||||
msgid "Allow and insert new terms by the user into the vocabulary"
|
||||
msgstr "Autoriser et insérer de nouveaux termes par l'utilisateur dans le vocabulaire"
|
||||
|
||||
#: content_taxonomy_autocomplete.module:68
|
||||
msgid "Deny any new terms"
|
||||
msgstr "Refuser tout nouveau terme"
|
||||
|
||||
#: content_taxonomy_autocomplete.module:73
|
||||
msgid "Extra Parent for new terms"
|
||||
msgstr "Extra Parent pour les nouveaux termes"
|
||||
|
||||
#: content_taxonomy_autocomplete.module:76
|
||||
msgid "This setting is only relevant if you have selected \"Allow and insert new terms by the user into the vocabulary\". If you select any term here, new terms will get children of the selected one, otherwise new terms get children of the parent term (root, if no parent selected) selected in the global settings."
|
||||
msgstr "Ce paramètre n'est significatif que si vous avez sélectionné \"Autoriser et insérer de nouveaux termes par l'utilisateur dans le vocabulaire\". Si vous sélectionner un terme ici, les nouveaux termes seront des enfants de celui-ci, sinon les nouveaux termes seront des enfants du terme parent (racine, si aucun parent sélectionné) sélectionné dans les paramètres globaux."
|
||||
|
||||
#: content_taxonomy_autocomplete.module:81
|
||||
msgid "Maximum length of autocomplete"
|
||||
msgstr "Longueur maximale de l'autocomplétion"
|
||||
|
||||
#: content_taxonomy_autocomplete.module:85
|
||||
msgid "Defines how many characters can be typed into the autocomplete field. For values higher than 255, remember that one term name can not be longer than 255 (would be cutted), nevertheless it's not a problem for multiple values, separated by commas."
|
||||
msgstr "Définit combien de caractères peuvent être tapés dans le champ a autocomplétion. Pour des valeurs supérieures à 255, souvenez-vous qu'un nom de terme ne peut être plus long que 255 caractères (il sera coupé), cependant, ceci ne constitue pas un problème pour des valeurs multiples, séparées par des virgules."
|
||||
|
||||
#: content_taxonomy_autocomplete.module:97
|
||||
msgid "\"Maximum length\" must be a positive integer."
|
||||
msgstr "\"Longueur maximale\" doit être un entier positif."
|
||||
|
||||
#: content_taxonomy_autocomplete.module:214
|
||||
msgid "You can provide only one value"
|
||||
msgstr "Vous ne pouvez fournir qu'une seule valeur"
|
||||
|
||||
#: content_taxonomy_autocomplete.module:219
|
||||
msgid "New tags are not allowed"
|
||||
msgstr "Les nouveaux tags ne sont pas autorisés"
|
||||
|
||||
#: content_taxonomy_autocomplete.module:26
|
||||
msgid "Autocomplete"
|
||||
msgstr "Autocomplétion"
|
||||
|
||||
#: content_taxonomy_autocomplete.module:0
|
||||
msgid "content_taxonomy_autocomplete"
|
||||
msgstr "content_taxonomy_autocomplete"
|
||||
|
||||
#: content_taxonomy_options.module:27
|
||||
msgid "Checkboxes/Radios"
|
||||
msgstr "Cases à cocher/Boutons Radio"
|
||||
|
||||
#: content_taxonomy_options.module:35
|
||||
msgid "Select List"
|
||||
msgstr "Liste Déroulante"
|
||||
|
||||
#: content_taxonomy_options.module:54
|
||||
msgid "Settings for Options"
|
||||
msgstr "Paramètres des Options"
|
||||
|
||||
#: content_taxonomy_options.module:60
|
||||
msgid "Indent child terms with ' - ' signs"
|
||||
msgstr "Indenter les termes enfants avec des signes ' - '"
|
||||
|
||||
#: content_taxonomy_options.module:62
|
||||
msgid "If this option is checked, a hierarchy gets visualized by indenting child terms, otherwise it's a flat list"
|
||||
msgstr "Si cette option est cochée, une hiérarchie est rendue visuelle par l'indentation des termes enfants, sinon ce sera une liste à plat"
|
||||
|
||||
#: content_taxonomy_options.module:65
|
||||
msgid "Parent term for OptGroups in select fields"
|
||||
msgstr "Terme parent pour les Groupes d'Options (OptGroups) dans les champs menu déroulant"
|
||||
|
||||
#: content_taxonomy_options.module:69
|
||||
msgid "This settings applies only for select fields. Select a parent term containg the grouping terms. Grouping terms should be parents of the selected terms (from the Global Settings)."
|
||||
msgstr "Ce paramètre s'applique uniquement pour les champs liste déroulante. Sélectionner un terme parent contenant les termes à grouper. Les termes à grouper doivent être parents des termes sélectionnés (dans la partie Paramètres Globaux)"
|
||||
|
||||
#: content_taxonomy_options.module:95
|
||||
msgid "N/A"
|
||||
msgstr "N/A"
|
||||
|
||||
#: content_taxonomy_options.module:97
|
||||
msgid "- None -"
|
||||
msgstr "- Aucun -"
|
||||
|
||||
#: content_taxonomy_options.module:0
|
||||
msgid "content_taxonomy_options"
|
||||
msgstr "content_taxonomy_options"
|
||||
|
||||
#: content_taxonomy_tree.module:24
|
||||
msgid "Tree"
|
||||
msgstr "Arborescence"
|
||||
|
||||
#: content_taxonomy_tree.module:43
|
||||
msgid "Settings for Trees"
|
||||
msgstr "Paramètres pour les Arborescences"
|
||||
|
||||
#: content_taxonomy_tree.module:49
|
||||
msgid "Expand whole tree by default"
|
||||
msgstr "Dérouler l'arborescence complète par défaut"
|
||||
|
||||
#: content_taxonomy_tree.module:51
|
||||
msgid "Otherwise only branches, where a term is selected get expanded by default"
|
||||
msgstr "Sinon, seules les branches où un terme est sélectionné sont déroulées par défaut"
|
||||
|
||||
#: content_taxonomy_tree.module:153
|
||||
msgid "!name field is required."
|
||||
msgstr "Le champ !name est obligatoire."
|
||||
|
||||
#: content_taxonomy_tree.module:0
|
||||
msgid "content_taxonomy_tree"
|
||||
msgstr "content_taxonomy_tree"
|
||||
|
||||
#: content_taxonomy.info:0
|
||||
msgid "Content Taxonomy"
|
||||
msgstr "Content Taxonomy"
|
||||
|
||||
#: content_taxonomy.info:0
|
||||
msgid "Defines a field type for taxonomy terms"
|
||||
msgstr "Définit un type de champ pour les termes de taxonomie"
|
||||
|
||||
#: content_taxonomy.info:0
|
||||
#: content_taxonomy_autocomplete.info:0
|
||||
#: content_taxonomy_options.info:0
|
||||
#: content_taxonomy_tree.info:0
|
||||
msgid "CCK"
|
||||
msgstr "CCK"
|
||||
|
||||
#: content_taxonomy_autocomplete.info:0
|
||||
msgid "Content Taxonomy Autocomplete"
|
||||
msgstr "Content Taxonomy Autocomplete"
|
||||
|
||||
#: content_taxonomy_autocomplete.info:0
|
||||
msgid "Defines a autocomplete widget type for content_taxonomy"
|
||||
msgstr "Définit un type de widget à autocomplétion pour content_taxonomy"
|
||||
|
||||
#: content_taxonomy_options.info:0
|
||||
msgid "Content Taxonomy Options"
|
||||
msgstr "Content Taxonomy Options"
|
||||
|
||||
#: content_taxonomy_options.info:0
|
||||
msgid "Defines a option widget type for content_taxonomy for selects, radios/checkboxes"
|
||||
msgstr "Définit un type de widget option pour content_taxonomy pour les listes déroulantes, les boutons radio et les cases à cocher"
|
||||
|
||||
#: content_taxonomy_tree.info:0
|
||||
msgid "Content Taxonomy Tree"
|
||||
msgstr "Content Taxonomy Tree"
|
||||
|
||||
#: content_taxonomy_tree.info:0
|
||||
msgid "Defines a dynamic tree widget for Content Taxonomy"
|
||||
msgstr "Définit un widget arborescence dynamique pour Content Taxonomy"
|
||||
|
||||
#: includes/content_taxonomy.token.inc:10
|
||||
msgid "Name of top taxonomy term"
|
||||
msgstr "Nom du terme de taxonomie le plus haut"
|
||||
|
||||
#: includes/content_taxonomy.token.inc:11
|
||||
msgid "ID of top taxonomy term"
|
||||
msgstr "ID du terme de taxonomie le plus haut"
|
||||
|
||||
#: includes/content_taxonomy.token.inc:12
|
||||
msgid "Names of all taxonomy terms separated by commas"
|
||||
msgstr "Noms de tous les termes de taxonomie, séparés par des virgules"
|
||||
|
||||
#: includes/content_taxonomy.token.inc:13
|
||||
msgid "IDs of all taxonomy terms separated by commas"
|
||||
msgstr "IDs de tous les termes de taxonomie, séparés par des virgules"
|
||||
|
||||
#: includes/content_taxonomy.token.inc:14
|
||||
msgid "Name of terms vocabulary"
|
||||
msgstr "Nom du vocabulaire des termes"
|
||||
|
||||
#: includes/content_taxonomy.token.inc:15
|
||||
msgid "ID of terms vocabulary"
|
||||
msgstr "ID du vocabulaire des termes"
|
||||
|
|
@ -1,413 +0,0 @@
|
|||
# Hungarian translation of content_taxonomy (6.x-1.0-rc1)
|
||||
# Copyright (c) 2009 by the Hungarian translation team
|
||||
# Generated from files:
|
||||
# content_taxonomy_tree.module,v 1.1.2.5 2009/05/14 16:58:22 mh86
|
||||
# content_taxonomy.module,v 1.2.2.15.2.23 2009/05/14 14:03:11 mh86
|
||||
# content_taxonomy_options.module,v 1.1.4.7.2.4 2008/12/27 11:25:27 mh86
|
||||
# content_taxonomy/includes/content_taxonomy.token.inc: n/a
|
||||
# content_taxonomy_autocomplete.module,v 1.2.2.4.2.15 2009/05/14 17:10:13 mh86
|
||||
# content_taxonomy.info,v 1.1.2.2.2.1 2008/04/30 08:05:19 mh86
|
||||
# content_taxonomy_autocomplete.info,v 1.1.2.4.2.1 2008/04/30 08:05:19 mh86
|
||||
# content_taxonomy_options.info,v 1.1.2.5.2.1 2008/04/30 08:05:19 mh86
|
||||
# content_taxonomy_tree.info,v 1.1.2.1 2008/04/30 08:05:19 mh86
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: content_taxonomy (6.x-1.0-rc1)\n"
|
||||
"POT-Creation-Date: 2009-05-16 15:49+0200\n"
|
||||
"PO-Revision-Date: 2009-05-15 09:43+0200\n"
|
||||
"Last-Translator: Balogh Zoltán\n"
|
||||
"Language-Team: Hungarian http://forditas.mindworks.hu\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n!=1);\n"
|
||||
|
||||
#: content_taxonomy_tree.module:154
|
||||
msgid "!name field is required."
|
||||
msgstr "!name mező nincs kitöltve."
|
||||
|
||||
#: content_taxonomy.module:377,390
|
||||
msgid "content"
|
||||
msgstr "tartalom"
|
||||
|
||||
#: content_taxonomy_options.module:97
|
||||
msgid "- None -"
|
||||
msgstr "- Nincs -"
|
||||
|
||||
#: content_taxonomy_options.module:95
|
||||
msgid "N/A"
|
||||
msgstr "Nincs adat"
|
||||
|
||||
#: includes/content_taxonomy.token.inc:10
|
||||
msgid "Name of top taxonomy term"
|
||||
msgstr "Legelső taxonómiakifejezés neve"
|
||||
|
||||
#: includes/content_taxonomy.token.inc:11
|
||||
msgid "Unfiltered name of top taxonomy term. WARNING - raw user input."
|
||||
msgstr ""
|
||||
"A legelső taxonómiakifejezés szűretlen neve. Figyelem - nyers "
|
||||
"felhasználói bevitel."
|
||||
|
||||
#: includes/content_taxonomy.token.inc:12
|
||||
msgid "ID of top taxonomy term"
|
||||
msgstr "A legelső taxonómiakifejezés azonosítója"
|
||||
|
||||
#: content_taxonomy.module:81
|
||||
msgid "Vocabulary"
|
||||
msgstr "Szótár"
|
||||
|
||||
#: content_taxonomy_autocomplete.module:26
|
||||
msgid "Autocomplete"
|
||||
msgstr "Automatikus kiegészítés"
|
||||
|
||||
#: content_taxonomy.info:0; content_taxonomy_autocomplete.info:0; content_taxonomy_options.info:0; content_taxonomy_tree.info:0
|
||||
msgid "CCK"
|
||||
msgstr "CCK"
|
||||
|
||||
#: content_taxonomy.module:16
|
||||
msgid ""
|
||||
"Defines a CCK field type for referencing taxonomy terms. The fields "
|
||||
"are independent from vocabulary settings and can be configured through "
|
||||
"the CCK admin field pages. The Content Taxonomy Module provides "
|
||||
"different widget types, at the moment including Option Widgets (Radios "
|
||||
"/ Checkboxes, Selects), Autocompletes, Tree). The widget modules have "
|
||||
"to be enabled separately."
|
||||
msgstr ""
|
||||
"Egy <em>CCK</em> mezőtípust ad, mely taxonómiakifejezésekre "
|
||||
"hivatkozik. A mezők függetlenek a szótárbeállításoktól, a "
|
||||
"<em>CCK</em> adminisztrációs oldalain lehet ezeket beállítani. A "
|
||||
"<em>Content Taxonomy</em> modul különböző felületi elemeket "
|
||||
"szolgáltat, jelenleg választógombok, jelölőnégyzetek, "
|
||||
"legördülő listák, automatikusan kiegészülő mezők és fák "
|
||||
"állnak rendelkezésre. A felületi elem modulokat külön kell "
|
||||
"engedélyezni."
|
||||
|
||||
#: content_taxonomy.module:49
|
||||
msgid "Content Taxonomy Fields"
|
||||
msgstr "Content Taxonomy mezők"
|
||||
|
||||
#: content_taxonomy.module:50
|
||||
msgid "Stores terms for nodes in the database."
|
||||
msgstr "A kifejezések tárolása a tartalomhoz az adatbázisban."
|
||||
|
||||
#: content_taxonomy.module:69
|
||||
msgid ""
|
||||
"Save values additionally to the core taxonomy system (into the "
|
||||
"'term_node' table)."
|
||||
msgstr ""
|
||||
"Az értékek mentése az alap taxonómia rendszerbe is (a "
|
||||
"„term_node” táblába)."
|
||||
|
||||
#: content_taxonomy.module:71
|
||||
msgid ""
|
||||
"If this option is set, saving of terms is additionally handled by the "
|
||||
"taxonomy module. So saved terms from Content Taxonomy fields will "
|
||||
"appear as any other terms saved by the core taxonomy module. Set this "
|
||||
"option if you are using any other taxonomy application, like "
|
||||
"tagadelic. Otherwise terms are only saved in the cck tables and can "
|
||||
"only be accessed via the node or a view"
|
||||
msgstr ""
|
||||
"Ha ez a lehetőség be van kapcsolva, a mentett kifejezések "
|
||||
"hozzáadódnak a taxonómia modulhoz is. Így a <em>Content "
|
||||
"Taxonomy</em> mezőkben elmentett kifejezések ugyanúgy fognak "
|
||||
"viselkedni, mint az alap taxonómia modullal elmentett bármelyik "
|
||||
"másik kifejezés. Be kell kapcsolni, ha bármilyen egyéb taxonómia "
|
||||
"alkalmazás is használatban van, mint például a <em>tagadelic</em>. "
|
||||
"Ellenkező esetben a kifejezések csak a <em>CCK</em> tábláiba "
|
||||
"lesznek elmentve, így ezeket csak a tartalommal vagy egy nézettel "
|
||||
"lehet elérni."
|
||||
|
||||
#: content_taxonomy.module:85
|
||||
msgid "Terms of the selected vocabulary get exposed to the field"
|
||||
msgstr "A kiválasztott szótár kifejezései megjelennek a mezőben"
|
||||
|
||||
#: content_taxonomy.module:90
|
||||
msgid "Advanced settings for hierarchical vocabularies"
|
||||
msgstr "Haladó beállítások hierarhikus szótáraknak"
|
||||
|
||||
#: content_taxonomy.module:95
|
||||
msgid "Parent Term"
|
||||
msgstr "Szülő kifejezés"
|
||||
|
||||
#: content_taxonomy.module:99
|
||||
msgid ""
|
||||
"If any term is selected here, only child terms of the selected are "
|
||||
"going to be exposed the field. Otherwise the whole vocabulary selected "
|
||||
"above"
|
||||
msgstr ""
|
||||
"Ha itt bármilyen kifejezés ki van választva, akkor csak ennek a "
|
||||
"gyermekei fognak megjelenni a mezőben. Egyébként a feljebb "
|
||||
"kiválasztott teljes szótár."
|
||||
|
||||
#: content_taxonomy.module:103
|
||||
msgid "Advanced PHP code"
|
||||
msgstr "Haladó PHP kód"
|
||||
|
||||
#: content_taxonomy.module:108
|
||||
msgid "PHP Code for selecting the parent term"
|
||||
msgstr "PHP kód a szülő kifejezés kiválasztásához"
|
||||
|
||||
#: content_taxonomy.module:112
|
||||
msgid ""
|
||||
"Advanced usage only: PHP code that returns the parent term ID. Should "
|
||||
"not include <?php ?> delimiters. If this field is filled out, "
|
||||
"the ID returned by this code will override the selected parent above."
|
||||
msgstr ""
|
||||
"Csak haladóknak: PHP kód, ami visszaadja a szülő kifejezés "
|
||||
"azonosítóját. Nem szükséges <?php ?> elemek közé zárni. "
|
||||
"Ha ez a mező ki van töltve, akkor a kód által visszaadott "
|
||||
"azonosító felülír minden fentebb kiválasztott szülő értéket."
|
||||
|
||||
#: content_taxonomy.module:117
|
||||
msgid "Depth of taxonomy tree"
|
||||
msgstr "A taxonómia fa mélysége"
|
||||
|
||||
#: content_taxonomy.module:119
|
||||
msgid ""
|
||||
"By setting a numeric value, the depth of the hierarchy shown can be "
|
||||
"limited. Leave this field blank to show the whole hierarchy."
|
||||
msgstr ""
|
||||
"Egy numerikus értéket megadva a megjelenő hierarhia mélysége "
|
||||
"korlátozható. Üresen hagyva megjelenik a teljes hierarhia."
|
||||
|
||||
#: content_taxonomy.module:201
|
||||
msgid "As Text"
|
||||
msgstr "Mint szöveg"
|
||||
|
||||
#: content_taxonomy.module:206
|
||||
msgid "As Link"
|
||||
msgstr "Mint hivatkozás"
|
||||
|
||||
#: content_taxonomy.module:377
|
||||
msgid "Deleted field %field_name and its data."
|
||||
msgstr "%field_name mező az adataival együtt törölve."
|
||||
|
||||
#: content_taxonomy.module:390
|
||||
msgid ""
|
||||
"Entries with term id = %tid have been deleted out of %table for field "
|
||||
"%field_name."
|
||||
msgstr ""
|
||||
"%tid azonosítójú bejegyzések törölve lettek (Tábla: %table, "
|
||||
"mezőnév: %field_name)."
|
||||
|
||||
#: content_taxonomy.module:0
|
||||
msgid "content_taxonomy"
|
||||
msgstr "content_taxonomy"
|
||||
|
||||
#: content_taxonomy_autocomplete.module:40
|
||||
msgid "Autocomplete (Freetagging)"
|
||||
msgstr "Automatikus kiegészítés (szabadszavas cimkézés)"
|
||||
|
||||
#: content_taxonomy_autocomplete.module:59
|
||||
msgid "Settings for Autocompletes"
|
||||
msgstr "Beállítások az automatikus kiegészítéshez"
|
||||
|
||||
#: content_taxonomy_autocomplete.module:65
|
||||
msgid "Freetagging settings"
|
||||
msgstr "Szabadszavas cimkézés beállítások"
|
||||
|
||||
#: content_taxonomy_autocomplete.module:67
|
||||
msgid "Allow and insert new terms by the user into the vocabulary"
|
||||
msgstr ""
|
||||
"Engedélyezi, hogy felhasználók új kifejezéseket adjanak a "
|
||||
"szótárhoz"
|
||||
|
||||
#: content_taxonomy_autocomplete.module:68
|
||||
msgid "Deny any new terms"
|
||||
msgstr "Új kifejezések tiltása"
|
||||
|
||||
#: content_taxonomy_autocomplete.module:73
|
||||
msgid "Extra Parent for new terms"
|
||||
msgstr "Extra szülő az új kifejezéseknek"
|
||||
|
||||
#: content_taxonomy_autocomplete.module:76
|
||||
msgid ""
|
||||
"This setting is only relevant if you have selected \"Allow and insert "
|
||||
"new terms by the user into the vocabulary\". If you select any term "
|
||||
"here, new terms will get children of the selected one, otherwise new "
|
||||
"terms get children of the parent term (root, if no parent selected) "
|
||||
"selected in the global settings."
|
||||
msgstr ""
|
||||
"Ez a beállítás csak akkor hatásos, ha az „Engedélyezi, hogy "
|
||||
"felhasználók új kifejezéseket adjanak a szótárhoz” lehetőség "
|
||||
"van kiválasztva. Ha itt bármilyen kifejezés ki van választva, "
|
||||
"akkor az új kifejezések a kiválasztott kifejezés gyermekei "
|
||||
"lesznek, ellenkező esetben a szülőt az általános beállítások "
|
||||
"határozzák meg. Ha nincs szülő kiválasztva, akkor a gyökér lesz "
|
||||
"az."
|
||||
|
||||
#: content_taxonomy_autocomplete.module:81
|
||||
msgid "Maximum length of autocomplete"
|
||||
msgstr "Az automatikus kiegészítés maximális hossza"
|
||||
|
||||
#: content_taxonomy_autocomplete.module:85
|
||||
msgid ""
|
||||
"Defines how many characters can be typed into the autocomplete field. "
|
||||
"For values higher than 255, remember that one term name can not be "
|
||||
"longer than 255 (would be cutted), nevertheless it's not a problem for "
|
||||
"multiple values, separated by commas."
|
||||
msgstr ""
|
||||
"Megadható, hogy hány karaktert lehessen begépelni az automatikusan "
|
||||
"kiegészülő mezőbe. 255-nél nagyobb érték megadásakor tudni "
|
||||
"kell, hogy a kifejezés nem lehet 255 karakternél hosszabb (le lesz "
|
||||
"vágva). Azonban ez nem jelent problémát a vesszővel elválasztott, "
|
||||
"többszörös értékek esetén."
|
||||
|
||||
#: content_taxonomy_autocomplete.module:97
|
||||
msgid "\"Maximum length\" must be a positive integer."
|
||||
msgstr "A „maximális hossz” értéknek pozitív egésznek kell lennie."
|
||||
|
||||
#: content_taxonomy_autocomplete.module:213
|
||||
msgid "You can provide only one value"
|
||||
msgstr "Csak egy értéket lehet megadni"
|
||||
|
||||
#: content_taxonomy_autocomplete.module:221
|
||||
msgid "New tags are not allowed"
|
||||
msgstr "Az új elemek nem engedélyezettek"
|
||||
|
||||
#: content_taxonomy_autocomplete.module:0
|
||||
msgid "content_taxonomy_autocomplete"
|
||||
msgstr "content_taxonomy_autocomplete"
|
||||
|
||||
#: content_taxonomy_options.module:27
|
||||
msgid "Checkboxes/Radios"
|
||||
msgstr "Jelölőnégyzetek/választógombok"
|
||||
|
||||
#: content_taxonomy_options.module:35
|
||||
msgid "Select List"
|
||||
msgstr "Legördülő lista"
|
||||
|
||||
#: content_taxonomy_options.module:54
|
||||
msgid "Settings for Options"
|
||||
msgstr "Lehetőségek beállítása"
|
||||
|
||||
#: content_taxonomy_options.module:60
|
||||
msgid "Indent child terms with ' - ' signs"
|
||||
msgstr "Gyermek kifejezések bekezdése „ - ” jelekkel"
|
||||
|
||||
#: content_taxonomy_options.module:62
|
||||
msgid ""
|
||||
"If this option is checked, a hierarchy gets visualized by indenting "
|
||||
"child terms, otherwise it's a flat list"
|
||||
msgstr ""
|
||||
"Ha ez a lehetőség be van kapcsolva, a hierarhia megjelenítésekor a "
|
||||
"gyermek kifejezések bekezdve jelennek meg, ellenkező esetben csak "
|
||||
"egyszerű lista lesz."
|
||||
|
||||
#: content_taxonomy_options.module:65
|
||||
msgid "Parent term for OptGroups in select fields"
|
||||
msgstr ""
|
||||
"Szülő kifejezés az <em>OptGroups</em> számára a legördülő "
|
||||
"listákban"
|
||||
|
||||
#: content_taxonomy_options.module:69
|
||||
msgid ""
|
||||
"This settings applies only for select fields. Select a parent term "
|
||||
"containg the grouping terms. Grouping terms should be parents of the "
|
||||
"selected terms (from the Global Settings)."
|
||||
msgstr ""
|
||||
"Ezek a beállítások csak a legördülő listákra vonatkoznak. Ki "
|
||||
"lehet választani egy szülő kifejezést a kifejezések "
|
||||
"csoportosításához. A kifejezések csoportosításához kellenek "
|
||||
"szülők a kiválasztott kifejezéseknek (az általános "
|
||||
"beállításokból)."
|
||||
|
||||
#: content_taxonomy_options.module:0
|
||||
msgid "content_taxonomy_options"
|
||||
msgstr "content_taxonomy_options"
|
||||
|
||||
#: content_taxonomy_tree.module:24
|
||||
msgid "Tree"
|
||||
msgstr "Fa"
|
||||
|
||||
#: content_taxonomy_tree.module:43
|
||||
msgid "Settings for Trees"
|
||||
msgstr "Fa beállítások"
|
||||
|
||||
#: content_taxonomy_tree.module:49
|
||||
msgid "Expand whole tree by default"
|
||||
msgstr "Alapértelmezésben kibontja a teljes fát"
|
||||
|
||||
#: content_taxonomy_tree.module:51
|
||||
msgid ""
|
||||
"Otherwise only branches, where a term is selected get expanded by "
|
||||
"default"
|
||||
msgstr ""
|
||||
"Különben csak azok a csoportok nyílnak ki alapértelmezéseben, "
|
||||
"ahol a kifejezés ki van választva"
|
||||
|
||||
#: content_taxonomy_tree.module:0
|
||||
msgid "content_taxonomy_tree"
|
||||
msgstr "content_taxonomy_tree"
|
||||
|
||||
#: content_taxonomy.info:0
|
||||
msgid "Content Taxonomy"
|
||||
msgstr "Content Taxonomy"
|
||||
|
||||
#: content_taxonomy.info:0
|
||||
msgid "Defines a field type for taxonomy terms"
|
||||
msgstr "Mezőtípust ad a taxonómiakifejezéseknek"
|
||||
|
||||
#: content_taxonomy_autocomplete.info:0
|
||||
msgid "Content Taxonomy Autocomplete"
|
||||
msgstr "Content Taxonomy automatikus kiegészítéssel"
|
||||
|
||||
#: content_taxonomy_autocomplete.info:0
|
||||
msgid "Defines a autocomplete widget type for content_taxonomy"
|
||||
msgstr ""
|
||||
"Automatikusan kiegészülő mező felületi elemet ad a <em>Content "
|
||||
"Taxonomy</em> modulhoz"
|
||||
|
||||
#: content_taxonomy_options.info:0
|
||||
msgid "Content Taxonomy Options"
|
||||
msgstr "Content Taxonomy lehetőségek"
|
||||
|
||||
#: content_taxonomy_options.info:0
|
||||
msgid ""
|
||||
"Defines a option widget type for content_taxonomy for selects, "
|
||||
"radios/checkboxes"
|
||||
msgstr ""
|
||||
"Legördülő lista, választógomb és jelölőnégyzet felületi "
|
||||
"elemeket ad a <em>Content Taxonomy</em> modulhoz"
|
||||
|
||||
#: content_taxonomy_tree.info:0
|
||||
msgid "Content Taxonomy Tree"
|
||||
msgstr "Content Taxonomy Tree"
|
||||
|
||||
#: content_taxonomy_tree.info:0
|
||||
msgid "Defines a dynamic tree widget for Content Taxonomy"
|
||||
msgstr "Dinamikus fa felületi elemet ad a <em>Content Taxonomy</em> modulhoz"
|
||||
|
||||
#: includes/content_taxonomy.token.inc:13
|
||||
msgid "Names of all taxonomy terms separated by commas"
|
||||
msgstr "Minden taxonómiakifejezés neve, vesszőkkel elválasztva"
|
||||
|
||||
#: includes/content_taxonomy.token.inc:15
|
||||
msgid "IDs of all taxonomy terms separated by commas"
|
||||
msgstr "Minden taxonómiakifejezés azonosítója, vesszőkkel elválasztva"
|
||||
|
||||
#: includes/content_taxonomy.token.inc:16
|
||||
msgid "Name of terms vocabulary"
|
||||
msgstr "A kifejezések szótárának neve"
|
||||
|
||||
#: includes/content_taxonomy.token.inc:17
|
||||
msgid "ID of terms vocabulary"
|
||||
msgstr "A kifejezések szótárának azonosítója"
|
||||
|
||||
#: content_taxonomy.module:142
|
||||
msgid "@field-title term"
|
||||
msgstr "@field-title kifejezés"
|
||||
|
||||
#: content_taxonomy_autocomplete.module:217; content_taxonomy_tree.module:157
|
||||
msgid "%name: this field cannot hold more than @count values."
|
||||
msgstr "%name: ez a mező nem tartalmazhat több, mint @count értéket."
|
||||
|
||||
#: includes/content_taxonomy.token.inc:14
|
||||
msgid ""
|
||||
"Unfiltered names of all taxonomy terms separated by commas. WARNING - "
|
||||
"raw user input."
|
||||
msgstr ""
|
||||
"Vesszőkkel elválasztva minden taxonómiakifejezés szűretlen neve. "
|
||||
"Figyelem - nyers felhasználói bevitel."
|
||||
|
|
@ -1,222 +0,0 @@
|
|||
# $Id: ja.po,v 1.1.2.1 2008/05/31 08:16:58 imagine Exp $
|
||||
#
|
||||
# Japanese translation of Drupal (content_taxonomy)
|
||||
# Copyright 2008 0829 <hixarg+0829@gmail.com>
|
||||
# Generated from files:
|
||||
# content_taxonomy.info,v 1.1.2.2.2.1 2008/04/30 08:05:19 mh86 Exp
|
||||
# content_taxonomy.module,v 1.2.2.15.2.1 2008/04/30 08:05:19 mh86 Exp
|
||||
# content_taxonomy_autocomplete.info,v 1.1.2.4.2.1 2008/04/30 08:05:19 mh86 Exp
|
||||
# content_taxonomy_autocomplete.module,v 1.2.2.4.2.1 2008/04/30 08:05:19 mh86 Exp
|
||||
# content_taxonomy_options.info,v 1.1.2.5.2.1 2008/04/30 08:05:19 mh86 Exp
|
||||
# content_taxonomy_options.module,v 1.1.4.7.2.1 2008/04/30 08:05:19 mh86 Exp
|
||||
# content_taxonomy_tree.info,v 1.1.2.1 2008/04/30 08:05:19 mh86 Exp
|
||||
# content_taxonomy_tree.module,v 1.1.2.1 2008/04/30 08:05:19 mh86 Exp
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Drupal 6.x\n"
|
||||
"POT-Creation-Date: 2008-05-11 16:35+0900\n"
|
||||
"PO-Revision-Date: 2008-05-22 01:27+0900\n"
|
||||
"Last-Translator: 0829 <hixarg+0829@gmail.com>\n"
|
||||
"Language-Team: DRUPAL*DRUPAL <hixarg+0829@gmail.com>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n!=1);\n"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy.info:0
|
||||
msgid "Content Taxonomy"
|
||||
msgstr "コンテンツタクソノミー"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy.info:0
|
||||
msgid "Defines a field type for taxonomy terms"
|
||||
msgstr "タクソノミータームのフィールドタイプを定義します。"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy.info:0
|
||||
#: modules/content_taxonomy/content_taxonomy_autocomplete.info:0
|
||||
#: modules/content_taxonomy/content_taxonomy_options.info:0
|
||||
#: modules/content_taxonomy/content_taxonomy_tree.info:0
|
||||
msgid "CCK"
|
||||
msgstr "CCK"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy.module:16
|
||||
msgid "Defines a field type for referencing a taxonomy term. <em>Note: Requires content.module.</em>"
|
||||
msgstr "タクソノミータームを参照するためのフィールドタイプを定義します。 <strong>注: コンテンツモジュール(CCK)が必要です。</strong>"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy.module:40
|
||||
msgid "Content Taxonomy Fields"
|
||||
msgstr "コンテンツタクソノミーフィールド"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy.module:41
|
||||
msgid "Stores terms for the nodes in the database."
|
||||
msgstr "ノードに関連付けられたタームをデータベースに保存します。"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy.module:60
|
||||
msgid "Save values additionally in the term_node table."
|
||||
msgstr "term_node テーブルにも値を追加保存する"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy.module:62
|
||||
msgid "If this option is set, saving of terms is additionally handled by the taxonomy module. So saved terms from Content Taxonomy fields will appear as any other terms saved by the core taxonomy module. Set this option if you are using any other taxonomy application, like tagadelic. Otherwise terms are only saved in the cck tables and can only be accessed via the node or a view"
|
||||
msgstr "このオプションをセットした場合、タームの保存はタクソノミーモジュールによってさらに処理されます。 そのため、コンテンツタクソノミーフィールドを使用して保存されたタームはコアのタクソノミーモジュールによって保存された他のタームと同様に扱われます。 Tagadelic モジュールのような他のタクソノミー関連モジュールを使用している場合は、このオプションをセットしてください。 セットしない場合、タームは cck テーブルだけに保存され、ノードやビューを通してのみアクセス可能となります。"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy.module:67
|
||||
msgid "Specify terms to show"
|
||||
msgstr "表示するタームの指定"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy.module:82
|
||||
msgid "Vocabulary"
|
||||
msgstr "ボキャブラリ"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy.module:89
|
||||
msgid "Terms"
|
||||
msgstr "ターム"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy.module:93
|
||||
msgid "If any term is selected here, only child terms of the selected are going to be shown in the field. Otherwise the whole vocabulary selected above"
|
||||
msgstr "ここでタームを選択した場合は、選択したタームの下位タームのみがフィールドに表示されます。 選択していない場合は、上で選択したボキャブラリ内のすべてのタームが表示されます。"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy.module:98
|
||||
msgid "Depth of taxonomy tree"
|
||||
msgstr "タクソノミー階層の深さ"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy.module:100
|
||||
msgid "leave blank for unlimited depth"
|
||||
msgstr "タクソノミー階層の深さに制限を設けたくない場合は空欄のままにしてください。"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy.module:105
|
||||
msgid "Indent child terms with ' - ' signs"
|
||||
msgstr "下位のタームを ' - ' 記号でインデントする"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy.module:151
|
||||
msgid "As Text"
|
||||
msgstr "テキスト"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy.module:156
|
||||
msgid "As Link"
|
||||
msgstr "リンクを設定する"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy.module:0
|
||||
msgid "content_taxonomy"
|
||||
msgstr "コンテンツタクソノミー"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_autocomplete.info:0
|
||||
msgid "Content Taxonomy Autocomplete"
|
||||
msgstr "コンテンツタクソノミーオートコンプリート"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_autocomplete.info:0
|
||||
msgid "Defines a autocomplete widget type for content_taxonomy"
|
||||
msgstr "コンテンツタクソノミーのためにオートコンプリートタイプのウィジェットを定義します。"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_autocomplete.module:15
|
||||
msgid "Defines a widget type for content_taxonomy with autocomplete. <em>Note: Requires content.module.</em>"
|
||||
msgstr "コンテンツタクソノミーでオートコンプリートを行うためのウィジェットタイプを定義します。 <strong>注: コンテンツモジュール(CCK)が必要です。</strong>"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_autocomplete.module:50;71;36
|
||||
msgid "Autocomplete"
|
||||
msgstr "オートコンプリート"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_autocomplete.module:77
|
||||
msgid "New terms from to user:"
|
||||
msgstr "ユーザからの新しいターム"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_autocomplete.module:79
|
||||
msgid "Allow and insert new terms into the taxonomy tree"
|
||||
msgstr "新しいタームの追加およびタクソノミーツリーへの挿入を許可する"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_autocomplete.module:80
|
||||
msgid "Deny any new terms"
|
||||
msgstr "新しいタームの追加はすべて拒否する"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_autocomplete.module:92
|
||||
msgid "Extra Parent for new terms"
|
||||
msgstr "新しいタームの特別な上位"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_autocomplete.module:94
|
||||
msgid "This setting is only relevant if you have set \"Allow and insert new terms into the taxonomy tree\". If you select any term here, new terms will get children of the selected one, otherwise new terms get children of the parent term selected in the data settings"
|
||||
msgstr "この設定は \"新しいタームの追加およびタクソノミーツリーへの挿入を許可する\" を選択した場合にのみ関連します。 ここで何らかのタームを選択した場合、新しく追加されたタームは選択したタームの下位タームとして追加されます。 どのタームも選択していない場合、新しく追加されたタームはデータ設定で選択したタームの下位タームとして追加されます。"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_autocomplete.module:153
|
||||
#: modules/content_taxonomy/content_taxonomy_tree.module:96
|
||||
msgid "Preview"
|
||||
msgstr "プレビュー"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_autocomplete.module:180
|
||||
msgid "You can provide only one value"
|
||||
msgstr "1つの値のみが設定できます"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_autocomplete.module:185
|
||||
msgid "New tags are not allowed"
|
||||
msgstr "新しいタグは許可されていません"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_autocomplete.module:0
|
||||
msgid "content_taxonomy_autocomplete"
|
||||
msgstr "コンテンツタクソノミーオートコンプリート"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_options.info:0
|
||||
msgid "Content Taxonomy Options"
|
||||
msgstr "コンテンツタクソノミーオプション"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_options.info:0
|
||||
msgid "Defines a option widget type for content_taxonomy for selects, radios/checkboxes"
|
||||
msgstr "コンテンツタクソノミーのために、選択リスト, ラジオボタン, チェックボックスのタイプのオプションウィジェットを定義します。"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_options.module:16
|
||||
msgid "Defines a widget type for content_taxonomy for options (selects, radios/checkboxes). <em>Note: Requires content.module.</em>"
|
||||
msgstr "コンテンツタクソノミーでオプションウィジェットタイプ(選択リスト, ラジオボタン, チェックボックス)を定義します。 <strong>注: コンテンツモジュール(CCK)が必要です。</strong>"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_options.module:26
|
||||
msgid "Checkboxes/Radios"
|
||||
msgstr "チェックボックス/ラジオボタン"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_options.module:34
|
||||
msgid "Select List"
|
||||
msgstr "選択リスト"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_options.module:62
|
||||
msgid "OptGroups"
|
||||
msgstr "グループ選択"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_options.module:65
|
||||
msgid "This setting is optional and only relevant for select lists"
|
||||
msgstr "この設定はオプションで、選択リストの場合にのみ関連します。 "
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_options.module:70
|
||||
msgid "Parent for grouping in first bar"
|
||||
msgstr "1番目のバーでグループ化するための上位ターム"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_options.module:0
|
||||
msgid "content_taxonomy_options"
|
||||
msgstr "コンテンツタクソノミーオプション"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_tree.info:0
|
||||
msgid "Content Taxonomy Tree"
|
||||
msgstr "コンテンツタクソノミーツリー"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_tree.info:0
|
||||
msgid "Defines a dynamic tree widget for Content Taxonomy"
|
||||
msgstr "コンテンツタクソノミーのためにダイナミックなツリー表示のウィジェットを定義します。"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_tree.module:11
|
||||
msgid "Defines a widget type for content_taxonomy with a tree form. <em>Note: Requires content.module and the taxonomy manager.</em>"
|
||||
msgstr "コンテンツタクソノミーをツリー表示するためのウィジェットタイプを定義します。 <strong>注: コンテンツモジュール(CCK)が必要です。</strong>"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_tree.module:34
|
||||
msgid "Tree"
|
||||
msgstr "ツリー"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_tree.module:54
|
||||
msgid "Expand whole tree by default"
|
||||
msgstr "デフォルトですべてのツリーを展開する"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_tree.module:56
|
||||
msgid "Otherwise only branches, where a term is selected get expanded by default"
|
||||
msgstr "チェックした場合、タームの選択部分がデフォルトで展開されたツリー表示となります。 チェックしない場合、分岐されているだけの閉じたツリー表示となります。"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_tree.module:128
|
||||
msgid "This field is required"
|
||||
msgstr "このフィールドは必須です。"
|
||||
|
||||
#: modules/content_taxonomy/content_taxonomy_tree.module:0
|
||||
msgid "content_taxonomy_tree"
|
||||
msgstr "コンテンツタクソノミーツリー"
|
||||
|
Reference in a new issue