mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-19 13:54:25 +01:00
fix typo and wording
This commit is contained in:
parent
146ba97766
commit
97660924cb
@ -124,7 +124,7 @@ Application.Directives.directive('cart', [ '$rootScope', '$uibModal', 'dialogs',
|
||||
// otherwise we alert, this error musn't occur when the current user hasn't the admin role
|
||||
return growl.error(_t('app.shared.cart.please_select_a_member_first'));
|
||||
} else if (!areFutureSlots){
|
||||
return growl.error(_t('app.shared.cart.unable_to_select_plant_if_slots_in_the_past'));
|
||||
return growl.error(_t('app.shared.cart.unable_to_select_plan_if_slots_in_the_past'));
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -123,7 +123,7 @@ class Availabilities::AvailabilitiesService
|
||||
end
|
||||
|
||||
# who made the request?
|
||||
# 1) an admin (he can see all avaialbilities of 1 month ago and future)
|
||||
# 1) an admin (he can see all availabilities of 1 month ago and future)
|
||||
if @current_user.admin?
|
||||
availabilities.includes(:tags, :slots, trainings: [:machines])
|
||||
.where('availabilities.start_at > ?', 1.month.ago)
|
||||
|
@ -429,7 +429,7 @@ en:
|
||||
your_booking_slot_was_successfully_moved_from_: "Your booking slot was successfully moved from"
|
||||
to_date: "to" # context: date. eg: 'from 01/01 to 01/05'
|
||||
please_select_a_member_first: 'Please select a member first'
|
||||
unable_to_select_plant_if_slots_in_the_past: 'Unable to select a plan if have selected slots in the past'
|
||||
unable_to_select_plan_if_slots_in_the_past: 'Unable to select a plan if any of the selected slots is in the past'
|
||||
unable_to_change_the_reservation: "Unable to change the reservation"
|
||||
confirmation_required: "Confirmation required"
|
||||
do_you_really_want_to_cancel_this_reservation: "Do you really want to cancel this reservation?"
|
||||
|
@ -429,7 +429,7 @@ es:
|
||||
your_booking_slot_was_successfully_moved_from_: "Tu reserva de espacio ha sido reemplazada con éxito"
|
||||
to_date: "a" # context: date. eg: 'from 01/01 to 01/05'
|
||||
please_select_a_member_first: "Por favor, selecciona un miembro de la lista"
|
||||
unable_to_select_plant_if_slots_in_the_past: 'No se puede seleccionar un plan si ha seleccionado espacios en el pasado'
|
||||
unable_to_select_plan_if_slots_in_the_past: 'No se puede seleccionar un plan si alguno de los espacios seleccionados está en el pasado'
|
||||
unable_to_change_the_reservation: "Imposible cambiar reserva"
|
||||
confirmation_required: "Confirmación requerida"
|
||||
do_you_really_want_to_cancel_this_reservation: "¿Está seguro de querer cancelar la reserva?"
|
||||
|
@ -429,7 +429,7 @@ fr:
|
||||
your_booking_slot_was_successfully_moved_from_: "Votre créneau de réservation a bien été déplacé du"
|
||||
to_date: "au" # context: date. eg: 'from 01/01 to 01/05'
|
||||
please_select_a_member_first: "Veuillez tout d'abord sélectionner un membre"
|
||||
unable_to_select_plant_if_slots_in_the_past: "Impossible de selectionner un abonnement s'il y a des créneaux passés"
|
||||
unable_to_select_plan_if_slots_in_the_past: "Impossible de sélectionner un abonnement si l'un des créneaux sélectionné est dans le passé"
|
||||
unable_to_change_the_reservation: "Impossible de modifier la réservation"
|
||||
confirmation_required: "Confirmation requise"
|
||||
do_you_really_want_to_cancel_this_reservation: "Êtes-vous sur de vouloir annuler cette réservation ?"
|
||||
|
@ -429,7 +429,7 @@ pt:
|
||||
your_booking_slot_was_successfully_moved_from_: "Seu slot de reserva foi movido com sucesso para"
|
||||
to_date: "até" # context: date. eg: 'from 01/01 to 01/05'
|
||||
please_select_a_member_first: "Por favor selecione o membro primeiramente"
|
||||
unable_to_select_plant_if_slots_in_the_past: 'Não foi possível selecionar um plano se houver slots selecionados no passado'
|
||||
unable_to_select_plan_if_slots_in_the_past: 'Não é possível selecionar um plano se algum dos slots selecionados estiver no passado'
|
||||
unable_to_change_the_reservation: "Não permitido alterar esta reserva"
|
||||
confirmation_required: "Confirmação é obrigatória"
|
||||
do_you_really_want_to_cancel_this_reservation: "Você realmente quer cancelar essa reserva?"
|
||||
|
Loading…
x
Reference in New Issue
Block a user