mirror of
https://github.com/tchapi/davis.git
synced 2025-04-04 12:42:49 +02:00
Fix translation typo
This commit is contained in:
parent
1ca2cfdcc7
commit
a398068c99
@ -106,14 +106,14 @@ class AdminController extends AbstractController
|
||||
$calendarInstance->setPrincipalUri(Principal::PREFIX.$user->getUsername())
|
||||
->setUri('default') // No risk of collision since unicity is guaranteed by the new user principal
|
||||
->setDisplayName($trans->trans('default.calendar.title'))
|
||||
->setDescription($trans->trans('default.calendar.description', ['users' => $displayName]))
|
||||
->setDescription($trans->trans('default.calendar.description', ['user' => $displayName]))
|
||||
->setCalendar($calendar);
|
||||
|
||||
$addressbook = new AddressBook();
|
||||
$addressbook->setPrincipalUri(Principal::PREFIX.$user->getUsername())
|
||||
->setUri('default') // No risk of collision since unicity is guaranteed by the new user principal
|
||||
->setDisplayName($trans->trans('default.addressbook.title'))
|
||||
->setDescription($trans->trans('default.addressbook.description', ['users' => $displayName]));
|
||||
->setDescription($trans->trans('default.addressbook.description', ['user' => $displayName]));
|
||||
$entityManager->persist($calendarInstance);
|
||||
$entityManager->persist($addressbook);
|
||||
$entityManager->persist($principal);
|
||||
|
Loading…
x
Reference in New Issue
Block a user