From 982f30399f63f154d1fc1a36b9dd116fb36f281b Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Tue, 8 Aug 2023 09:15:13 +0100 Subject: [PATCH] merge :errors values under one key --- config/locales/en.yml | 44 +++++++++++++++++++++---------------------- 1 file changed, 21 insertions(+), 23 deletions(-) diff --git a/config/locales/en.yml b/config/locales/en.yml index 56dbf82ca4..bcf99fc388 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -138,7 +138,27 @@ en: aspect_ratio_is_not: "must have an aspect ratio of %{aspect_ratio}" aspect_ratio_unknown: "has an unknown aspect ratio" image_not_processable: "is not a valid image" - + not_found: + title: "The page you were looking for doesn't exist (404)" + message_html: "Please try again +

This might be a temporary problem. Please click the back button to return to the previous screen or go back to Home and try again.

+ Contact support +

If the problem persists or is urgent, please tell us about it. Find our contact details from the global Open Food Network Local page.

+

It really helps us if you can give as much detail as possible about what the missing page is about.

" + internal_server_error: + title: "We're sorry, but something went wrong (500)" + message_html: "Please try again +

This might be a temporary problem. Please click the back button to return to the previous screen or go back to Home and try again.

+ We're on it +

If you have seen this problem before, we probably already know about it and are working on a fix. We record all the errors that come up.

+ Contact support +

If the problem persists or is urgent, please tell us about it. Find our contact details from the global Open Food Network Local page.

+

It really helps us if you can give as much detail as possible about what you were doing when this error occurred.

" + unprocessable_entity: + title: "The change you wanted was rejected (422)" + message_html: "

The change you wanted was rejected. Maybe you tried to change something you don't have access to. +

Return home

+

" stripe: error_code: incorrect_number: "The card number is incorrect." @@ -4622,28 +4642,6 @@ See the %{link} to find out more about %{sitename}'s features and to start using x_years: one: 1 year other: "%{count} years" - errors: - not_found: - title: "The page you were looking for doesn't exist (404)" - message_html: "Please try again -

This might be a temporary problem. Please click the back button to return to the previous screen or go back to Home and try again.

- Contact support -

If the problem persists or is urgent, please tell us about it. Find our contact details from the global Open Food Network Local page.

-

It really helps us if you can give as much detail as possible about what the missing page is about.

" - internal_server_error: - title: "We're sorry, but something went wrong (500)" - message_html: "Please try again -

This might be a temporary problem. Please click the back button to return to the previous screen or go back to Home and try again.

- We're on it -

If you have seen this problem before, we probably already know about it and are working on a fix. We record all the errors that come up.

- Contact support -

If the problem persists or is urgent, please tell us about it. Find our contact details from the global Open Food Network Local page.

-

It really helps us if you can give as much detail as possible about what you were doing when this error occurred.

" - unprocessable_entity: - title: "The change you wanted was rejected (422)" - message_html: "

The change you wanted was rejected. Maybe you tried to change something you don't have access to. -

Return home

-

" components: multiple_checked_select: filter_placeholder: "Filter options"