mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-17 11:54:22 +01:00
refacto wording to make cart reservableType agnostic
This commit is contained in:
parent
c4824f99ba
commit
ce087ae778
@ -15,7 +15,7 @@
|
||||
<div class="panel panel-default bg-light" ng-repeat="slot in events.reserved">
|
||||
<div class="panel-body">
|
||||
<div class="font-sbold text-u-c">{{ 'cart.datetime_to_time' | translate:{START_DATETIME:(slot.start | amDateFormat:'LLLL'), END_TIME:(slot.end | amDateFormat:'LT') } }}</div>
|
||||
<div class="text-base">{{ 'cart.cost_of_a_machine_hour' | translate }} <span ng-class="{'text-blue': !slot.promo, 'red': slot.promo}">{{slot.price | currency}}</span></div>
|
||||
<div class="text-base">{{ 'cart.cost_of_TYPE' | translate:{TYPE:reservableType}:"messageformat" }} <span ng-class="{'text-blue': !slot.promo, 'red': slot.promo}">{{slot.price | currency}}</span></div>
|
||||
<div ng-show="isAdmin()" class="m-t">
|
||||
<label for="offerSlot" class="control-label m-r" translate>{{ 'cart.offer_this_slot' }}</label>
|
||||
<input bs-switch
|
||||
@ -63,11 +63,11 @@
|
||||
</div>
|
||||
|
||||
<div class="widget-content no-bg auto wrapper" ng-show="events.paid && events.paid.length > 0">
|
||||
{{ 'cart.you_have_settled_the_following_machine_hours' | translate }} <strong>{{reservableName}}</strong>:
|
||||
{{ 'cart.you_have_settled_the_following_TYPE' | translate:{TYPE:reservableType}:"messageformat" }} <strong>{{reservableName}}</strong>:
|
||||
|
||||
<div class="well well-warning m-t-sm" ng-repeat="paidSlot in events.paid">
|
||||
<i class="font-sbold text-u-c">{{ 'cart.datetime_to_time' | translate:{START_DATETIME:(paidSlot.start | amDateFormat:'LLLL'), END_TIME:(paidSlot.end | amDateFormat:'LT') } }}</i>
|
||||
<div class="font-sbold">{{ 'cart.cost_of_a_machine_hour' | translate }} {{paidSlot.price | currency}}</div>
|
||||
<div class="font-sbold">{{ 'cart.cost_of_TYPE' | translate:{TYPE:reservableType}:"messageformat" }} {{paidSlot.price | currency}}</div>
|
||||
</div>
|
||||
|
||||
<div ng-if="selectedPlan">
|
||||
|
@ -412,7 +412,7 @@ en:
|
||||
select_one_or_more_slots_in_the_calendar: "Select one or more slots in the calendar"
|
||||
you_ve_just_selected_the_slot: "You've just selected the slot:"
|
||||
datetime_to_time: "{{START_DATETIME}} to {{END_TIME}}" # angular interpolation, eg: Thursday, September 4 1986 8:30 PM to 10:00 PM
|
||||
cost_of_a_machine_hour: "Cost of a machine hour"
|
||||
cost_of_TYPE: "Cost of {TYPE, select, Machine{a machine hour} Training{the training} other{the element}}" # messageFormat interpolation
|
||||
offer_this_slot: "Offer this slot"
|
||||
confirm_this_slot: "Confirm this slot"
|
||||
remove_this_slot: "Remove this slot"
|
||||
@ -423,7 +423,7 @@ en:
|
||||
_subscription: "subscription"
|
||||
cost_of_the_subscription: "Cost of the subscription"
|
||||
confirm_and_pay: "Confirm and pay"
|
||||
you_have_settled_the_following_machine_hours: "You have settled the following machine hours:"
|
||||
you_have_settled_the_following_machine_hours: "You have settled the following {TYPE, select, Machine{machine hours} Training{training} other{elements}}:" # messageFormat interpolation
|
||||
you_have_settled_a_: "You have settled a"
|
||||
total_: "TOTAL :"
|
||||
thank_you_your_payment_has_been_successfully_registered: "Thank you. Your payment has been successfully registered !"
|
||||
|
@ -412,7 +412,7 @@ fr:
|
||||
select_one_or_more_slots_in_the_calendar: "Sélectionnez un ou plusieurs créneaux dans le calendrier"
|
||||
you_ve_just_selected_the_slot: "Vous venez de sélectionner le créneau :"
|
||||
datetime_to_time: "{{START_DATETIME}} à {{END_TIME}}" # angular interpolation, eg: Thursday, September 4 1986 8:30 PM to 10:00 PM
|
||||
cost_of_a_machine_hour: "Coût de l'heure machine"
|
||||
cost_of_TYPE: "Coût de {TYPE, select, Machine{l'heure machine} Training{la formation} other{l'élément}}" # messageFormat interpolation
|
||||
offer_this_slot: "Offrir ce créneau"
|
||||
confirm_this_slot: "Valider ce créneau"
|
||||
remove_this_slot: "Supprimer ce créneau"
|
||||
@ -423,7 +423,7 @@ fr:
|
||||
_subscription: "abonnement"
|
||||
cost_of_the_subscription: "Coût de l'abonnement"
|
||||
confirm_and_pay: "Valider et payer"
|
||||
you_have_settled_the_following_machine_hours: "Vous avez réglé les heures machines suivantes :"
|
||||
you_have_settled_the_following_TYPE: "Vous avez réglé {TYPE, select, Machine{les heures machines suivantes} Training{la formation suivante} other{les éléments suivants}} :" # messageFormat interpolation
|
||||
you_have_settled_a_: "Vous avez réglé un"
|
||||
total_: "TOTAL :"
|
||||
thank_you_your_payment_has_been_successfully_registered: "Merci. Votre paiement a bien été pris en compte !"
|
||||
|
Loading…
x
Reference in New Issue
Block a user