- push @errors, t8('The name is missing.') if !$self->name;
- push @errors, t8('The description is missing.') if !$self->description;
+ push @errors, t8('The name is missing.') if !$self->name;
+ push @errors, t8('The name and description are not unique.') if $self->get_first_conflicting('name', 'description');
+ push @errors, t8('The name is invalid.') if none { $_ eq $self->name } @valid_names;
+ push @errors, t8('The description is missing.') if !$self->description;