Changed "Actor" to "Person" in a few places
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
entity.oc_actor.add_form:
|
||||
route_name: entity.oc_actor.add_page
|
||||
title: 'Add Actor'
|
||||
title: 'Add Person'
|
||||
appears_on:
|
||||
- entity.oc_actor.collection
|
||||
entity.oc_actor_type.add_form:
|
||||
route_name: entity.oc_actor_type.add_form
|
||||
title: 'Add Actor type'
|
||||
title: 'Add Person type'
|
||||
appears_on:
|
||||
- entity.oc_actor_type.collection
|
||||
|
||||
|
@ -17,8 +17,8 @@ use Drupal\user\UserInterface;
|
||||
*
|
||||
* @ContentEntityType(
|
||||
* id = "oc_actor",
|
||||
* label = @Translation("Actor"),
|
||||
* bundle_label = @Translation("Actor type"),
|
||||
* label = @Translation("Person"),
|
||||
* bundle_label = @Translation("Person type"),
|
||||
* handlers = {
|
||||
* "storage" = "Drupal\opencase_entities\OCActorStorage",
|
||||
* "view_builder" = "Drupal\Core\Entity\EntityViewBuilder",
|
||||
|
@ -55,13 +55,13 @@ class OCActorForm extends ContentEntityForm {
|
||||
|
||||
switch ($status) {
|
||||
case SAVED_NEW:
|
||||
drupal_set_message($this->t('Created the %label Actor.', [
|
||||
drupal_set_message($this->t('Created %label.', [
|
||||
'%label' => $entity->label(),
|
||||
]));
|
||||
break;
|
||||
|
||||
default:
|
||||
drupal_set_message($this->t('Saved the %label Actor.', [
|
||||
drupal_set_message($this->t('Saved %label.', [
|
||||
'%label' => $entity->label(),
|
||||
]));
|
||||
}
|
||||
|
Reference in New Issue
Block a user