mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-02 13:24:20 +01:00
i18n delete training
This commit is contained in:
parent
8bd4e6897d
commit
973d3637e3
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user