From d09b5c45a5ea7d383f107f576530944c86c1cc82 Mon Sep 17 00:00:00 2001 From: Julien Nahum Date: Mon, 9 Dec 2024 20:28:34 +0100 Subject: [PATCH] Update validation messages for clarity in English and Spanish - Revised the 'invalid_json' validation message in both English and Spanish to enhance clarity and user understanding. The new messages are more concise and direct, improving the overall user experience when inputting data. --- api/resources/lang/en/validation.php | 2 +- api/resources/lang/es/validation.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/resources/lang/en/validation.php b/api/resources/lang/en/validation.php index 7cbde854..0be387d3 100644 --- a/api/resources/lang/en/validation.php +++ b/api/resources/lang/en/validation.php @@ -149,6 +149,6 @@ 'attributes' => [], - 'invalid_json' => 'The entered data is invalid JSON. Please correct the data and try again.', + 'invalid_json' => 'Invalid input. Please correct and try again.', ]; diff --git a/api/resources/lang/es/validation.php b/api/resources/lang/es/validation.php index 50612c99..342e3e26 100755 --- a/api/resources/lang/es/validation.php +++ b/api/resources/lang/es/validation.php @@ -152,6 +152,6 @@ 'message' => 'mensaje', ], - 'invalid_json' => 'Los datos ingresados no son JSON válido. Por favor, corrija los datos e intente nuevamente.', + 'invalid_json' => 'Entrada no válida. Por favor, corrija e intente nuevamente.', ];