diff --git a/modules/opencase_entities/src/Entity/OCActorType.php b/modules/opencase_entities/src/Entity/OCActorType.php index a24da77..299034e 100644 --- a/modules/opencase_entities/src/Entity/OCActorType.php +++ b/modules/opencase_entities/src/Entity/OCActorType.php @@ -9,7 +9,7 @@ use Drupal\Core\Config\Entity\ConfigEntityBundleBase; * * @ConfigEntityType( * id = "oc_actor_type", - * label = @Translation("Actor type"), + * label = @Translation("Person type"), * handlers = { * "access" = "Drupal\opencase_entities\OCActorTypeAccessControlHandler", * "view_builder" = "Drupal\Core\Entity\EntityViewBuilder", diff --git a/modules/opencase_entities/src/Form/OCActorTypeForm.php b/modules/opencase_entities/src/Form/OCActorTypeForm.php index b138366..92cff32 100644 --- a/modules/opencase_entities/src/Form/OCActorTypeForm.php +++ b/modules/opencase_entities/src/Form/OCActorTypeForm.php @@ -22,7 +22,7 @@ class OCActorTypeForm extends EntityForm { '#title' => $this->t('Label'), '#maxlength' => 255, '#default_value' => $oc_actor_type->label(), - '#description' => $this->t("Label for the Actor type."), + '#description' => $this->t("Label for the Person type."), '#required' => TRUE, ]; @@ -49,13 +49,13 @@ class OCActorTypeForm extends EntityForm { switch ($status) { case SAVED_NEW: - drupal_set_message($this->t('Created the %label Actor type.', [ + drupal_set_message($this->t('Created the %label Person type.', [ '%label' => $oc_actor_type->label(), ])); break; default: - drupal_set_message($this->t('Saved the %label Actor type.', [ + drupal_set_message($this->t('Saved the %label Person type.', [ '%label' => $oc_actor_type->label(), ])); } diff --git a/modules/opencase_entities/src/OCActorTypeListBuilder.php b/modules/opencase_entities/src/OCActorTypeListBuilder.php index f1e456c..fe06885 100644 --- a/modules/opencase_entities/src/OCActorTypeListBuilder.php +++ b/modules/opencase_entities/src/OCActorTypeListBuilder.php @@ -14,7 +14,7 @@ class OCActorTypeListBuilder extends ConfigEntityListBuilder { * {@inheritdoc} */ public function buildHeader() { - $header['label'] = $this->t('Actor type'); + $header['label'] = $this->t('Person type'); $header['id'] = $this->t('Machine name'); return $header + parent::buildHeader(); }