diff --git a/core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php b/core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php
index f23b54f..bcd57cc 100644
--- a/core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php
+++ b/core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php
@@ -12,6 +12,7 @@
use Drupal\Core\Entity\EntityManagerInterface;
use Drupal\Core\Entity\EntityStorageInterface;
use Drupal\Core\Field\FieldTypePluginManagerInterface;
+use Drupal\Core\TypedData\TranslatableInterface;
use Drupal\Core\TypedData\TypedDataInterface;
use Drupal\migrate\Entity\MigrationInterface;
use Drupal\migrate\MigrateException;
@@ -127,6 +128,19 @@ public function getIds() {
* The row object to update from.
*/
protected function updateEntity(EntityInterface $entity, Row $row) {
+ if ($entity instanceof TranslatableInterface) {
+ $property = $this->storage->getEntityType()->getKey('langcode');
+
+ if ($row->hasDestinationProperty($property)) {
+ $language = $row->getDestinationProperty($property);
+
+ if (!$entity->hasTranslation($language)) {
+ $entity->addTranslation($language);
+ }
+ $entity = $entity->getTranslation($language);
+ }
+ }
+
// If the migration has specified a list of properties to be overwritten,
// clone the row with an empty set of destination values, and re-add only
// the specified properties.
diff --git a/core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php b/core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php
index 24602b6..76164e6 100644
--- a/core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php
+++ b/core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php
@@ -30,6 +30,24 @@ protected static function getEntityTypeId($plugin_id) {
}
/**
+ * Get the previous revision of an entity.
+ */
+ protected function getPreviousRevision($entity_id, $revision_id) {
+ $query = $this->storage->getQuery();
+ $query->condition($this->getKey('id'), $entity_id);
+ $query->condition($this->getKey('revision'), $revision_id, '<');
+ $query->sort('vid', 'DESC');
+ $query->range(0, 1);
+ $query->allRevisions();
+ $ids = $query->execute();
+
+ if (empty($ids)) {
+ return NULL;
+ }
+ return $this->storage->loadRevision(key($ids));
+ }
+
+ /**
* Gets the entity.
*
* @param \Drupal\migrate\Row $row
@@ -46,22 +64,31 @@ protected function getEntity(Row $row, array $old_destination_id_values) {
$row->getDestinationProperty($this->getKey('revision'));
if (!empty($revision_id) && ($entity = $this->storage->loadRevision($revision_id))) {
$entity->setNewRevision(FALSE);
+ $existing = TRUE;
}
else {
$entity_id = $row->getDestinationProperty($this->getKey('id'));
- $entity = $this->storage->load($entity_id);
+ $entity = $this->getPreviousRevision($entity_id, $revision_id);
+ }
- // If we fail to load the original entity something is wrong and we need
- // to return immediately.
- if (!$entity) {
- return FALSE;
+ if ($entity) {
+ $this->updateEntity($entity, $row);
+ }
+ else {
+ if ($row->isStub()) {
+ $this->processStubRow($row);
}
+ $entity = $this->storage->create($row->getDestination());
+ }
+ if (!isset($existing)) {
$entity->enforceIsNew(FALSE);
$entity->setNewRevision(TRUE);
+ // Reset the revision ID, since setNewRevision clears it.
+ $entity->set($this->getKey('revision'), $revision_id);
+ $entity->isDefaultRevision(FALSE);
}
- $this->updateEntity($entity, $row);
- $entity->isDefaultRevision(FALSE);
+
return $entity;
}
diff --git a/core/modules/migrate_drupal/src/Tests/d6/MigrateDrupal6TestBase.php b/core/modules/migrate_drupal/src/Tests/d6/MigrateDrupal6TestBase.php
index 1d8f5f4..ff85842 100644
--- a/core/modules/migrate_drupal/src/Tests/d6/MigrateDrupal6TestBase.php
+++ b/core/modules/migrate_drupal/src/Tests/d6/MigrateDrupal6TestBase.php
@@ -7,6 +7,7 @@
namespace Drupal\migrate_drupal\Tests\d6;
+use Drupal\language\Entity\ConfigurableLanguage;
use Drupal\migrate\Entity\Migration;
use Drupal\migrate_drupal\Tests\MigrateDrupalTestBase;
@@ -22,6 +23,7 @@
'datetime',
'filter',
'image',
+ 'language',
'link',
'node',
'options',
@@ -107,6 +109,10 @@ protected function migrateContent($include_revisions = FALSE) {
$this->executeMigrations(['d6_node_settings', 'd6_node:*']);
if ($include_revisions) {
+ // The revision migrations include translations, so we need to install
+ // the necessary languages.
+ ConfigurableLanguage::createFromLangcode('en')->save();
+ ConfigurableLanguage::createFromLangcode('fr')->save();
$this->executeMigrations(['d6_node_revision:*']);
}
}
diff --git a/core/modules/migrate_drupal/tests/fixtures/drupal6.php b/core/modules/migrate_drupal/tests/fixtures/drupal6.php
index 8f88300..fda3e70 100644
--- a/core/modules/migrate_drupal/tests/fixtures/drupal6.php
+++ b/core/modules/migrate_drupal/tests/fixtures/drupal6.php
@@ -8038,6 +8038,24 @@
'mysql_character_set' => 'utf8',
));
+$connection->insert('history')
+->fields(array(
+ 'uid',
+ 'nid',
+ 'timestamp',
+))
+->values(array(
+ 'uid' => '1',
+ 'nid' => '9',
+ 'timestamp' => '1444238808',
+))
+->values(array(
+ 'uid' => '1',
+ 'nid' => '10',
+ 'timestamp' => '1444239050',
+))
+->execute();
+
$connection->schema()->createTable('imagecache_action', array(
'fields' => array(
'actionid' => array(
@@ -8365,3497 +8383,3525 @@
))
->values(array(
'lid' => '5',
+ 'location' => 'misc/tableselect.js',
+ 'textgroup' => 'default',
+ 'source' => 'Select all rows in this table',
+ 'version' => 'none',
+))
+->values(array(
+ 'lid' => '6',
+ 'location' => 'misc/tableselect.js',
+ 'textgroup' => 'default',
+ 'source' => 'Deselect all rows in this table',
+ 'version' => 'none',
+))
+->values(array(
+ 'lid' => '7',
+ 'location' => 'misc/tabledrag.js',
+ 'textgroup' => 'default',
+ 'source' => 'Drag to re-order',
+ 'version' => 'none',
+))
+->values(array(
+ 'lid' => '8',
+ 'location' => 'misc/tabledrag.js',
+ 'textgroup' => 'default',
+ 'source' => 'Changes made in this table will not be saved until the form is submitted.',
+ 'version' => 'none',
+))
+->values(array(
+ 'lid' => '9',
+ 'location' => 'misc/teaser.js',
+ 'textgroup' => 'default',
+ 'source' => 'Split summary at cursor',
+ 'version' => 'none',
+))
+->values(array(
+ 'lid' => '10',
+ 'location' => 'misc/teaser.js',
+ 'textgroup' => 'default',
+ 'source' => 'Join summary',
+ 'version' => 'none',
+))
+->values(array(
+ 'lid' => '11',
'location' => 'content.module:21',
'textgroup' => 'default',
'source' => 'The content module, a required component of the Content Construction Kit (CCK), allows administrators to associate custom fields with content types. In Drupal, content types are used to define the characteristics of a post, including the title and description of the fields displayed on its add and edit pages. Using the content module (and the other helper modules included in CCK), custom fields beyond the default "Title" and "Body" may be added. CCK features are accessible through tabs on the content types administration page. (See the node module help page for more information about content types.)',
'version' => 'none',
))
->values(array(
- 'lid' => '6',
+ 'lid' => '12',
'location' => 'content.module:22',
'textgroup' => 'default',
'source' => 'When adding a custom field to a content type, you determine its type (whether it will contain text, numbers, or references to other objects) and how it will be displayed (either as a text field or area, a select box, checkbox, radio button, or autocompleting field). A field may have multiple values (i.e., a "person" may have multiple e-mail addresses) or a single value (i.e., an "employee" has a single employee identification number). As you add and edit fields, CCK automatically adjusts the structure of the database as necessary. CCK also provides a number of other features, including intelligent caching for your custom data, an import and export facility for content type definitions, and integration with other contributed modules.',
'version' => 'none',
))
->values(array(
- 'lid' => '7',
+ 'lid' => '13',
'location' => 'content.module:23',
'textgroup' => 'default',
'source' => 'Custom field types are provided by a set of optional modules included with CCK (each module provides a different type). The modules page allows you to enable or disable CCK components. A default installation of CCK includes:',
'version' => 'none',
))
->values(array(
- 'lid' => '8',
+ 'lid' => '14',
'location' => 'content.module:25',
'textgroup' => 'default',
'source' => 'number, which adds numeric field types, in integer, decimal or floating point form. You may define a set of allowed inputs, or specify an allowable range of values. A variety of common formats for displaying numeric data are available.',
'version' => 'none',
))
->values(array(
- 'lid' => '9',
+ 'lid' => '15',
'location' => 'content.module:26',
'textgroup' => 'default',
'source' => "text, which adds text field types. A text field may contain plain text only, or optionally, may use Drupal's input format filters to securely manage rich text input. Text input fields may be either a single line (text field), multiple lines (text area), or for greater input control, a select box, checkbox, or radio buttons. If desired, CCK can validate the input to a set of allowed values.",
'version' => 'none',
))
->values(array(
- 'lid' => '10',
+ 'lid' => '16',
'location' => 'content.module:27',
'textgroup' => 'default',
'source' => 'nodereference, which creates custom references between Drupal nodes. By adding a nodereference field and two different content types, for instance, you can easily create complex parent/child relationships between data (multiple "employee" nodes may contain a nodereference field linking to an "employer" node).',
'version' => 'none',
))
->values(array(
- 'lid' => '11',
+ 'lid' => '17',
'location' => 'content.module:28',
'textgroup' => 'default',
'source' => "userreference, which creates custom references to your sites' user accounts. By adding a userreference field, you can create complex relationships between your site's users and posts. To track user involvement in a post beyond Drupal's standard Authored by field, for instance, add a userreference field named \"Edited by\" to a content type to store a link to an editor's user account page.",
'version' => 'none',
))
->values(array(
- 'lid' => '12',
+ 'lid' => '18',
'location' => 'content.module:29',
'textgroup' => 'default',
'source' => 'fieldgroup, which creates collapsible fieldsets to hold a group of related fields. A fieldset may either be open or closed by default. The order of your fieldsets, and the order of fields within a fieldset, is managed via a drag-and-drop interface provided by content module.',
'version' => 'none',
))
->values(array(
- 'lid' => '13',
+ 'lid' => '19',
'location' => 'content.module:31',
'textgroup' => 'default',
'source' => 'For more information, see the online handbook entry for CCK or the CCK project page.',
'version' => 'none',
))
->values(array(
- 'lid' => '14',
+ 'lid' => '20',
'location' => 'theme/theme.inc:111',
'textgroup' => 'default',
'source' => "Configure how this content type's fields and field labels should be displayed when it's viewed in teaser and full-page mode.",
'version' => 'none',
))
->values(array(
- 'lid' => '15',
+ 'lid' => '21',
'location' => 'theme/theme.inc:114',
'textgroup' => 'default',
'source' => "Configure how this content type's fields should be displayed when it's rendered in the following contexts.",
'version' => 'none',
))
->values(array(
- 'lid' => '16',
+ 'lid' => '22',
'location' => 'content.module:48',
'textgroup' => 'default',
'source' => 'Control the order of fields in the input form.',
'version' => 'none',
))
->values(array(
- 'lid' => '17',
+ 'lid' => '23',
'location' => 'content.module:486, modules/content_multigroup/content_multigroup.module:1422',
'textgroup' => 'default',
'source' => 'This field is required.',
'version' => 'none',
))
->values(array(
- 'lid' => '18',
+ 'lid' => '24',
'location' => 'content.module:490',
'textgroup' => 'default',
'source' => '!title: !required',
'version' => 'none',
))
->values(array(
- 'lid' => '19',
+ 'lid' => '25',
'location' => 'content.module:493, modules/content_multigroup/content_multigroup.module:1434',
'textgroup' => 'default',
'source' => 'Order',
'version' => 'none',
))
->values(array(
- 'lid' => '20',
+ 'lid' => '26',
'location' => 'content.module:1640',
'textgroup' => 'default',
'source' => 'RSS Item',
'version' => 'none',
))
->values(array(
- 'lid' => '21',
+ 'lid' => '27',
'location' => 'content.module:1897',
'textgroup' => 'default',
'source' => 'Search Index',
'version' => 'none',
))
->values(array(
- 'lid' => '22',
+ 'lid' => '28',
'location' => 'content.module:1901',
'textgroup' => 'default',
'source' => 'Search Result',
'version' => 'none',
))
->values(array(
- 'lid' => '23',
+ 'lid' => '29',
'location' => 'content.module:2363',
'textgroup' => 'default',
'source' => 'Language',
'version' => 'none',
))
->values(array(
- 'lid' => '24',
+ 'lid' => '30',
'location' => 'content.module:2377',
'textgroup' => 'default',
'source' => 'Taxonomy',
'version' => 'none',
))
->values(array(
- 'lid' => '25',
+ 'lid' => '31',
'location' => 'content.module:2408',
'textgroup' => 'default',
'source' => 'File attachments',
'version' => 'none',
))
->values(array(
- 'lid' => '26',
+ 'lid' => '32',
'location' => 'content.module:600',
'textgroup' => 'default',
'source' => 'Updating field type %type with module %module.',
'version' => 'none',
))
->values(array(
- 'lid' => '27',
+ 'lid' => '33',
'location' => 'content.module:607',
'textgroup' => 'default',
'source' => 'Updating widget type %type with module %module.',
'version' => 'none',
))
->values(array(
- 'lid' => '28',
+ 'lid' => '34',
'location' => 'content.module:63',
'textgroup' => 'default',
'source' => 'Use PHP input for field settings (dangerous - grant with care)',
'version' => 'none',
))
->values(array(
- 'lid' => '29',
+ 'lid' => '35',
'location' => 'content.module:104',
'textgroup' => 'default',
'source' => 'Manage fields',
'version' => 'none',
))
->values(array(
- 'lid' => '30',
+ 'lid' => '36',
'location' => 'content.module:113',
'textgroup' => 'default',
'source' => 'Display fields',
'version' => 'none',
))
->values(array(
- 'lid' => '31',
+ 'lid' => '37',
'location' => 'content.module:143',
'textgroup' => 'default',
'source' => 'General',
'version' => 'none',
))
->values(array(
- 'lid' => '32',
+ 'lid' => '38',
'location' => 'content.module:149',
'textgroup' => 'default',
'source' => 'Advanced',
'version' => 'none',
))
->values(array(
- 'lid' => '33',
+ 'lid' => '39',
'location' => 'content.module:144',
'textgroup' => 'default',
'source' => 'Remove field',
'version' => 'none',
))
->values(array(
- 'lid' => '34',
+ 'lid' => '40',
'location' => 'content.info:0, includes/content.rules.inc:19;200, includes/views/content.views.inc:178;254',
'textgroup' => 'default',
'source' => 'Content',
'version' => 'none',
))
->values(array(
- 'lid' => '35',
+ 'lid' => '41',
'location' => 'content.info:0',
'textgroup' => 'default',
'source' => 'Allows administrators to define new content types.',
'version' => 'none',
))
->values(array(
- 'lid' => '36',
+ 'lid' => '42',
'location' => 'content.info:0, modules/content_copy/content_copy.info:0, modules/content_multigroup/content_multigroup.info:0, modules/content_permissions/content_permissions.info:0',
'textgroup' => 'default',
'source' => 'CCK',
'version' => 'none',
))
->values(array(
- 'lid' => '37',
+ 'lid' => '43',
'location' => 'modules/text/text.module:41, modules/text/text.info:0',
'textgroup' => 'default',
'source' => 'Text',
'version' => 'none',
))
->values(array(
- 'lid' => '38',
+ 'lid' => '44',
'location' => 'examples/example_field.php:178',
'textgroup' => 'default',
'source' => 'The possible values this field can contain. Enter one value per line, in the format key|label. The key is the value that will be stored in the database and it must match the field storage type, %type. The label is optional and the key will be used as the label if no label is specified.',
'version' => 'none',
))
->values(array(
- 'lid' => '39',
+ 'lid' => '45',
'location' => 'examples/example_field.php:484',
'textgroup' => 'default',
'source' => 'Text area',
'version' => 'none',
))
->values(array(
- 'lid' => '40',
+ 'lid' => '46',
'location' => 'includes/content.admin.inc:148;164;790, modules/fieldgroup/fieldgroup.module:236',
'textgroup' => 'default',
'source' => 'Remove',
'version' => 'none',
))
->values(array(
- 'lid' => '41',
+ 'lid' => '47',
'location' => 'content.module:1868',
'textgroup' => 'default',
'source' => 'Basic',
'version' => 'none',
))
->values(array(
- 'lid' => '42',
+ 'lid' => '48',
'location' => 'content.module:1635 modules/nodereference/nodereference.module:215',
'textgroup' => 'default',
'source' => 'Teaser',
'version' => 'none',
))
->values(array(
- 'lid' => '43',
+ 'lid' => '49',
'location' => 'content.module:1636 modules/nodereference/nodereference.module:210',
'textgroup' => 'default',
'source' => 'Full node',
'version' => 'none',
))
->values(array(
- 'lid' => '44',
+ 'lid' => '50',
'location' => 'content.module:1881;1884',
'textgroup' => 'default',
'source' => 'RSS',
'version' => 'none',
))
->values(array(
- 'lid' => '45',
+ 'lid' => '51',
'location' => 'content.module:1894',
'textgroup' => 'default',
'source' => 'Search',
'version' => 'none',
))
->values(array(
- 'lid' => '46',
+ 'lid' => '52',
'location' => 'content.module:2349;2356',
'textgroup' => 'default',
'source' => 'Node module form.',
'version' => 'none',
))
->values(array(
- 'lid' => '47',
+ 'lid' => '53',
'location' => 'content.module:2364',
'textgroup' => 'default',
'source' => 'Locale module form.',
'version' => 'none',
))
->values(array(
- 'lid' => '48',
+ 'lid' => '54',
'location' => 'content.module:2370',
'textgroup' => 'default',
'source' => 'Menu settings',
'version' => 'none',
))
->values(array(
- 'lid' => '49',
+ 'lid' => '55',
'location' => 'content.module:2371',
'textgroup' => 'default',
'source' => 'Menu module form.',
'version' => 'none',
))
->values(array(
- 'lid' => '50',
+ 'lid' => '56',
'location' => 'content.module:2378',
'textgroup' => 'default',
'source' => 'Taxonomy module form.',
'version' => 'none',
))
->values(array(
- 'lid' => '51',
+ 'lid' => '57',
'location' => 'content.module:2384',
'textgroup' => 'default',
'source' => 'Book',
'version' => 'none',
))
->values(array(
- 'lid' => '52',
+ 'lid' => '58',
'location' => 'content.module:2385',
'textgroup' => 'default',
'source' => 'Book module form.',
'version' => 'none',
))
->values(array(
- 'lid' => '53',
+ 'lid' => '59',
'location' => 'content.module:2391',
'textgroup' => 'default',
'source' => 'Poll title',
'version' => 'none',
))
->values(array(
- 'lid' => '54',
+ 'lid' => '60',
'location' => 'content.module:2392',
'textgroup' => 'default',
'source' => 'Poll module title.',
'version' => 'none',
))
->values(array(
- 'lid' => '55',
+ 'lid' => '61',
'location' => 'content.module:2396',
'textgroup' => 'default',
'source' => 'Poll choices',
'version' => 'none',
))
->values(array(
- 'lid' => '56',
+ 'lid' => '62',
'location' => 'content.module:2397',
'textgroup' => 'default',
'source' => 'Poll module choices.',
'version' => 'none',
))
->values(array(
- 'lid' => '57',
+ 'lid' => '63',
'location' => 'content.module:2401',
'textgroup' => 'default',
'source' => 'Poll settings',
'version' => 'none',
))
->values(array(
- 'lid' => '58',
+ 'lid' => '64',
'location' => 'content.module:2402',
'textgroup' => 'default',
'source' => 'Poll module settings.',
'version' => 'none',
))
->values(array(
- 'lid' => '59',
+ 'lid' => '65',
'location' => 'content.module:2409',
'textgroup' => 'default',
'source' => 'Upload module form.',
'version' => 'none',
))
->values(array(
- 'lid' => '60',
+ 'lid' => '66',
'location' => 'content.module:557;564;0 includes/content.crud.inc:591;629',
'textgroup' => 'default',
'source' => 'content',
'version' => 'none',
))
->values(array(
- 'lid' => '61',
+ 'lid' => '67',
'location' => 'content.module:103 modules/content_copy/content_copy.module:125',
'textgroup' => 'default',
'source' => 'Fields',
'version' => 'none',
))
->values(array(
- 'lid' => '62',
+ 'lid' => '68',
'location' => 'content.install:236',
'textgroup' => 'default',
'source' => "Updates for CCK-related modules are not run until the modules are enabled on the administer modules page. When you enable them, you'll need to return to update.php and run the remaining updates.",
'version' => 'none',
))
->values(array(
- 'lid' => '63',
+ 'lid' => '69',
'location' => 'content.install:239',
'textgroup' => 'default',
'source' => '!module.module has updates but cannot be updated because content.module is not enabled.
If and when content.module is enabled, you will need to re-run the update script. You will continue to see this message until the module is enabled and updates are run.',
'version' => 'none',
))
->values(array(
- 'lid' => '64',
+ 'lid' => '70',
'location' => 'content.install:244',
'textgroup' => 'default',
'source' => '!module.module has updates and is available in the modules folder but is not enabled.
If and when it is enabled, you will need to re-run the update script. You will continue to see this message until the module is enabled and updates are run.',
'version' => 'none',
))
->values(array(
- 'lid' => '65',
+ 'lid' => '71',
'location' => 'content.install:251',
'textgroup' => 'default',
'source' => 'Some updates are still pending. Please return to update.php and run the remaining updates.',
'version' => 'none',
))
->values(array(
- 'lid' => '66',
+ 'lid' => '72',
'location' => '(duplicate) content.install:10',
'textgroup' => 'default',
'source' => 'CCK - No Views integration',
'version' => 'none',
))
->values(array(
- 'lid' => '67',
+ 'lid' => '73',
'location' => '(duplicate) content.install:11',
'textgroup' => 'default',
'source' => 'CCK integration with Views module requires Views 6.x-2.0-rc2 or greater.',
'version' => 'none',
))
->values(array(
- 'lid' => '68',
+ 'lid' => '74',
'location' => 'includes/content.admin.inc:16;212',
'textgroup' => 'default',
'source' => 'Name',
'version' => 'none',
))
->values(array(
- 'lid' => '69',
+ 'lid' => '75',
'location' => 'includes/content.admin.inc:16;212',
'textgroup' => 'default',
'source' => 'Type',
'version' => 'none',
))
->values(array(
- 'lid' => '70',
+ 'lid' => '76',
'location' => 'includes/content.admin.inc:16 modules/fieldgroup/fieldgroup.module:156',
'textgroup' => 'default',
'source' => 'Description',
'version' => 'none',
))
->values(array(
- 'lid' => '71',
+ 'lid' => '77',
'location' => 'includes/content.admin.inc:16;212',
'textgroup' => 'default',
'source' => 'Operations',
'version' => 'none',
))
->values(array(
- 'lid' => '72',
+ 'lid' => '78',
'location' => 'includes/content.admin.inc:30',
'textgroup' => 'default',
'source' => 'edit',
'version' => 'none',
))
->values(array(
- 'lid' => '73',
+ 'lid' => '79',
'location' => 'includes/content.admin.inc:34',
'textgroup' => 'default',
'source' => 'manage fields',
'version' => 'none',
))
->values(array(
- 'lid' => '74',
+ 'lid' => '80',
'location' => 'includes/content.admin.inc:37',
'textgroup' => 'default',
'source' => 'delete',
'version' => 'none',
))
->values(array(
- 'lid' => '75',
+ 'lid' => '81',
'location' => 'includes/content.admin.inc:48',
'textgroup' => 'default',
'source' => 'No content types available.',
'version' => 'none',
))
->values(array(
- 'lid' => '76',
+ 'lid' => '82',
'location' => 'includes/content.admin.inc:55',
'textgroup' => 'default',
'source' => '» Add a new content type',
'version' => 'none',
))
->values(array(
- 'lid' => '77',
+ 'lid' => '83',
'location' => 'includes/content.admin.inc:64;602;856',
'textgroup' => 'default',
'source' => 'Field name',
'version' => 'none',
))
->values(array(
- 'lid' => '78',
+ 'lid' => '84',
'location' => 'includes/content.admin.inc:64;632;643;862',
'textgroup' => 'default',
'source' => 'Field type',
'version' => 'none',
))
->values(array(
- 'lid' => '79',
+ 'lid' => '85',
'location' => 'includes/content.admin.inc:64',
'textgroup' => 'default',
'source' => 'Used in',
'version' => 'none',
))
->values(array(
- 'lid' => '80',
+ 'lid' => '86',
'location' => 'includes/content.admin.inc:71',
'textgroup' => 'default',
'source' => '@field_name (Locked)',
'version' => 'none',
))
->values(array(
- 'lid' => '81',
+ 'lid' => '87',
'location' => 'includes/content.admin.inc:87',
'textgroup' => 'default',
'source' => 'No fields have been defined for any content type yet.',
'version' => 'none',
))
->values(array(
- 'lid' => '82',
+ 'lid' => '88',
'location' => 'includes/content.admin.inc:106',
'textgroup' => 'default',
'source' => 'This content type has inactive fields. Inactive fields are not included in lists of available fields until their modules are enabled.',
'version' => 'none',
))
->values(array(
- 'lid' => '83',
+ 'lid' => '89',
'location' => 'includes/content.admin.inc:108',
'textgroup' => 'default',
'source' => '!field (!field_name) is an inactive !field_type field that uses a !widget_type widget.',
'version' => 'none',
))
->values(array(
- 'lid' => '84',
+ 'lid' => '90',
'location' => 'includes/content.admin.inc:147;163',
'textgroup' => 'default',
'source' => 'Configure',
'version' => 'none',
))
->values(array(
- 'lid' => '85',
+ 'lid' => '91',
'location' => 'includes/content.admin.inc:181',
'textgroup' => 'default',
'source' => 'Locked',
'version' => 'none',
))
->values(array(
- 'lid' => '86',
+ 'lid' => '92',
'location' => 'includes/content.admin.inc:237',
'textgroup' => 'default',
'source' => '- Select a field type -',
'version' => 'none',
))
->values(array(
- 'lid' => '87',
+ 'lid' => '93',
'location' => 'includes/content.admin.inc:238',
'textgroup' => 'default',
'source' => '- Select a widget -',
'version' => 'none',
))
->values(array(
- 'lid' => '88',
+ 'lid' => '94',
'location' => 'includes/content.admin.inc:212;413;623;850, modules/fieldgroup/fieldgroup.module:121',
'textgroup' => 'default',
'source' => 'Label',
'version' => 'none',
))
->values(array(
- 'lid' => '89',
+ 'lid' => '95',
'location' => 'includes/content.admin.inc:253',
'textgroup' => 'default',
'source' => 'Field name (a-z, 0-9, _)',
'version' => 'none',
))
->values(array(
- 'lid' => '90',
+ 'lid' => '96',
'location' => 'includes/content.admin.inc:258',
'textgroup' => 'default',
'source' => 'Type of data to store.',
'version' => 'none',
))
->values(array(
- 'lid' => '91',
+ 'lid' => '97',
'location' => 'includes/content.admin.inc:263;295',
'textgroup' => 'default',
'source' => 'Form element to edit the data.',
'version' => 'none',
))
->values(array(
- 'lid' => '92',
+ 'lid' => '98',
'location' => 'includes/content.admin.inc:279',
'textgroup' => 'default',
'source' => '- Select an existing field -',
'version' => 'none',
))
->values(array(
- 'lid' => '93',
+ 'lid' => '99',
'location' => 'includes/content.admin.inc:290',
'textgroup' => 'default',
'source' => 'Field to share',
'version' => 'none',
))
->values(array(
- 'lid' => '94',
+ 'lid' => '100',
'location' => 'includes/content.admin.inc:324',
'textgroup' => 'default',
'source' => 'Group name (a-z, 0-9, _)',
'version' => 'none',
))
->values(array(
- 'lid' => '95',
+ 'lid' => '101',
'location' => 'includes/content.admin.inc:201;402, modules/fieldgroup/fieldgroup.module:110;363',
'textgroup' => 'default',
'source' => 'Save',
'version' => 'none',
))
->values(array(
- 'lid' => '96',
+ 'lid' => '102',
'location' => 'includes/content.admin.inc:365',
'textgroup' => 'default',
'source' => 'Add new field: you need to provide a label.',
'version' => 'none',
))
->values(array(
- 'lid' => '97',
+ 'lid' => '103',
'location' => 'includes/content.admin.inc:370',
'textgroup' => 'default',
'source' => 'Add new field: you need to provide a field name.',
'version' => 'none',
))
->values(array(
- 'lid' => '98',
+ 'lid' => '104',
'location' => 'includes/content.admin.inc:384',
'textgroup' => 'default',
'source' => 'Add new field: the field name %field_name is invalid. The name must include only lowercase unaccentuated letters, numbers, and underscores.',
'version' => 'none',
))
->values(array(
- 'lid' => '99',
+ 'lid' => '105',
'location' => 'includes/content.admin.inc:387',
'textgroup' => 'default',
'source' => "Add new field: the field name %field_name is too long. The name is limited to 32 characters, including the 'field_' prefix.",
'version' => 'none',
))
->values(array(
- 'lid' => '100',
+ 'lid' => '106',
'location' => 'includes/content.admin.inc:391',
'textgroup' => 'default',
'source' => "Add new field: the name 'field_instance' is a reserved name.",
'version' => 'none',
))
->values(array(
- 'lid' => '101',
+ 'lid' => '107',
'location' => 'includes/content.admin.inc:403',
'textgroup' => 'default',
'source' => 'Add new field: the field name %field_name already exists.',
'version' => 'none',
))
->values(array(
- 'lid' => '102',
+ 'lid' => '108',
'location' => 'includes/content.admin.inc:409',
'textgroup' => 'default',
'source' => 'Add new field: you need to select a field type.',
'version' => 'none',
))
->values(array(
- 'lid' => '103',
+ 'lid' => '109',
'location' => 'includes/content.admin.inc:414',
'textgroup' => 'default',
'source' => 'Add new field: you need to select a widget.',
'version' => 'none',
))
->values(array(
- 'lid' => '104',
+ 'lid' => '110',
'location' => 'includes/content.admin.inc:420',
'textgroup' => 'default',
'source' => 'Add new field: invalid widget.',
'version' => 'none',
))
->values(array(
- 'lid' => '105',
+ 'lid' => '111',
'location' => 'includes/content.admin.inc:441',
'textgroup' => 'default',
'source' => 'Add existing field: you need to provide a label.',
'version' => 'none',
))
->values(array(
- 'lid' => '106',
+ 'lid' => '112',
'location' => 'includes/content.admin.inc:446',
'textgroup' => 'default',
'source' => 'Add existing field: you need to select a field.',
'version' => 'none',
))
->values(array(
- 'lid' => '107',
+ 'lid' => '113',
'location' => 'includes/content.admin.inc:451',
'textgroup' => 'default',
'source' => 'Add existing field: you need to select a widget.',
'version' => 'none',
))
->values(array(
- 'lid' => '108',
+ 'lid' => '114',
'location' => 'includes/content.admin.inc:457',
'textgroup' => 'default',
'source' => 'Add existing field: invalid widget.',
'version' => 'none',
))
->values(array(
- 'lid' => '109',
+ 'lid' => '115',
'location' => 'includes/content.admin.inc:745',
'textgroup' => 'default',
'source' => 'There was a problem creating field %label.',
'version' => 'none',
))
->values(array(
- 'lid' => '110',
+ 'lid' => '116',
'location' => 'includes/content.admin.inc:518',
'textgroup' => 'default',
'source' => 'The field %label cannot be added to a content type because it is locked.',
'version' => 'none',
))
->values(array(
- 'lid' => '111',
+ 'lid' => '117',
'location' => 'includes/content.admin.inc:550',
'textgroup' => 'default',
'source' => 'There was a problem adding field %label.',
'version' => 'none',
))
->values(array(
- 'lid' => '112',
+ 'lid' => '118',
'location' => 'includes/content.admin.inc:571',
'textgroup' => 'default',
'source' => 'There are no fields configured for this content type. You can add new fields on the Manage fields page.',
'version' => 'none',
))
->values(array(
- 'lid' => '113',
+ 'lid' => '119',
'location' => 'includes/content.admin.inc:319;360',
'textgroup' => 'default',
'source' => 'Above',
'version' => 'none',
))
->values(array(
- 'lid' => '114',
+ 'lid' => '120',
'location' => 'includes/content.admin.inc:320',
'textgroup' => 'default',
'source' => 'Inline',
'version' => 'none',
))
->values(array(
- 'lid' => '115',
+ 'lid' => '121',
'location' => 'includes/content.admin.inc:618;661',
'textgroup' => 'default',
'source' => 'Include',
'version' => 'none',
))
->values(array(
- 'lid' => '116',
+ 'lid' => '122',
'location' => 'includes/content.admin.inc:618;661, theme/content-admin-display-overview-form.tpl.php:17',
'textgroup' => 'default',
'source' => 'Exclude',
'version' => 'none',
))
->values(array(
- 'lid' => '117',
+ 'lid' => '123',
'location' => 'includes/content.admin.inc:364',
'textgroup' => 'default',
'source' => 'no styling',
'version' => 'none',
))
->values(array(
- 'lid' => '118',
+ 'lid' => '124',
'location' => 'includes/content.admin.inc:365',
'textgroup' => 'default',
'source' => 'simple',
'version' => 'none',
))
->values(array(
- 'lid' => '119',
+ 'lid' => '125',
'location' => 'includes/content.admin.inc:366',
'textgroup' => 'default',
'source' => 'fieldset',
'version' => 'none',
))
->values(array(
- 'lid' => '120',
+ 'lid' => '126',
'location' => 'includes/content.admin.inc:367',
'textgroup' => 'default',
'source' => 'fieldset - collapsible',
'version' => 'none',
))
->values(array(
- 'lid' => '121',
+ 'lid' => '127',
'location' => 'includes/content.admin.inc:368',
'textgroup' => 'default',
'source' => 'fieldset - collapsed',
'version' => 'none',
))
->values(array(
- 'lid' => '122',
+ 'lid' => '128',
'location' => 'includes/content.admin.inc:460',
'textgroup' => 'default',
'source' => 'Your settings have been saved.',
'version' => 'none',
))
->values(array(
- 'lid' => '123',
+ 'lid' => '129',
'location' => 'includes/content.admin.inc:760',
'textgroup' => 'default',
'source' => '@type: @field (@label)',
'version' => 'none',
))
->values(array(
- 'lid' => '124',
+ 'lid' => '130',
'location' => 'includes/content.admin.inc:597',
'textgroup' => 'default',
'source' => 'Edit basic information',
'version' => 'none',
))
->values(array(
- 'lid' => '125',
+ 'lid' => '131',
'location' => 'includes/content.admin.inc:792',
'textgroup' => 'default',
'source' => 'The machine-readable name of the field. This name cannot be changed.',
'version' => 'none',
))
->values(array(
- 'lid' => '126',
+ 'lid' => '132',
'location' => 'includes/content.admin.inc:626',
'textgroup' => 'default',
'source' => 'A human-readable name to be used as the label for this field in the %type content type.',
'version' => 'none',
))
->values(array(
- 'lid' => '127',
+ 'lid' => '133',
'location' => 'includes/content.admin.inc:646',
'textgroup' => 'default',
'source' => 'The type of data you would like to store in the database with this field. This option cannot be changed.',
'version' => 'none',
))
->values(array(
- 'lid' => '128',
+ 'lid' => '134',
'location' => 'includes/content.admin.inc:651;869',
'textgroup' => 'default',
'source' => 'Widget type',
'version' => 'none',
))
->values(array(
- 'lid' => '129',
+ 'lid' => '135',
'location' => 'includes/content.admin.inc:655',
'textgroup' => 'default',
'source' => 'The type of form element you would like to present to the user when creating this field in the %type content type.',
'version' => 'none',
))
->values(array(
- 'lid' => '130',
+ 'lid' => '136',
'location' => 'includes/content.admin.inc:669',
'textgroup' => 'default',
'source' => 'Continue',
'version' => 'none',
))
->values(array(
- 'lid' => '131',
+ 'lid' => '137',
'location' => 'includes/content.admin.inc:854',
'textgroup' => 'default',
'source' => 'Updated basic settings for field %label.',
'version' => 'none',
))
->values(array(
- 'lid' => '132',
+ 'lid' => '138',
'location' => 'includes/content.admin.inc:858',
'textgroup' => 'default',
'source' => 'There was a problem updating the basic settings for field %label.',
'version' => 'none',
))
->values(array(
- 'lid' => '133',
+ 'lid' => '139',
'location' => 'includes/content.admin.inc:786',
'textgroup' => 'default',
'source' => 'Are you sure you want to remove the field %field?',
'version' => 'none',
))
->values(array(
- 'lid' => '134',
+ 'lid' => '140',
'location' => 'includes/content.admin.inc:789',
'textgroup' => 'default',
'source' => 'If you have any content left in this field, it will be lost. This action cannot be undone.',
'version' => 'none',
))
->values(array(
- 'lid' => '135',
+ 'lid' => '141',
'location' => 'includes/content.admin.inc:790 modules/fieldgroup/fieldgroup.module:236',
'textgroup' => 'default',
'source' => 'Cancel',
'version' => 'none',
))
->values(array(
- 'lid' => '136',
+ 'lid' => '142',
'location' => 'includes/content.admin.inc:894',
'textgroup' => 'default',
'source' => 'This field is locked and cannot be removed.',
'version' => 'none',
))
->values(array(
- 'lid' => '137',
+ 'lid' => '143',
'location' => 'includes/content.admin.inc:808',
'textgroup' => 'default',
'source' => 'Removed field %field from %type.',
'version' => 'none',
))
->values(array(
- 'lid' => '138',
+ 'lid' => '144',
'location' => 'includes/content.admin.inc:813',
'textgroup' => 'default',
'source' => 'There was a problem deleting %field from %type.',
'version' => 'none',
))
->values(array(
- 'lid' => '139',
+ 'lid' => '145',
'location' => 'includes/content.admin.inc:939',
'textgroup' => 'default',
'source' => 'The field %field is locked and cannot be edited.',
'version' => 'none',
))
->values(array(
- 'lid' => '140',
+ 'lid' => '146',
'location' => 'includes/content.admin.inc:846',
'textgroup' => 'default',
'source' => '%type basic information',
'version' => 'none',
))
->values(array(
- 'lid' => '141',
+ 'lid' => '147',
'location' => 'includes/content.admin.inc:876',
'textgroup' => 'default',
'source' => 'Change basic information',
'version' => 'none',
))
->values(array(
- 'lid' => '142',
+ 'lid' => '148',
'location' => 'includes/content.admin.inc:882',
'textgroup' => 'default',
'source' => '%type settings',
'version' => 'none',
))
->values(array(
- 'lid' => '143',
+ 'lid' => '149',
'location' => 'includes/content.admin.inc:883',
'textgroup' => 'default',
'source' => 'These settings apply only to the %field field as it appears in the %type content type.',
'version' => 'none',
))
->values(array(
- 'lid' => '144',
+ 'lid' => '150',
'location' => 'includes/content.admin.inc:897 modules/fieldgroup/fieldgroup.module:143',
'textgroup' => 'default',
'source' => 'Help text',
'version' => 'none',
))
->values(array(
- 'lid' => '145',
+ 'lid' => '151',
'location' => 'includes/content.admin.inc:900',
'textgroup' => 'default',
'source' => 'Instructions to present to the user below this field on the editing form.
Allowed HTML tags: @tags',
'version' => 'none',
))
->values(array(
- 'lid' => '146',
+ 'lid' => '152',
'location' => 'includes/content.admin.inc:908',
'textgroup' => 'default',
'source' => 'Default value',
'version' => 'none',
))
->values(array(
- 'lid' => '147',
+ 'lid' => '153',
'location' => 'examples/example_field.php:182 includes/content.admin.inc:930, modules/number/number.module:137 modules/text/text.module:96',
'textgroup' => 'default',
'source' => 'PHP code',
'version' => 'none',
))
->values(array(
- 'lid' => '148',
+ 'lid' => '154',
'location' => 'includes/content.admin.inc:1083;1238, includes/content.rules.inc:93',
'textgroup' => 'default',
'source' => "'@column' => value for @column",
'version' => 'none',
))
->values(array(
- 'lid' => '149',
+ 'lid' => '155',
'location' => 'includes/content.admin.inc:1085;1240, includes/content.rules.inc:95',
'textgroup' => 'default',
'source' => "return array(\n 0 => array(@columns),\n // You'll usually want to stop here. Provide more values\n // if you want your 'default value' to be multi-valued:\n 1 => array(@columns),\n 2 => ...\n);",
'version' => 'none',
))
->values(array(
- 'lid' => '150',
+ 'lid' => '156',
'location' => 'examples/example_field.php:188 includes/content.admin.inc:951;964, modules/number/number.module:144;153 modules/text/text.module:103;112',
'textgroup' => 'default',
'source' => 'Code',
'version' => 'none',
))
->values(array(
- 'lid' => '151',
+ 'lid' => '157',
'location' => 'includes/content.admin.inc:1093',
'textgroup' => 'default',
'source' => 'Advanced usage only: PHP code that returns a default value. Should not include <?php ?> delimiters. If this field is filled out, the value returned by this code will override any value specified above. Expected format:
!sampleTo figure out the expected format, you can use the devel load tab provided by devel module on a %type content page.', 'version' => 'none', )) ->values(array( - 'lid' => '152', + 'lid' => '158', 'location' => 'includes/content.admin.inc:965 modules/number/number.module:154, modules/text/text.module:113', 'textgroup' => 'default', 'source' => '<none>', 'version' => 'none', )) ->values(array( - 'lid' => '153', + 'lid' => '159', 'location' => 'includes/content.admin.inc:966 modules/number/number.module:155, modules/text/text.module:114', 'textgroup' => 'default', 'source' => "You're not allowed to input PHP code.", 'version' => 'none', )) ->values(array( - 'lid' => '154', + 'lid' => '160', 'location' => 'includes/content.admin.inc:966', 'textgroup' => 'default', 'source' => 'This PHP code was set by an administrator and will override any value specified above.', 'version' => 'none', )) ->values(array( - 'lid' => '155', + 'lid' => '161', 'location' => 'includes/content.admin.inc:973', 'textgroup' => 'default', 'source' => 'Global settings', 'version' => 'none', )) ->values(array( - 'lid' => '156', + 'lid' => '162', 'location' => 'includes/content.admin.inc:974', 'textgroup' => 'default', 'source' => 'These settings apply to the %field field in every content type in which it appears.', 'version' => 'none', )) ->values(array( - 'lid' => '157', + 'lid' => '163', 'location' => 'includes/content.admin.inc:978', 'textgroup' => 'default', 'source' => 'Required', 'version' => 'none', )) ->values(array( - 'lid' => '158', + 'lid' => '164', 'location' => 'includes/content.admin.inc:1119', 'textgroup' => 'default', 'source' => 'Maximum number of values users can enter for this field.', 'version' => 'none', )) ->values(array( - 'lid' => '159', + 'lid' => '165', 'location' => 'includes/content.admin.inc:1121', 'textgroup' => 'default', 'source' => "'Unlimited' will provide an 'Add more' button so the users can add as many values as they like.", 'version' => 'none', )) ->values(array( - 'lid' => '160', + 'lid' => '166', 'location' => 'includes/content.admin.inc:986', 'textgroup' => 'default', 'source' => 'Warning! Changing this setting after data has been created could result in the loss of data!', 'version' => 'none', )) ->values(array( - 'lid' => '161', + 'lid' => '167', 'location' => 'includes/content.admin.inc:983', 'textgroup' => 'default', 'source' => 'Number of values', 'version' => 'none', )) ->values(array( - 'lid' => '162', + 'lid' => '168', 'location' => 'includes/content.admin.inc:984', 'textgroup' => 'default', 'source' => 'Unlimited', 'version' => 'none', )) ->values(array( - 'lid' => '163', + 'lid' => '169', 'location' => 'includes/content.admin.inc:1001', 'textgroup' => 'default', 'source' => 'Save field settings', 'version' => 'none', )) ->values(array( - 'lid' => '164', + 'lid' => '170', 'location' => 'includes/content.admin.inc:1281', 'textgroup' => 'default', 'source' => "The PHP code for 'default value' returned @value, which is invalid.", 'version' => 'none', )) ->values(array( - 'lid' => '165', + 'lid' => '171', 'location' => 'includes/content.admin.inc:1135', 'textgroup' => 'default', 'source' => 'The default value is invalid.', 'version' => 'none', )) ->values(array( - 'lid' => '166', + 'lid' => '172', 'location' => 'includes/content.admin.inc:547', 'textgroup' => 'default', 'source' => 'Added field %label.', 'version' => 'none', )) ->values(array( - 'lid' => '167', + 'lid' => '173', 'location' => 'includes/content.admin.inc:1158', 'textgroup' => 'default', 'source' => 'Saved field %label.', 'version' => 'none', )) ->values(array( - 'lid' => '168', + 'lid' => '174', 'location' => 'includes/content.admin.inc:1463', 'textgroup' => 'default', 'source' => 'Processing', 'version' => 'none', )) ->values(array( - 'lid' => '169', + 'lid' => '175', 'location' => 'includes/content.admin.inc:1464', 'textgroup' => 'default', 'source' => 'The update has encountered an error.', 'version' => 'none', )) ->values(array( - 'lid' => '170', + 'lid' => '176', 'location' => 'includes/content.admin.inc:1478', 'textgroup' => 'default', 'source' => 'The database has been altered and data has been migrated or deleted.', 'version' => 'none', )) ->values(array( - 'lid' => '171', + 'lid' => '177', 'location' => 'includes/content.admin.inc:1481', 'textgroup' => 'default', 'source' => 'An error occurred and database alteration did not complete.', 'version' => 'none', )) ->values(array( - 'lid' => '172', + 'lid' => '178', 'location' => 'includes/content.admin.inc:1584', 'textgroup' => 'default', 'source' => 'Processing %title', 'version' => 'none', )) ->values(array( - 'lid' => '173', + 'lid' => '179', 'location' => 'includes/content.admin.inc:1849', 'textgroup' => 'default', 'source' => '%name must be an integer.', 'version' => 'none', )) ->values(array( - 'lid' => '174', + 'lid' => '180', 'location' => 'includes/content.admin.inc:1859', 'textgroup' => 'default', 'source' => '%name must be a positive integer.', 'version' => 'none', )) ->values(array( - 'lid' => '175', + 'lid' => '181', 'location' => 'includes/content.admin.inc:1869', 'textgroup' => 'default', 'source' => '%name must be a number.', 'version' => 'none', )) ->values(array( - 'lid' => '176', + 'lid' => '182', 'location' => 'includes/content.admin.inc:1482', 'textgroup' => 'default', 'source' => '1 item successfully processed:', 'version' => 'none', )) ->values(array( - 'lid' => '177', + 'lid' => '183', 'location' => 'includes/content.admin.inc:1482', 'textgroup' => 'default', 'source' => '@count items successfully processed:', 'version' => 'none', )) ->values(array( - 'lid' => '178', + 'lid' => '184', 'location' => 'includes/content.crud.inc:591', 'textgroup' => 'default', 'source' => 'Content fields table %old_name has been renamed to %new_name and field instances have been updated.', 'version' => 'none', )) ->values(array( - 'lid' => '179', + 'lid' => '185', 'location' => 'includes/content.crud.inc:629', 'textgroup' => 'default', 'source' => 'The content fields table %name has been deleted.', 'version' => 'none', )) ->values(array( - 'lid' => '180', + 'lid' => '186', 'location' => 'includes/content.node_form.inc:206', 'textgroup' => 'default', 'source' => 'Add another item', 'version' => 'none', )) ->values(array( - 'lid' => '181', + 'lid' => '187', 'location' => 'includes/content.panels.inc:21;35', 'textgroup' => 'default', 'source' => 'Content field', 'version' => 'none', )) ->values(array( - 'lid' => '182', + 'lid' => '188', 'location' => 'includes/content.panels.inc:38', 'textgroup' => 'default', 'source' => 'A content field from the referenced node.', 'version' => 'none', )) ->values(array( - 'lid' => '183', + 'lid' => '189', 'location' => 'includes/content.panels.inc:39, modules/fieldgroup/fieldgroup.panels.inc:31', 'textgroup' => 'default', 'source' => 'Node', 'version' => 'none', )) ->values(array( - 'lid' => '184', + 'lid' => '190', 'location' => 'includes/content.panels.inc:40, modules/fieldgroup/fieldgroup.panels.inc:32', 'textgroup' => 'default', 'source' => 'Node context', 'version' => 'none', )) ->values(array( - 'lid' => '185', + 'lid' => '191', 'location' => 'includes/content.panels.inc:52', 'textgroup' => 'default', 'source' => 'Block title', 'version' => 'none', )) ->values(array( - 'lid' => '186', + 'lid' => '192', 'location' => 'includes/content.panels.inc:55', 'textgroup' => 'default', 'source' => 'Hidden', 'version' => 'none', )) ->values(array( - 'lid' => '187', + 'lid' => '193', 'location' => 'includes/content.panels.inc:57', 'textgroup' => 'default', 'source' => 'Configure how the label is going to be displayed.', 'version' => 'none', )) ->values(array( - 'lid' => '188', + 'lid' => '194', 'location' => 'includes/content.panels.inc:73', 'textgroup' => 'default', 'source' => 'Field / Formatter', 'version' => 'none', )) ->values(array( - 'lid' => '189', + 'lid' => '195', 'location' => 'includes/content.panels.inc:76', 'textgroup' => 'default', 'source' => 'Select a field and formatter.', 'version' => 'none', )) ->values(array( - 'lid' => '190', + 'lid' => '196', 'location' => 'includes/content.panels.inc:92', 'textgroup' => 'default', 'source' => '"@s" field @name', 'version' => 'none', )) ->values(array( - 'lid' => '191', + 'lid' => '197', 'location' => 'includes/content.rules.inc:15', 'textgroup' => 'default', 'source' => 'Populate a field', 'version' => 'none', )) ->values(array( - 'lid' => '192', + 'lid' => '198', 'location' => 'includes/content.rules.inc:23;212', 'textgroup' => 'default', 'source' => 'You should make sure that the used field exists in the given content type.', 'version' => 'none', )) ->values(array( - 'lid' => '193', + 'lid' => '199', 'location' => 'includes/content.admin.inc:413', 'textgroup' => 'default', 'source' => 'Field', 'version' => 'none', )) ->values(array( - 'lid' => '194', + 'lid' => '200', 'location' => 'includes/content.rules.inc:56', 'textgroup' => 'default', 'source' => 'Select the machine-name of the field.', 'version' => 'none', )) ->values(array( - 'lid' => '195', + 'lid' => '201', 'location' => 'includes/content.rules.inc:84', 'textgroup' => 'default', 'source' => 'Advanced: Specify the fields value with PHP code', 'version' => 'none', )) ->values(array( - 'lid' => '196', + 'lid' => '202', 'location' => 'includes/content.rules.inc:102', 'textgroup' => 'default', 'source' => "Advanced usage only: PHP code that returns the value to set. Should not include <?php ?> delimiters. If this field is filled out, the value returned by this code will override any value specified above. Expected format:
!sampleUsing devel.module's 'devel load' tab on a content page might help you figure out the expected format.", 'version' => 'none', )) ->values(array( - 'lid' => '197', + 'lid' => '203', 'location' => 'includes/content.rules.inc:130', 'textgroup' => 'default', 'source' => 'You have to return the default value in the expected format.', 'version' => 'none', )) ->values(array( - 'lid' => '198', + 'lid' => '204', 'location' => 'includes/content.rules.inc:181', 'textgroup' => 'default', 'source' => "Populate @node's field '@field'", 'version' => 'none', )) ->values(array( - 'lid' => '199', + 'lid' => '205', 'location' => 'includes/content.rules.inc:198', 'textgroup' => 'default', 'source' => 'Field has value', 'version' => 'none', )) ->values(array( - 'lid' => '200', + 'lid' => '206', 'location' => 'includes/content.rules.inc:203', 'textgroup' => 'default', 'source' => 'You should make sure that the used field exists in the given content type. The condition returns TRUE, if the selected field has the given value.', 'version' => 'none', )) ->values(array( - 'lid' => '201', + 'lid' => '207', 'location' => 'includes/content.rules.inc:207', 'textgroup' => 'default', 'source' => 'Field has changed', 'version' => 'none', )) ->values(array( - 'lid' => '202', + 'lid' => '208', 'location' => 'includes/content.rules.inc:209', 'textgroup' => 'default', 'source' => 'Content containing changes', 'version' => 'none', )) ->values(array( - 'lid' => '203', + 'lid' => '209', 'location' => 'includes/content.rules.inc:210', 'textgroup' => 'default', 'source' => 'Content not containing changes', 'version' => 'none', )) ->values(array( - 'lid' => '204', + 'lid' => '210', 'location' => 'includes/content.rules.inc:249', 'textgroup' => 'default', 'source' => "@node's field '@field' has value", 'version' => 'none', )) ->values(array( - 'lid' => '205', + 'lid' => '211', 'location' => 'includes/content.rules.inc:269', 'textgroup' => 'default', 'source' => 'Select the machine-name of the field to look at.', 'version' => 'none', )) ->values(array( - 'lid' => '206', + 'lid' => '212', 'location' => 'includes/content.rules.inc:275', 'textgroup' => 'default', 'source' => "@node's field '@field' has been changed", 'version' => 'none', )) ->values(array( - 'lid' => '207', + 'lid' => '213', 'location' => 'includes/content.token.inc:12;15', 'textgroup' => 'default', 'source' => 'Token', 'version' => 'none', )) ->values(array( - 'lid' => '208', + 'lid' => '214', 'location' => 'includes/content.token.inc:60', 'textgroup' => 'default', 'source' => 'Referenced node ID', 'version' => 'none', )) ->values(array( - 'lid' => '209', + 'lid' => '215', 'location' => 'includes/content.token.inc:61', 'textgroup' => 'default', 'source' => 'Referenced node title', 'version' => 'none', )) ->values(array( - 'lid' => '210', + 'lid' => '216', 'location' => 'includes/content.token.inc:83', 'textgroup' => 'default', 'source' => 'Referenced node unfiltered title. WARNING - raw user input.', 'version' => 'none', )) ->values(array( - 'lid' => '211', + 'lid' => '217', 'location' => 'includes/content.token.inc:84', 'textgroup' => 'default', 'source' => 'Formatted html link to the referenced node.', 'version' => 'none', )) ->values(array( - 'lid' => '212', + 'lid' => '218', 'location' => 'includes/content.token.inc:85', 'textgroup' => 'default', 'source' => 'Relative path alias to the referenced node.', 'version' => 'none', )) ->values(array( - 'lid' => '213', + 'lid' => '219', 'location' => 'includes/content.token.inc:86', 'textgroup' => 'default', 'source' => 'Absolute path alias to the referenced node.', 'version' => 'none', )) ->values(array( - 'lid' => '214', + 'lid' => '220', 'location' => 'includes/content.token.inc:86', 'textgroup' => 'default', 'source' => 'Raw number value', 'version' => 'none', )) ->values(array( - 'lid' => '215', + 'lid' => '221', 'location' => 'includes/content.token.inc:87', 'textgroup' => 'default', 'source' => 'Formatted number value', 'version' => 'none', )) ->values(array( - 'lid' => '216', + 'lid' => '222', 'location' => 'includes/content.token.inc:110', 'textgroup' => 'default', 'source' => 'Raw, unfiltered text', 'version' => 'none', )) ->values(array( - 'lid' => '217', + 'lid' => '223', 'location' => 'includes/content.token.inc:111', 'textgroup' => 'default', 'source' => 'Formatted and filtered text', 'version' => 'none', )) ->values(array( - 'lid' => '218', + 'lid' => '224', 'location' => 'includes/content.token.inc:133', 'textgroup' => 'default', 'source' => 'Referenced user ID', 'version' => 'none', )) ->values(array( - 'lid' => '219', + 'lid' => '225', 'location' => 'includes/content.token.inc:134', 'textgroup' => 'default', 'source' => 'Referenced user name', 'version' => 'none', )) ->values(array( - 'lid' => '220', + 'lid' => '226', 'location' => 'includes/content.token.inc:135', 'textgroup' => 'default', 'source' => 'Formatted HTML link to referenced user', 'version' => 'none', )) ->values(array( - 'lid' => '221', + 'lid' => '227', 'location' => 'includes/content.token.inc:164', 'textgroup' => 'default', 'source' => 'Relative path alias to the referenced user.', 'version' => 'none', )) ->values(array( - 'lid' => '222', + 'lid' => '228', 'location' => 'includes/content.token.inc:165', 'textgroup' => 'default', 'source' => 'Absolute path alias to the referenced user.', 'version' => 'none', )) ->values(array( - 'lid' => '223', + 'lid' => '229', 'location' => 'includes/views/content.views.inc:245;261', 'textgroup' => 'default', 'source' => '@label (!name)', 'version' => 'none', )) ->values(array( - 'lid' => '224', + 'lid' => '230', 'location' => 'includes/views/content.views.inc:249', 'textgroup' => 'default', 'source' => '@label (!name) - !column', 'version' => 'none', )) ->values(array( - 'lid' => '225', + 'lid' => '231', 'location' => 'includes/views/content.views.inc:250', 'textgroup' => 'default', 'source' => '@label-truncated - !column', 'version' => 'none', )) ->values(array( - 'lid' => '226', + 'lid' => '232', 'location' => 'includes/content.views.inc:93', 'textgroup' => 'default', 'source' => 'Appears in: @types', 'version' => 'none', )) ->values(array( - 'lid' => '227', + 'lid' => '233', 'location' => 'includes/views/handlers/content_handler_field.inc:59', 'textgroup' => 'default', 'source' => 'None', 'version' => 'none', )) ->values(array( - 'lid' => '228', + 'lid' => '234', 'location' => 'includes/views/handlers/content_handler_field.inc:60', 'textgroup' => 'default', 'source' => 'Widget label (@label)', 'version' => 'none', )) ->values(array( - 'lid' => '229', + 'lid' => '235', 'location' => 'includes/views/handlers/content_handler_field.inc:61', 'textgroup' => 'default', 'source' => 'Custom', 'version' => 'none', )) ->values(array( - 'lid' => '230', + 'lid' => '236', 'location' => 'includes/views/handlers/content_handler_field.inc:67', 'textgroup' => 'default', 'source' => 'Custom label', 'version' => 'none', )) ->values(array( - 'lid' => '231', + 'lid' => '237', 'location' => 'includes/content.views.inc:291', 'textgroup' => 'default', 'source' => 'Format', 'version' => 'none', )) ->values(array( - 'lid' => '232', + 'lid' => '238', 'location' => 'includes/content.views.inc:372', 'textgroup' => 'default', 'source' => 'Group multiple values', 'version' => 'none', )) ->values(array( - 'lid' => '233', + 'lid' => '239', 'location' => 'includes/views/handlers/content_handler_field_multiple.inc:61', 'textgroup' => 'default', 'source' => 'If unchecked, each item in the field will create a new row, which may appear to cause duplicates. This setting is not compatible with click-sorting in table displays.', 'version' => 'none', )) ->values(array( - 'lid' => '234', + 'lid' => '240', 'location' => 'includes/content.views.inc:378', 'textgroup' => 'default', 'source' => 'Show @count value(s)', 'version' => 'none', )) ->values(array( - 'lid' => '235', + 'lid' => '241', 'location' => 'includes/content.views.inc:387', 'textgroup' => 'default', 'source' => 'starting from @count', 'version' => 'none', )) ->values(array( - 'lid' => '236', + 'lid' => '242', 'location' => 'includes/content.views.inc:396', 'textgroup' => 'default', 'source' => 'Reversed (start from last values)', 'version' => 'none', )) ->values(array( - 'lid' => '237', + 'lid' => '243', 'location' => 'includes/views/handlers/content_handler_relationship.inc:40, includes/views/handlers/content_handler_sort.inc:41', 'textgroup' => 'default', 'source' => 'All', 'version' => 'none', )) ->values(array( - 'lid' => '238', + 'lid' => '244', 'location' => 'includes/views/handlers/content_handler_relationship.inc:48, includes/views/handlers/content_handler_sort.inc:49', 'textgroup' => 'default', 'source' => 'Delta', 'version' => 'none', )) ->values(array( - 'lid' => '239', + 'lid' => '245', 'location' => 'includes/views/handlers/content_handler_relationship.inc:49', 'textgroup' => 'default', 'source' => 'The delta allows you to select which item in a multiple value field to key the relationship off of. Select "1" to use the first item, "2" for the second item, and so on. If you select "All", each item in the field will create a new row, which may appear to cause duplicates.', 'version' => 'none', )) ->values(array( - 'lid' => '240', + 'lid' => '246', 'location' => 'includes/views/handlers/content_handler_sort.inc:50', 'textgroup' => 'default', 'source' => 'The delta allows you to select which item in a multiple value field will be used for sorting. Select "1" to use the first item, "2" for the second item, and so on. If you select "All", each item in the field will create a new row, which may appear to cause duplicates.', 'version' => 'none', )) ->values(array( - 'lid' => '241', + 'lid' => '247', 'location' => 'modules/content_copy/content_copy_export_form.tpl.php:9, modules/content_copy/content_copy.module:191;38', 'textgroup' => 'default', 'source' => 'Export', 'version' => 'none', )) ->values(array( - 'lid' => '242', + 'lid' => '248', 'location' => 'modules/content_copy/content_copy.module:97', 'textgroup' => 'default', 'source' => 'This form will process a content type and one or more fields from that type and export the settings. The export created by this process can be copied and pasted as an import into the current or any other database. The import will add the fields to into an existing content type or create a new content type that includes the selected fields.', 'version' => 'none', )) ->values(array( - 'lid' => '243', + 'lid' => '249', 'location' => 'modules/content_copy/content_copy.module:103', 'textgroup' => 'default', 'source' => 'Types', 'version' => 'none', )) ->values(array( - 'lid' => '244', + 'lid' => '250', 'location' => 'modules/content_copy/content_copy.module:107', 'textgroup' => 'default', 'source' => 'Select the content type to export.', 'version' => 'none', )) ->values(array( - 'lid' => '245', + 'lid' => '251', 'location' => 'modules/content_copy/content_copy.module:175', 'textgroup' => 'default', 'source' => 'Export data', 'version' => 'none', )) ->values(array( - 'lid' => '246', + 'lid' => '252', 'location' => 'modules/content_copy/content_copy.module:180', 'textgroup' => 'default', 'source' => 'Copy the export text and paste it into another content type using the import function.', 'version' => 'none', )) ->values(array( - 'lid' => '247', + 'lid' => '253', 'location' => 'modules/content_copy/content_copy.module:184', 'textgroup' => 'default', 'source' => 'Content types', 'version' => 'none', )) ->values(array( - 'lid' => '248', + 'lid' => '254', 'location' => 'modules/content_copy/content_copy.module:308', 'textgroup' => 'default', 'source' => 'Content type', 'version' => 'none', )) ->values(array( - 'lid' => '249', + 'lid' => '255', 'location' => 'modules/content_copy/content_copy.module:309', 'textgroup' => 'default', 'source' => 'Select the content type to import these fields into.
Choose the "Views module" view that selects the nodes that can be referenced.
Note:
The list of nodes that can be referenced can be based on a "Views module" view but no appropriate views were found.
Note:
Choose the "Views module" view that selects the users that can be referenced.
Note:
The list of user that can be referenced can be based on a "Views module" view but no appropriate views were found.
Note:
!sampleUsing !link_devel's 'devel load' tab on a %type content page might help you figure out the expected format.", 'version' => 'none', )) ->values(array( - 'lid' => '493', + 'lid' => '499', 'location' => 'includes/content.admin.inc:986', 'textgroup' => 'default', 'source' => "Select a specific number of values for this field, or 'Unlimited' to provide an 'Add more' button so the users can add as many values as they like.", 'version' => 'none', )) ->values(array( - 'lid' => '494', + 'lid' => '500', 'location' => 'includes/content.admin.inc:1131', 'textgroup' => 'default', 'source' => 'The default value PHP code created @value which is invalid.', 'version' => 'none', )) ->values(array( - 'lid' => '495', + 'lid' => '501', 'location' => 'includes/content.token.inc:62', 'textgroup' => 'default', 'source' => 'Formatted HTML link to the node', 'version' => 'none', )) ->values(array( - 'lid' => '496', + 'lid' => '502', 'location' => 'modules/number/number.module:222', 'textgroup' => 'default', 'source' => 'The value of %name may be no smaller than %min.', 'version' => 'none', )) ->values(array( - 'lid' => '497', + 'lid' => '503', 'location' => 'modules/number/number.module:225', 'textgroup' => 'default', 'source' => 'The value of %name may be no larger than %max.', 'version' => 'none', )) ->values(array( - 'lid' => '498', + 'lid' => '504', 'location' => 'modules/number/number.module:476', 'textgroup' => 'default', 'source' => 'Only numbers and decimals are allowed in %field. %start was changed to %value.', 'version' => 'none', )) ->values(array( - 'lid' => '499', + 'lid' => '505', 'location' => 'modules/number/number.module:494', 'textgroup' => 'default', 'source' => 'Only numbers are allowed in %field. %start was changed to %value.', 'version' => 'none', )) ->values(array( - 'lid' => '500', + 'lid' => '506', 'location' => 'modules/number/number.module:513', 'textgroup' => 'default', 'source' => 'Only numbers and the decimal character (%decimal) are allowed in %field. %start was changed to %value.', 'version' => 'none', )) ->values(array( - 'lid' => '501', + 'lid' => '507', 'location' => 'modules/optionwidgets/optionwidgets.module:10', 'textgroup' => 'default', 'source' => 'Create a list of options as a list in Allowed values or as an array in PHP code. These values will be the same for %field in all content types.', 'version' => 'none', )) -->values(array( - 'lid' => '502', - 'location' => 'misc/tabledrag.js', - 'textgroup' => 'default', - 'source' => 'Drag to re-order', - 'version' => 'none', -)) -->values(array( - 'lid' => '503', - 'location' => 'misc/tabledrag.js', - 'textgroup' => 'default', - 'source' => 'Changes made in this table will not be saved until the form is submitted.', - 'version' => 'none', -)) ->execute(); $connection->schema()->createTable('locales_target', array( @@ -11918,3479 +11964,3479 @@ 'plural', )) ->values(array( - 'lid' => '5', + 'lid' => '11', 'translation' => "Le module Content, composant obligatoire du kit CCK (Content Construction Kit) permet aux administrateurs d'associer des champs personnalisés à des types de contenus. Au sein de Drupal, les types de contenus servent à définir les caractéristiques d'une publication, y compris le titre et la description des champs affichés sur ses pages \"ajouter\" et \"éditer\". Le module Content (et les modules auxiliaires inclus dans CCK) permet d'ajouter des champs personnalisés en plus des champs par défaut \"Titre\" et \"Corps\". Les fonctionnalités de CCK sont accessible via différents onglets sur la page d'administration des types de contenus. (Voir la page d'aide du module Node pour plus d'informations sur les types de contenus).", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '6', + 'lid' => '12', 'translation' => "Lorsque vous ajoutez un champ personnalisé à un type de contenu, vous déterminez son type (c'est-à-dire s'il doit contenir du texte, des nombres ou des références à d'autres objets) et la façon dont il doit être affiché (en tant que champ ou zone de texte, liste de sélection, case à cocher, bouton radio, ou champ à auto-complètement). Un champ peut présenter plusieurs valeurs (par exemple, une \"personne\" peut disposer de plusieurs adresses courriel) ou une seule (par exemple, un \"employé\" possède un numéro d'identification unique). À mesure que vous ajoutez et modifiez des champs, CCK ajuste automatiquement la structure de la base de données en fonction. CCK propose également un certain nombre d'autres fonctionnalités, par exemple un cache intelligent pour vos données personnalisées, des fonctionnalités d'import et d'export pour les définitions de types de contenus, ainsi qu'une intégration à d'autres modules provenant des contributions.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '7', + 'lid' => '13', 'translation' => "Des types de champs personnalisés sont proposés par plusieurs modules optionnels inclus dans CCK (chaque module fournissant un type différent). La page des modules vous permet d'activer ou de désactiver des composants CCK. Une installation par défaut de CCK inclut :", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '8', + 'lid' => '14', 'translation' => "Number, qui ajoute des types de champs numériques (formats entier, décimal ou réel à virgule flottante). Vous pouvez définir un jeu ou un intervalle de valeurs autorisées. Divers formats sont disponibles pour l'affichage des données numériques.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '9', + 'lid' => '15', 'translation' => "Text, qui ajoute des types de champs de texte. Un champ texte peut contenir du texte brut uniquement ou, optionnellement, utiliser les filtres des formats d'entrée que propose Drupal pour gérer en toute sécurité des textes enrichis. Les champs de saisie de texte peuvent être constitués d'une seule ligne (champ texte), de plusieurs lignes (zone de texte) ou, pour un meilleur contrôle des valeurs saisies, une liste de sélection, des cases à cocher ou des boutons radio. Si besoin, CCK peut valider les saisies sur la base d'un ensemble de valeurs autorisées.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '10', + 'lid' => '16', 'translation' => 'Node Reference, qui crée des références personnalisées entre nœuds de Drupal. En ajoutant, par exemple, un champ nodereference et deux types de contenus différents, vous pouvez facilement créer des relations complexes de type parent/enfant entre données (par exemple plusieurs nœuds "employé" peuvent présenter un champ nodereference pointant vers un même nœud "employeur").', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '11', + 'lid' => '17', 'translation' => "User reference, qui crée des références personnalisées vers les comptes des utilisateurs de votre site. En ajoutant un champ userreference, vous pouvez créer des relations complexes entre les utilisateurs de votre site et des publications. Ainsi, pour tracer l'implication d'un utilisateur dans une publication (au delà du champ Drupal standard Écrit par), vous pouvez ajouter à un type de contenu un champ userreference intitulé \"Édité par\" pour enregistrer un lien vers la page du compte utilisateur ayant édité la publication.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '12', + 'lid' => '18', 'translation' => "Fieldgroup, qui crée des groupes de champs liés. Les groupe de champ peuvent être repliés, et vous pouvez choisir qu'ils soient dépliés ou repliés par défaut. L'ordre des groupes de champs, ainsi que l'ordre des champs au sein d'un groupe, est géré grâce à l'interface par glisser-déposer fournie par le module Content.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '13', + 'lid' => '19', 'translation' => "Pour plus d'informations, reportez-vous à l'entrée de manuel en ligne relative à CCK ou à la page du projet CCK.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '14', + 'lid' => '20', 'translation' => 'Configurez ici la manière dont les champs et étiquettes de champs de ce type de contenu doivent être affichées, lorsque le contenu est vu en mode résumé ou en pleine page.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '15', + 'lid' => '21', 'translation' => "Configurez ici la façon dont les champs de ce type de contenu doivent être affichés lorsqu'il est rendu dans les contextes suivants.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '16', + 'lid' => '22', 'translation' => "Contrôlez ici l'ordre des champs dans le formulaire de saisie.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '17', + 'lid' => '23', 'translation' => 'Ce champ est obligatoire.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '18', + 'lid' => '24', 'translation' => '!title : !required', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '19', + 'lid' => '25', 'translation' => 'Ordre', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '20', + 'lid' => '26', 'translation' => 'Élément de flux RSS', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '21', + 'lid' => '27', 'translation' => 'Index de recherche', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '22', + 'lid' => '28', 'translation' => 'Résultat de recherche', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '23', + 'lid' => '29', 'translation' => 'Langue', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '24', + 'lid' => '30', 'translation' => 'Taxonomie', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '25', + 'lid' => '31', 'translation' => 'Fichiers attachés', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '26', + 'lid' => '32', 'translation' => 'Mise à jour du type de champ %type avec le module %module.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '27', + 'lid' => '33', 'translation' => 'Mise à jour du type de widget %widget avec le module %module.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '28', + 'lid' => '34', 'translation' => "Utiliser du code PHP pour le paramétrage des champs (dangereux - à n'autoriser qu'avec précautions)", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '29', + 'lid' => '35', 'translation' => 'Gérer les champs', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '30', + 'lid' => '36', 'translation' => 'Afficher les champs', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '31', + 'lid' => '37', 'translation' => 'Général', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '32', + 'lid' => '38', 'translation' => 'Avancé', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '33', + 'lid' => '39', 'translation' => 'Supprimer un champ', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '34', + 'lid' => '40', 'translation' => 'Content', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '35', + 'lid' => '41', 'translation' => 'Permet aux administrateurs de définir des nouveaux types de contenu.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '36', + 'lid' => '42', 'translation' => 'CCK', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '37', + 'lid' => '43', 'translation' => 'Texte', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '38', + 'lid' => '44', 'translation' => "Les valeurs possibles pour ce champ. Saisissez une valeur par ligne, sous la forme clé|libellé. La clé est la valeur enregistrée dans la base de données, et elle doit correspondre au type de stockage du champ, %type. Le libellé est optionnel et, s'il n'est pas spécifié, la clé sera utilisée comme libellé.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '39', + 'lid' => '45', 'translation' => 'Zone de texte', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '40', + 'lid' => '46', 'translation' => 'Ôter', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '41', + 'lid' => '47', 'translation' => 'Basique', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '42', + 'lid' => '48', 'translation' => 'Résumé', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '43', + 'lid' => '49', 'translation' => 'Nœud complet', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '44', + 'lid' => '50', 'translation' => 'RSS', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '45', + 'lid' => '51', 'translation' => 'Recherche', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '46', + 'lid' => '52', 'translation' => 'Formulaire du module node.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '47', + 'lid' => '53', 'translation' => 'Formulaire du module locale.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '48', + 'lid' => '54', 'translation' => 'Paramètres du menu', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '49', + 'lid' => '55', 'translation' => 'Formulaire du module menu.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '50', + 'lid' => '56', 'translation' => 'Formulaire du module taxonomy.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '51', + 'lid' => '57', 'translation' => 'Livre', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '52', + 'lid' => '58', 'translation' => 'Formulaire du module livre (book).', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '53', + 'lid' => '59', 'translation' => 'Titre du sondage', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '54', + 'lid' => '60', 'translation' => 'Titre du module sondage (Poll)', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '55', + 'lid' => '61', 'translation' => 'Choix du sondage', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '56', + 'lid' => '62', 'translation' => 'Choix du module sondage (poll).', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '57', + 'lid' => '63', 'translation' => 'Paramètrage du sondage', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '58', + 'lid' => '64', 'translation' => 'Paramètres du module sondage (poll).', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '59', + 'lid' => '65', 'translation' => 'Formulaire du module upload.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '60', + 'lid' => '66', 'translation' => 'contenu', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '61', + 'lid' => '67', 'translation' => 'Champs', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '62', + 'lid' => '68', 'translation' => "Les mises à jour des modules liés à CCK ne sont pas exécutées tant que les modules ne sont pas activés sur la page d'administration des modules. Lorsque vous les activerez, vous devrez retourner sur la page update.php et exécuter les mises à jour restantes.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '63', + 'lid' => '69', 'translation' => "!module.module possède des mises à jour mais ne peut pas être mis à jour car content.module n'est pas activé.
!sample. Pour vous faire une idée du format attendu, vous pouvez utiliser l'onglet devel load fourni par le module devel sur une page de contenu de type %type.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '152', + 'lid' => '158', 'translation' => '<aucun>', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '153', + 'lid' => '159', 'translation' => "Vous n'êtes pas autorisé à saisir du code PHP.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '154', + 'lid' => '160', 'translation' => 'Ce code PHP a été inséré par un administrateur et supplantera toute valeur spécifiée ci-dessus.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '155', + 'lid' => '161', 'translation' => 'Paramètres globaux', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '156', + 'lid' => '162', 'translation' => "Ces paramètres s'appliquent au champ '%field' dans tous les types de contenu où il apparaît.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '157', + 'lid' => '163', 'translation' => 'Obligatoire', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '158', + 'lid' => '164', 'translation' => "Le nombre maximum de valeurs qu'un utilisateur peut entrer pour ce champ.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '159', + 'lid' => '165', 'translation' => "'Illimité' fournira un bouton 'Ajouter plus' pour que les utilisateurs puissent ajouter autant de valeurs qu'ils le souhaitent.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '160', + 'lid' => '166', 'translation' => 'Attention ! Changer ce paramètre alors que des données ont déjà été créées peut conduire à perdre des données !', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '161', + 'lid' => '167', 'translation' => 'Nombre de valeurs', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '162', + 'lid' => '168', 'translation' => 'Illimité', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '163', + 'lid' => '169', 'translation' => 'Enregistrer les paramètres du champ', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '164', + 'lid' => '170', 'translation' => "Le code PHP pour la 'valeur par défaut' a retourné @value, qui n'est pas valide.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '165', + 'lid' => '171', 'translation' => 'La valeur par défaut est invalide.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '166', + 'lid' => '172', 'translation' => "Le champ '%label' a été ajouté.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '167', + 'lid' => '173', 'translation' => "Champ '%label' enregistré.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '168', + 'lid' => '174', 'translation' => 'Exécution', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '169', + 'lid' => '175', 'translation' => 'La mise à jour a échoué.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '170', + 'lid' => '176', 'translation' => 'La base de données a été modifiée et des données ont été déplacées ou supprimées.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '171', + 'lid' => '177', 'translation' => 'Une erreur est survenue et a interrompu la modification de la base de données.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '172', + 'lid' => '178', 'translation' => "'%title' en cours de traitement", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '173', + 'lid' => '179', 'translation' => '%name doit être un entier.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '174', + 'lid' => '180', 'translation' => '%name doit être un entier positif.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '175', + 'lid' => '181', 'translation' => '%name doit être un nombre.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '176', + 'lid' => '182', 'translation' => '1 élément traité avec succès :', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '177', + 'lid' => '183', 'translation' => '@count éléments traités avec succès :', 'language' => 'fr', - 'plid' => '176', + 'plid' => '182', 'plural' => '1', )) ->values(array( - 'lid' => '178', + 'lid' => '184', 'translation' => "La table de champs a été renommée de '%old_name' à '%new_name' et les instances des champs ont été mises à jour.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '179', + 'lid' => '185', 'translation' => "La table de champs '%name' a été supprimée.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '180', + 'lid' => '186', 'translation' => 'Ajouter un autre élément', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '181', + 'lid' => '187', 'translation' => 'Contenu du champ', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '182', + 'lid' => '188', 'translation' => 'Un champ de contenu du node référencé.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '183', + 'lid' => '189', 'translation' => 'Noeud', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '184', + 'lid' => '190', 'translation' => 'Contexte du noeud', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '185', + 'lid' => '191', 'translation' => 'Titre du bloc', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '186', + 'lid' => '192', 'translation' => 'Caché', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '187', + 'lid' => '193', 'translation' => "Configurer la manière dont l'étiquette est affichée.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '188', + 'lid' => '194', 'translation' => 'Champ / Formateur', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '189', + 'lid' => '195', 'translation' => 'Sélectionner un champ et un formateur.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '190', + 'lid' => '196', 'translation' => '"@s" champ @name', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '191', + 'lid' => '197', 'translation' => 'Remplir un champ', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '192', + 'lid' => '198', 'translation' => 'Vous devez vous assurer que le champ existe pour le type de contenu donné.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '193', + 'lid' => '199', 'translation' => 'Champ', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '194', + 'lid' => '200', 'translation' => 'Sélectionnez le nom-machine du champ.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '195', + 'lid' => '201', 'translation' => 'Avancé : Préciser les valeurs des champs avec du code PHP', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '196', + 'lid' => '202', 'translation' => "Usage avancé seulement : code PHP retournant la valeur à définir. Ne doit pas contenir les délimiteurs <?php ?>. Si ce champ est rempli, la valeur retournée par ce code écrasera toute valeur spécifiée ci-dessus. Format attendu :
!sample. Pour vous faire une idée du format attendu, vous pouvez utiliser l'onglet devel load fourni par le module devel sur une page de contenu de type %type.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '197', + 'lid' => '203', 'translation' => 'Vous devez retourner la valeur par défaut dans le format attendu.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '198', + 'lid' => '204', 'translation' => "Remplir le champ '@field' de @node", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '199', + 'lid' => '205', 'translation' => 'Le champ possède une valeur', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '200', + 'lid' => '206', 'translation' => 'Vous devez vous assurer que le champ utilisé existe dans le type de contenu donné. La condition retourne TRUE, si le champ sélectionné possède la valeur donnée.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '201', + 'lid' => '207', 'translation' => 'Le champ a été modifié', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '202', + 'lid' => '208', 'translation' => 'Contenu contenant des modifications', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '203', + 'lid' => '209', 'translation' => 'Contenu ne contenant pas de modification', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '204', + 'lid' => '210', 'translation' => "Le champ '@field' de @node possède une valeur", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '205', + 'lid' => '211', 'translation' => 'Sélectionnez le nom-machine du champ à voir.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '206', + 'lid' => '212', 'translation' => "Le champ '@field' de @node a été modifié", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '207', + 'lid' => '213', 'translation' => 'Jeton (Token)', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '208', + 'lid' => '214', 'translation' => 'Identifiant du nœud référencé', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '209', + 'lid' => '215', 'translation' => 'Titre du nœud référencé', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '210', + 'lid' => '216', 'translation' => 'Titre non filtré du noeud référencé. ATTENTION - saisie brute utilisateur.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '211', + 'lid' => '217', 'translation' => 'Lien html formaté vers le noeud référencé.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '212', + 'lid' => '218', 'translation' => 'Alias de chemin relatif vers le noeud référencé.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '213', + 'lid' => '219', 'translation' => 'Alias de chemin absolu vers le noeud référencé.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '214', + 'lid' => '220', 'translation' => 'Valeur numérique brute', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '215', + 'lid' => '221', 'translation' => 'Valeur numérique mise en forme', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '216', + 'lid' => '222', 'translation' => 'Texte brut, non filtré', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '217', + 'lid' => '223', 'translation' => 'Texte filtré et mis en forme', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '218', + 'lid' => '224', 'translation' => "Identifiant de l'utilisateur référencé", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '219', + 'lid' => '225', 'translation' => "Nom de l'utilisateur référencé", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '220', + 'lid' => '226', 'translation' => "Lien HTML mis en forme vers l'utilisateur référencé", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '221', + 'lid' => '227', 'translation' => "Alias de chemin relatif vers l'utilisateur référencé.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '222', + 'lid' => '228', 'translation' => "Alias de chemin absolu vers l'utilisateur référencé.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '223', + 'lid' => '229', 'translation' => '@label (!name)', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '224', + 'lid' => '230', 'translation' => '@label (!name) - !column', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '225', + 'lid' => '231', 'translation' => '@label-truncated - !column', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '226', + 'lid' => '232', 'translation' => 'Apparaît dans : @types', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '227', + 'lid' => '233', 'translation' => 'Aucun', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '228', + 'lid' => '234', 'translation' => 'Étiquette du widget (@label)', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '229', + 'lid' => '235', 'translation' => 'Personnalisé', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '230', + 'lid' => '236', 'translation' => 'Étiquette personnalisée', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '231', + 'lid' => '237', 'translation' => 'Format', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '232', + 'lid' => '238', 'translation' => 'Grouper plusieurs valeurs', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '233', + 'lid' => '239', 'translation' => "Si non coché, chaque élément du champ créera une nouvelle ligne, ce qui pourrait apparemment entraîner des doublons. Ce paramètre n'est pas compatible avec le tri par clic dans l'affichage du tableau. ", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '234', + 'lid' => '240', 'translation' => 'Afficher @count valeur(s)', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '235', + 'lid' => '241', 'translation' => 'en commençant à @count', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '236', + 'lid' => '242', 'translation' => 'Inversé (commencer à partir des dernières valeurs)', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '237', + 'lid' => '243', 'translation' => 'Tous / Toutes', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '238', + 'lid' => '244', 'translation' => 'Delta', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '239', + 'lid' => '245', 'translation' => "Le delta vous permet de sélectionner quel élément d'un champ à valeur multiple sera la clé de la relation. Sélectionnez \"1\" pour utiliser le premier élément, \"2\" pour le second et ainsi de suite. Si vous sélectionnez \"Tous\", chaque élément du champ créera une nouvelle ligne, ce qui pourrait causer des doublons.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '240', + 'lid' => '246', 'translation' => "Le delta vous permet de sélectionner quel élément d'un champ à valeur multiple sera utilisé pour les tris. Sélectionnez \"1\" pour utiliser le premier élément, \"2\" pour le second et ainsi de suite. Si vous sélectionnez \"Tous\", chaque élément du champ créera une nouvelle ligne, ce qui pourrait causer des doublons.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '241', + 'lid' => '247', 'translation' => 'Exporter', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '242', + 'lid' => '248', 'translation' => "Ce formulaire traitera un type de contenu et un ou plusieurs champs de ce type, pour en exporter les paramètres. Le code d'export ainsi généré peut être copié et collé dans la page d'import, vers la base de données courante ou vers une autre base de données. L'opération d'import ajoutera les champs à un type de contenu existant ou créera un nouveau type de contenu intégrant les champs sélectionnés.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '243', + 'lid' => '249', 'translation' => 'Types', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '244', + 'lid' => '250', 'translation' => 'Sélectionner le type de contenu à exporter.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '245', + 'lid' => '251', 'translation' => 'Données exportée', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '246', + 'lid' => '252', 'translation' => "Copiez le texte exporté et collez-le dans le type de contenu de votre choix, à l'aide de la fonction d'import.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '247', + 'lid' => '253', 'translation' => 'Types de contenu', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '248', + 'lid' => '254', 'translation' => 'Type de contenu', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '249', + 'lid' => '255', 'translation' => 'Séléctionnez le type de contenu dans lequel importer ces champs.
Choisissez la vue du "module Views" qui sélectionne les noeuds pouvant être référencés.
Note :
La liste des noeuds pouvant être référencés peut s'appuyer sur une vue du \"module Views\" mais aucune vue appropriée n'a été trouvée.
Note :
Choisissez la vue du "module Views" qui sélectionne les utilisateurs pouvant être référencés.
Note :
La liste d'utilisateurs pouvant être référencés peut s'appueyr sur une vue du \"module Views\", mais aucune vue appropriée n'a été trouvée.
Note :
!sampleVous pouvez utiliser l'onglet 'devel load' du module !link_devel sur un nœud de type '%type' pour mieux comprendre le format attendu.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '493', + 'lid' => '499', 'translation' => "Choisissez un nombre de valeurs pour ce champ, ou 'Illimité' pour proposer un bouton 'Ajouter' aux utilisateurs, de sorte qu'ils peuvent insérer autant de valeurs qu'ils le souhaitent.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '494', + 'lid' => '500', 'translation' => 'Le code PHP de valeur par défaut a créé @value, qui est invalide.', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '495', + 'lid' => '501', 'translation' => 'Lien HTML mis en forme vers le nœud', 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '496', + 'lid' => '502', 'translation' => "La valeur de '%name 'ne peut être plus petite que %min.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '497', + 'lid' => '503', 'translation' => "La valeur de '%name' ne peut pas être plus grande que %max.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '498', + 'lid' => '504', 'translation' => "Seuls des nombres et des décimaux sont autorisés dans '%field'. La valeur saisie, '%start', a été modifié en '%value'.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '499', + 'lid' => '505', 'translation' => "Seuls des nombres sont autorisés dans '%field'. La valeur saisie, '%start', a été modifié en '%value'.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '500', + 'lid' => '506', 'translation' => "Seuls des nombres et le marqueur décimal (%decimal) sont autorisés dans '%field'. La valeur saisie, '%start', a été modifié en '%value'.", 'language' => 'fr', 'plid' => '0', 'plural' => '0', )) ->values(array( - 'lid' => '501', + 'lid' => '507', 'translation' => "Créez une liste d'options en tant que liste dans les Valeurs permises ou en tant que tableau dans le code PHP. Ces valeurs seront identiques pour '%field' dans tous les types de contenus.", 'language' => 'fr', 'plid' => '0', @@ -20694,33 +20740,6 @@ )) ->values(array( 'menu_name' => 'navigation', - 'mlid' => '390', - 'plid' => '0', - 'link_path' => 'admin/content/node-type/story/fields/field_test_two/remove', - 'router_path' => 'admin/content/node-type/story/fields/field_test_two/remove', - 'link_title' => 'Remove field', - 'options' => 'a:0:{}', - 'module' => 'system', - 'hidden' => '-1', - 'external' => '0', - 'has_children' => '0', - 'expanded' => '0', - 'weight' => '0', - 'depth' => '1', - 'customized' => '0', - 'p1' => '390', - 'p2' => '0', - 'p3' => '0', - 'p4' => '0', - 'p5' => '0', - 'p6' => '0', - 'p7' => '0', - 'p8' => '0', - 'p9' => '0', - 'updated' => '0', -)) -->values(array( - 'menu_name' => 'navigation', 'mlid' => '391', 'plid' => '0', 'link_path' => 'admin/content/node-type/test-page/fields/field_test/remove', @@ -22338,7 +22357,7 @@ 'load_functions' => '', 'to_arg_functions' => '', 'access_callback' => '_system_themes_access', - 'access_arguments' => 'a:1:{i:0;O:8:"stdClass":12:{s:8:"filename";s:27:"themes/garland/garland.info";s:4:"name";s:7:"garland";s:4:"type";s:5:"theme";s:5:"owner";s:45:"themes/engines/phptemplate/phptemplate.engine";s:6:"status";s:1:"1";s:8:"throttle";s:1:"0";s:9:"bootstrap";s:1:"0";s:14:"schema_version";s:2:"-1";s:6:"weight";s:1:"0";s:4:"info";a:13:{s:4:"name";s:7:"Garland";s:11:"description";s:66:"Tableless, recolorable, multi-column, fluid width theme (default).";s:7:"version";s:4:"6.37";s:4:"core";s:3:"6.x";s:6:"engine";s:11:"phptemplate";s:11:"stylesheets";a:2:{s:3:"all";a:1:{s:9:"style.css";s:24:"themes/garland/style.css";}s:5:"print";a:1:{s:9:"print.css";s:24:"themes/garland/print.css";}}s:7:"project";s:6:"drupal";s:9:"datestamp";s:10:"1440020160";s:7:"regions";a:5:{s:4:"left";s:12:"Left sidebar";s:5:"right";s:13:"Right sidebar";s:7:"content";s:7:"Content";s:6:"header";s:6:"Header";s:6:"footer";s:6:"Footer";}s:8:"features";a:10:{i:0;s:20:"comment_user_picture";i:1;s:7:"favicon";i:2;s:7:"mission";i:3;s:4:"logo";i:4;s:4:"name";i:5;s:17:"node_user_picture";i:6;s:6:"search";i:7;s:6:"slogan";i:8;s:13:"primary_links";i:9;s:15:"secondary_links";}s:7:"scripts";a:1:{s:9:"script.js";s:24:"themes/garland/script.js";}s:10:"screenshot";s:29:"themes/garland/screenshot.png";s:3:"php";s:5:"4.3.5";}s:11:"stylesheets";a:2:{s:3:"all";a:1:{s:9:"style.css";s:24:"themes/garland/style.css";}s:5:"print";a:1:{s:9:"print.css";s:24:"themes/garland/print.css";}}s:6:"engine";s:11:"phptemplate";}}', + 'access_arguments' => 'a:1:{i:0;O:8:"stdClass":12:{s:8:"filename";s:27:"themes/garland/garland.info";s:4:"name";s:7:"garland";s:4:"type";s:5:"theme";s:5:"owner";s:45:"themes/engines/phptemplate/phptemplate.engine";s:6:"status";s:1:"1";s:8:"throttle";s:1:"0";s:9:"bootstrap";s:1:"0";s:14:"schema_version";s:2:"-1";s:6:"weight";s:1:"0";s:4:"info";a:13:{s:4:"name";s:7:"Garland";s:11:"description";s:66:"Tableless, recolorable, multi-column, fluid width theme (default).";s:7:"version";s:4:"6.35";s:4:"core";s:3:"6.x";s:6:"engine";s:11:"phptemplate";s:11:"stylesheets";a:2:{s:3:"all";a:1:{s:9:"style.css";s:24:"themes/garland/style.css";}s:5:"print";a:1:{s:9:"print.css";s:24:"themes/garland/print.css";}}s:7:"project";s:6:"drupal";s:9:"datestamp";s:10:"1426707431";s:7:"regions";a:5:{s:4:"left";s:12:"Left sidebar";s:5:"right";s:13:"Right sidebar";s:7:"content";s:7:"Content";s:6:"header";s:6:"Header";s:6:"footer";s:6:"Footer";}s:8:"features";a:10:{i:0;s:20:"comment_user_picture";i:1;s:7:"favicon";i:2;s:7:"mission";i:3;s:4:"logo";i:4;s:4:"name";i:5;s:17:"node_user_picture";i:6;s:6:"search";i:7;s:6:"slogan";i:8;s:13:"primary_links";i:9;s:15:"secondary_links";}s:7:"scripts";a:1:{s:9:"script.js";s:24:"themes/garland/script.js";}s:10:"screenshot";s:29:"themes/garland/screenshot.png";s:3:"php";s:5:"4.3.5";}s:11:"stylesheets";a:2:{s:3:"all";a:1:{s:9:"style.css";s:24:"themes/garland/style.css";}s:5:"print";a:1:{s:9:"print.css";s:24:"themes/garland/print.css";}}s:6:"engine";s:11:"phptemplate";}}', 'page_callback' => 'drupal_get_form', 'page_arguments' => 'a:2:{i:0;s:21:"system_theme_settings";i:1;s:7:"garland";}', 'fit' => '31', @@ -22382,7 +22401,7 @@ 'load_functions' => '', 'to_arg_functions' => '', 'access_callback' => '_system_themes_access', - 'access_arguments' => 'a:1:{i:0;O:8:"stdClass":12:{s:8:"filename";s:35:"themes/chameleon/marvin/marvin.info";s:4:"name";s:6:"marvin";s:4:"type";s:5:"theme";s:5:"owner";s:0:"";s:6:"status";s:1:"0";s:8:"throttle";s:1:"0";s:9:"bootstrap";s:1:"0";s:14:"schema_version";s:2:"-1";s:6:"weight";s:1:"0";s:4:"info";a:13:{s:4:"name";s:6:"Marvin";s:11:"description";s:31:"Boxy tabled theme in all grays.";s:7:"regions";a:2:{s:4:"left";s:12:"Left sidebar";s:5:"right";s:13:"Right sidebar";}s:7:"version";s:4:"6.37";s:4:"core";s:3:"6.x";s:10:"base theme";s:9:"chameleon";s:7:"project";s:6:"drupal";s:9:"datestamp";s:10:"1440020160";s:8:"features";a:10:{i:0;s:20:"comment_user_picture";i:1;s:7:"favicon";i:2;s:7:"mission";i:3;s:4:"logo";i:4;s:4:"name";i:5;s:17:"node_user_picture";i:6;s:6:"search";i:7;s:6:"slogan";i:8;s:13:"primary_links";i:9;s:15:"secondary_links";}s:11:"stylesheets";a:1:{s:3:"all";a:1:{s:9:"style.css";s:33:"themes/chameleon/marvin/style.css";}}s:7:"scripts";a:1:{s:9:"script.js";s:33:"themes/chameleon/marvin/script.js";}s:10:"screenshot";s:38:"themes/chameleon/marvin/screenshot.png";s:3:"php";s:5:"4.3.5";}s:11:"stylesheets";a:1:{s:3:"all";a:1:{s:9:"style.css";s:33:"themes/chameleon/marvin/style.css";}}s:10:"base_theme";s:9:"chameleon";}}', + 'access_arguments' => 'a:1:{i:0;O:8:"stdClass":12:{s:8:"filename";s:35:"themes/chameleon/marvin/marvin.info";s:4:"name";s:6:"marvin";s:4:"type";s:5:"theme";s:5:"owner";s:0:"";s:6:"status";s:1:"0";s:8:"throttle";s:1:"0";s:9:"bootstrap";s:1:"0";s:14:"schema_version";s:2:"-1";s:6:"weight";s:1:"0";s:4:"info";a:13:{s:4:"name";s:6:"Marvin";s:11:"description";s:31:"Boxy tabled theme in all grays.";s:7:"regions";a:2:{s:4:"left";s:12:"Left sidebar";s:5:"right";s:13:"Right sidebar";}s:7:"version";s:4:"6.35";s:4:"core";s:3:"6.x";s:10:"base theme";s:9:"chameleon";s:7:"project";s:6:"drupal";s:9:"datestamp";s:10:"1426707431";s:8:"features";a:10:{i:0;s:20:"comment_user_picture";i:1;s:7:"favicon";i:2;s:7:"mission";i:3;s:4:"logo";i:4;s:4:"name";i:5;s:17:"node_user_picture";i:6;s:6:"search";i:7;s:6:"slogan";i:8;s:13:"primary_links";i:9;s:15:"secondary_links";}s:11:"stylesheets";a:1:{s:3:"all";a:1:{s:9:"style.css";s:33:"themes/chameleon/marvin/style.css";}}s:7:"scripts";a:1:{s:9:"script.js";s:33:"themes/chameleon/marvin/script.js";}s:10:"screenshot";s:38:"themes/chameleon/marvin/screenshot.png";s:3:"php";s:5:"4.3.5";}s:11:"stylesheets";a:1:{s:3:"all";a:1:{s:9:"style.css";s:33:"themes/chameleon/marvin/style.css";}}s:10:"base_theme";s:9:"chameleon";}}', 'page_callback' => 'drupal_get_form', 'page_arguments' => 'a:2:{i:0;s:21:"system_theme_settings";i:1;s:6:"marvin";}', 'fit' => '31', @@ -22404,7 +22423,7 @@ 'load_functions' => '', 'to_arg_functions' => '', 'access_callback' => '_system_themes_access', - 'access_arguments' => 'a:1:{i:0;O:8:"stdClass":13:{s:8:"filename";s:37:"themes/garland/minnelli/minnelli.info";s:4:"name";s:8:"minnelli";s:4:"type";s:5:"theme";s:5:"owner";s:45:"themes/engines/phptemplate/phptemplate.engine";s:6:"status";s:1:"0";s:8:"throttle";s:1:"0";s:9:"bootstrap";s:1:"0";s:14:"schema_version";s:2:"-1";s:6:"weight";s:1:"0";s:4:"info";a:14:{s:4:"name";s:8:"Minnelli";s:11:"description";s:56:"Tableless, recolorable, multi-column, fixed width theme.";s:7:"version";s:4:"6.37";s:4:"core";s:3:"6.x";s:10:"base theme";s:7:"garland";s:11:"stylesheets";a:1:{s:3:"all";a:1:{s:12:"minnelli.css";s:36:"themes/garland/minnelli/minnelli.css";}}s:7:"project";s:6:"drupal";s:9:"datestamp";s:10:"1440020160";s:7:"regions";a:5:{s:4:"left";s:12:"Left sidebar";s:5:"right";s:13:"Right sidebar";s:7:"content";s:7:"Content";s:6:"header";s:6:"Header";s:6:"footer";s:6:"Footer";}s:8:"features";a:10:{i:0;s:20:"comment_user_picture";i:1;s:7:"favicon";i:2;s:7:"mission";i:3;s:4:"logo";i:4;s:4:"name";i:5;s:17:"node_user_picture";i:6;s:6:"search";i:7;s:6:"slogan";i:8;s:13:"primary_links";i:9;s:15:"secondary_links";}s:7:"scripts";a:1:{s:9:"script.js";s:33:"themes/garland/minnelli/script.js";}s:10:"screenshot";s:38:"themes/garland/minnelli/screenshot.png";s:3:"php";s:5:"4.3.5";s:6:"engine";s:11:"phptemplate";}s:11:"stylesheets";a:1:{s:3:"all";a:1:{s:12:"minnelli.css";s:36:"themes/garland/minnelli/minnelli.css";}}s:6:"engine";s:11:"phptemplate";s:10:"base_theme";s:7:"garland";}}', + 'access_arguments' => 'a:1:{i:0;O:8:"stdClass":13:{s:8:"filename";s:37:"themes/garland/minnelli/minnelli.info";s:4:"name";s:8:"minnelli";s:4:"type";s:5:"theme";s:5:"owner";s:45:"themes/engines/phptemplate/phptemplate.engine";s:6:"status";s:1:"0";s:8:"throttle";s:1:"0";s:9:"bootstrap";s:1:"0";s:14:"schema_version";s:2:"-1";s:6:"weight";s:1:"0";s:4:"info";a:14:{s:4:"name";s:8:"Minnelli";s:11:"description";s:56:"Tableless, recolorable, multi-column, fixed width theme.";s:7:"version";s:4:"6.35";s:4:"core";s:3:"6.x";s:10:"base theme";s:7:"garland";s:11:"stylesheets";a:1:{s:3:"all";a:1:{s:12:"minnelli.css";s:36:"themes/garland/minnelli/minnelli.css";}}s:7:"project";s:6:"drupal";s:9:"datestamp";s:10:"1426707431";s:7:"regions";a:5:{s:4:"left";s:12:"Left sidebar";s:5:"right";s:13:"Right sidebar";s:7:"content";s:7:"Content";s:6:"header";s:6:"Header";s:6:"footer";s:6:"Footer";}s:8:"features";a:10:{i:0;s:20:"comment_user_picture";i:1;s:7:"favicon";i:2;s:7:"mission";i:3;s:4:"logo";i:4;s:4:"name";i:5;s:17:"node_user_picture";i:6;s:6:"search";i:7;s:6:"slogan";i:8;s:13:"primary_links";i:9;s:15:"secondary_links";}s:7:"scripts";a:1:{s:9:"script.js";s:33:"themes/garland/minnelli/script.js";}s:10:"screenshot";s:38:"themes/garland/minnelli/screenshot.png";s:3:"php";s:5:"4.3.5";s:6:"engine";s:11:"phptemplate";}s:11:"stylesheets";a:1:{s:3:"all";a:1:{s:12:"minnelli.css";s:36:"themes/garland/minnelli/minnelli.css";}}s:6:"engine";s:11:"phptemplate";s:10:"base_theme";s:7:"garland";}}', 'page_callback' => 'drupal_get_form', 'page_arguments' => 'a:2:{i:0;s:21:"system_theme_settings";i:1;s:8:"minnelli";}', 'fit' => '31', @@ -22426,7 +22445,7 @@ 'load_functions' => '', 'to_arg_functions' => '', 'access_callback' => '_system_themes_access', - 'access_arguments' => 'a:1:{i:0;O:8:"stdClass":12:{s:8:"filename";s:33:"themes/pushbutton/pushbutton.info";s:4:"name";s:10:"pushbutton";s:4:"type";s:5:"theme";s:5:"owner";s:45:"themes/engines/phptemplate/phptemplate.engine";s:6:"status";s:1:"0";s:8:"throttle";s:1:"0";s:9:"bootstrap";s:1:"0";s:14:"schema_version";s:2:"-1";s:6:"weight";s:1:"0";s:4:"info";a:13:{s:4:"name";s:10:"Pushbutton";s:11:"description";s:52:"Tabled, multi-column theme in blue and orange tones.";s:7:"version";s:4:"6.37";s:4:"core";s:3:"6.x";s:6:"engine";s:11:"phptemplate";s:7:"project";s:6:"drupal";s:9:"datestamp";s:10:"1440020160";s:7:"regions";a:5:{s:4:"left";s:12:"Left sidebar";s:5:"right";s:13:"Right sidebar";s:7:"content";s:7:"Content";s:6:"header";s:6:"Header";s:6:"footer";s:6:"Footer";}s:8:"features";a:10:{i:0;s:20:"comment_user_picture";i:1;s:7:"favicon";i:2;s:7:"mission";i:3;s:4:"logo";i:4;s:4:"name";i:5;s:17:"node_user_picture";i:6;s:6:"search";i:7;s:6:"slogan";i:8;s:13:"primary_links";i:9;s:15:"secondary_links";}s:11:"stylesheets";a:1:{s:3:"all";a:1:{s:9:"style.css";s:27:"themes/pushbutton/style.css";}}s:7:"scripts";a:1:{s:9:"script.js";s:27:"themes/pushbutton/script.js";}s:10:"screenshot";s:32:"themes/pushbutton/screenshot.png";s:3:"php";s:5:"4.3.5";}s:11:"stylesheets";a:1:{s:3:"all";a:1:{s:9:"style.css";s:27:"themes/pushbutton/style.css";}}s:6:"engine";s:11:"phptemplate";}}', + 'access_arguments' => 'a:1:{i:0;O:8:"stdClass":12:{s:8:"filename";s:33:"themes/pushbutton/pushbutton.info";s:4:"name";s:10:"pushbutton";s:4:"type";s:5:"theme";s:5:"owner";s:45:"themes/engines/phptemplate/phptemplate.engine";s:6:"status";s:1:"0";s:8:"throttle";s:1:"0";s:9:"bootstrap";s:1:"0";s:14:"schema_version";s:2:"-1";s:6:"weight";s:1:"0";s:4:"info";a:13:{s:4:"name";s:10:"Pushbutton";s:11:"description";s:52:"Tabled, multi-column theme in blue and orange tones.";s:7:"version";s:4:"6.35";s:4:"core";s:3:"6.x";s:6:"engine";s:11:"phptemplate";s:7:"project";s:6:"drupal";s:9:"datestamp";s:10:"1426707431";s:7:"regions";a:5:{s:4:"left";s:12:"Left sidebar";s:5:"right";s:13:"Right sidebar";s:7:"content";s:7:"Content";s:6:"header";s:6:"Header";s:6:"footer";s:6:"Footer";}s:8:"features";a:10:{i:0;s:20:"comment_user_picture";i:1;s:7:"favicon";i:2;s:7:"mission";i:3;s:4:"logo";i:4;s:4:"name";i:5;s:17:"node_user_picture";i:6;s:6:"search";i:7;s:6:"slogan";i:8;s:13:"primary_links";i:9;s:15:"secondary_links";}s:11:"stylesheets";a:1:{s:3:"all";a:1:{s:9:"style.css";s:27:"themes/pushbutton/style.css";}}s:7:"scripts";a:1:{s:9:"script.js";s:27:"themes/pushbutton/script.js";}s:10:"screenshot";s:32:"themes/pushbutton/screenshot.png";s:3:"php";s:5:"4.3.5";}s:11:"stylesheets";a:1:{s:3:"all";a:1:{s:9:"style.css";s:27:"themes/pushbutton/style.css";}}s:6:"engine";s:11:"phptemplate";}}', 'page_callback' => 'drupal_get_form', 'page_arguments' => 'a:2:{i:0;s:21:"system_theme_settings";i:1;s:10:"pushbutton";}', 'fit' => '31', @@ -23286,7 +23305,7 @@ 'access_callback' => 'user_access', 'access_arguments' => 'a:1:{i:0;s:24:"administer content types";}', 'page_callback' => 'drupal_get_form', - 'page_arguments' => 'a:2:{i:0;s:14:"node_type_form";i:1;O:8:"stdClass":14:{s:4:"type";s:7:"company";s:4:"name";s:7:"Company";s:6:"module";s:4:"node";s:11:"description";s:17:"Company node type";s:4:"help";s:0:"";s:9:"has_title";s:1:"1";s:11:"title_label";s:4:"Name";s:8:"has_body";s:1:"1";s:10:"body_label";s:11:"Description";s:14:"min_word_count";s:2:"20";s:6:"custom";s:1:"0";s:8:"modified";s:1:"0";s:6:"locked";s:1:"0";s:9:"orig_type";s:7:"company";}}', + 'page_arguments' => 'a:2:{i:0;s:14:"node_type_form";i:1;O:8:"stdClass":14:{s:4:"type";s:7:"company";s:4:"name";s:7:"Company";s:6:"module";s:4:"node";s:11:"description";s:17:"Company node type";s:4:"help";s:0:"";s:9:"has_title";s:1:"1";s:11:"title_label";s:4:"Name";s:8:"has_body";s:1:"1";s:10:"body_label";s:11:"Description";s:14:"min_word_count";s:1:"0";s:6:"custom";s:1:"0";s:8:"modified";s:1:"1";s:6:"locked";s:1:"0";s:9:"orig_type";s:7:"company";}}', 'fit' => '15', 'number_parts' => '4', 'tab_parent' => '', @@ -23308,7 +23327,7 @@ 'access_callback' => 'user_access', 'access_arguments' => 'a:1:{i:0;s:24:"administer content types";}', 'page_callback' => 'drupal_get_form', - 'page_arguments' => 'a:2:{i:0;s:24:"node_type_delete_confirm";i:1;O:8:"stdClass":14:{s:4:"type";s:7:"company";s:4:"name";s:7:"Company";s:6:"module";s:4:"node";s:11:"description";s:17:"Company node type";s:4:"help";s:0:"";s:9:"has_title";s:1:"1";s:11:"title_label";s:4:"Name";s:8:"has_body";s:1:"1";s:10:"body_label";s:11:"Description";s:14:"min_word_count";s:2:"20";s:6:"custom";s:1:"0";s:8:"modified";s:1:"0";s:6:"locked";s:1:"0";s:9:"orig_type";s:7:"company";}}', + 'page_arguments' => 'a:2:{i:0;s:24:"node_type_delete_confirm";i:1;O:8:"stdClass":14:{s:4:"type";s:7:"company";s:4:"name";s:7:"Company";s:6:"module";s:4:"node";s:11:"description";s:17:"Company node type";s:4:"help";s:0:"";s:9:"has_title";s:1:"1";s:11:"title_label";s:4:"Name";s:8:"has_body";s:1:"1";s:10:"body_label";s:11:"Description";s:14:"min_word_count";s:1:"0";s:6:"custom";s:1:"0";s:8:"modified";s:1:"1";s:6:"locked";s:1:"0";s:9:"orig_type";s:7:"company";}}', 'fit' => '31', 'number_parts' => '5', 'tab_parent' => '', @@ -23418,7 +23437,7 @@ 'access_callback' => 'user_access', 'access_arguments' => 'a:1:{i:0;s:24:"administer content types";}', 'page_callback' => 'drupal_get_form', - 'page_arguments' => 'a:2:{i:0;s:14:"node_type_form";i:1;O:8:"stdClass":14:{s:4:"type";s:7:"company";s:4:"name";s:7:"Company";s:6:"module";s:4:"node";s:11:"description";s:17:"Company node type";s:4:"help";s:0:"";s:9:"has_title";s:1:"1";s:11:"title_label";s:4:"Name";s:8:"has_body";s:1:"1";s:10:"body_label";s:11:"Description";s:14:"min_word_count";s:2:"20";s:6:"custom";s:1:"0";s:8:"modified";s:1:"0";s:6:"locked";s:1:"0";s:9:"orig_type";s:7:"company";}}', + 'page_arguments' => 'a:2:{i:0;s:14:"node_type_form";i:1;O:8:"stdClass":14:{s:4:"type";s:7:"company";s:4:"name";s:7:"Company";s:6:"module";s:4:"node";s:11:"description";s:17:"Company node type";s:4:"help";s:0:"";s:9:"has_title";s:1:"1";s:11:"title_label";s:4:"Name";s:8:"has_body";s:1:"1";s:10:"body_label";s:11:"Description";s:14:"min_word_count";s:1:"0";s:6:"custom";s:1:"0";s:8:"modified";s:1:"1";s:6:"locked";s:1:"0";s:9:"orig_type";s:7:"company";}}', 'fit' => '31', 'number_parts' => '5', 'tab_parent' => 'admin/content/node-type/company', @@ -29589,18 +29608,35 @@ ->values(array( 'nid' => '9', 'vid' => '12', - 'type' => 'story', - 'language' => '', - 'title' => 'Once upon a time', + 'type' => 'article', + 'language' => 'en', + 'title' => 'The Real McCoy', 'uid' => '1', 'status' => '1', - 'created' => '1444671588', - 'changed' => '1444671588', + 'created' => '1444238800', + 'changed' => '1444238808', 'comment' => '2', 'promote' => '1', 'moderate' => '0', 'sticky' => '0', - 'tnid' => '0', + 'tnid' => '9', + 'translate' => '0', +)) +->values(array( + 'nid' => '10', + 'vid' => '13', + 'type' => 'article', + 'language' => 'fr', + 'title' => 'Le Vrai McCoy', + 'uid' => '1', + 'status' => '1', + 'created' => '1444239050', + 'changed' => '1444239050', + 'comment' => '2', + 'promote' => '1', + 'moderate' => '0', + 'sticky' => '0', + 'tnid' => '9', 'translate' => '0', )) ->execute(); @@ -29748,7 +29784,14 @@ )) ->values(array( 'nid' => '9', - 'last_comment_timestamp' => '1444671588', + 'last_comment_timestamp' => '1444238800', + 'last_comment_name' => NULL, + 'last_comment_uid' => '1', + 'comment_count' => '0', +)) +->values(array( + 'nid' => '10', + 'last_comment_timestamp' => '1444239050', 'last_comment_name' => NULL, 'last_comment_uid' => '1', 'comment_count' => '0', @@ -29989,11 +30032,22 @@ 'nid' => '9', 'vid' => '12', 'uid' => '1', - 'title' => 'Once upon a time', - 'body' => 'Come on kid, go to sleep.', - 'teaser' => 'Come on kid, go to sleep.', + 'title' => 'The Real McCoy', + 'body' => "In the original, Queen's English.", + 'teaser' => "In the original, Queen's English.", + 'log' => '', + 'timestamp' => '1444238808', + 'format' => '1', +)) +->values(array( + 'nid' => '10', + 'vid' => '13', + 'uid' => '1', + 'title' => 'Le Vrai McCoy', + 'body' => 'Ooh là là!', + 'teaser' => 'Ooh là là!', 'log' => '', - 'timestamp' => '1444671588', + 'timestamp' => '1444239050', 'format' => '1', )) ->execute(); @@ -30130,9 +30184,9 @@ 'title_label' => 'Name', 'has_body' => '1', 'body_label' => 'Description', - 'min_word_count' => '20', + 'min_word_count' => '0', 'custom' => '0', - 'modified' => '0', + 'modified' => '1', 'locked' => '0', 'orig_type' => 'company', )) @@ -32893,12 +32947,16 @@ 'value' => 's:1:"2";', )) ->values(array( + 'name' => 'comment_company', + 'value' => 's:1:"2";', +)) +->values(array( 'name' => 'comment_controls_article', 'value' => 'i:3;', )) ->values(array( 'name' => 'comment_controls_company', - 'value' => 'i:3;', + 'value' => 's:1:"3";', )) ->values(array( 'name' => 'comment_controls_employee', @@ -32938,7 +32996,7 @@ )) ->values(array( 'name' => 'comment_default_mode_company', - 'value' => 'i:4;', + 'value' => 's:1:"4";', )) ->values(array( 'name' => 'comment_default_mode_employee', @@ -32978,7 +33036,7 @@ )) ->values(array( 'name' => 'comment_default_order_company', - 'value' => 'i:1;', + 'value' => 's:1:"1";', )) ->values(array( 'name' => 'comment_default_order_employee', @@ -33018,7 +33076,7 @@ )) ->values(array( 'name' => 'comment_default_per_page_company', - 'value' => 'i:50;', + 'value' => 's:2:"50";', )) ->values(array( 'name' => 'comment_default_per_page_employee', @@ -33058,7 +33116,7 @@ )) ->values(array( 'name' => 'comment_form_location_company', - 'value' => 'i:0;', + 'value' => 's:1:"0";', )) ->values(array( 'name' => 'comment_form_location_employee', @@ -33102,7 +33160,7 @@ )) ->values(array( 'name' => 'comment_preview_company', - 'value' => 'i:1;', + 'value' => 's:1:"1";', )) ->values(array( 'name' => 'comment_preview_employee', @@ -33146,7 +33204,7 @@ )) ->values(array( 'name' => 'comment_subject_field_company', - 'value' => 'i:1;', + 'value' => 's:1:"1";', )) ->values(array( 'name' => 'comment_subject_field_employee', @@ -33509,6 +33567,10 @@ 'value' => 's:5:"never";', )) ->values(array( + 'name' => 'event_nodeapi_company', + 'value' => 's:5:"never";', +)) +->values(array( 'name' => 'event_nodeapi_event', 'value' => 's:3:"all";', )) @@ -33566,7 +33628,11 @@ )) ->values(array( 'name' => 'form_build_id_article', - 'value' => 's:48:"form-mXZfFJxcCFGB80PPYtNOuwYbho6-xKTvrRLb3TAMkic";', + 'value' => 's:48:"form-t2zKJflpBD4rpYoGQH33ckjjWAYdo5lF3Hl1O_YnWyE";', +)) +->values(array( + 'name' => 'form_build_id_company', + 'value' => 's:48:"form-jFw2agRukPxjG5dG-N6joZLyoxXmCoxTzua0HUciqK0";', )) ->values(array( 'name' => 'forum_block_num_0', @@ -33602,13 +33668,17 @@ )) ->values(array( 'name' => 'javascript_parsed', - 'value' => 'a:0:{}', + 'value' => 'a:16:{i:0;s:14:"misc/jquery.js";i:1;s:14:"misc/drupal.js";i:2;s:19:"misc/tableheader.js";i:3;s:16:"misc/collapse.js";i:4;s:12:"misc/form.js";i:5;s:19:"misc/tableselect.js";i:6;s:17:"misc/tabledrag.js";i:7;s:32:"sites/all/modules/cck/content.js";i:8;s:16:"misc/textarea.js";i:9;s:19:"misc/jquery.form.js";i:10;s:12:"misc/ahah.js";i:11;s:20:"misc/autocomplete.js";i:12;s:14:"misc/teaser.js";s:10:"refresh:fr";s:7:"waiting";i:13;s:16:"misc/progress.js";i:14;s:13:"misc/batch.js";}', )) ->values(array( 'name' => 'language_content_type_article', 'value' => 's:1:"2";', )) ->values(array( + 'name' => 'language_content_type_company', + 'value' => 's:1:"0";', +)) +->values(array( 'name' => 'language_count', 'value' => 'i:2;', )) @@ -33653,6 +33723,10 @@ 'value' => 'a:1:{i:0;s:6:"status";}', )) ->values(array( + 'name' => 'node_options_company', + 'value' => 'a:2:{i:0;s:6:"status";i:1;s:7:"promote";}', +)) +->values(array( 'name' => 'node_options_forum', 'value' => 'a:1:{i:0;s:6:"status";}', )) @@ -33849,6 +33923,10 @@ 'value' => 'b:0;', )) ->values(array( + 'name' => 'upload_company', + 'value' => 's:1:"1";', +)) +->values(array( 'name' => 'upload_page', 'value' => 'b:1;', )) diff --git a/core/modules/node/src/Plugin/migrate/source/d6/Node.php b/core/modules/node/src/Plugin/migrate/source/d6/Node.php index b8a4d7d..e3ca482 100644 --- a/core/modules/node/src/Plugin/migrate/source/d6/Node.php +++ b/core/modules/node/src/Plugin/migrate/source/d6/Node.php @@ -7,6 +7,8 @@ namespace Drupal\node\Plugin\migrate\source\d6; +use Drupal\Core\Database\Query\Condition; +use Drupal\Core\Database\Query\SelectInterface; use Drupal\migrate\Row; use Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase; @@ -59,7 +61,6 @@ public function query() { 'translate', )) ->fields('nr', array( - 'vid', 'title', 'body', 'teaser', @@ -75,6 +76,8 @@ public function query() { $query->condition('type', $this->configuration['node_type']); } + $this->addTranslationConditions($query); + return $query; } @@ -92,6 +95,7 @@ protected function initializeIterator() { public function fields() { $fields = array( 'nid' => $this->t('Node ID'), + 'vid' => $this->t('Revision ID'), 'type' => $this->t('Type'), 'title' => $this->t('Title'), 'body' => $this->t('Body'), @@ -256,4 +260,21 @@ public function getIds() { return $ids; } + /** + * Add conditions related to translations. + * + * @param $query + */ + protected function addTranslationConditions(SelectInterface $query) { + // Use the maximum vid for each translation set. + $subquery = $this->select('node', 'n'); + $subquery->addExpression("CASE n.tnid WHEN 0 THEN n.nid ELSE n.tnid END", + 'translation_set'); + $subquery->groupBy('translation_set'); + $subquery->addExpression('MAX(vid)', 'vid'); + + $query->innerJoin($subquery, 'max_vid', 'n.nid = max_vid.translation_set'); + $query->fields('max_vid', ['vid']); + } + } diff --git a/core/modules/node/src/Plugin/migrate/source/d6/NodeRevision.php b/core/modules/node/src/Plugin/migrate/source/d6/NodeRevision.php index 8f426c0..faf8e35 100644 --- a/core/modules/node/src/Plugin/migrate/source/d6/NodeRevision.php +++ b/core/modules/node/src/Plugin/migrate/source/d6/NodeRevision.php @@ -7,6 +7,9 @@ namespace Drupal\node\Plugin\migrate\source\d6; +use Drupal\Core\Database\Query\SelectInterface; +use Drupal\migrate\Row; + /** * Drupal 6 node revision source from database. * @@ -19,7 +22,17 @@ class NodeRevision extends Node { /** * The join options between the node and the node_revisions_table. */ - const JOIN = 'n.nid = nr.nid AND n.vid <> nr.vid'; + const JOIN = 'n.nid = nr.nid'; + + /** + * {@inheritdoc} + */ + public function prepareRow(Row $row) { + if ($tnid = $row->getSourceProperty('tnid')) { + $row->setSourceProperty('nid', $tnid); + } + return parent::prepareRow($row); + } /** * {@inheritdoc} @@ -27,7 +40,6 @@ class NodeRevision extends Node { public function fields() { // Use all the node fields plus the vid that identifies the version. return parent::fields() + array( - 'vid' => t('The primary identifier for this version.'), 'log' => $this->t('Revision Log message'), 'timestamp' => $this->t('Revision timestamp'), ); @@ -42,4 +54,14 @@ public function getIds() { return $ids; } + /** + * {@inheritdoc} + */ + protected function addTranslationConditions(SelectInterface $query) { + // Get revisions in order, so when we import a revision we can use previous + // ones. + $query->fields('nr', ['vid']); + $query->orderBy('vid', 'ASC'); + } + } diff --git a/core/modules/node/src/Tests/Migrate/d6/MigrateNodeRevisionTest.php b/core/modules/node/src/Tests/Migrate/d6/MigrateNodeRevisionTest.php index b8ee0c2..0f46d08 100644 --- a/core/modules/node/src/Tests/Migrate/d6/MigrateNodeRevisionTest.php +++ b/core/modules/node/src/Tests/Migrate/d6/MigrateNodeRevisionTest.php @@ -7,6 +7,9 @@ namespace Drupal\node\Tests\Migrate\d6; +use Drupal\language\Entity\ConfigurableLanguage; +use Drupal\node\NodeInterface; + /** * Node content revisions migration. * @@ -19,6 +22,10 @@ class MigrateNodeRevisionTest extends MigrateNodeTestBase { */ protected function setUp() { parent::setUp(); + // The revision migrations include translations, so we need to install + // the necessary languages. + ConfigurableLanguage::createFromLangcode('en')->save(); + ConfigurableLanguage::createFromLangcode('fr')->save(); $this->executeMigrations(['d6_node:*', 'd6_node_revision:*']); } @@ -26,7 +33,9 @@ protected function setUp() { * Test node revisions migration from Drupal 6 to 8. */ public function testNodeRevision() { - $node = \Drupal::entityManager()->getStorage('node')->loadRevision(2); + $storage = \Drupal::entityManager()->getStorage('node'); + + $node = $storage->loadRevision(2); /** @var \Drupal\node\NodeInterface $node */ $this->assertIdentical('1', $node->id()); $this->assertIdentical('2', $node->getRevisionId()); @@ -38,12 +47,44 @@ public function testNodeRevision() { $this->assertIdentical('modified rev 2', $node->revision_log->value); $this->assertIdentical('1390095702', $node->getRevisionCreationTime()); - $node = \Drupal::entityManager()->getStorage('node')->loadRevision(5); + $node = $storage->loadRevision(5); $this->assertIdentical('1', $node->id()); $this->assertIdentical('body test rev 3', $node->body->value); $this->assertIdentical('1', $node->getRevisionAuthor()->id()); $this->assertIdentical('modified rev 3', $node->revision_log->value); $this->assertIdentical('1390095703', $node->getRevisionCreationTime()); + + // Revision 12 is the default revision of node 9. + $node = $storage->loadRevision(12); + $this->assertTrue($node instanceof NodeInterface); + $this->assertIdentical('9', $node->id()); + // The French translation is only introduced in rev. 13. + $this->assertTrue($node->hasTranslation('en')); + $this->assertFalse($node->hasTranslation('fr')); + $this->assertIdentical('The Real McCoy', $node->getTitle()); + $this->assertIdentical("In the original, Queen's English.", $node->body->value); + + // Revision 13 was part of node 10, which is a translation of node 9. + $node = $storage->loadRevision(13); + $this->assertTrue($node instanceof NodeInterface); + $this->assertIdentical('9', $node->id()); + $this->assertTrue($node->isDefaultRevision()); + // English is the node's default language, in any revision. + $this->assertIdentical('en', $node->language()->getId()); + // The English title and body did not change in this revision... + $this->assertIdentical('The Real McCoy', $node->getTitle()); + $this->assertIdentical("In the original, Queen's English.", $node->body->value); + // ...but a French translation was introduced. + $this->assertTrue($node->hasTranslation('fr')); + $node = $node->getTranslation('fr'); + $this->assertIdentical('Le Vrai McCoy', $node->getTitle()); + $this->assertIdentical("Ooh là là!", $node->body->value); + + // The node as a whole should have both languages. + $node = $storage->load(9); + $languages = array_keys($node->getTranslationLanguages()); + sort($languages); + $this->assertIdentical(['en', 'fr'], $languages); } } diff --git a/core/modules/node/src/Tests/Migrate/d6/MigrateNodeTest.php b/core/modules/node/src/Tests/Migrate/d6/MigrateNodeTest.php index cf0c44b..104ad43 100644 --- a/core/modules/node/src/Tests/Migrate/d6/MigrateNodeTest.php +++ b/core/modules/node/src/Tests/Migrate/d6/MigrateNodeTest.php @@ -12,6 +12,7 @@ use Drupal\migrate\Entity\MigrationInterface; use Drupal\migrate\Plugin\MigrateIdMapInterface; use Drupal\node\Entity\Node; +use Drupal\node\NodeInterface; /** * Node content migration. @@ -81,6 +82,14 @@ public function testNode() { $this->assertIdentical('Migrate API in Drupal 8', $node->field_test_link->title); $this->assertIdentical([], $node->field_test_link->options['attributes']); + // Test that translations are working. + $node = Node::load(9); + $this->assertTrue($node instanceof NodeInterface); + $this->assertIdentical('en', $node->langcode->value); + + // Node 10 is a translation of node 9, and should not be imported separately. + $this->assertNull(Node::load(10)); + // Test that we can re-import using the EntityContentBase destination. $title = $this->rerunMigration(); $node = Node::load(2); diff --git a/core/modules/node/tests/src/Unit/Plugin/migrate/source/d6/NodeRevisionByNodeTypeTest.php b/core/modules/node/tests/src/Unit/Plugin/migrate/source/d6/NodeRevisionByNodeTypeTest.php index 9e409d9..443295f 100644 --- a/core/modules/node/tests/src/Unit/Plugin/migrate/source/d6/NodeRevisionByNodeTypeTest.php +++ b/core/modules/node/tests/src/Unit/Plugin/migrate/source/d6/NodeRevisionByNodeTypeTest.php @@ -7,6 +7,7 @@ namespace Drupal\Tests\node\Unit\Plugin\migrate\source\d6; +use Drupal\node\Plugin\migrate\source\d6\NodeRevision; use Drupal\Tests\migrate\Unit\MigrateSqlSourceTestCase; /** @@ -16,26 +17,14 @@ */ class NodeRevisionByNodeTypeTest extends MigrateSqlSourceTestCase { - const PLUGIN_CLASS = 'Drupal\node\Plugin\migrate\source\d6\NodeRevision'; + const PLUGIN_CLASS = NodeRevision::class; - // The fake Migration configuration entity. protected $migrationConfiguration = [ 'id' => 'test', - // The fake configuration for the source. 'source' => [ 'plugin' => 'd6_node_revision', 'node_type' => 'page', ], - 'sourceIds' => [ - 'vid' => [ - 'alias' => 'v', - ], - ], - 'destinationIds' => [ - 'vid' => [ - // This is where the field schema would go. - ], - ], ]; protected $databaseContents = [ @@ -123,10 +112,6 @@ class NodeRevisionByNodeTypeTest extends MigrateSqlSourceTestCase { ], ]; - // There are three revisions of nid 1; vid 4 is the current one. The - // NodeRevision plugin should capture every revision EXCEPT that one. - // nid 2 will be ignored because $this->migrationConfiguration specifies - // a particular node type. protected $expectedResults = [ [ 'nid' => 1, @@ -172,6 +157,29 @@ class NodeRevisionByNodeTypeTest extends MigrateSqlSourceTestCase { 'log' => 'log for revision 3 (node 1)', 'format' => 1, ], + [ + 'nid' => 1, + 'type' => 'page', + 'language' => 'en', + 'status' => 1, + 'created' => 1279051598, + 'changed' => 1279051598, + 'comment' => 2, + 'promote' => 1, + 'moderate' => 0, + 'sticky' => 0, + 'tnid' => 0, + 'translate' => 0, + 'vid' => 4, + 'node_uid' => 1, + 'revision_uid' => 1, + 'title' => 'title for revision 4 (node 1)', + 'body' => 'body for revision 4 (node 1)', + 'teaser' => 'teaser for revision 4 (node 1)', + 'log' => 'log for revision 4 (node 1)', + 'format' => 1, + 'timestamp' => 1279051598, + ], ]; } diff --git a/core/modules/node/tests/src/Unit/Plugin/migrate/source/d6/NodeRevisionTest.php b/core/modules/node/tests/src/Unit/Plugin/migrate/source/d6/NodeRevisionTest.php index 6982341..069db5d 100644 --- a/core/modules/node/tests/src/Unit/Plugin/migrate/source/d6/NodeRevisionTest.php +++ b/core/modules/node/tests/src/Unit/Plugin/migrate/source/d6/NodeRevisionTest.php @@ -7,6 +7,7 @@ namespace Drupal\Tests\node\Unit\Plugin\migrate\source\d6; +use Drupal\node\Plugin\migrate\source\d6\NodeRevision; use Drupal\Tests\migrate\Unit\MigrateSqlSourceTestCase; /** @@ -16,25 +17,13 @@ */ class NodeRevisionTest extends MigrateSqlSourceTestCase { - const PLUGIN_CLASS = 'Drupal\node\Plugin\migrate\source\d6\NodeRevision'; + const PLUGIN_CLASS = NodeRevision::class; - // The fake Migration configuration entity. protected $migrationConfiguration = [ 'id' => 'test', - // The fake configuration for the source. 'source' => [ 'plugin' => 'd6_node_revision', ], - 'sourceIds' => [ - 'vid' => [ - 'alias' => 'v', - ], - ], - 'destinationIds' => [ - 'vid' => [ - // This is where the field schema would go. - ], - ], ]; protected $databaseContents = [ @@ -122,10 +111,9 @@ class NodeRevisionTest extends MigrateSqlSourceTestCase { ], ]; - // There are three revisions of nid 1, but the NodeRevision source ignores - // the current revision. So only two revisions will be returned here. nid 2 - // is ignored because it only has one revision (the current one). - protected $expectedResults = [ + // There are three revisions of nid 1, and one for node 2. Results are sorted + // by vid. + protected $expectedResults = [ [ // Node fields. 'nid' => 1, @@ -151,6 +139,29 @@ class NodeRevisionTest extends MigrateSqlSourceTestCase { 'format' => 1, ], [ + 'nid' => 2, + 'type' => 'article', + 'language' => 'en', + 'status' => 1, + 'created' => 1279290908, + 'changed' => 1279308993, + 'comment' => 0, + 'promote' => 1, + 'moderate' => 0, + 'sticky' => 0, + 'tnid' => 0, + 'translate' => 0, + 'vid' => 2, + 'node_uid' => 1, + 'revision_uid' => 1, + 'title' => 'title for revision 2 (node 2)', + 'body' => 'body for revision 2 (node 2)', + 'teaser' => 'teaser for revision 2 (node 2)', + 'log' => 'log for revision 2 (node 2)', + 'format' => 1, + 'timestamp' => 1279308993, + ], + [ // Node fields. 'nid' => 1, 'type' => 'page', @@ -174,6 +185,29 @@ class NodeRevisionTest extends MigrateSqlSourceTestCase { 'log' => 'log for revision 3 (node 1)', 'format' => 1, ], + [ + 'nid' => 1, + 'type' => 'page', + 'language' => 'en', + 'status' => 1, + 'created' => 1279051598, + 'changed' => 1279051598, + 'comment' => 2, + 'promote' => 1, + 'moderate' => 0, + 'sticky' => 0, + 'tnid' => 0, + 'translate' => 0, + 'vid' => 4, + 'node_uid' => 1, + 'revision_uid' => 1, + 'title' => 'title for revision 4 (node 1)', + 'body' => 'body for revision 4 (node 1)', + 'teaser' => 'teaser for revision 4 (node 1)', + 'log' => 'log for revision 4 (node 1)', + 'format' => 1, + 'timestamp' => 1279051598, + ], ]; }