diff --git a/app/assets/javascripts/controllers/admin/trainings.coffee.erb b/app/assets/javascripts/controllers/admin/trainings.coffee.erb index 6818d7425..42288420f 100644 --- a/app/assets/javascripts/controllers/admin/trainings.coffee.erb +++ b/app/assets/javascripts/controllers/admin/trainings.coffee.erb @@ -254,7 +254,7 @@ Application.Controllers.controller "TrainingsController", ["$scope", "$state", " resolve: object: -> title: _t('confirmation_required') - msg: _t('do_you_really_want_to_delete_this_traning') + msg: _t('do_you_really_want_to_delete_this_training') , -> # deletion confirmed training.$delete -> $scope.trainings.splice(index, 1) diff --git a/config/locales/app.admin.en.yml b/config/locales/app.admin.en.yml index a335903fb..120bf2f9d 100644 --- a/config/locales/app.admin.en.yml +++ b/config/locales/app.admin.en.yml @@ -62,6 +62,7 @@ en: description_was_successfully_saved: "Description was successfully saved." training_successfully_deleted: "Training successfully deleted." unable_to_delete_the_training_because_some_users_alredy_booked_it: "Unable to delete the training because some users already booked it." + do_you_really_want_to_delete_this_training: "Do you really want to delete this training?" trainings_new: # create a new training diff --git a/config/locales/app.admin.fr.yml b/config/locales/app.admin.fr.yml index e9e64e2e2..aebab1c0c 100644 --- a/config/locales/app.admin.fr.yml +++ b/config/locales/app.admin.fr.yml @@ -62,6 +62,7 @@ fr: description_was_successfully_saved: "La description a bien été enregistrée." training_successfully_deleted: "La formation a bien été supprimée." unable_to_delete_the_training_because_some_users_alredy_booked_it: "La formation ne peut pas être supprimée car elle a déjà été réservée par des utilisateurs." + do_you_really_want_to_delete_this_training: "Êtes-vous sur de vouloir supprimer cette formation ?" trainings_new: # créer une nouvelle formation