Skip to content

Commit

Permalink
Update validation messages for clarity in English and Spanish
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
JhumanJ committed Dec 9, 2024
1 parent 705c84d commit d09b5c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/resources/lang/en/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.',

];
2 changes: 1 addition & 1 deletion api/resources/lang/es/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.',

];

0 comments on commit d09b5c4

Please sign in to comment.