Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Commit

Permalink
fix(Recurring Buy): include string with endtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Welber committed Apr 10, 2018
1 parent 2ee381b commit e4d5e32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/partials/coinify/recurring-confirm.pug
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
.f-18.mb-15.em-400
span.f-18.mb-15.em-400(translate="{{ 'RECURRING_CONFIRM' + '.' + $ctrl.state + '.' + 'HEADER' }}")
.f-14.em-300
span.f-14.em-300(translate="{{ 'RECURRING_CONFIRM' + '.' + $ctrl.state + '.' + 'BODY' }}" translate-values="{timing: $ctrl.recurringTiming()}")
span.f-14.em-300(ng-if="!$ctrl.endTime" translate="{{ 'RECURRING_CONFIRM' + '.' + $ctrl.state + '.' + 'BODY' }}" translate-values="{timing: $ctrl.recurringTiming()}")
span.f-14.em-300(ng-if="$ctrl.endTime" translate="{{ 'RECURRING_CONFIRM' + '.' + $ctrl.state + '.' + 'BODY_WITH_ENDTIME' }}" translate-values="{timing: $ctrl.recurringTiming(), end: $ctrl.endTime.toDateString()}")
.modal-footer.flex-end.flex-row
.flex-1.flex-end
button.button-muted.mrm(ng-if="$ctrl.state !== 'NEEDS_TRADES'" ng-click="$ctrl.onCancel()" translate="GO_BACK")
Expand Down
2 changes: 1 addition & 1 deletion locales/en-human.json
Original file line number Diff line number Diff line change
Expand Up @@ -2135,6 +2135,7 @@
"PROCEED": {
"HEADER": "You're About To Set Up A Recurring Order",
"BODY": "This Recurring Order will happen today and every {{::timing}} until you cancel or reach your limit, whichever happens first.",
"BODY_WITH_ENDTIME": "This Recurring Order will happen today and every {{::timing}} until {{::end}} or you reach your limit, whichever happens first.",
"BUTTON": "Proceed with my Order"
}
},
Expand All @@ -2145,7 +2146,6 @@
"RECURRING_INTRO_2": "Select <b>'Make this a recurring order'</b>, set your recurring preferences, and continue with your purchase as normal. Each time an order is processed you will receive an email to notify you.",
"RECURRING_INTRO_3": "Recurring orders can be canceled at anytime from",
"RECURRING_INTRO_4": "Want to know more about Recurring Orders?",
"RECURRING_CONFIRM_BODY_WITH_ENDTIME": "This Recurring Order will happen today and every {{::timing}} until {{::end}} or you reach your limit, whichever happens first.",
"ORDERS": "Orders.",
"LEARN_MORE_HERE": "Learn more here.",
"MAKE_RECURRING_ORDER": "Make this a recurring order",
Expand Down

0 comments on commit e4d5e32

Please sign in to comment.