Installation translated in italian

This commit is contained in:
Matteo Gheza 2020-09-05 12:08:43 +02:00
parent aeb9556de6
commit 17b12db40c
4 changed files with 105 additions and 8 deletions

View File

@ -84,7 +84,7 @@ if(!is_cli()){
<p>
<?php t("We will use this informations for creating a file"); ?> <code>config.php</code>. <strong>
<?php printf(t("If for any reason automatic file creation doesn't work, don't worry. You can just open %s in a text editor, enter your details, and save it as", false), "<code>config-sample.php</code>"); ?> <code>config.php</code>. </strong>
<p><?php t("In all likelihood, this information has already been provided to you by your hosting provider. If you don't have this information, you'll need to contact your provider before you can continue. But if everything is ready ..."); ?></p>
<p><?php t("In all likelihood, this information has already been provided to you by your hosting provider. If you don't have this information, you'll need to contact your provider before you can continue. But if everything is ready..."); ?></p>
<p class="step">
<form method="POST">
@ -151,7 +151,7 @@ if(!is_cli()){
header("Location: install.php");
} else if ($populated && !$userPopulated && !in_array("5",$_POST)) {
?>
<h1 class="screen-reader-text"><?php t("Urray!"); ?></h1>
<h1 class="screen-reader-text"><?php t("Hurray!"); ?></h1>
<p><?php t("You are almost finished installing Allerta, you just need to enter some information"); ?>.</p>
<h2><?php t("Necessary informations:"); ?></h2>
<p class="step">
@ -226,7 +226,7 @@ if(!is_cli()){
</fieldset>
</td>
</tr>
<tr>
<tr style="display:none">
<th scope="row"><?php t("Add developer permissions to admin user"); ?></th>
<td>
<fieldset>

View File

@ -52,12 +52,12 @@ function t($string, $echo=true){
throw new Exception ('string does not exist');
$string = $loaded_translations[$string];
} catch (\Exception $e) {
print("no");
//nothing
}
if ($echo){
echo "<u>".$string."</u>";
echo $string;
} else {
return "<u>".$string."</u>";
return $string;
}
}

View File

@ -15,7 +15,7 @@ return [
"DB prefix" => "DB prefix",
"We will use this informations for creating a file" => "We will use this informations for creating a file",
"If for any reason automatic file creation doesn't work, don't worry. You can just open %s in a text editor, enter your details, and save it as" => "If for any reason automatic file creation doesn't work, don't worry. You can just open %s in a text editor, enter your details, and save it as",
"In all likelihood, this information has already been provided to you by your hosting provider. If you don't have this information, you'll need to contact your provider before you can continue. But if everything is ready ..." => "In all likelihood, this information has already been provided to you by your hosting provider. If you don't have this information, you'll need to contact your provider before you can continue. But if everything is ready ...",
"In all likelihood, this information has already been provided to you by your hosting provider. If you don't have this information, you'll need to contact your provider before you can continue. But if everything is ready..." => "In all likelihood, this information has already been provided to you by your hosting provider. If you don't have this information, you'll need to contact your provider before you can continue. But if everything is ready...",
"Submit" => "Submit",
"Configure the database connection" => "Configure the database connection",
"Below you can enter your database connection details. If you are not sure of the data to enter, contact your hosting provider" => "Below you can enter your database connection details. If you are not sure of the data to enter, contact your hosting provider",
@ -69,7 +69,7 @@ return [
"Destination path" => "Destination path",
"%s is not writable. Directory permissions: %s" => "%s is not writable. Directory permissions: %s",
"%s not exists" => "%s not exists",
"Urray!" => "Urray!",
"Hurray!" => "Hurray!",
"You are almost finished installing Allerta, you just need to enter some information" => "You are almost finished installing Allerta, you just need to enter some information",
"Necessary informations:" => "Necessary informations:",
"Very weak" => "Very weak",

View File

@ -0,0 +1,97 @@
<?php
// Translated by: Matteo Gheza (matteogheza.it; github.com/matteogheza)
return [
"Already installed" => "Già installato",
"user" => "utente",
"password" => "password",
"installation" => "installazione",
"Before starting" => "Prima di inziare",
"Welcome in Allerta. We need some informations about the database. You have to know the following informations:" => "Benvenuto in Allerta. Abbiamo bisogno di qualche informazione per poterci connettere al DB. Devi conoscere le seguenti informazioni:",
"DB name" => "nome DB",
"DB username" => "username DB",
"DB password" => "password DB",
"DB host" => "host DB",
"DB prefix" => "prefisso DB",
"We will use this informations for creating a file" => "Useremo queste informazioni per creare un file",
"If for any reason automatic file creation doesn't work, don't worry. You can just open %s in a text editor, enter your details, and save it as" => "Se per un qualsiasi motivo la generazione automatica del file fallisse, non c'é problema. Basta aprire %s in un editor di testo, inserire le informazioni di contatto e salvare il file",
"In all likelihood, this information has already been provided to you by your hosting provider. If you don't have this information, you'll need to contact your provider before you can continue. But if everything is ready..." => "Molto probabilmente, queste informazioni ti sono state date dal tuo fornitore di hosting. Se non hai queste informazioni, contatta il fornitore prima di continuare. Ma se è tutto pronto...",
"Submit" => "Invia",
"Configure the database connection" => "Configura la connessione al database",
"Below you can enter your database connection details. If you are not sure of the data to enter, contact your hosting provider" => "Di seguito, potrai inserire le informazioni di connessione al database. Se non sai che informazioni inserire, contatta il tuo fornitore di hosting",
"The name of the database you want to use with Allerta" => "Il nome del database da usare per Allerta",
"Your" => "Il tuo",
"If %s doesn't work, you can get this information from your hosting provider" => "Se %s non funziona, richiedi queste informazioni al tuo fornitore di hosting",
"Edit this item if you want to perform multiple Alert installations on a single database" => "Modifica questo campo se vuoi installare più volte Allerta sullo stesso database",
"Error establishing a database connection" => "Errore nela connessione con il database",
"This could mean that %s and %s in file %s are wrong or that we cannot contact database %s. It could mean that your database is unreachable" => "Questo può significare che %s e %s nel file %s sono sbagliati o che il database %s non funziona. Può significare che il database non funziona",
"Are you sure that %s and %s correct?" => "Sei sicuro che %s e %s siano corretti?",
"Are you sure you have entered the correct hostname?" => "Sei sicuro che l'hostname sia corretto?",
"Are you sure the database server is up and running?" => "Sei sicuro che il server del database sia attivo?",
"If you're not sure what these terms mean, try contacting your hosting provider. Try providing the following information:" => "Se non sei sicuro del significato di questi termini, prova a contattare il tuo fornitore. Fornisci anche le seguenti informazioni:",
"Advanced informations" => "Informazioni avanzate",
"Try again" => "Riprova",
"Cannot select database" => "Impossibile selezionare il database",
"We were able to connect to the database server (which means your username and password are ok)" => "Siamo riusciti a connetterci al database (significa che username e password sono corretti)",
"but we could not select the database" => "ma non siamo riusciti a selezionare il database",
"Are you sure that it exists?" => "Sei siuro che esista?",
"Does user %s have permissions to use database %s?" => "L'utente %s ha il permesso di accedere al database %s?",
"In some systems your database name has your username as a prefix, which is %s. Could this be the problem?" => "In alcuni sistemi il nome del database ha per prefisso il nome utente, che sarebbe %s. Può essere questo il problema?",
"Cannot edit the configuration file" => "Impossibile modificare il file di configurazione",
"We were unable to write the configuration file %s, which is required for the program to work" => "Non siamo riusciti a scrivere il file %s, richiesto dal programmaper funzionare",
"It is however possible to edit it manually by following the instructions below:" => "E' tuttavia possibile modificarlo manualmente seguendo i seguenti passaggi:",
"Access the Allerta installation folder (connect via FTP in case of cloud server)" => "Accedi alla cartella di Allerta (connettiti via FTP on caso di server cloud)",
"Rename the file %s to %s" => "Rinomina il file %s in %s",
"Replace the first 16 lines of the file with the following text:" => "Sostituisci le prime 16 righe del file con il seguente testo:",
"Unable to create tables" => "Impossibile creare le tabelle",
"but we were unable to create the tables" => "ma non siamo riusciti a creare le tabelle",
"Unable to create tables" => "Impossibile riempire le tabelle",
"but we were unable to fill in the tables" => "ma non siamo riusciti a riempire le tabelle",
"Config created successful" => "Configurazione creata con successo",
"DB Populated successful" => "DB Riempito con successo",
"Create the config file" => "Crea il file di configurazione",
"This file is required for running %s" => "Questo file è richiesto per eseguire %s",
"Create a new config file" => "Crea un nuovo file di configurazione",
"Configuration file created successfully!" => "File di configurazione creato con successo!",
"Great job, man!" => "Ottimo lavoro, amico!",
"You have completed this part of the installation. Allerta can now communicate with the database" => "Hai completato questa parte dell'installazione. Allerta ora può comunicare con il database",
"If you are ready, it's time to..." => "Se sei pronto, è ora di...",
"Admin name" => "Nome dell'amministratore",
"Is admin visible?" => "L'amministratore deve essere visibile?",
"Admin password" => "Password dell'amministratore",
"Owner" => "Proprietario",
"Report email" => "Email per i report",
"Populate Allerta database" => "Riempi il database di Allerta",
"This require a working %s file" => "Questo richiede un file %s funzionante",
"Populate DB" => "Riempi il DB",
"Show version information and quit" => "Mostra informazioni sulla versione ed esci",
"Show this help and quit" => "Mostra questo messaggio ed esci",
"Destination path" => "Cartella di destinazione",
"%s is not writable. Directory permissions: %s" => "%s non è scrivibile. Permessi della cartella: %s",
"%s not exists" => "%s non esiste",
"Hurray!" => "Evviva!",
"You are almost finished installing Allerta, you just need to enter some information" => "L'installazione di Allerta è quasi terminata, devi solo inserire qualche informazione",
"Necessary informations:" => "Informazioni necessarie:",
"Very weak" => "Molto debole",
"Weak" => "Debole",
"Good" => "Buona",
"Strong" => "Forte",
"Very strong" => "Molto forte",
"Admin username" => "Username dell'amministratore",
"Usernames can only contains alphanumeric characters, spaces, underscores, dashes, periods, and the @ symbol" => "Lo username può contenere solo caratteri alfanumerici, spazi, trattini bassi, punti, virgole, e il simbolo @",
"Password" => "Password",
"Important:" => "Importante:",
"You will need this password to log in. Keep it in a safe place" => "Avrai bisogno di questa password per entrare. Conservala in un posto sicuro",
"Make admin user visible" => "Rendi l'amministratore visibile",
"to other users" => "agli altri utenti",
"By activating this option, the user that will be created will be visible in lists and procedures" => "Attivando questa opzione, l'utente che verrà creato sarà visibile nelle liste e nelle procedure",
"Add developer permissions to admin user" => "Aggiungi permessi da sviluppatore all'amministratore",
"By activating this option, the user will be able to debug Allerta" => "Attivando questa opzione, l'utente sarà in gradodi eseguire il debug di Allerta",
"Your email" => "La tua email",
"Please check your email address carefully before continuing" => "Per farvore, controlla con attenzione l'indirizzo email prima di continuare",
"It will be used in reports" => "Sarà usato nei report",
"Install Allerta" => "Installa Allerta",
"Installation completed successfully" => "Installazione completata con successo",
"You have completed the installation. Allerta can now function properly" => "Hai completato l'installazione. Allerta può ora funzionare correttamente",
"Login" => "Login"
];