diff --git a/app/views/admin/order_cycles/_filters.html.haml b/app/views/admin/order_cycles/_filters.html.haml index 4f0df004553c..9509a7eea1b0 100644 --- a/app/views/admin/order_cycles/_filters.html.haml +++ b/app/views/admin/order_cycles/_filters.html.haml @@ -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   diff --git a/config/locales/en.yml b/config/locales/en.yml index bae387e957d4..406b6696188b 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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