diff --git a/core/modules/content_translation/content_translation.admin.inc b/core/modules/content_translation/content_translation.admin.inc index 76fed83..62fa22d 100644 --- a/core/modules/content_translation/content_translation.admin.inc +++ b/core/modules/content_translation/content_translation.admin.inc @@ -2,7 +2,7 @@ /** * @file - * The entity translation administration forms. + * The content translation administration forms. */ use Drupal\Core\Entity\EntityInterface; @@ -60,7 +60,7 @@ function content_translation_field_sync_widget(Field $field, FieldInstance $inst function _content_translation_form_language_content_settings_form_alter(array &$form, array &$form_state) { // Inject into the content language settings the translation settings if the // user has the required permission. - if (!user_access('administer entity translation')) { + if (!user_access('administer content translation')) { return; } @@ -126,7 +126,7 @@ function _content_translation_form_language_content_settings_form_alter(array &$ function _content_translation_preprocess_language_content_settings_table(&$variables) { // Alter the 'build' variable injecting the translation settings if the user // has the required permission. - if (!user_access('administer entity translation')) { + if (!user_access('administer content translation')) { return; } @@ -301,7 +301,7 @@ function content_translation_form_language_content_settings_submit(array $form, } /** - * Stores entity translation settings. + * Stores content translation settings. * * @param array $settings * An associative array of settings keyed by entity type and bundle. At bundle diff --git a/core/modules/content_translation/content_translation.install b/core/modules/content_translation/content_translation.install index c7182f6..3bebdb3 100644 --- a/core/modules/content_translation/content_translation.install +++ b/core/modules/content_translation/content_translation.install @@ -2,7 +2,7 @@ /** * @file - * Installation functions for Entity Translation module. + * Installation functions for content translation module. */ use Drupal\Core\Language\Language; @@ -12,7 +12,7 @@ */ function content_translation_schema() { $schema['content_translation'] = array( - 'description' => 'Table to track entity translations', + 'description' => 'Table to track content translations', 'fields' => array( 'entity_type' => array( 'type' => 'varchar', diff --git a/core/modules/content_translation/content_translation.module b/core/modules/content_translation/content_translation.module index 7f5f07a..f187761 100644 --- a/core/modules/content_translation/content_translation.module +++ b/core/modules/content_translation/content_translation.module @@ -19,7 +19,7 @@ function content_translation_help($path, $arg) { case 'admin/help#content_translation': $output = ''; $output .= '

' . t('About') . '

'; - $output .= '

' . t('The Entity Translation module allows you to create and manage translations for your Drupal site content. You can specify which elements need to be translated at the content-type level for content items and comments, at the vocabulary level for taxonomy terms, and at the site level for user accounts. Other modules may provide additional elements that can be translated. For more information, see the online handbook entry for Entity Translation.', array('!url' => 'http://drupal.org/documentation/modules/entity_translation')) . '

'; + $output .= '

' . t('The Content Translation module allows you to create and manage translations for your Drupal site content. You can specify which elements need to be translated at the content-type level for content items and comments, at the vocabulary level for taxonomy terms, and at the site level for user accounts. Other modules may provide additional elements that can be translated. For more information, see the online handbook entry for Content Translation.', array('!url' => 'http://drupal.org/documentation/modules/entity_translation')) . '

'; $output .= '

' . t('Uses') . '

'; $output .= '
'; $output .= '
' . t('Enabling translation') . '
'; @@ -32,7 +32,7 @@ function content_translation_help($path, $arg) { $output .= '
' . t('Maintaining translations') . '
'; $output .= '
' . t('If editing content in one language requires that translated versions also be updated to reflect the change, use the Flag other translations as outdated check box to mark the translations as outdated and in need of revision.') . '
'; $output .= '
' . t('Translation permissions') . '
'; - $output .= '
' . t('The Entity Translation module makes a basic set of permissions available. Additional permissions are made available after translation is enabled for each translatable element.', array('@permissions' => url('admin/people/permissions', array('fragment' => 'module-content_translation')))) . '
'; + $output .= '
' . t('The Content Translation module makes a basic set of permissions available. Additional permissions are made available after translation is enabled for each translatable element.', array('@permissions' => url('admin/people/permissions', array('fragment' => 'module-content_translation')))) . '
'; $output .= '
'; return $output; @@ -204,7 +204,7 @@ function content_translation_menu() { 'description' => 'Confirm page for changing field translatability.', 'page callback' => 'drupal_get_form', 'page arguments' => array('content_translation_translatable_form', 5), - 'access arguments' => array('administer entity translation'), + 'access arguments' => array('administer content translation'), 'file' => 'content_translation.admin.inc', ); @@ -232,7 +232,7 @@ function content_translation_menu_alter(array &$items) { $items["$path/translations/delete/%language"] ); $t_args = array('@entity_type' => isset($info['label']) ? $info['label'] : $entity_type); - watchdog('entity translation', 'The entities of type @entity_type do not define a valid base path: it will not be possible to translate them.', $t_args, WATCHDOG_WARNING); + watchdog('content translation', 'The entities of type @entity_type do not define a valid base path: it will not be possible to translate them.', $t_args, WATCHDOG_WARNING); } else { $entity_position = count(explode('/', $path)) - 1; @@ -280,7 +280,7 @@ function _content_translation_menu_strip_loaders($path) { function content_translation_translate_access(EntityInterface $entity) { $entity_type = $entity->entityType(); return empty($entity->language()->locked) && language_multilingual() && $entity->isTranslatable() && - (user_access('create entity translations') || user_access('update entity translations') || user_access('delete entity translations')); + (user_access('create content translations') || user_access('update content translations') || user_access('delete content translations')); } /** @@ -494,13 +494,13 @@ function content_translation_types_translatable() { } /** - * Entity translation controller factory. + * Content translation controller factory. * * @param string $entity_type * The type of the entity being translated. * * @return \Drupal\content_translation\ContentTranslationControllerInterface - * An instance of the entity translation controller interface. + * An instance of the content translation controller interface. */ function content_translation_controller($entity_type) { $entity_info = entity_get_info($entity_type); @@ -515,7 +515,7 @@ function content_translation_controller($entity_type) { * The form state array holding the entity form controller. * * @return \Drupal\Core\Entity\EntityFormControllerInterface; - * An instance of the entity translation form interface or FALSE if not an + * An instance of the content translation form interface or FALSE if not an * entity form. */ function content_translation_form_controller(array $form_state) { @@ -523,7 +523,7 @@ function content_translation_form_controller(array $form_state) { } /** - * Checks whether an entity translation is accessible. + * Checks whether an content translation is accessible. * * @param \Drupal\Core\Entity\EntityInterface $entity * The entity to be accessed. @@ -546,17 +546,17 @@ function content_translation_access(EntityInterface $entity, $op) { */ function content_translation_permission() { $permission = array( - 'administer entity translation' => array( + 'administer content translation' => array( 'title' => t('Administer translation settings'), 'description' => t('Configure translatability of entities and fields.'), ), - 'create entity translations' => array( + 'create content translations' => array( 'title' => t('Create translations'), ), - 'update entity translations' => array( + 'update content translations' => array( 'title' => t('Edit translations'), ), - 'delete entity translations' => array( + 'delete content translations' => array( 'title' => t('Delete translations'), ), 'translate any entity' => array( @@ -821,7 +821,7 @@ function content_translation_form_field_ui_field_edit_form_alter(array &$form, a '#title' => !$translatable ? t('Enable translation') : t('Disable translation'), '#href' => 'admin/config/regional/content_translation/translatable/' . $field_name, '#options' => array('query' => drupal_get_destination()), - '#access' => user_access('administer entity translation'), + '#access' => user_access('administer content translation'), ), ); } @@ -881,7 +881,7 @@ function content_translation_element_info_alter(&$type) { } /** - * Returns a widget to enable entity translation per entity bundle. + * Returns a widget to enable content translation per entity bundle. * * Backward compatibility layer to support entities not using the language * configuration form element. @@ -918,7 +918,7 @@ function content_translation_enable_widget($entity_type, $bundle, array &$form, * Processed language configuration element. */ function content_translation_language_configuration_element_process(array $element, array &$form_state, array &$form) { - if (empty($element['#content_translation_skip_alter']) && user_access('administer entity translation')) { + if (empty($element['#content_translation_skip_alter']) && user_access('administer content translation')) { $form_state['content_translation']['key'] = $element['#name']; $context = $form_state['language'][$element['#name']]; @@ -961,7 +961,7 @@ function content_translation_language_configuration_element_validate($element, a /** * Form submission handler for element added with content_translation_language_configuration_element_process(). * - * Stores the entity translation settings. + * Stores the content translation settings. * * @see content_translation_language_configuration_element_validate() */ @@ -994,7 +994,7 @@ function content_translation_preprocess_language_content_settings_table(&$variab } /** - * Stores entity translation settings. + * Stores content translation settings. * * @param array $settings * An associative array of settings keyed by entity type and bundle. At bundle diff --git a/core/modules/content_translation/content_translation.pages.inc b/core/modules/content_translation/content_translation.pages.inc index e722e90..2940585 100644 --- a/core/modules/content_translation/content_translation.pages.inc +++ b/core/modules/content_translation/content_translation.pages.inc @@ -2,7 +2,7 @@ /** * @file - * The entity translation user interface. + * The content translation user interface. */ use Drupal\Core\Language\Language; diff --git a/core/modules/content_translation/lib/Drupal/content_translation/ContentTranslationController.php b/core/modules/content_translation/lib/Drupal/content_translation/ContentTranslationController.php index 965297a..7e5eb8a 100644 --- a/core/modules/content_translation/lib/Drupal/content_translation/ContentTranslationController.php +++ b/core/modules/content_translation/lib/Drupal/content_translation/ContentTranslationController.php @@ -11,7 +11,7 @@ use Drupal\Core\Language\Language; /** - * Base class for entity translation controllers. + * Base class for content translation controllers. */ class ContentTranslationController implements ContentTranslationControllerInterface { @@ -30,7 +30,7 @@ class ContentTranslationController implements ContentTranslationControllerInterf protected $entityInfo; /** - * Initializes an instance of the entity translation controller. + * Initializes an instance of the content translation controller. * * @param string $entity_type * The type of the entity being translated. @@ -110,7 +110,7 @@ public function getTranslationAccess(EntityInterface $entity, $op) { if (!user_access('translate any entity') && !empty($info['permission_granularity'])) { $translate_permission = user_access($info['permission_granularity'] == 'bundle' ? "translate {$entity->bundle()} {$entity->entityType()}" : "translate {$entity->entityType()}"); } - return $translate_permission && user_access("$op entity translations"); + return $translate_permission && user_access("$op content translations"); } /** @@ -443,7 +443,7 @@ public function entityFormEntityBuild($entity_type, EntityInterface $entity, arr /** * Form validation handler for ContentTranslationController::entityFormAlter(). * - * Validates the submitted entity translation metadata. + * Validates the submitted content translation metadata. */ function entityFormValidate($form, &$form_state) { if (!empty($form_state['values']['content_translation'])) { @@ -490,7 +490,7 @@ function entityFormDelete($form, &$form_state) { /** * Form submission handler for ContentTranslationController::entityFormAlter(). * - * Takes care of entity translation deletion. + * Takes care of content translation deletion. */ function entityFormDeleteTranslation($form, &$form_state) { $form_controller = content_translation_form_controller($form_state); diff --git a/core/modules/content_translation/lib/Drupal/content_translation/ContentTranslationControllerInterface.php b/core/modules/content_translation/lib/Drupal/content_translation/ContentTranslationControllerInterface.php index 7a4d42e..dc73314 100644 --- a/core/modules/content_translation/lib/Drupal/content_translation/ContentTranslationControllerInterface.php +++ b/core/modules/content_translation/lib/Drupal/content_translation/ContentTranslationControllerInterface.php @@ -10,16 +10,16 @@ use Drupal\Core\Entity\EntityInterface; /** - * Interface for providing entity translation. + * Interface for providing content translation. * * Defines a set of methods to allow any entity to be processed by the entity * translation UI. * - * The entity translation UI relies on the entity info to provide its features. + * The content translation UI relies on the entity info to provide its features. * See the documentation of hook_entity_info() in the Entity API documentation * for more details on all the entity info keys that may be defined. * - * To make Entity Translation automatically support an entity type some keys + * To make Content Translation automatically support an entity type some keys * may need to be defined, but none of them is required unless the entity path * is different from ENTITY_TYPE/%ENTITY_TYPE (e.g. taxonomy/term/1), in which * case at least the 'menu_base_path' key must be defined. This is used to @@ -43,12 +43,12 @@ * Drupal\content_translation\ContentTranslationControllerInterface. * * If the entity paths match the default patterns above and there is no need for - * an entity-specific translation controller class, Entity Translation will + * an entity-specific translation controller class, Content Translation will * provide built-in support for the entity. It will still be required to enable * translation for each translatable bundle. * * Additionally some more entity info keys can be defined to further customize - * the translation UI. The entity translation info is an associative array that + * the translation UI. The content translation info is an associative array that * has to match the following structure. Two nested arrays keyed respectively * by the 'translation' key and the 'content_translation' key. Elements: * - access callback: The access callback for the translation pages. Defaults to diff --git a/core/modules/content_translation/lib/Drupal/content_translation/ContentTranslationControllerNG.php b/core/modules/content_translation/lib/Drupal/content_translation/ContentTranslationControllerNG.php index 716485f..6c27d49 100644 --- a/core/modules/content_translation/lib/Drupal/content_translation/ContentTranslationControllerNG.php +++ b/core/modules/content_translation/lib/Drupal/content_translation/ContentTranslationControllerNG.php @@ -10,7 +10,7 @@ use Drupal\Core\Entity\EntityInterface; /** - * Test entity translation controller. + * Test content translation controller. */ class ContentTranslationControllerNG extends ContentTranslationController { diff --git a/core/modules/content_translation/lib/Drupal/content_translation/Tests/ConfigTestTranslationUITest.php b/core/modules/content_translation/lib/Drupal/content_translation/Tests/ConfigTestTranslationUITest.php index c66c039..600e813 100644 --- a/core/modules/content_translation/lib/Drupal/content_translation/Tests/ConfigTestTranslationUITest.php +++ b/core/modules/content_translation/lib/Drupal/content_translation/Tests/ConfigTestTranslationUITest.php @@ -24,8 +24,8 @@ class ConfigTestTranslationUITest extends ContentTranslationUITest { public static function getInfo() { return array( 'name' => 'Config Test Translation UI', - 'description' => 'Tests the test entity translation UI with the test config entity.', - 'group' => 'Entity Translation UI', + 'description' => 'Tests the test content translation UI with the test config entity.', + 'group' => 'Content Translation UI', ); } diff --git a/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTestTranslationUITest.php b/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTestTranslationUITest.php index 7642630..b40c879 100644 --- a/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTestTranslationUITest.php +++ b/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTestTranslationUITest.php @@ -22,8 +22,8 @@ class ContentTestTranslationUITest extends ContentTranslationUITest { public static function getInfo() { return array( 'name' => 'Entity Test translation UI', - 'description' => 'Tests the test entity translation UI with the test entity.', - 'group' => 'Entity Translation UI', + 'description' => 'Tests the test content translation UI with the test entity.', + 'group' => 'Content Translation UI', ); } diff --git a/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTranslationSettingsTest.php b/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTranslationSettingsTest.php index 663fbbc..1917c90 100644 --- a/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTranslationSettingsTest.php +++ b/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTranslationSettingsTest.php @@ -24,9 +24,9 @@ class ContentTranslationSettingsTest extends WebTestBase { public static function getInfo() { return array( - 'name' => 'Entity Translation settings', - 'description' => 'Tests the entity translation settings UI.', - 'group' => 'Entity Translation UI', + 'name' => 'Content Translation settings', + 'description' => 'Tests the content translation settings UI.', + 'group' => 'Content Translation UI', ); } @@ -38,7 +38,7 @@ function setUp() { $this->drupalCreateContentType(array('type' => 'article')); $this->drupalCreateContentType(array('type' => 'page')); - $admin_user = $this->drupalCreateUser(array('administer languages', 'administer entity translation')); + $admin_user = $this->drupalCreateUser(array('administer languages', 'administer content translation')); $this->drupalLogin($admin_user); } @@ -108,7 +108,7 @@ function testSettingsUI() { * @param boolean $enabled * TRUE if translatibility should be enabled, FALSE otherwise. * @param array $edit - * An array of values to submit to the entity translation settings page. + * An array of values to submit to the content translation settings page. * * @return boolean * TRUE if the assertion succeeded, FALSE otherwise. diff --git a/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTranslationSyncImageTest.php b/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTranslationSyncImageTest.php index ff7e595..7bfa73f 100644 --- a/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTranslationSyncImageTest.php +++ b/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTranslationSyncImageTest.php @@ -40,7 +40,7 @@ public static function getInfo() { return array( 'name' => 'Image field synchronization', 'description' => 'Tests the field synchronization behavior for the image field.', - 'group' => 'Entity Translation UI', + 'group' => 'Content Translation UI', ); } diff --git a/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTranslationSyncUnitTest.php b/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTranslationSyncUnitTest.php index 310674e..ab59812 100644 --- a/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTranslationSyncUnitTest.php +++ b/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTranslationSyncUnitTest.php @@ -64,7 +64,7 @@ public static function getInfo() { return array( 'name' => 'Field synchronization', 'description' => 'Tests the field synchronization logic.', - 'group' => 'Entity Translation UI', + 'group' => 'Content Translation UI', ); } diff --git a/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTranslationTestBase.php b/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTranslationTestBase.php index 9388fd2..a454b8a 100644 --- a/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTranslationTestBase.php +++ b/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTranslationTestBase.php @@ -103,7 +103,7 @@ protected function setupLanguages() { * Returns an array of permissions needed for the translator. */ protected function getTranslatorPermissions() { - return array_filter(array($this->getTranslatePermission(), 'create entity translations', 'update entity translations', 'delete entity translations')); + return array_filter(array($this->getTranslatePermission(), 'create content translations', 'update content translations', 'delete content translations')); } /** diff --git a/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTranslationUITest.php b/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTranslationUITest.php index e1c4cd6..7da493e 100644 --- a/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTranslationUITest.php +++ b/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTranslationUITest.php @@ -61,7 +61,7 @@ protected function assertBasicTranslation() { $this->assertEqual($stored_value, $value, $message); } - // Add an entity translation. + // Add an content translation. $langcode = 'it'; $values[$langcode] = $this->getNewEntityValues($langcode); diff --git a/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTranslationWorkflowsTest.php b/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTranslationWorkflowsTest.php index ec89fdc..ef2eb6c 100644 --- a/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTranslationWorkflowsTest.php +++ b/core/modules/content_translation/lib/Drupal/content_translation/Tests/ContentTranslationWorkflowsTest.php @@ -32,8 +32,8 @@ class ContentTranslationWorkflowsTest extends ContentTranslationTestBase { public static function getInfo() { return array( 'name' => 'Entity Test translation workflows', - 'description' => 'Tests the entity translation workflows for the test entity.', - 'group' => 'Entity Translation UI', + 'description' => 'Tests the content translation workflows for the test entity.', + 'group' => 'Content Translation UI', ); } @@ -91,7 +91,7 @@ function testWorkflows() { $ops = array('create' => t('Add'), 'update' => t('Edit'), 'delete' => t('Delete')); $translations_path = $this->controller->getBasePath($this->entity) . "/translations"; foreach ($ops as $current_op => $label) { - $user = $this->drupalCreateUser(array($this->getTranslatePermission(), "$current_op entity translations")); + $user = $this->drupalCreateUser(array($this->getTranslatePermission(), "$current_op content translations")); $this->drupalLogin($user); $this->drupalGet($translations_path); diff --git a/core/modules/content_translation/lib/Drupal/content_translation/Tests/Views/ContentTranslationViewsUITest.php b/core/modules/content_translation/lib/Drupal/content_translation/Tests/Views/ContentTranslationViewsUITest.php index 8116238..b5ef997 100644 --- a/core/modules/content_translation/lib/Drupal/content_translation/Tests/Views/ContentTranslationViewsUITest.php +++ b/core/modules/content_translation/lib/Drupal/content_translation/Tests/Views/ContentTranslationViewsUITest.php @@ -30,8 +30,8 @@ class ContentTranslationViewsUITest extends UITestBase { public static function getInfo() { return array( - 'name' => 'Entity Translation: Views UI', - 'description' => 'Tests the views UI when entity translation is enabled.', + 'name' => 'Content Translation: Views UI', + 'description' => 'Tests the views UI when content translation is enabled.', 'group' => 'Views module integration', ); } diff --git a/core/modules/content_translation/lib/Drupal/content_translation/Tests/Views/TranslationLinkTest.php b/core/modules/content_translation/lib/Drupal/content_translation/Tests/Views/TranslationLinkTest.php index 78f969d..1f5e457 100644 --- a/core/modules/content_translation/lib/Drupal/content_translation/Tests/Views/TranslationLinkTest.php +++ b/core/modules/content_translation/lib/Drupal/content_translation/Tests/Views/TranslationLinkTest.php @@ -12,7 +12,7 @@ use Drupal\views\Tests\ViewTestData; /** - * Tests the Entity translation overview link field handler. + * Tests the content translation overview link field handler. * * @see \Drupal\content_translation\Plugin\views\field\TranslationLink */ @@ -34,8 +34,8 @@ class TranslationLinkTest extends ContentTranslationTestBase { public static function getInfo() { return array( - 'name' => 'Entity Translation: Link field', - 'description' => 'Tests the Entity translation overview link field handler.', + 'name' => 'Content Translation: Link field', + 'description' => 'Tests the content translation overview link field handler.', 'group' => 'Views module integration', ); } @@ -50,7 +50,7 @@ function setUp() { } /** - * Tests the Entity translation overview link field handler. + * Tests the content translation overview link field handler. */ public function testTranslationLink() { $this->drupalGet('test-entity-translations-link'); diff --git a/core/modules/content_translation/tests/modules/content_translation_test_views/content_translation_test_views.info.yml b/core/modules/content_translation/tests/modules/content_translation_test_views/content_translation_test_views.info.yml index 99bda3a..9e261db 100644 --- a/core/modules/content_translation/tests/modules/content_translation_test_views/content_translation_test_views.info.yml +++ b/core/modules/content_translation/tests/modules/content_translation_test_views/content_translation_test_views.info.yml @@ -1,6 +1,6 @@ -name: 'Entity translation test views' +name: 'Content translation test views' type: module -description: 'Provides default views for views entity translation tests.' +description: 'Provides default views for views content translation tests.' package: Testing version: VERSION core: 8.x diff --git a/core/modules/system/lib/Drupal/system/Tests/Module/DependencyTest.php b/core/modules/system/lib/Drupal/system/Tests/Module/DependencyTest.php index b8adc2b..0143d1a 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Module/DependencyTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Module/DependencyTest.php @@ -20,10 +20,10 @@ public static function getInfo() { } /** - * Attempts to enable the Entity Translation module without Language enabled. + * Attempts to enable the Content Translation module without Language enabled. */ function testEnableWithoutDependency() { - // Attempt to enable Entity Translation without Language enabled. + // Attempt to enable Content Translation without Language enabled. $edit = array(); $edit['modules[Multilingual][content_translation][enable]'] = 'content_translation'; $this->drupalPost('admin/modules', $edit, t('Save configuration'));