From 045efb80a5846bb026c02425128e31367d8e9ea3 Mon Sep 17 00:00:00 2001 From: pixeldesu Date: Tue, 9 Jun 2015 18:07:10 +0200 Subject: [PATCH] fix missing translation error --- app/assets/javascripts/questionbox/destroy.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/questionbox/destroy.coffee b/app/assets/javascripts/questionbox/destroy.coffee index 521e6705..f0188575 100644 --- a/app/assets/javascripts/questionbox/destroy.coffee +++ b/app/assets/javascripts/questionbox/destroy.coffee @@ -3,8 +3,8 @@ $(document).on "click", "a[data-action=ab-question-destroy]", (ev) -> btn = $(this) qid = btn[0].dataset.qId swal - title: translate('frontend.delete_own.confirm.title') - text: translate('frontend.delete_own.confirm.text') + title: translate('frontend.destroy_own.confirm.title') + text: translate('frontend.destroy_own.confirm.text') type: "warning" showCancelButton: true confirmButtonColor: "#DD6B55"