X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=lib%2FBackupPC%2FLang%2Fen.pm;h=c10cec3017b2de273ad89579beecd2ccb755aef7;hp=a60667984fed245bc35a8d3fe9a2049d889c2fd6;hb=74dc9d456332757127d5eda4ce32f29377133fa2;hpb=07cb5dd25e2f4ffa2414f2e8d33990b6a5b3b91e diff --git a/lib/BackupPC/Lang/en.pm b/lib/BackupPC/Lang/en.pm index a606679..c10cec3 100644 --- a/lib/BackupPC/Lang/en.pm +++ b/lib/BackupPC/Lang/en.pm @@ -47,8 +47,8 @@ $Lang{BackupPC_Server_Status}= < Start Time Command PID - Xfer PID - \$tarPidHdr + Xfer PID + \$jobStr

@@ -288,7 +288,7 @@ You can start a restore that will restore these files directly onto selected will be overwritten!

- + \$hiddenStr @@ -296,16 +296,16 @@ selected will be overwritten! - - + value="\${EscHTML(\$pathHdr)}" name="pathHdr">
Restore the files to host
Restore the files to share
Restore the files below dir
(relative to share)
@@ -327,13 +327,13 @@ create and transfer the archive, and you will need enough local disk space to store it.

- + \$hiddenStr Make archive relative -to \${EscapeHTML(\$pathHdr eq "" ? "/" : \$pathHdr)} +to \${EscHTML(\$pathHdr eq "" ? "/" : \$pathHdr)} (otherwise archive will contain full paths).
Compression (0=off, 1=fast,...,9=best) @@ -370,13 +370,13 @@ create and transfer the archive, and you will need enough local disk space to store it.

