Skip to content

Commit

Permalink
v0.16.0 — Alternate language partial updates. (#21)
Browse files Browse the repository at this point in the history
* v0.16.0 — Alternate language partial updates.

* Seplling mistaxe.
  • Loading branch information
DamianMullins authored Feb 2, 2018
1 parent 616e7f9 commit b98a2b1
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).


v0.16.0
------------------------------
*February 1, 2018*

### Changed
- Renamed alternate language links partial.

### Fixed
- Fixed variable name for alternate language links.


v0.15.0
------------------------------
*January 30, 2018*
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@justeat/f-header",
"description": "Fozzie Header – Header Component for Just Eat projects",
"version": "0.15.0",
"version": "0.16.0",
"main": "dist/js/index.js",
"files": [
"dist",
Expand Down
2 changes: 1 addition & 1 deletion src/templates/header/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</a>
</li>

{{> nav-alternate-languages }}
{{> nav-alternate-language-links }}

<li class="c-nav-list-item c-nav-list-item--support" data-test-id="support">
<a href="{{ helpUrl }}" data-gtm="header|click - navigation|help" class="c-nav-list-link">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{#if isMultiLingual}}
{{#each alternativeLanguages as | lang |}}
{{#each alternativeLanguageLinks as | lang |}}
<li class="c-nav-list-item u-showAboveMid" data-test-id="languageToggle">
<a href="{{ lang.returnUrl }}" class="c-nav-list-link">
<span class="is-visuallyHidden">
Expand Down
4 changes: 2 additions & 2 deletions src/templates/resources/header.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"accountOrderHistory": "Your orders",
"paymentMethods": "Your saved cards",
"deliveryAddresses": "Your address book",
"RedeemVoucher": "Redeem a voucher",
"ContactPreferences": "Contact preference"
"redeemVoucher": "Redeem a voucher",
"contactPreferences": "Contact preference"
},
"en-IE": {
"companyName": "Just Eat",
Expand Down

0 comments on commit b98a2b1

Please sign in to comment.