dirname( __FILE__ ) . '/lang' ); patForms_I18n::addModule( 'Gettext', $confGettext ); patForms_I18n::setLocale( 'de_DE' ); class patForms_Element_Number { protected $validatorErrorCodes = array(); public function loadValidatiorErrorCodes() { $this->validatorErrorCodes = array( 1 => patForms_I18n::gettext( 'This field is required, please complete it.' ), 2 => patForms_I18n::gettext( 'Value is not a number.' ), 3 => patForms_I18n::gettext( 'Value is smaller than the minimum of [MIN].' ) ); } } ?>