diff --git a/core/lib/Drupal/Core/Entity/ContentEntityBase.php b/core/lib/Drupal/Core/Entity/ContentEntityBase.php index 1038a90..3bcd8de 100644 --- a/core/lib/Drupal/Core/Entity/ContentEntityBase.php +++ b/core/lib/Drupal/Core/Entity/ContentEntityBase.php @@ -1071,7 +1071,7 @@ public function hasTranslationChanges() { /** @var \Drupal\Core\Entity\ContentEntityBase $translation */ $translation = $original->getTranslation($this->activeLangcode); foreach ($this->getFieldDefinitions() as $field_name => $definition) { - // @todo Allow computed fields to have regular storage. See + // @todo Avoid special-casing the following field. See // https://www.drupal.org/node/2329253. if ($field_name == 'revision_translation_affected' || $field_name == 'revision_id') { continue; diff --git a/core/lib/Drupal/Core/Entity/ContentEntityInterface.php b/core/lib/Drupal/Core/Entity/ContentEntityInterface.php index cb1a671..8b20f55 100644 --- a/core/lib/Drupal/Core/Entity/ContentEntityInterface.php +++ b/core/lib/Drupal/Core/Entity/ContentEntityInterface.php @@ -30,8 +30,8 @@ /** * Determines if the current translation of the entity has unsaved changes. * - * If the entity is translatable only translatable fields will be checked - * for changes. + * If the entity is translatable only translatable fields will be checked for + * changes. * * @return bool * TRUE if the current translation of the entity has changes. diff --git a/core/modules/node/src/Form/NodeRevisionRevertForm.php b/core/modules/node/src/Form/NodeRevisionRevertForm.php index 87862ea..138685b 100644 --- a/core/modules/node/src/Form/NodeRevisionRevertForm.php +++ b/core/modules/node/src/Form/NodeRevisionRevertForm.php @@ -135,7 +135,7 @@ protected function prepareRevertedRevision(NodeInterface $revision) { // specified revision are reverted. $languages = $default_revision->getTranslationLanguages(); if (count($languages) > 1) { - // @todo Instead of processing all the availbale translations, we should + // @todo Instead of processing all the available translations, we should // let the user decide which translations should be reverted. See // https://www.drupal.org/node/2465907. foreach ($languages as $langcode => $language) {