Skip to content

Commit

Permalink
Merge pull request #3248 from hamityay/master_add_reset_filter_transl…
Browse files Browse the repository at this point in the history
…ation_to_i18n

Master - Add 'Reset Filters' translation to I18n
  • Loading branch information
mshibuya committed Feb 24, 2020
2 parents 692ae99 + be65aa2 commit dd78d5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/rails_admin/main/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
%button.btn.btn-primary{type: 'submit', :'data-disable-with' => '<i class="icon-white icon-refresh"></i> '.html_safe + t('admin.misc.refresh')}
%i.icon-white.icon-refresh
= t('admin.misc.refresh')
%button#remove_filter.btn.btn-info{title: "Reset filters"}
%button#remove_filter.btn.btn-info{title: t('admin.misc.reset_filters')}
%i.icon-white.icon-remove
- if export_action
%span{style: 'float:right'}= link_to wording_for(:link, export_action), export_path(params.except('set').except('page')), class: 'btn btn-info'
Expand Down
1 change: 1 addition & 0 deletions config/locales/rails_admin.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ en:
misc:
search: "Search"
filter: "Filter"
reset_filters: "Reset filters"
refresh: "Refresh"
show_all: "Show all"
add_filter: "Add filter"
Expand Down

0 comments on commit dd78d5a

Please sign in to comment.