Skip to content
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions app/templates/components/forms/orders/order-form.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -279,12 +279,13 @@
{{t 'Acknowledgement'}}
</h4>
<p>
{{t
'By clicking "Pay Now", I acknowledge that I have read and that I agree with all the terms of services and privacy policy of Open Event.'}}
</p>
{{t 'By clicking'}}{{#if this.isPaidOrder}} {{t ' "Proceed to Checkout"'}} {{else}} {{t ' "Order Now"'}}{{/if}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use a single message with placeholders like here https://github.com/Cropster/ember-l10n#singular-translations

{{t ', I acknowledge that I have read and that I agree with the '}}
<a href='/terms'>terms of services</a>{{t ' and ' }}<a href='/privacy'>privacy policy</a> {{t ' on this website.'}}
</p>
<div class="center aligned">
<button type="submit" class="ui teal submit button">{{t 'Proceed to Checkout'}}</button>
<button type="submit" class="ui teal submit button">{{#if this.isPaidOrder}} {{t "Proceed to Checkout"}} {{else}} {{t "Order Now"}}{{/if}}</button>
</div>
</div>
</div>
</div>
</form>