Use transaltion with HTML in it by adding html suffix

This commit is contained in:
binarygit
2023-12-22 21:56:08 +05:45
parent 75ca1dddf1
commit 6e00a34494
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
= 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= t('spree.admin.orders.shipment.mark_as_shipped_message').html_safe
%p= t('spree.admin.orders.shipment.mark_as_shipped_message_html')
%div{class: "margin-bottom-30"}
= hidden_field_tag :id, @order.id
= check_box_tag :send_shipment_email, "1", true

View File

@@ -4178,7 +4178,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using
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.<br />Are you sure you want to proceed?"
mark_as_shipped_message_html: "This will mark the order as Shipped.<br />Are you sure you want to proceed?"
mark_as_shipped_label_message: "Send a shipment/pick up notification email to the customer."
index:
listing_orders: "Listing Orders"