Skip to content

Commit

Permalink
CHECKOUT-1234: Expose translations object
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchin committed Feb 27, 2017
1 parent b2e7ef7 commit 241aee0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## Draft
- Expose `language` object on the checkout page [#910](https://github.com/bigcommerce/stencil/pull/910)

## 1.5.3 (2017-02-23)
- Show 'Write a Review' link for mobile [#922] (https://github.com/bigcommerce/stencil/pull/922)
Expand Down
5 changes: 4 additions & 1 deletion templates/pages/checkout.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
{{{ stylesheet '/assets/css/optimized-checkout.css' }}}
{{ getFontsCollection }}

<script type="text/javascript">
window.language = {{{langJson 'optimized_checkout'}}};
</script>

{{/partial}}

{{#partial "page"}}
Expand All @@ -27,4 +31,3 @@ <h2 class="checkoutHeader-heading">
{{/partial}}

{{> layout/empty}}

0 comments on commit 241aee0

Please sign in to comment.