Add translations

This commit is contained in:
binarygit
2023-11-28 08:44:03 +05:45
parent 99f4c4705f
commit 5fe246e739
3 changed files with 7 additions and 4 deletions

View File

@@ -13,11 +13,11 @@
%form
= render ConfirmModalComponent.new(id: "ship_order", confirm_reflexes: "click->Admin::OrdersReflex#ship", controller: "orders", reflex: "Admin::Orders#ship") do
%div{class: "margin-bottom-30"}
%p This will mark the order as Shipped
%p= t('.mark_as_shipped_message')
%div{class: "margin-bottom-30"}
= hidden_field_tag :id, order.id
= check_box_tag :send_shipment_email
= label_tag :send_shipment_email, "Send email confirmation to customer"
= label_tag :send_shipment_email, t('.mark_as_shipped_label_message')
%table.stock-contents.index
%colgroup

View File

@@ -50,11 +50,11 @@
%form
= render ConfirmModalComponent.new(id: "ship_order", confirm_reflexes: "click->Admin::OrdersReflex#ship", controller: "orders", reflex: "Admin::Orders#ship") do
%div{class: "margin-bottom-30"}
%p This will mark the order as Shipped
%p= t('spree.admin.orders.shipment.mark_as_shipped_message')
%div{class: "margin-bottom-30"}
= hidden_field_tag :id, order.id
= check_box_tag :send_shipment_email
= label_tag :send_shipment_email, "Send email confirmation to customer"
= label_tag :send_shipment_email, t('spree.admin.orders.shipment.mark_as_shipped_label_message')
= render partial: 'admin/shared/tooltip_button', locals: {button_class: "icon-road icon_link with-tip no-text", reflex_data_id: order.id.to_s, tooltip_text: t('spree.admin.orders.index.ship'), shipment: true}

View File

@@ -4177,6 +4177,9 @@ See the %{link} to find out more about %{sitename}'s features and to start using
add_product:
cannot_add_item_to_canceled_order: "Cannot add item to canceled order"
include_out_of_stock_variants: "Include variants with no available stock"
shipment:
mark_as_shipped_message: "This will mark the order as Shipped"
mark_as_shipped_label_message: "Send email confirmation to customer"
index:
listing_orders: "Listing Orders"
new_order: "New Order"