diff --git a/core/modules/translation_entity/lib/Drupal/translation_entity/EntityTranslationController.php b/core/modules/translation_entity/lib/Drupal/translation_entity/EntityTranslationController.php index 6c1887e..5489245 100644 --- a/core/modules/translation_entity/lib/Drupal/translation_entity/EntityTranslationController.php +++ b/core/modules/translation_entity/lib/Drupal/translation_entity/EntityTranslationController.php @@ -225,7 +225,7 @@ public function entityFormAlter(array &$form, array &$form_state, EntityInterfac '#type' => 'checkbox', '#title' => t('This translation needs to be updated'), '#default_value' => $translate, - '#description' => t('When this option is checked, this translation needs to be updated because the source content has changed. Uncheck when the translation is up to date again.'), + '#description' => t('When this option is checked, this translation needs to be updated. Uncheck when the translation is up to date again.'), ); } } diff --git a/core/modules/translation_entity/translation_entity.admin.inc b/core/modules/translation_entity/translation_entity.admin.inc index 7b44892..d2352a5 100644 --- a/core/modules/translation_entity/translation_entity.admin.inc +++ b/core/modules/translation_entity/translation_entity.admin.inc @@ -14,7 +14,7 @@ function translation_entity_translatable_form($form, &$form_state, $field_name) $field = field_info_field($field_name); $t_args = array('%name' => $field_name); - $warning = t('By submitting this form you will trigger a batch operation.'); + $warning = t('By submitting this form these changes will apply to the %name field everywhere it is used.', $t_args); if ($field['translatable']) { $title = t('Are you sure you want to disable translation for the %name field?', $t_args); $warning .= "
" . t("All the existing translations of this field will be deleted.
This action cannot be undone."); @@ -216,7 +216,7 @@ function _translation_entity_update_field($entity_type, $entity, $field_name) { */ function translation_entity_translatable_batch_done($success, $results, $operations) { if ($success) { - drupal_set_message(t("Data successfully processed.")); + drupal_set_message(t("Successfully changed field translation setting.")); } else { // @todo: Do something about this case. diff --git a/core/modules/translation_entity/translation_entity.module b/core/modules/translation_entity/translation_entity.module index f8f5b07..13e4105 100644 --- a/core/modules/translation_entity/translation_entity.module +++ b/core/modules/translation_entity/translation_entity.module @@ -508,7 +508,7 @@ function translation_entity_form_field_ui_field_edit_form_alter(&$form, &$form_s if (field_has_data($field)) { $path = "admin/config/regional/translation_entity/translatable/$field_name"; - $status = $translatable ? $title : t('This field is shared among the entity translations.'); + $status = $translatable ? $title : t('This field has data in existing content.'); $link_title = !$translatable ? t('Enable translation') : t('Disable translation'); $form['field']['translatable'] = array( diff --git a/core/modules/translation_entity/translation_entity.pages.inc b/core/modules/translation_entity/translation_entity.pages.inc index 21dc11e..1f43298 100644 --- a/core/modules/translation_entity/translation_entity.pages.inc +++ b/core/modules/translation_entity/translation_entity.pages.inc @@ -111,7 +111,10 @@ function translation_entity_overview(EntityInterface $entity) { $links['add']['title'] = t('add'); } elseif ($field_ui) { - $path = _field_ui_bundle_admin_path($entity->entityType(), $entity->bundle()); + $entity_path = _field_ui_bundle_admin_path($entity->entityType(), $entity->bundle()); + // Link directly to the fields tab to make it easier to find the + // setting to enable translation on fields. + $path = $entity_path . '/fields'; $links['nofields'] = array('title' => t('no translatable fields'), 'href' => $path, 'language' => $language); } }