From 07f5140771388c9e0c8a99b0dd2e5d950bdb173b Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Thu, 14 Oct 2021 15:16:42 +1100 Subject: moving h-source subdir out. --- Application/Strings/Lang/It/ValCondStrings.php | 92 ++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 Application/Strings/Lang/It/ValCondStrings.php (limited to 'Application/Strings/Lang/It/ValCondStrings.php') diff --git a/Application/Strings/Lang/It/ValCondStrings.php b/Application/Strings/Lang/It/ValCondStrings.php new file mode 100644 index 0000000..2fe6898 --- /dev/null +++ b/Application/Strings/Lang/It/ValCondStrings.php @@ -0,0 +1,92 @@ +. + +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"; + } +} -- cgit v1.2.3