1 package SL::DB::RequirementSpecPredefinedText;
5 use SL::DB::MetaSetup::RequirementSpecPredefinedText;
6 use SL::DB::Manager::RequirementSpecPredefinedText;
7 use SL::DB::Helper::ActsAsList;
8 use SL::Locale::String;
10 __PACKAGE__->meta->initialize;
16 push @errors, t8('The description is missing.') if !$self->description;
17 push @errors, t8('The description is not unique.') if $self->get_first_conflicting('description');
18 push @errors, t8('The title is missing.') if !$self->title;