Update tip

By updating the translation key, all other locales will be notified to update their translations too.
This commit is contained in:
David Cook
2025-04-07 16:33:39 +10:00
parent e02ef08b06
commit 369b93f0dd
5 changed files with 5 additions and 6 deletions

View File

@@ -4655,8 +4655,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using
reports:
table:
select_and_search: "Select filters and click on %{option} to access your data."
customer_names_message:
customer_names_tip: "If customer names are hidden for orders you have supplied, you can contact the distributor and ask if they can update their shop preferences to allow their suppliers to view customer names."
hidden_customer_details_tip: "If customer names and/or contact details are hidden, you can ask the distributor to update their shop preferences to allow their suppliers to view customer details in reports."
products_and_inventory:
all_products:
message: "Note that stock levels reported are from supplier product lists only. If you are using Inventory to manage your stock quantities these values will be ignored in this report."

View File

@@ -5,7 +5,7 @@ module Reporting
module BulkCoop
class Base < ReportTemplate
def message
I18n.t("spree.admin.reports.customer_names_message.customer_names_tip")
I18n.t("spree.admin.reports.hidden_customer_details_tip")
end
def search

View File

@@ -23,7 +23,7 @@ module Reporting
end
def message
I18n.t("spree.admin.reports.customer_names_message.customer_names_tip")
I18n.t("spree.admin.reports.hidden_customer_details_tip")
end
def query_result

View File

@@ -5,7 +5,7 @@ module Reporting
module OrdersAndFulfillment
class Base < ReportTemplate
def message
I18n.t("spree.admin.reports.customer_names_message.customer_names_tip")
I18n.t("spree.admin.reports.hidden_customer_details_tip")
end
def default_params

View File

@@ -5,7 +5,7 @@ module Reporting
module Packing
class Base < ReportQueryTemplate
def message
I18n.t("spree.admin.reports.customer_names_message.customer_names_tip")
I18n.t("spree.admin.reports.hidden_customer_details_tip")
end
def report_query