From e7b3717614621f14695ab6ca6dda6dd17ba3d65c Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Thu, 28 Jul 2011 20:27:23 +0000 Subject: added new easygiant library --- .../Application/Strings/Lang/It/DbCondStrings.php | 21 ++++++++++++++--- .../Application/Strings/Lang/It/ModelStrings.php | 19 +++++++++++++-- .../Application/Strings/Lang/It/UploadStrings.php | 20 ++++++++++++++-- .../Application/Strings/Lang/It/ValCondStrings.php | 27 +++++++++++++++++++--- 4 files changed, 77 insertions(+), 10 deletions(-) (limited to 'h-source/Application/Strings') diff --git a/h-source/Application/Strings/Lang/It/DbCondStrings.php b/h-source/Application/Strings/Lang/It/DbCondStrings.php index 4c985cd..98f0056 100644 --- a/h-source/Application/Strings/Lang/It/DbCondStrings.php +++ b/h-source/Application/Strings/Lang/It/DbCondStrings.php @@ -1,12 +1,27 @@ . if (!defined('EG')) die('Direct access not allowed!'); //error strings in the case database conditions are not satisfied -class Lang_It_DbCondStrings extends Lang_Eng_DbCondStrings { +class Lang_It_DbCondStrings extends Lang_En_DbCondStrings { //get the error string in the case that the value of the field $field is already present in the table $table public function getNotUniqueString($field) diff --git a/h-source/Application/Strings/Lang/It/ModelStrings.php b/h-source/Application/Strings/Lang/It/ModelStrings.php index e02013b..d4bdc4b 100644 --- a/h-source/Application/Strings/Lang/It/ModelStrings.php +++ b/h-source/Application/Strings/Lang/It/ModelStrings.php @@ -1,7 +1,22 @@ . if (!defined('EG')) die('Direct access not allowed!'); diff --git a/h-source/Application/Strings/Lang/It/UploadStrings.php b/h-source/Application/Strings/Lang/It/UploadStrings.php index 57bcda6..ad3e5be 100644 --- a/h-source/Application/Strings/Lang/It/UploadStrings.php +++ b/h-source/Application/Strings/Lang/It/UploadStrings.php @@ -1,7 +1,22 @@ . if (!defined('EG')) die('Direct access not allowed!'); @@ -14,6 +29,7 @@ class Lang_It_UploadStrings extends Lang_ResultStrings { "not-dir" => "
La cartella selezionata non è una directory
\n", "not-empty" => "
La cartella selezionata non è vuota
\n", "no-folder-specified" => "
Non è stata specificata alcuna cartella
\n", + "no-file-specified" => "
Non è stato specificato alcun file
\n", "not-writable" => "
La cartella non è scrivibile
\n", "not-writable-file" => "
Il file non è scrivibile
\n", "dir-exists" => "
Esiste già una directory con lo stesso nome
\n", 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 @@ . 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 "
".$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