Skip to content

Commit

Permalink
Merge pull request #1042 from marmelab/filters_translations
Browse files Browse the repository at this point in the history
[RFR] Filter button now translate the labels too
  • Loading branch information
fzaninotto committed Apr 20, 2016
2 parents 8c4b347 + e36512a commit 5a29901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/javascripts/ng-admin/Crud/button/maFilterButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function maFilterButton() {
</button>
<ul class="dropdown-menu" role="menu">
<li ng-repeat="filter in notYetEnabledFilters()" ng-switch="button">
<a ng-click="enableFilter()(filter)">{{ filter.label() }}</a>
<a ng-click="enableFilter()(filter)">{{ filter.label() | translate }}</a>
</li>
</ul>
</span>`
Expand Down

0 comments on commit 5a29901

Please # to comment.