From aebc378aa8603a7e57f956006b9ccd33fe9eca2f Mon Sep 17 00:00:00 2001 From: David Cook Date: Fri, 15 Dec 2023 09:57:25 +1100 Subject: [PATCH] [suggestion] Update translation key --- app/views/spree/admin/invoices/index.html.haml | 2 +- config/locales/en.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/spree/admin/invoices/index.html.haml b/app/views/spree/admin/invoices/index.html.haml index d8cf0b47e1..bd56beac5e 100644 --- a/app/views/spree/admin/invoices/index.html.haml +++ b/app/views/spree/admin/invoices/index.html.haml @@ -1,6 +1,6 @@ - if show_generate_invoice_button?(@order) .alert-box.warning - = t('.order_has_changed_and_invoice_might_not_be_up_to_date') + = t('.order_has_changed') = render partial: 'spree/admin/shared/order_page_title' = render partial: 'spree/admin/shared/order_tabs', locals: { current: 'Invoices' } diff --git a/config/locales/en.yml b/config/locales/en.yml index e55acccfce..2315fa48cb 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -4184,7 +4184,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using order_total: "Order Total" invoices: index: - order_has_changed_and_invoice_might_not_be_up_to_date: "The order has changed since the last invoice update. The invoice shown here might not be up-to-date anymore." + order_has_changed: "The order has changed since the last invoice update. The invoice shown here might not be up-to-date anymore." overview: enterprises_header: ofn_with_tip: Enterprises are Producers and/or Hubs and are the basic unit of organisation within the Open Food Network.