- + \$hiddenStr Make archive relative -to \${EscapeHTML(\$pathHdr eq "" ? "/" : \$pathHdr)} +to \${EscHTML(\$pathHdr eq "" ? "/" : \$pathHdr)} (otherwise archive will contain full paths).
@@ -400,10 +400,10 @@ backup number \$num: - - - - + + + + \$hiddenStr @@ -576,11 +576,11 @@ $Lang{Backup_browse_for__host} = < Click on a file below to restore that file. -\${h2("Contents of \${EscapeHTML(\$dirDisplay)}")} +\${h2("Contents of \${EscHTML(\$dirDisplay)}")} - +
@@ -662,38 +662,38 @@ $Lang{Wrong_user__my_userid_is___} = $Lang{Only_privileged_users_can_view_PC_summaries} = "Only privileged users can view PC summaries."; $Lang{Only_privileged_users_can_stop_or_start_backups} = "Only privileged users can stop or start backups on" - . " \${EscapeHTML(\$host)}."; + . " \${EscHTML(\$host)}."; $Lang{Invalid_number__num} = "Invalid number \$num"; $Lang{Unable_to_open__file__configuration_problem} = "Unable to open \$file: configuration problem?"; $Lang{Only_privileged_users_can_view_log_or_config_files} = "Only privileged users can view log or config files."; $Lang{Only_privileged_users_can_view_log_files} = "Only privileged users can view log files."; $Lang{Only_privileged_users_can_view_email_summaries} = "Only privileged users can view email summaries."; $Lang{Only_privileged_users_can_browse_backup_files} = "Only privileged users can browse backup files" - . " for host \${EscapeHTML(\$In{host})}."; + . " for host \${EscHTML(\$In{host})}."; $Lang{Empty_host_name} = "Empty host name."; -$Lang{Directory___EscapeHTML} = "Directory \${EscapeHTML(\"\$TopDir/pc/\$host/\$num\")}" +$Lang{Directory___EscHTML} = "Directory \${EscHTML(\"\$TopDir/pc/\$host/\$num\")}" . " is empty"; $Lang{Can_t_browse_bad_directory_name2} = "Can\'t browse bad directory name" - . " \${EscapeHTML(\$relDir)}"; + . " \${EscHTML(\$relDir)}"; $Lang{Only_privileged_users_can_restore_backup_files} = "Only privileged users can restore backup files" - . " for host \${EscapeHTML(\$In{host})}."; -$Lang{Bad_host_name} = "Bad host name \${EscapeHTML(\$host)}"; + . " for host \${EscHTML(\$In{host})}."; +$Lang{Bad_host_name} = "Bad host name \${EscHTML(\$host)}"; $Lang{You_haven_t_selected_any_files__please_go_Back_to} = "You haven\'t selected any files; please go Back to" . " select some files."; $Lang{Nice_try__but_you_can_t_put} = "Nice try, but you can\'t put \'..\' in any of the file names"; -$Lang{Host__doesn_t_exist} = "Host \${EscapeHTML(\$In{hostDest})} doesn\'t exist"; +$Lang{Host__doesn_t_exist} = "Host \${EscHTML(\$In{hostDest})} doesn\'t exist"; $Lang{You_don_t_have_permission_to_restore_onto_host} = "You don\'t have permission to restore onto host" - . " \${EscapeHTML(\$In{hostDest})}"; + . " \${EscHTML(\$In{hostDest})}"; $Lang{Can_t_open_create} = "Can\'t open/create " - . "\${EscapeHTML(\"\$TopDir/pc/\$hostDest/\$reqFileName\")}"; + . "\${EscHTML(\"\$TopDir/pc/\$hostDest/\$reqFileName\")}"; $Lang{Only_privileged_users_can_restore_backup_files2} = "Only privileged users can restore backup files" - . " for host \${EscapeHTML(\$host)}."; + . " for host \${EscHTML(\$host)}."; $Lang{Empty_host_name} = "Empty host name"; -$Lang{Unknown_host_or_user} = "Unknown host or user \${EscapeHTML(\$host)}"; +$Lang{Unknown_host_or_user} = "Unknown host or user \${EscHTML(\$host)}"; $Lang{Only_privileged_users_can_view_information_about} = "Only privileged users can view information about" - . " host \${EscapeHTML(\$host)}." ; + . " host \${EscHTML(\$host)}." ; $Lang{Only_privileged_users_can_view_restore_information} = "Only privileged users can view restore information."; -$Lang{Restore_number__num_for_host__does_not_exist} = "Restore number \$num for host \${EscapeHTML(\$host)} does" +$Lang{Restore_number__num_for_host__does_not_exist} = "Restore number \$num for host \${EscHTML(\$host)} does" . " not exist."; $Lang{Unable_to_connect_to_BackupPC_server} = "Unable to connect to BackupPC server", @@ -703,7 +703,7 @@ $Lang{Unable_to_connect_to_BackupPC_server} = "Unable to connect to BackupPC ser "Perhaps the BackupPC server is not running or there is a " . " configuration error. Please report this to your Sys Admin."; -$Lang{Can_t_find_IP_address_for} = "Can\'t find IP address for \${EscapeHTML(\$host)}"; +$Lang{Can_t_find_IP_address_for} = "Can\'t find IP address for \${EscHTML(\$host)}"; $Lang{host_is_a_DHCP_host} = <Last email sent to \${UserLink(\$user)} was at \$mailTime, subject "\$subj". @@ -784,8 +781,8 @@ $Lang{Last_status_is_state_StatusHost_state_reason_as_of_startTime} = <Last error is \"\${EscapeHTML(\$StatusHost{error})}\" +$Lang{Last_error_is____EscHTML_StatusHost_error} = <Last error is \"\${EscHTML(\$StatusHost{error})}\". EOF # ------ @@ -828,7 +825,7 @@ $Lang{fileHeader} = < Name Type Mode - Backup# + # Size Mod time @@ -871,11 +868,11 @@ $Lang{No} = "no"; $Lang{Yes} = "yes"; $Lang{The_directory_is_empty} = <The directory \${EscapeHTML(\$dirDisplay)} is empty +The directory \${EscHTML(\$dirDisplay)} is empty EOF -$Lang{on} = "on"; +#$Lang{on} = "on"; $Lang{off} = "off"; $Lang{full} = "full"; @@ -899,7 +896,104 @@ $Lang{Reason_backup_done} = "backup done"; $Lang{Reason_restore_done} = "restore done"; $Lang{Reason_nothing_to_do} = "nothing to do"; $Lang{Reason_backup_failed} = "backup failed"; +$Lang{Reason_restore_failed} = "restore failed"; $Lang{Reason_no_ping} = "no ping"; $Lang{Reason_backup_canceled_by_user} = "backup canceled by user"; +$Lang{Reason_restore_canceled_by_user} = "restore canceled by user"; + +# --------- +# Email messages + +# No backup ever +$Lang{EMailNoBackupEverSubj} = "BackupPC: no backups of \$host have succeeded"; +$Lang{EMailNoBackupEverMesg} = <<'EOF'; +To: $user$domain +cc: +Subject: $subj + +Dear $userName, + +Your PC ($host) has never been successfully backed up by our +PC backup software. PC backups should occur automatically +when your PC is connected to the network. You should contact +computer support if: + + - Your PC has been regularly connected to the network, meaning + there is some configuration or setup problem preventing + backups from occurring. + + - You don't want your PC backed up and you want these email + messages to stop. + +Otherwise, please make sure your PC is connected to the network +next time you are in the office. + +Regards, +BackupPC Genie +http://backuppc.sourceforge.net +EOF + +# No recent backup +$Lang{EMailNoBackupRecentSubj} = "BackupPC: no recent backups on \$host"; +$Lang{EMailNoBackupRecentMesg} = <<'EOF'; +To: $user$domain +cc: +Subject: $subj + +Dear $userName, + +Your PC ($host) has not been successfully backed up for $days days. +Your PC has been correctly backed up $numBackups times from $firstTime to $days +ago. PC backups should occur automatically when your PC is connected +to the network. + +If your PC has been connected for more than a few hours to the +network during the last $days days you should contact IS to find +out why backups are not working. + +Otherwise, if you are out of the office, there's not much you can +do, other than manually copying especially critical files to other +media. You should be aware that any files you have created or +changed in the last $days days (including all new email and +attachments) cannot be restored if your PC disk crashes. + +Regards, +BackupPC Genie +http://backuppc.sourceforge.net +EOF + +# Old Outlook files +$Lang{EMailOutlookBackupSubj} = "BackupPC: Outlook files on \$host need to be backed up"; +$Lang{EMailOutlookBackupMesg} = <<'EOF'; +To: $user$domain +cc: +Subject: $subj + +Dear $userName, + +The Outlook files on your PC have $howLong. +These files contain all your email, attachments, contact and calendar +information. Your PC has been correctly backed up $numBackups times from +$firstTime to $lastTime days ago. However, Outlook locks all its files when +it is running, preventing these files from being backed up. + +It is recommended you backup the Outlook files when you are connected +to the network by exiting Outlook and all other applications, and, +using just your browser, go to this link: + + $CgiURL?host=$host + +Select "Start Incr Backup" twice to start a new incremental backup. +You can select "Return to $host page" and then hit "reload" to check +the status of the backup. It should take just a few minutes to +complete. + +Regards, +BackupPC Genie +http://backuppc.sourceforge.net +EOF + +$Lang{howLong_not_been_backed_up} = "not been backed up successfully"; +$Lang{howLong_not_been_backed_up_for_days_days} = "not been backed up for \$days days"; #end of lang_en.pm