Skip to content

Commit

Permalink
bug #203 Fix 'Unknown "locale" filter' error (dunglas)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.0-dev branch.

Discussion
----------

Close #201. According to my tests, it's the only change needed to make this plugin compatible with 1.7

Commits
-------

2fee6b2 Fix 'Unknown "locale" filter' error
  • Loading branch information
lchrusciel authored Apr 7, 2020
2 parents 46a219b + 2fee6b2 commit e5efc18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/views/_header.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
{{ order.currencyCode }}
</div>
<div class="item">
{{ flags.fromLocaleCode(order.localeCode) }}{{ order.localeCode|locale }}
{{ flags.fromLocaleCode(order.localeCode) }}{{ order.localeCode|sylius_locale_name }}
</div>
<div class="item">
{{ 'sylius.ui.purchased_from'|trans }}
Expand Down

0 comments on commit e5efc18

Please sign in to comment.