aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Strings/Lang/It/ValCondStrings.php
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-07-28 20:27:23 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-07-28 20:27:23 +0000
commite7b3717614621f14695ab6ca6dda6dd17ba3d65c (patch)
treec8e6061aef3ff7bad5a17e1aecaf441d35e282cb /h-source/Application/Strings/Lang/It/ValCondStrings.php
parent0de74c6879d263645770de3d6b3ce7123f5241d6 (diff)
added new easygiant library
Diffstat (limited to 'h-source/Application/Strings/Lang/It/ValCondStrings.php')
-rw-r--r--h-source/Application/Strings/Lang/It/ValCondStrings.php27
1 files changed, 24 insertions, 3 deletions
diff --git a/h-source/Application/Strings/Lang/It/ValCondStrings.php b/h-source/Application/Strings/Lang/It/ValCondStrings.php
index a54c650..2857182 100644
--- a/h-source/Application/Strings/Lang/It/ValCondStrings.php
+++ b/h-source/Application/Strings/Lang/It/ValCondStrings.php
@@ -1,11 +1,26 @@
<?php
-// All EasyGiant code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
-// See COPYRIGHT.txt and LICENSE.txt.
+// EasyGiant, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2009 - 2010 Antonio Gallo (h-source-copyright.txt)
+//
+// This file is part of EasyGiant
+//
+// EasyGiant is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// EasyGiant is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with EasyGiant. If not, see <http://www.gnu.org/licenses/>.
if (!defined('EG')) die('Direct access not allowed!');
-class Lang_It_ValCondStrings extends Lang_Eng_ValCondStrings {
+class Lang_It_ValCondStrings extends Lang_En_ValCondStrings {
//if the element is not defined
public function getNotDefinedResultString($element)
@@ -66,4 +81,10 @@ class Lang_It_ValCondStrings extends Lang_Eng_ValCondStrings {
{
return "<div class='alert'>".$element." deve assumere uno dei seguenti valori: $stringList</div>\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 "<div class='alert'>".$element." deve soddisfare la seguente espressione regolare: $regExp</div>\n";
+ }
}