Skip to content

Commit d70752b

Browse files
committed
Fix incorrect translation flash message keys
1 parent 48a60da commit d70752b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Controller/CreateCollectionController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function __invoke(Request $request, #[CurrentUser] User $user): Response
7878
),
7979
);
8080

81-
$this->addFlash('success', $this->translator->trans('collections.created'));
81+
$this->addFlash('success', $this->translator->trans('collections.flash.created'));
8282

8383
return $this->redirectToRoute('puzzle_library', ['playerId' => $player->playerId]);
8484
}

src/Controller/DeleteCollectionController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function __invoke(#[CurrentUser] User $user, string $collectionId): Respo
6363
),
6464
);
6565

66-
$this->addFlash('success', $this->translator->trans('collections.deleted'));
66+
$this->addFlash('success', $this->translator->trans('collections.flash.deleted'));
6767

6868
return $this->redirectToRoute('puzzle_library', ['playerId' => $player->playerId]);
6969
}

0 commit comments

Comments
 (0)