From 6df040eecee882b22e19673f7ab76ec8f4109a91 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Tue, 28 Dec 2021 21:29:08 +0100 Subject: [PATCH] Fix missing translation when deleting lists (this was broken in prod since this was introduced, amazing!) --- app/javascript/retrospring/features/lists/destroy.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/retrospring/features/lists/destroy.ts b/app/javascript/retrospring/features/lists/destroy.ts index 88c3d8e2..22d6c766 100644 --- a/app/javascript/retrospring/features/lists/destroy.ts +++ b/app/javascript/retrospring/features/lists/destroy.ts @@ -8,8 +8,8 @@ export function destroyListHandler(event: Event): void { const list = button.dataset.list; swal({ - title: I18n.translate('frontend.list.title'), - text: I18n.translate('frontend.list.text'), + title: I18n.translate('frontend.list.confirm.title'), + text: I18n.translate('frontend.list.confirm.text'), type: "warning", showCancelButton: true, confirmButtonColor: "#DD6B55",