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/DbCondStrings.php | 34 ++++++++++ Application/Strings/Lang/It/ModelStrings.php | 36 ++++++++++ Application/Strings/Lang/It/UploadStrings.php | 44 ++++++++++++ Application/Strings/Lang/It/ValCondStrings.php | 92 ++++++++++++++++++++++++++ Application/Strings/Lang/It/index.html | 1 + 5 files changed, 207 insertions(+) create mode 100644 Application/Strings/Lang/It/DbCondStrings.php create mode 100644 Application/Strings/Lang/It/ModelStrings.php create mode 100644 Application/Strings/Lang/It/UploadStrings.php create mode 100644 Application/Strings/Lang/It/ValCondStrings.php create mode 100644 Application/Strings/Lang/It/index.html (limited to 'Application/Strings/Lang/It') diff --git a/Application/Strings/Lang/It/DbCondStrings.php b/Application/Strings/Lang/It/DbCondStrings.php new file mode 100644 index 0000000..41b57ac --- /dev/null +++ b/Application/Strings/Lang/It/DbCondStrings.php @@ -0,0 +1,34 @@ +. + +if (!defined('EG')) die('Direct access not allowed!'); + +//error strings in the case database conditions are not satisfied +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) + { + return "
Il valore del campo ". $field ." è già presente. Per favore scegline un altro.
\n"; + } + +} diff --git a/Application/Strings/Lang/It/ModelStrings.php b/Application/Strings/Lang/It/ModelStrings.php new file mode 100644 index 0000000..7af1ca7 --- /dev/null +++ b/Application/Strings/Lang/It/ModelStrings.php @@ -0,0 +1,36 @@ +. + +if (!defined('EG')) die('Direct access not allowed!'); + +class Lang_It_ModelStrings extends Lang_ResultStrings { + + public $string = array( + "error" => "
Errore nella query: contatta l'amministratore!
\n", + "executed" => "
operazione eseguita!
\n", + "associate" => "
Problema di integrità referenziale: il record è associato ad un record di una tabella figlia. Devi prima rompere l'associazione.
\n", + "no-id" => "
Non è definito alcun id della query
\n", + "not-linked" => "
Il record non è associato, non puoi dissociarlo
", + "linked" => "
Il record è già associato, non puoi associarlo un'altra volta
" + ); + +} diff --git a/Application/Strings/Lang/It/UploadStrings.php b/Application/Strings/Lang/It/UploadStrings.php new file mode 100644 index 0000000..fe77929 --- /dev/null +++ b/Application/Strings/Lang/It/UploadStrings.php @@ -0,0 +1,44 @@ +. + +if (!defined('EG')) die('Direct access not allowed!'); + +class Lang_It_UploadStrings extends Lang_ResultStrings { + + public $string = array( + "error" => "
Errore: verificare i permessi del file/directory
\n", + "executed" => "
Operazione eseguita!
\n", + "not-child" => "
La cartella selezionata non è una sotto directory della directory base
\n", + "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", + "no-upload-file" => "
Non c'è alcun file di cui fare l'upload
\n", + "size-over" => "
La dimensione del file è troppo grande
\n", + "not-allowed-ext" => "
L'estensione del file che vuoi caricare non è consentita
\n", + "file-exists" => "
Esiste già un file con lo stesso nome
\n", + ); + +} 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"; + } +} diff --git a/Application/Strings/Lang/It/index.html b/Application/Strings/Lang/It/index.html new file mode 100644 index 0000000..8d1c8b6 --- /dev/null +++ b/Application/Strings/Lang/It/index.html @@ -0,0 +1 @@ + -- cgit v1.2.3