Skip to content

Commit

Permalink
Translate more text in OC filters
Browse files Browse the repository at this point in the history
  • Loading branch information
kristinalim committed Sep 13, 2018
1 parent 065df96 commit 3acff60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/admin/order_cycles/_filters.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
.filter_select.four.columns
%label{ :for => 'involving_filter' }=t('.involving')
%br
%input.ofn-select2.fullwidth{ :id => 'involving_filter', type: 'number', blank: "{id: 0, name: 'Any Enterprise'}", data: 'enterprises', ng: { model: 'involvingFilter' } }
%input.ofn-select2.fullwidth{ id: 'involving_filter', type: 'number', blank: "{id: 0, name: ( 'js.admin.order_cycles.filters.any_enterprise' | t )}", data: 'enterprises', ng: { model: 'involvingFilter' } }
- if subscriptions_enabled?
.filter_select.four.columns
%label{ :for => 'schedule_filter' }=t('admin.order_cycles.index.schedule')
%br
%input.ofn-select2.fullwidth{ :id => 'schedule_filter', type: 'number', blank: "{id: 0, name: 'Any Schedule'}", data: 'schedules', ng: { model: 'scheduleFilter' } }
%input.ofn-select2.fullwidth{ id: 'schedule_filter', type: 'number', blank: "{id: 0, name: ( 'js.admin.order_cycles.filters.any_schedule' | t )}", data: 'schedules', ng: { model: 'scheduleFilter' } }
.two.columns  
- else
.six.columns  
Expand Down
4 changes: 4 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2406,6 +2406,10 @@ See the %{link} to find out more about %{sitename}'s features and to start using
more_items: "+ %{count} More"
default_card_updated: Default Card Updated
admin:
order_cycles:
filters:
any_enterprise: "Any Enterprise"
any_schedule: "Any Schedule"
enterprise_limit_reached: "You have reached the standard limit of enterprises per account. Write to %{contact_email} if you need to increase it."
modals:
got_it: Got it
Expand Down

0 comments on commit 3acff60

Please sign in to comment.