Make "Select all" translatable

This commit is contained in:
Maikel Linke
2022-07-19 14:39:43 +10:00
committed by Filipe
parent 26d5ea6cdc
commit 195f1e1237
2 changed files with 2 additions and 1 deletions

View File

@@ -27,7 +27,7 @@
%td.text-center
%label
= check_box_tag nil, nil, (shipping_methods - @order_cycle.shipping_methods).empty?, { "data-action": "change->select-all#toggleAll", "data-select-all-target": "all" }
= "Select all"
= t(".select_all")
%td
- if shipping_methods.any?
- shipping_methods.each do |shipping_method|

View File

@@ -1171,6 +1171,7 @@ en:
payment_methods: "Payment Methods"
save: "Save"
save_and_back_to_list: "Save and Back to List"
select_all: "Select all"
shipping_methods: "Shipping Methods"
wizard_progress:
edit: "1. General Settings"