diff --git a/app/views/spree/admin/orders/index.html.haml b/app/views/spree/admin/orders/index.html.haml index 58adef82be..d15694ced2 100644 --- a/app/views/spree/admin/orders/index.html.haml +++ b/app/views/spree/admin/orders/index.html.haml @@ -24,8 +24,7 @@ - if Spree::Config[:enable_invoices?] .ofn-drop-down-with-prepend .ofn-drop-down-prepend{"ng-class": "selected_orders.length == 0 ? 'disabled' : ''"} - {{ selected_orders.length }} - =t('.selected') + {{ "spree.admin.orders.index.selected" | t:{count: selected_orders.length} }} .ofn-drop-down{"ng-class": "selected_orders.length == 0 ? 'disabled' : ''"} %span{ :class => 'icon-reorder' } ="#{t('admin.actions')}".html_safe diff --git a/config/locales/en.yml b/config/locales/en.yml index b13fc82203..b0a60ad58c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -3786,7 +3786,10 @@ See the %{link} to find out more about %{sitename}'s features and to start using results_found: "%{number} Results found." viewing: "Viewing %{start} to %{end}." print_invoices: "Print Invoices" - selected: selected + selected: + zero: "No order selected" + one: "1 order selected" + other: "%{count} orders selected" sortable_header: payment_state: "Payment State" shipment_state: "Shipment State"