From 232aa1924c8c0f10d87b210b46c9f061af5c844c Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Sun, 17 Oct 2010 13:29:57 +0000 Subject: added files --- .../Application/Strings/Lang/It/ValCondStrings.php | 69 ++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 h-source/Application/Strings/Lang/It/ValCondStrings.php (limited to 'h-source/Application/Strings/Lang/It/ValCondStrings.php') diff --git a/h-source/Application/Strings/Lang/It/ValCondStrings.php b/h-source/Application/Strings/Lang/It/ValCondStrings.php new file mode 100644 index 0000000..a54c650 --- /dev/null +++ b/h-source/Application/Strings/Lang/It/ValCondStrings.php @@ -0,0 +1,69 @@ +". $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"; + } +} -- cgit v1.2.3