#!/bin/perl
#
-# $Id: it.pm,v 1.8 2004/06/12 18:18:42 cbarratt Exp $
-#
# Italian i18n file
#
# (C) Lorenzo Cappelletti <lorenzo.cappelletti@email.it> 2004
\${h1(qq{$Lang{Admin_Options}})}
<br>
\${h2("Controllo server")}
-<form action="\$MyURL" method="get">
-<table>
-<!--<tr><td>Arresta il server:<td><input type="submit" name="action" value="Stop">-->
- <tr><td>Ricarica la configurazione del server:<td><input type="submit" name="action" value="Reload">
+<form name="ReloadForm" action="\$MyURL" method="get">
+<input type="hidden" name="action" value="">
+<table class="tableStnd">
+ <tr><td>Ricarica la configurazione del server:<td><input type="button" value="Reload"
+ onClick="document.ReloadForm.action.value='Reload';
+ document.ReloadForm.submit();">
</table>
</form>
<!--
"Questo script CGI (\$MyURL) non è in grado di connettersi al server"
. " BackupPC su \$Conf{ServerHost} alla porta \$Conf{ServerPort}. L'errore è:"
. " \$err.",
- "Forse il server BackupPC non è in esecuzioneor c'è un errore"
+ "Forse il server BackupPC non è in esecuzione o c'è un errore"
. " nella configurazione. Contattare l'amministratore di sistema.";
$Lang{Admin_Start_Server} = <<EOF;
\${h1(qq{$Lang{Unable_to_connect_to_BackupPC_server}})}
<td align="center"> Velocità (MB/s) </td>
<td align="center"> Incrementali </td>
<td align="center"> Età incrementali (giorni) </td>
+ <td align="center"> ENG Last Backup (days) </td>
<td align="center"> Stato </td>
<td align="center"> Ultimo tentativo </td></tr>
\$strGood
<td align="center"> Velocità (MB/s) </td>
<td align="center"> Incrementali </td>
<td align="center"> Età incrementali (giorni) </td>
+ <td align="center"> ENG Last Backup (days) </td>
<td align="center"> Stato </td>
<td align="center"> Ultimo tentativo </td></tr>
\$strNone
<table class="tableStnd" border cellspacing="1" cellpadding="3">
\$paramStr
<tr>
- <td colspan=2><input type="submit" value="Avvia archiviazione" name=""></td>
+ <td colspan=2><input type="submit" value="Avvia archiviazione" name="ignore"></td>
</tr>
</form>
</table>
$Lang{REPLY_FROM_SERVER} = <<EOF;
\${h1(\$str)}
<p>
-La risposta del server ` stata: \$reply
+La risposta del server è stata: \$reply
<p>
Ritorna alla <a href="\$MyURL?host=\$host">homepage di \$host</a>.
EOF
$Lang{Are_you_sure_start} = <<EOF;
\${h1("Sicuro?")}
<p>
-Si sta per avviare un bakcup \$type per \$host.
+Si sta per avviare un backup \$type per \$host.
-<form action="\$MyURL" method="get">
+<form name="Confirm" action="\$MyURL" method="get">
<input type="hidden" name="host" value="\$host">
<input type="hidden" name="hostIP" value="\$ipAddr">
<input type="hidden" name="doit" value="1">
+<input type="hidden" name="action" value="">
Avviare veramente?
-<input type="submit" value="\$In{action}" name="action">
-<input type="submit" value="No" name="">
+<input type="button" value="\$buttonText"
+ onClick="document.Confirm.action.value='\$In{action}';
+ document.Confirm.submit();">
+<input type="submit" value="No" name="ignore">
</form>
EOF
# --------------------------------
<p>
Si sta per arrestare/disaccodare i backup per \$host;
-<form action="\$MyURL" method="get">
-<input type="hidden" name="host" value="\$host">
-<input type="hidden" name="doit" value="1">
+<form name="Confirm" action="\$MyURL" method="get">
+<input type="hidden" name="host" value="\$host">
+<input type="hidden" name="doit" value="1">
+<input type="hidden" name="action" value="">
Also, please don\'t start another backup for
<input type="text" name="backoff" size="10" value="\$backoff"> hours.
<p>
Arrestare veramente?
-<input type="submit" value="\$In{action}" name="action">
-<input type="submit" value="No" name="">
+<input type="button" value="\$buttonText"
+ onClick="document.Confirm.action.value='\$In{action}';
+ document.Confirm.submit();">
+<input type="submit" value="No" name="ignore">
</form>
EOF
<input type="hidden" name="type" value="3">
\$hiddenStr
<input type="hidden" value="\$In{action}" name="action">
-<table border="0">
+<table class="tableStnd" border="0">
<tr>
<td>Ripristino dei file sull\'host</td>
<td><!--<input type="text" size="40" value="\${EscHTML(\$host)}"
<td valign="top"><input type="text" size="40" maxlength="256"
value="\${EscHTML(\$pathHdr)}" name="pathHdr"></td>
</tr><tr>
- <td><input type="submit" value="Avvio ripristino" name=""></td>
+ <td><input type="submit" value="Avvio ripristino" name="ignore"></td>
</table>
</form>
EOF
Compressione (0=off, 1=fast,...,9=best)
<input type="text" size="6" value="5" name="compressLevel">
<br>
-<input type="submit" value="Scarica file zip" name="">
+<input type="submit" value="Scarica file zip" name="ignore">
</form>
EOF
l\'archivio relativamente a \${EscHTML(\$pathHdr eq "" ? "/" : \$pathHdr)}
(altrimenti l\'archivio conterrà percorsi completi).
<br>
-<input type="submit" value="Scarica file tar" name="">
+<input type="submit" value="Scarica file tar" name="ignore">
</form>
EOF
I file seguenti saranno ripristinati sulla condivisione \$In{shareDest}
dal backup numero \$num:
<p>
-<table border>
-<tr><td>File/directory originale</td><td>Ripristinato su</td></tr>
+<table class="tableStnd" border>
+<tr class="tableheader"><td>File/directory originale</td><td>Ripristinato su</td></tr>
\$fileListStr
</table>
-<form action="\$MyURL" method="post">
+<form name="RestoreForm" action="\$MyURL" method="post">
<input type="hidden" name="host" value="\${EscHTML(\$host)}">
<input type="hidden" name="hostDest" value="\${EscHTML(\$In{hostDest})}">
<input type="hidden" name="shareDest" value="\${EscHTML(\$In{shareDest})}">
<input type="hidden" name="pathHdr" value="\${EscHTML(\$In{pathHdr})}">
<input type="hidden" name="num" value="\$num">
<input type="hidden" name="type" value="4">
+<input type="hidden" name="action" value="">
\$hiddenStr
Avviare veramente?
-<input type="submit" value="\$In{action}" name="action">
-<input type="submit" value="No" name="">
+<input type="button" value="\$Lang->{Restore}"
+ onClick="document.RestoreForm.action.value='Restore';
+ document.RestoreForm.submit();">
+<input type="submit" value="No" name="ignore">
</form>
EOF
$Lang{Reply_from_server_was___reply} = <<EOF;
\${h1(\$str)}
<p>
-La risposta del server ` stata: \$reply
+La risposta del server è stata: \$reply
<p>
Ritorna alla <a href="\$MyURL?host=\$hostDest">homepage di \$hostDest</a>.
EOF
</p>
\${h2("Azioni utente")}
<p>
-<form action="\$MyURL" method="get">
-<input type="hidden" name="host" value="\$host">
+<form name="StartStopForm" action="\$MyURL" method="get">
+<input type="hidden" name="host" value="\$host">
+<input type="hidden" name="action" value="">
\$startIncrStr
-<input type="submit" value="$Lang{Start_Full_Backup}" name="action">
-<input type="submit" value="$Lang{Stop_Dequeue_Backup}" name="action">
+<input type="button" value="\$Lang->{Start_Full_Backup}"
+ onClick="document.StartStopForm.action.value='Start_Full_Backup';
+ document.StartStopForm.submit();">
+<input type="button" value="\$Lang->{Stop_Dequeue_Backup}"
+ onClick="document.StartStopForm.action.value='Stop_Dequeue_Backup';
+ document.StartStopForm.submit();">
</form>
\${h2("Prospetto backup")}
<p>
-Cliccare sul numero di bakcup per sfogliare e ripristinare i file di backup.
+Cliccare sul numero di backup per sfogliare e ripristinare i file di backup.
</p>
<table class="tableStnd" border cellspacing="1" cellpadding="3">
<tr class="tableheader"><td align="center"> Numero backup </td>
<td align="center"> Tipo </td>
<td align="center"> Completo </td>
+ <td align="center"> ENG Level </td>
<td align="center"> Data avvio </td>
<td align="center"> Durata (minuti) </td>
<td align="center"> Età (giorni) </td>
\${h2("Azioni utente")}
<p>
-<form action="\$MyURL" method="get">
+<form name="StartStopForm" action="\$MyURL" method="get">
<input type="hidden" name="archivehost" value="\$host">
<input type="hidden" name="host" value="\$host">
-<input type="submit" value="$Lang{Start_Archive}" name="action">
-<input type="submit" value="$Lang{Stop_Dequeue_Archive}" name="action">
+<input type="hidden" name="action" value="">
+<input type="button" value="\$Lang->{Start_Archive}"
+ onClick="document.StartStopForm.action.value='Start_Archive';
+ document.StartStopForm.submit();">
+<input type="button" value="\$Lang->{Stop_Dequeue_Archive}"
+ onClick="document.StartStopForm.action.value='Stop_Dequeue_Archive';
+ document.StartStopForm.submit();">
</form>
\$ArchiveStr
<input type="hidden" name="host" value="\$host">
<input type="hidden" name="share" value="\${EscHTML(\$share)}">
<input type="hidden" name="fcbMax" value="\$checkBoxCnt">
-<input type="hidden" name="action" value="$Lang{Restore}">
+<input type="hidden" name="action" value="Restore">
<br>
<table width="100%">
-<tr><td valign="top">
- <br><table align="center" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
+<tr><td valign="top" width="30%">
+ <table align="left" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
\$dirStr
</table>
</td><td width="3%">
</td><td valign="top">
<br>
- <table border="0" width="100%" align="left" cellpadding="3" cellspacing="1">
+ <table border width="100%" align="left" cellpadding="3" cellspacing="1">
\$fileHeader
\$topCheckAll
\$fileStr
\${h2("Cronologia di \${EscHTML(\$dirDisplay)}")}
<br>
-<table cellspacing="2" cellpadding="3">
+<table border cellspacing="2" cellpadding="3">
<tr class="fviewheader"><td>Numero backup</td>\$backupNumStr</tr>
<tr class="fviewheader"><td>Data backup</td>\$backupTimeStr</tr>
\$fileStr
<tr><td class="tableheader"> Durata </td><td class="border"> \$duration min </td></tr>
<tr><td class="tableheader"> Numero file </td><td class="border"> \$Restores[\$i]{nFiles} </td></tr>
<tr><td class="tableheader"> Dimensione totale </td><td class="border"> \${MB}MB </td></tr>
-<tr><td class="tableheader"> Tasso trasferimento </td><td class="border"> \$MBperSecMB/s </td></tr>
+<tr><td class="tableheader"> Tasso trasferimento </td><td class="border"> \${MBperSec}MB/s </td></tr>
<tr><td class="tableheader"> Errori creazione tar </td><td class="border"> \$Restores[\$i]{tarCreateErrs} </td></tr>
<tr><td class="tableheader"> Errori trasferimento </td><td class="border"> \$Restores[\$i]{xferErrs} </td></tr>
<tr><td class="tableheader"> File log trasferimento </td><td class="border">
$Lang{Host__doesn_t_exist} = "L\'host \${EscHTML(\$In{hostDest})} non esiste";
$Lang{You_don_t_have_permission_to_restore_onto_host} = "Non si possiedono i permessi per ripristinare sull\'host"
. " \${EscHTML(\$In{hostDest})}";
-$Lang{Can_t_open_create} = "Impossibile creare/aprire "
- . "\${EscHTML(\"\$TopDir/pc/\$hostDest/\$reqFileName\")}";
+$Lang{Can_t_open_create__openPath} = "Impossibile creare/aprire "
+ . "\${EscHTML(\"\$openPath\")}";
$Lang{Only_privileged_users_can_restore_backup_files2} = "Solo gli utenti privilegiati possono ripristinare i file"
. " per l\'host \${EscHTML(\$host)}.";
$Lang{Empty_host_name} = "Nome host vuoto";
$Lang{Old_LOGs} = "Vecchi log";
$Lang{Email_summary} = "Prospetto email";
$Lang{Config_file} = "File configurazione";
-$Lang{Hosts_file} = "File host";
+# $Lang{Hosts_file} = "File host";
$Lang{Current_queues} = "Code correnti";
$Lang{Documentation} = "Documentazione";
$Lang{Backups_are_deferred_for_hours_hours_change_this_number} = <<EOF;
<li>I backup sono stati posticipati per \$hours ore
-(<a href=\"\$MyURL?action=\${EscURI(\$Lang->{Stop_Dequeue_Archive})}&host=\$host\">modifica questo numero</a>).
+(<a href=\"\$MyURL?action=Stop_Dequeue_Backup&host=\$host\">modifica questo numero</a>).
EOF
$Lang{tryIP} = " e \$StatusHost{dhcpHostIP}";
$Lang{Reason_backup_canceled_by_user} = "backup annullato dall\'utente";
$Lang{Reason_restore_canceled_by_user} = "ripristino annullato dall\'utente";
$Lang{Reason_archive_canceled_by_user} = "archivio annullato dall\'utente";
+$Lang{Disabled_OnlyManualBackups} = "ENG auto disabled";
+$Lang{Disabled_AllBackupsDisabled} = "ENG disabled";
# ---------
# Email messages
$Lang{EMailNoBackupEverMesg} = <<'EOF';
To: $user$domain
Subject: $subj
-
+$headers
Ciao $userName,
Il nostro software di backup non e` ancora riuscito ad effettuare un
$Lang{EMailNoBackupRecentMesg} = <<'EOF';
To: $user$domain
Subject: $subj
-
+$headers
Ciao $userName,
-e` stato effettuato correttamente il backup del tuo PC ($host) per
+non e` stato effettuato correttamente il backup del tuo PC ($host) per
$days giorni. Dal $firstTime fino a $days fa sono stati eseguiti con
successo $numBackups backup. I backup dei PC dovrebbero avvenire
automaticamente quando il tuo PC e` connesso alla rete.
$Lang{EMailOutlookBackupMesg} = <<'EOF';
To: $user$domain
Subject: $subj
-
+$headers
Ciao $userName,
Il backup dei file di Outlook presenti sul tuo PC $howLong.
$Lang{howLong_not_been_backed_up} = "non e` riuscito";
$Lang{howLong_not_been_backed_up_for_days_days} = "risale a \$days giorni fa";
+
+#######################################################################
+# RSS strings
+#######################################################################
+$Lang{RSS_Doc_Title} = "BackupPC Server";
+$Lang{RSS_Doc_Description} = "RSS feed for BackupPC";
+$Lang{RSS_Host_Summary} = <<EOF;
+Completi: \$fullCnt;
+Età completi (giorni): \$fullAge;
+Dimensione completi (GB): \$fullSize;
+Velocità (MB/s): \$fullRate;
+Incrementali: \$incrCnt;
+Età incrementali (giorni): \$incrAge;
+Stato: \$host_state;
+Ultimo tentativo: \$host_last_attempt;
+EOF
+
+#######################################################################
+# Configuration editor strings (all ENGLISH currently)
+#######################################################################
+
+$Lang{Only_privileged_users_can_edit_config_files} = "Only privileged users can edit configuation settings.";
+$Lang{CfgEdit_Edit_Config} = "Edit Config";
+$Lang{CfgEdit_Edit_Hosts} = "Edit Hosts";
+
+$Lang{CfgEdit_Title_Server} = "Server";
+$Lang{CfgEdit_Title_General_Parameters} = "General Parameters";
+$Lang{CfgEdit_Title_Wakeup_Schedule} = "Wakeup Schedule";
+$Lang{CfgEdit_Title_Concurrent_Jobs} = "Concurrent Jobs";
+$Lang{CfgEdit_Title_Pool_Filesystem_Limits} = "Pool Filesystem Limits";
+$Lang{CfgEdit_Title_Other_Parameters} = "Other Parameters";
+$Lang{CfgEdit_Title_Remote_Apache_Settings} = "Remote Apache Settings";
+$Lang{CfgEdit_Title_Program_Paths} = "Program Paths";
+$Lang{CfgEdit_Title_Install_Paths} = "Install Paths";
+$Lang{CfgEdit_Title_Email} = "Email";
+$Lang{CfgEdit_Title_Email_settings} = "Email settings";
+$Lang{CfgEdit_Title_Email_User_Messages} = "Email User Messages";
+$Lang{CfgEdit_Title_CGI} = "CGI";
+$Lang{CfgEdit_Title_Admin_Privileges} = "Admin Privileges";
+$Lang{CfgEdit_Title_Page_Rendering} = "Page Rendering";
+$Lang{CfgEdit_Title_Paths} = "Paths";
+$Lang{CfgEdit_Title_User_URLs} = "User URLs";
+$Lang{CfgEdit_Title_User_Config_Editing} = "User Config Editing";
+$Lang{CfgEdit_Title_Xfer} = "Xfer";
+$Lang{CfgEdit_Title_Xfer_Settings} = "Xfer Settings";
+$Lang{CfgEdit_Title_Smb_Settings} = "Smb Settings";
+$Lang{CfgEdit_Title_Tar_Settings} = "Tar Settings";
+$Lang{CfgEdit_Title_Rsync_Settings} = "Rsync Settings";
+$Lang{CfgEdit_Title_Rsyncd_Settings} = "Rsyncd Settings";
+$Lang{CfgEdit_Title_BackupPCd_Settings} = "BackupPCd Settings";
+$Lang{CfgEdit_Title_Archive_Settings} = "Archive Settings";
+$Lang{CfgEdit_Title_Include_Exclude} = "Include/Exclude";
+$Lang{CfgEdit_Title_Smb_Paths_Commands} = "Smb Paths/Commands";
+$Lang{CfgEdit_Title_Tar_Paths_Commands} = "Tar Paths/Commands";
+$Lang{CfgEdit_Title_Rsync_Paths_Commands_Args} = "Rsync Paths/Commands/Args";
+$Lang{CfgEdit_Title_Rsyncd_Port_Args} = "Rsyncd Port/Args";
+$Lang{CfgEdit_Title_Archive_Paths_Commands} = "Archive Paths/Commands";
+$Lang{CfgEdit_Title_Schedule} = "Schedule";
+$Lang{CfgEdit_Title_Full_Backups} = "Full Backups";
+$Lang{CfgEdit_Title_Incremental_Backups} = "Incremental Backups";
+$Lang{CfgEdit_Title_Blackouts} = "Blackouts";
+$Lang{CfgEdit_Title_Other} = "Other";
+$Lang{CfgEdit_Title_Backup_Settings} = "Backup Settings";
+$Lang{CfgEdit_Title_Client_Lookup} = "Client Lookup";
+$Lang{CfgEdit_Title_Other} = "Other";
+$Lang{CfgEdit_Title_User_Commands} = "User Commands";
+$Lang{CfgEdit_Title_Hosts} = "Hosts";
+
+$Lang{CfgEdit_Hosts_Comment} = <<EOF;
+To add a new host, select Add and then enter the name. To start with
+the per-host configuration from another host, enter the host name
+as NEWHOST=COPYHOST. This will overwrite any existing per-host
+configuration for NEWHOST. You can also do this for an existing
+host. To delete a host, hit the Delete button. For Add, Delete,
+and configuration copy, changes don't take effect until you select
+Save. None of the deleted host's backups will be removed,
+so if you accidently delete a host, simply re-add it. To completely
+remove a host's backups, you need to manually remove the files
+below \$topDir/pc/HOST
+EOF
+
+$Lang{CfgEdit_Header_Main} = <<EOF;
+\${h1("Main Configuration Editor")}
+EOF
+
+$Lang{CfgEdit_Header_Host} = <<EOF;
+\${h1("Host \$host Configuration Editor")}
+<p>
+Note: Check Override if you want to modify a value specific to this host.
+<p>
+EOF
+
+$Lang{CfgEdit_Button_Save} = "Save";
+$Lang{CfgEdit_Button_Insert} = "Insert";
+$Lang{CfgEdit_Button_Delete} = "Delete";
+$Lang{CfgEdit_Button_Add} = "Add";
+$Lang{CfgEdit_Button_Override} = "Override";
+$Lang{CfgEdit_Button_New_Key} = "New Key";
+
+$Lang{CfgEdit_Error_No_Save}
+ = "ENG Error: No save due to errors";
+$Lang{CfgEdit_Error__must_be_an_integer}
+ = "Error: \$var must be an integer";
+$Lang{CfgEdit_Error__must_be_real_valued_number}
+ = "Error: \$var must be a real-valued number";
+$Lang{CfgEdit_Error__entry__must_be_an_integer}
+ = "Error: \$var entry \$k must be an integer";
+$Lang{CfgEdit_Error__entry__must_be_real_valued_number}
+ = "Error: \$var entry \$k must be a real-valued number";
+$Lang{CfgEdit_Error__must_be_executable_program}
+ = "Error: \$var must be a valid executable path";
+$Lang{CfgEdit_Error__must_be_valid_option}
+ = "Error: \$var must be a valid option";
+$Lang{CfgEdit_Error_Copy_host_does_not_exist}
+ = "Copy host \$copyHost doesn't exist; creating full host name \$fullHost. Delete this host if that is not what you wanted.";
+
+$Lang{CfgEdit_Log_Copy_host_config}
+ = "\$User copied config from host \$fromHost to \$host\n";
+$Lang{CfgEdit_Log_Delete_param}
+ = "\$User deleted \$p from \$conf\n";
+$Lang{CfgEdit_Log_Add_param_value}
+ = "\$User added \$p to \$conf, set to \$value\n";
+$Lang{CfgEdit_Log_Change_param_value}
+ = "\$User changed \$p in \$conf to \$valueNew from \$valueOld\n";
+$Lang{CfgEdit_Log_Host_Delete}
+ = "\$User deleted host \$host\n";
+$Lang{CfgEdit_Log_Host_Change}
+ = "\$User host \$host changed \$key from \$valueOld to \$valueNew\n";
+$Lang{CfgEdit_Log_Host_Add}
+ = "\$User added host \$host: \$value\n";
+