Skip to content

Commit

Permalink
fix(storefront): BCTHEME-494 Translation Gap: Checkbox Option selecti…
Browse files Browse the repository at this point in the history
…on on Product.
  • Loading branch information
“bc-yevhenii-buliuk” committed Oct 19, 2021
1 parent 8bbf4fe commit 7456756
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Draft
- Translation Gap: Checkbox Option selection on Product. [#2063](https://github.com/bigcommerce/cornerstone/pull/2063)

## 6.1.1 (10-01-2021)
- Fix product images on PDP has clipped outline. [#2124](https://github.com/bigcommerce/cornerstone/pull/2124)
Expand Down
10 changes: 9 additions & 1 deletion templates/components/account/order-contents.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,15 @@ <h6>{{brand.name}}</h6>
<dl class="definitionList">
{{#each options}}
<dt class="definitionList-key">{{name}}:</dt>
<dd class="definitionList-value">{{{sanitize value}}}</dd>
<dd class="definitionList-value">
{{#if value '==' 'Yes'}}
{{lang 'common.yes'}}
{{else if value '==' 'No'}}
{{lang 'common.no'}}
{{else}}
{{{sanitize value}}}
{{/if}}
</dd>
{{/each}}
</dl>
{{/if}}
Expand Down
10 changes: 9 additions & 1 deletion templates/components/account/returns-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,15 @@ <h5 class="account-product-title">{{lang 'account.returns.list.return_number' id
<dl class="definitionList">
{{#each product.options}}
<dt class="definitionList-key">{{name}}:</dt>
<dd class="definitionList-value">{{{sanitize value}}}</dd>
<dd class="definitionList-value">
{{#if value '==' 'Yes'}}
{{lang 'common.yes'}}
{{else if value '==' 'No'}}
{{lang 'common.no'}}
{{else}}
{{{sanitize value}}}
{{/if}}
</dd>
{{/each}}
</dl>
{{/if}}
Expand Down
6 changes: 5 additions & 1 deletion templates/components/cart/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,12 @@ <h2 class="cart-item-name">
<dd class="definitionList-value">
{{#if is_file}}
<a href="/viewfile.php?attributeId={{id}}&cartitem={{../id}}">{{value}}</a>
{{else if value '==' 'Yes'}}
{{lang 'common.yes'}}
{{else if value '==' 'No'}}
{{lang 'common.no'}}
{{else}}
{{{ sanitize value}}}
{{{sanitize value}}}
{{/if}}
</dd>
{{/each}}
Expand Down
8 changes: 7 additions & 1 deletion templates/components/cart/preview.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,13 @@ <h2 class="productView-title">
{{name}}
</dt>
<dd class="productView-info-value">
{{{ sanitize value}}}
{{#if value '==' 'Yes'}}
{{lang 'common.yes'}}
{{else if value '==' 'No'}}
{{lang 'common.no'}}
{{else}}
{{{sanitize value}}}
{{/if}}
</dd>
</dl>
{{/each}}
Expand Down

0 comments on commit 7456756

Please sign in to comment.