Skip to content

A free open source IT asset/license management system

Updated validation messages

snipe55ae5ec50f26
diff --git a/resources/lang/en-US/validation.php b/resources/lang/en-US/validation.php
index 3ce37a8de5..17fe248ee5 100644
--- a/resources/lang/en-US/validation.php
+++ b/resources/lang/en-US/validation.php
@@ -160,7 +160,8 @@ return [
'two_column_unique_undeleted' => 'The :attribute must be unique across :table1 and :table2. ',
'unique_undeleted' => 'The :attribute must be unique.',
'non_circular' => 'The :attribute must not create a circular reference.',
- 'one_level_deep' => 'The :attribute must be a top-level item, and this item must not already have children. Only one level of nesting is allowed.',
+ 'parent_must_be_top_level' => 'The selected :attribute must itself be a top-level item. Only one level of nesting is allowed.',
+ 'must_have_no_children' => 'This item already has children of its own, so it cannot be assigned a parent.',
'not_array' => ':attribute cannot be an array.',
'disallow_same_pwd_as_user_fields' => 'Password cannot be the same as the username.',
'letters' => 'Password must contain at least one letter.',