From e1823650063b6077a0cb56736220b74e86f5d83f Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Mon, 18 Mar 2024 17:04:29 +0000 Subject: [PATCH] Replaces missing keys by existing ones --- app/views/spree/orders/edit.html.haml | 4 ++-- missing_keys.txt | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/views/spree/orders/edit.html.haml b/app/views/spree/orders/edit.html.haml index ddde898e32..fb50b995eb 100644 --- a/app/views/spree/orders/edit.html.haml +++ b/app/views/spree/orders/edit.html.haml @@ -28,8 +28,8 @@ #cart-container - if @order.line_items.empty? %div.row - %p= t(:your_cart_is_empty) - %p= link_to t(:continue_shopping), current_shop_products_path, :class => 'button continue' + %p= t(:cart_empty) + %p= link_to t(:orders_edit_continue), current_shop_products_path, :class => 'button continue' - else %div diff --git a/missing_keys.txt b/missing_keys.txt index 3169e27f9c..b418572e8c 100644 --- a/missing_keys.txt +++ b/missing_keys.txt @@ -6,13 +6,13 @@ | all | admin.stripe_connect_settings.edit.instance_publishable_key | app/views/admin/stripe_connect_settings/edit.html.haml:44 | seems missing, added! | all | card_code | app/views/spree/admin/payments/source_forms/_gateway.html.haml:39 | dynamic key, looks like a false positive. | all | card_type_is | app/views/spree/admin/payments/source_forms/_gateway.html.haml:23 | key missing from en.yml, added. -| all | checkout.step1.your_details.first_name.label | app/views/checkout/payment/_gateway.html.haml:3 | -| all | checkout.step1.your_details.first_name.placeholder | app/views/checkout/payment/_gateway.html.haml:4 | -| all | checkout.step1.your_details.last_name.label | app/views/checkout/payment/_gateway.html.haml:8 | -| all | checkout.step1.your_details.last_name.placeholder | app/views/checkout/payment/_gateway.html.haml:9 | -| all | connect_body | app/views/home/_connect.html.haml:5 | -| all | connect_cta | app/views/home/_connect.html.haml:7 | -| all | continue_shopping | app/views/spree/orders/edit.html.haml:32 | +| all | checkout.step1.your_details.first_name.label | app/views/checkout/payment/_gateway.html.haml:3 | - seems to be an unused key/file, file removed. +| all | checkout.step1.your_details.first_name.placeholder | app/views/checkout/payment/_gateway.html.haml:4 | - seems to be an unused key/file, file removed. +| all | checkout.step1.your_details.last_name.label | app/views/checkout/payment/_gateway.html.haml:8 | - seems to be an unused key/file, file removed. +| all | checkout.step1.your_details.last_name.placeholder | app/views/checkout/payment/_gateway.html.haml:9 | - seems to be an unused key/file, file removed. +| all | connect_body | app/views/home/_connect.html.haml:5 | - seem to be missing - NEEDS ISSUE +| all | connect_cta | app/views/home/_connect.html.haml:7 | - seem to be missing - NEEDS ISSUE +| all | continue_shopping | app/views/spree/orders/edit.html.haml:32 | -replaced missing keys by existing ones | all | devise.shared.links.didn_t_receive_confirmation_instructions | app/views/devise/shared/_links.html.erb:14 | | all | devise.shared.links.didn_t_receive_unlock_instructions | app/views/devise/shared/_links.html.erb:18 | | all | devise.shared.links.forgot_your_password | app/views/devise/shared/_links.html.erb:10 |