.
if (!defined('EG')) die('Direct access not allowed!');
class Lang_It_ValCondStrings extends Lang_En_ValCondStrings {
//if the element is not defined
public function getNotDefinedResultString($element)
{
return "
". $element ." non è stato definito
\n";
}
//if the elements are not equal
public function getNotEqualResultString($element)
{
return "Differenti valori: $element
\n";
}
//if the element is not alphabetic
public function getNotAlphabeticResultString($element)
{
return "".$element." deve essere una stringa di soli caratteri alfabetici
\n";
}
//if the element is not alphanumeric
public function getNotAlphanumericResultString($element)
{
return "".$element." deve essere una stringa di soli caratteri alfanumerici
\n";
}
//if the element is not a decimal digit
public function getNotDecimalDigitResultString($element)
{
return "".$element." deve essere una stringa di soli numeri decimali
\n";
}
//if the element has the mail format
public function getNotMailFormatResultString($element)
{
return "".$element." non sembra un indirizzo e-mail
\n";
}
//if the element is numeric
public function getNotNumericResultString($element)
{
return "".$element." deve essere un numero
\n";
}
//if the element (string) length exceeds the value of characters (defined by $maxLength)
public function getLengthExceedsResultString($element,$maxLength)
{
return "".$element." non deve essere composto da più di $maxLength caratteri
\n";
}
//if the element is one of the strings indicated by $stringList (a comma-separated list of strings)
public function getIsForbiddenStringResultString($element,$stringList)
{
return "".$element." non può assumere uno dei seguenti valori: $stringList
\n";
}
//if the element is not one of the strings indicated by $stringList (a comma-separated list of strings)
public function getIsNotStringResultString($element,$stringList)
{
return "".$element." deve assumere uno dei seguenti valori: $stringList
\n";
}
//if the element is not one of the strings indicated by $stringList (a comma-separated list of strings)
public function getDoesntMatchResultString($element,$regExp)
{
return "".$element." deve soddisfare la seguente espressione regolare: $regExp
\n";
}
}