Skip to content

Beautiful Open-Source Form Builder

Update validation messages for clarity in English and Spanish

Julien Nahumd09b5c45a5ea
diff --git a/api/resources/lang/en/validation.php b/api/resources/lang/en/validation.php
index 7cbde8547..0be387d3d 100644
--- a/api/resources/lang/en/validation.php
+++ b/api/resources/lang/en/validation.php
@@ -149,6 +149,6 @@ return [
'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 50612c99a..342e3e26c 100755
--- a/api/resources/lang/es/validation.php
+++ b/api/resources/lang/es/validation.php
@@ -152,6 +152,6 @@ return [
'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.',
];