chore: update wording

This commit is contained in:
Björn Fromme
2024-01-28 17:57:38 +01:00
parent 23cbd17ade
commit 64ed782710
6 changed files with 10 additions and 10 deletions
@@ -62,7 +62,7 @@ class CreateController extends AbstractController
if ($form->isSubmitted() && $form->isValid()) {
$this->entityManager->persist($contact);
$this->entityManager->flush();
$this->addFlash('success', 'Der Ansprechpartner wurde hinzugefügt');
$this->addFlash('success', 'Die Ansprechperson wurde hinzugefügt');
$this->logger->info('Create contact', [
'contact_id' => $contact->getId(),
'contact_name' => $contact->getName(),
@@ -25,7 +25,7 @@ class DeleteController extends AbstractController
$this->entityManager->remove($contact);
$this->entityManager->flush();
$this->addFlash('success', 'Der Ansprechpartner wurde gelöscht');
$this->addFlash('success', 'Die Ansprechperson wurde gelöscht');
$this->logger->info('Delete contact', [
'contact_id' => $contact->getId(),
'contact_name' => $contact->getName(),
@@ -59,7 +59,7 @@ class EditController extends AbstractController
if ($form->isSubmitted() && $form->isValid()) {
$this->entityManager->flush();
$this->addFlash('success', 'Der Ansprechpartner wurde aktualisiert');
$this->addFlash('success', 'Die Ansprechperson wurde aktualisiert');
$this->logger->info('Edit contact', [
'contact_id' => $contact->getId(),
'contact_name' => $contact->getName(),
+1 -1
View File
@@ -112,7 +112,7 @@ class AdminMenuBuilder extends AbstractMenuBuilder
],
[
'route' => 'app_admin_system_contact_index',
'title' => 'Ansprechpartner',
'title' => 'Ansprechperson',
],
],
],
@@ -1,10 +1,10 @@
{% extends 'admin/layout.html.twig' %}
{% block title %}Ansprechpartner{% endblock %}
{% block title %}Ansprechperson{% endblock %}
{% block content %}
<h1 class="text-2xl font-bold pb-8">
Ansprechpartner
Ansprechperson
</h1>
<div class="data-table-wrapper">
<div class="data-table-wrapper__inner">
@@ -42,7 +42,7 @@
{{ stimulus_controller('modal-button', [], [], {'confirmation-modal': '#confirmation-modal'}) }}
{{ stimulus_action('modal-button', 'confirmation', null, {
'title': 'Bist du sicher?',
'content': 'Möchtest du den Ansprechpartner wirklich löschen?',
'content': 'Möchtest du die Ansprechperson wirklich löschen?',
'target-url': path('app_admin_system_contact_delete', { 'id': contact.id })
}) }}>
{{ icon('delete') }}
@@ -50,7 +50,7 @@
<button type="button"
{{ stimulus_controller('modal-button', [], [], {'ajax-modal': '#ajax-modal'}) }}
{{ stimulus_action('modal-button', 'ajax', null, {
'title': 'Ansprechpartner bearbeiten',
'title': 'Ansprechperson bearbeiten',
'url': path('app_admin_system_contact_edit', { 'id': contact.id })
}) }}>
{{ icon('edit') }}
@@ -73,7 +73,7 @@
class="btn"
{{ stimulus_controller('modal-button', [], [], {'ajax-modal': '#ajax-modal'}) }}
{{ stimulus_action('modal-button', 'ajax', null, {
'title': 'Ansprechpartner hinzufügen',
'title': 'Ansprechperson hinzufügen',
'url': path('app_admin_system_contact_create')
}) }}>
Neu
@@ -12,7 +12,7 @@
{% include '_partials/_assignment_info.html.twig' with {
'additional': [
{
'type': 'Ansprechpartner',
'type': 'Ansprechperson',
'description': 'Für alle reisebezogenen Themen wende dich bitte an ' ~ assignment.contact ~ ' (<a href="mailto:' ~ assignment.contact.email ~'" class="underline">' ~ assignment.contact.email ~ '</a>)'
},
{