X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=lib%2FBackupPC%2FLang%2Fen.pm;h=1b72d71b664d33334d30e17d705d351d3e9bbc23;hp=db49746bcd181735c2cc2ebf1f755ed73b02944f;hb=fda25dc88a63ccac1c80efa2e4994bf0725ca9b7;hpb=dcf156b7d70fbe2f114c1fed738f613d0b1a2775 diff --git a/lib/BackupPC/Lang/en.pm b/lib/BackupPC/Lang/en.pm index db49746..1b72d71 100644 --- a/lib/BackupPC/Lang/en.pm +++ b/lib/BackupPC/Lang/en.pm @@ -1,30 +1,74 @@ -#!/bin/perl -T +#!/bin/perl #my %lang; - #use strict; # -------------------------------- +$Lang{Start_Archive} = "Start Archive"; +$Lang{Stop_Dequeue_Archive} = "Stop/Dequeue Archive"; $Lang{Start_Full_Backup} = "Start Full Backup"; $Lang{Start_Incr_Backup} = "Start Incr Backup"; $Lang{Stop_Dequeue_Backup} = "Stop/Dequeue Backup"; $Lang{Restore} = "Restore"; +$Lang{Type_full} = "full"; +$Lang{Type_incr} = "incremental"; + # ----- -$Lang{H_BackupPC_Server_Status} = "BackupPC Server Status"; +$Lang{Only_privileged_users_can_view_admin_options} = "Only privileged users can view admin options."; +$Lang{H_Admin_Options} = "BackupPC Server: Admin Options"; +$Lang{Admin_Options} = "Admin Options"; +$Lang{Admin_Options_Page} = < +\${h2("Server Control")} +
+ + +
Reload the server configuration: +
+
+ +EOF +$Lang{Unable_to_connect_to_BackupPC_server} = "Unable to connect to BackupPC server", + "This CGI script (\$MyURL) is unable to connect to the BackupPC" + . " server on \$Conf{ServerHost} port \$Conf{ServerPort}. The error" + . " was: \$err.", + "Perhaps the BackupPC server is not running or there is a " + . " configuration error. Please report this to your Sys Admin."; +$Lang{Admin_Start_Server} = < +The BackupPC server at \$Conf{ServerHost} port \$Conf{ServerPort} +is not currently running (maybe you just stopped it, or haven't yet started it).
+Do you want to start it? + + + +EOF -$Lang{BackupPC_Server_Status}= < +$Lang{H_BackupPC_Server_Status} = "BackupPC Server Status"; + +$Lang{BackupPC_Server_Status_General_Info}= <
  • The servers PID is \$Info{pid}, on host \$Conf{ServerHost}, version \$Info{Version}, started at \$serverStartTime.
  • This status was generated at \$now. +
  • The configuration was last loaded at \$configLoadTime.
  • PCs will be next queued at \$nextWakeupTime.
  • Other info:
      @@ -37,26 +81,33 @@ $Lang{BackupPC_Server_Status}= <
    +EOF + +$Lang{BackupPC_Server_Status} = < +\$generalInfo \${h2("Currently Running Jobs")}

    - - +
    Host
    + - - \$tarPidHdr + + \$jobStr
    Host Type User Start Time Command PID Xfer PID
    Xfer PID

    \${h2("Failures that need attention")}

    - - +
    Host
    + @@ -68,13 +119,19 @@ $Lang{BackupPC_Server_Status}= < -This status was generated at \$now. -

    +

      +
    • This status was generated at \$now. +
    • Pool file system was recently at \$Info{DUlastValue}% + (\$DUlastTime), today\'s max is \$Info{DUDailyMax}% (\$DUmaxTime) + and yesterday\'s max was \$Info{DUDailyMaxPrev}%. +
    +

    \${h2("Hosts with good Backups")}

    @@ -85,40 +142,143 @@ There are \$hostCntGood hosts that have been backed up, for a total of:

  • \$incrTot incr backups of total size \${incrSizeTot}GB (prior to pooling and compression). -
  • Host Type User Last Try
    - +

    +
    Host
    + - - - + + + - + + \$strGood
    Host User #Full Full Age/days Full Size/GB Speed MB/sec Full Age (days) Full Size (GB) Speed (MB/s) #Incr Incr Age/days Incr Age (days) Last Backup (days) State Last attempt
    -

    - +

    \${h2("Hosts with no Backups")}

    There are \$hostCntNone hosts with no backups.

    - - +
    Host
    + - - - + + + - - + + + \$strNone
    Host User #Full Full Age/days Full Size/GB Speed MB/sec Full Age (days) Full Size (GB) Speed (MB/s) #Incr Incr Age/days Current State Last backup attempt
    Last Backup (days) State Last attempt
    EOF +$Lang{BackupPC_Archive} = < + + + +There are \$hostCntGood hosts that have been backed up for a total size of \${fullSizeTot}GB +

    +

    + + + + + + + + +\$strGood +\$checkAllHosts +
    Host User Backup Size
    +
    +

    + +EOF + +$Lang{BackupPC_Archive2} = < +\$HostListStr + +

    +\$hiddenStr + + + + + +\$paramStr + + + + +
    +EOF + +$Lang{BackupPC_Archive2_location} = < + Archive Location/Device + + +EOF + +$Lang{BackupPC_Archive2_compression} = < + Compression + + None
    + gzip
    + bzip2 + + +EOF + +$Lang{BackupPC_Archive2_parity} = < + Percentage of Parity Data (0 = disable, 5 = typical) + + +EOF + +$Lang{BackupPC_Archive2_split} = < + Split output into + Megabytes + +EOF + # ----------------------------------- $Lang{Pool_Stat} = <Pool is \${poolSize}GB comprising \$info->{"\${name}FileCnt"} files @@ -147,13 +307,16 @@ $Lang{Are_you_sure_start} = < You are about to start a \$type backup on \$host. -
    + + Do you really want to do this? - - + +
    EOF # -------------------------------- @@ -166,53 +329,60 @@ $Lang{Are_you_sure_stop} = < You are about to stop/dequeue backups on \$host; -
    - - + + + + Also, please don\'t start another backup for hours.

    Do you really want to do this? - - + +

    EOF # -------------------------------- $Lang{Only_privileged_users_can_view_queues_} = "Only privileged users can view queues."; # -------------------------------- +$Lang{Only_privileged_users_can_archive} = "Only privileged users can Archive."; +# -------------------------------- $Lang{BackupPC__Queue_Summary} = "BackupPC: Queue Summary"; # -------------------------------- $Lang{Backup_Queue_Summary} = < +

    \${h2("User Queue Summary")}

    The following user requests are currently queued: - - +

    +
    Host
    + \$strUser
    Host Req Time User
    -

    +

    \${h2("Background Queue Summary")}

    The following background requests are currently queued: - - +

    +
    Host
    + \$strBg
    Host Req Time User
    -

    - +

    \${h2("Command Queue Summary")}

    The following command requests are currently queued: - - +

    +
    Host
    + @@ -221,14 +391,14 @@ The following command requests are currently queued: EOF # -------------------------------- -$Lang{Backup_PC__Log_File__file} = "BackupPC: Log File \$file"; +$Lang{Backup_PC__Log_File__file} = "BackupPC: File \$file"; $Lang{Log_File__file__comment} = < EOF # -------------------------------- $Lang{Contents_of_log_file} = <\$file, modified \$mtimeStr \$comment +Contents of file \$file, modified \$mtimeStr \$comment EOF # -------------------------------- @@ -241,8 +411,8 @@ $Lang{BackupPC__Log_File_History} = "BackupPC: Log File History"; $Lang{Log_File_History__hdr} = < -
    Host Req Time User Command
    - +
    File
    + \$str @@ -253,8 +423,8 @@ EOF $Lang{Recent_Email_Summary} = < -
    File Size Modification time
    - +
    Recipient
    + @@ -269,90 +439,109 @@ $Lang{Browse_backup__num_for__host} = "BackupPC: Browse backup \$num for \$host" # ------------------------------ $Lang{Restore_Options_for__host} = "BackupPC: Restore Options for \$host"; $Lang{Restore_Options_for__host2} = < You have selected the following files/directories from share \$share, backup number #\$num:
      \$fileListStr
    -

    +

    You have three choices for restoring these files/directories. Please select one of the following options. -

    +

    \${h2("Option 1: Direct Restore")}

    +EOF + +$Lang{Restore_Options_for__host_Option1} = < +\$directHost. +

    Warning: any existing files that match the ones you have selected will be overwritten! - -
    - +

    + + \$hiddenStr -
    Recipient Host Time Subject
    +
    - + - + value="\${EscHTML(\$pathHdr)}" name="pathHdr"> - +
    Restore the files to host + + +
    Restore the files to share
    Restore the files below dir
    (relative to share)
    EOF +$Lang{Restore_Options_for__host_Option1_disabled} = < \${h2("Option 2: Download Zip archive")}

    You can download a Zip archive containing all the files/directories you have selected. You can then use a local application, such as WinZip, to view or extract any of the files. -

    +

    Warning: depending upon which files/directories you have selected, this archive might be very very large. It might take many minutes to 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)
    - +
    EOF # ------------------------------ $Lang{Option_2__Download_Zip_archive2} = < \${h2("Option 2: Download Zip archive")}

    Archive::Zip is not installed so you will not be able to download a zip archive. Please ask your system adminstrator to install Archive::Zip from www.cpan.org. -

    +

    EOF @@ -363,23 +552,23 @@ $Lang{Option_3__Download_Zip_archive} = < +

    Warning: depending upon which files/directories you have selected, this archive might be very very large. It might take many minutes to 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).
    - +
    EOF @@ -394,22 +583,25 @@ You are about to start a restore directly to the machine \$In{hostDest}. The following files will be restored to share \$In{shareDest}, from backup number \$num:

    - - +
    Original file/dirWill be restored to
    + \$fileListStr
    Original file/dirWill be restored to
    -

    - - - - + + + + + + \$hiddenStr Do you really want to do this? - - + +
    EOF @@ -424,6 +616,13 @@ Reply from server was: \$reply Go back to \$hostDest home page. EOF +$Lang{BackupPC_Archive_Reply_from_server} = < +Reply from server was: \$reply +EOF + + # ------------------------- $Lang{Host__host_Backup_Summary} = "BackupPC: Host \$host Backup Summary"; @@ -434,23 +633,30 @@ $Lang{Host__host_Backup_Summary2} = < \$statusStr - +

    \${h2("User Actions")}

    -

    - + + + \$startIncrStr - - + +
    - +

    \${h2("Backup Summary")}

    Click on the backup number to browse and restore backup files. - - +

    +
    Backup#
    + + @@ -461,11 +667,12 @@ Click on the backup number to browse and restore backup files.

    \$restoreStr - +

    +

    \${h2("Xfer Error Summary")} -

    -

    Backup# Type Filled Level Start Date Duration/mins Age/days
    - +

    +
    Backup#
    + @@ -475,20 +682,21 @@ Click on the backup number to browse and restore backup files. \$errStr
    Backup# Type View #Xfer errs
    -

    +

    \${h2("File Size/Count Reuse Summary")}

    Existing files are those already in the pool; new files are those added to the pool. Empty files and SMB errors aren\'t counted in the reuse and new counts. - - +

    +
    + - + @@ -501,18 +709,19 @@ Empty files and SMB errors aren\'t counted in the reuse and new counts. \$sizeStr
    Totals Existing Files New Files
    Backup# Type #Files
    -

    +

    \${h2("Compression Summary")}

    Compression performance for files already in the pool and newly compressed files. - - +

    +
    + - + @@ -524,7 +733,34 @@ compressed files. \$compStr
    Existing Files New Files
    Backup#
    Backup# Type Comp Level Size/MB
    +

    +EOF + +$Lang{Host__host_Archive_Summary} = "BackupPC: Host \$host Archive Summary"; +$Lang{Host__host_Archive_Summary2} = < +\$warnStr +

      +\$statusStr +
    + +\${h2("User Actions")}

    +

    + + + + + +
    + +\$ArchiveStr + EOF # ------------------------- @@ -568,34 +804,39 @@ $Lang{Backup_browse_for__host} = < +
    + + + +
    • You are browsing backup #\$num, which started around \$backupTime (\$backupAge days ago), \$filledBackup +
    • Enter directory:
    • Click on a directory below to navigate into that directory, -
    • Click on a file below to restore that file. +
    • Click on a file below to restore that file, +
    • You can view the backup history of the current directory.
    +
    -\${h2("Contents of \${EscapeHTML(\$dirDisplay)}")} +\${h2("Contents of \${EscHTML(\$dirDisplay)}")}
    - + - +
    - -
    - -
    +
    +
    + \$dirStr
    -
    - EOF #$Lang{on} = "on"; $Lang{off} = "off"; -$Lang{full} = "full"; -$Lang{incremental} = "incr"; +$Lang{backupType_full} = "full"; +$Lang{backupType_incr} = "incr"; +$Lang{backupType_partial} = "partial"; $Lang{failed} = "failed"; $Lang{success} = "success"; @@ -895,12 +1225,20 @@ $Lang{Status_restore_in_progress} = "restore in progress"; $Lang{Status_link_pending} = "link pending"; $Lang{Status_link_running} = "link running"; -$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_no_ping} = "no ping"; -$Lang{Reason_backup_canceled_by_user} = "backup canceled by user"; +$Lang{Reason_backup_done} = "done"; +$Lang{Reason_restore_done} = "restore done"; +$Lang{Reason_archive_done} = "archive done"; +$Lang{Reason_nothing_to_do} = "idle"; +$Lang{Reason_backup_failed} = "backup failed"; +$Lang{Reason_restore_failed} = "restore failed"; +$Lang{Reason_archive_failed} = "archive 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"; +$Lang{Reason_archive_canceled_by_user} = "archive canceled by user"; +$Lang{Disabled_OnlyManualBackups} = "auto disabled"; +$Lang{Disabled_AllBackupsDisabled} = "disabled"; + # --------- # Email messages @@ -911,7 +1249,7 @@ $Lang{EMailNoBackupEverMesg} = <<'EOF'; To: $user$domain cc: Subject: $subj - +$headers Dear $userName, Your PC ($host) has never been successfully backed up by our @@ -940,7 +1278,7 @@ $Lang{EMailNoBackupRecentMesg} = <<'EOF'; To: $user$domain cc: Subject: $subj - +$headers Dear $userName, Your PC ($host) has not been successfully backed up for $days days. @@ -969,7 +1307,7 @@ $Lang{EMailOutlookBackupMesg} = <<'EOF'; To: $user$domain cc: Subject: $subj - +$headers Dear $userName, The Outlook files on your PC have $howLong. @@ -997,4 +1335,134 @@ 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"; +####################################################################### +# RSS strings +####################################################################### +$Lang{RSS_Doc_Title} = "BackupPC Server"; +$Lang{RSS_Doc_Description} = "RSS feed for BackupPC"; +$Lang{RSS_Host_Summary} = < +Note: Check Override if you want to modify a value specific to this host. +

    +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} + = "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"; + #end of lang_en.pm

    - +
    \$fileHeader \$topCheckAll \$fileStr @@ -607,48 +848,114 @@ $Lang{Backup_browse_for__host} = < --> -
    EOF +# ------------------------------ +$Lang{DirHistory_backup_for__host} = "BackupPC: Directory backup history for \$host"; + +# +# These two strings are used to build the links for directories and +# file versions. Files are appended with a version number. +# +$Lang{DirHistory_dirLink} = "dir"; +$Lang{DirHistory_fileLink} = "v"; + +$Lang{DirHistory_for__host} = < +This display shows each unique version of files across all +the backups: +
      +
    • Click on a backup number to return to the backup browser, +
    • Click on a directory link (\$Lang->{DirHistory_dirLink}) to navigate + into that directory, +
    • Click on a file version link (\$Lang->{DirHistory_fileLink}0, + \$Lang->{DirHistory_fileLink}1, ...) to download that file, +
    • Files with the same contents between different backups have the same + version number, +
    • Files or directories not present in a particular backup have an + empty box. +
    • Files shown with the same version might have different attributes. + Select the backup number to see the file attributes. +
    + +\${h2("History of \${EscHTML(\$dirDisplay)}")} + +
    + +\$backupNumStr +\$backupTimeStr +\$fileStr +
    Backup number
    Backup time
    +EOF + # ------------------------------ $Lang{Restore___num_details_for__host} = "BackupPC: Restore #\$num details for \$host"; -$Lang{Restore___num_details_for__host2 } = < - - - - - - - - - - - - - - - - - - - EOF +$Lang{checkAllHosts} = < +EOF + $Lang{fileHeader} = < + - + EOF $Lang{Home} = "Home"; +$Lang{Browse} = "Browse backups"; $Lang{Last_bad_XferLOG} = "Last bad XferLOG"; $Lang{Last_bad_XferLOG_errors_only} = "Last bad XferLOG (errors only)"; @@ -843,15 +1157,15 @@ $Lang{This_display_is_merged_with_backup} = < Visit this directory in backup #\$otherDirs. +
  • Select the backup you wish to view: EOF $Lang{Restore_Summary} = < Click on the restore number for more details. -
  • Number \$Restores[\$i]{num}
    Requested by \$RestoreReq{user}
    Request time \$reqTime
    Result \$Restores[\$i]{result}
    Error Message \$Restores[\$i]{errorMsg}
    Source host \$RestoreReq{hostSrc}
    Source backup num \$RestoreReq{num}
    Source share \$RestoreReq{shareSrc}
    Destination host \$RestoreReq{hostDest}
    Destination share \$RestoreReq{shareDest}
    Start time \$startTime
    Duration \$duration min
    Number of files \$Restores[\$i]{nFiles}
    Total size \${MB} MB
    Transfer rate \$MBperSec MB/sec
    TarCreate errors \$Restores[\$i]{tarCreateErrs}
    Xfer errors \$Restores[\$i]{xferErrs}
    Xfer log file + + + + + + + + + + + + + + + + + + +
    Number \$Restores[\$i]{num}
    Requested by \$RestoreReq{user}
    Request time \$reqTime
    Result \$Restores[\$i]{result}
    Error Message \$Restores[\$i]{errorMsg}
    Source host \$RestoreReq{hostSrc}
    Source backup num \$RestoreReq{num}
    Source share \$RestoreReq{shareSrc}
    Destination host \$RestoreReq{hostDest}
    Destination share \$RestoreReq{shareDest}
    Start time \$startTime
    Duration \$duration min
    Number of files \$Restores[\$i]{nFiles}
    Total size \${MB} MB
    Transfer rate \$MBperSec MB/sec
    TarCreate errors \$Restores[\$i]{tarCreateErrs}
    Xfer errors \$Restores[\$i]{xferErrs}
    Xfer log file View, Errors
    -

    +

    \${h1("File/Directory list")}

    - - +
    Original file/dirRestored to
    + \$fileListStr
    Original file/dirRestored to
    EOF +# ------------------------------ +$Lang{Archive___num_details_for__host} = "BackupPC: Archive #\$num details for \$host"; + +$Lang{Archive___num_details_for__host2 } = < + + + + + + + + + +
    Number \$Archives[\$i]{num}
    Requested by \$ArchiveReq{user}
    Request time \$reqTime
    Result \$Archives[\$i]{result}
    Error Message \$Archives[\$i]{errorMsg}
    Start time \$startTime
    Duration \$duration min
    Xfer log file +View, +Errors +
    +

    +\${h1("Host list")} +

    + + +\$HostListStr +
    HostBackup Number
    +EOF + # ----------------------------------- $Lang{Email_Summary} = "BackupPC: Email Summary"; @@ -659,51 +966,48 @@ $Lang{BackupPC__Lib__new_failed__check_apache_error_log} = "BackupPC::Lib->new f $Lang{Wrong_user__my_userid_is___} = "Wrong user: my userid is \$>, instead of \$uid" . "(\$Conf{BackupPCUser})\n"; -$Lang{Only_privileged_users_can_view_PC_summaries} = "Only privileged users can view PC summaries."; +# $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{You_haven_t_selected_any_hosts} = "You haven\'t selected any hosts; please go Back to" + . " select some hosts."; $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})}"; -$Lang{Can_t_open_create} = "Can\'t open/create " - . "\${EscapeHTML(\"\$TopDir/pc/\$hostDest/\$reqFileName\")}"; + . " \${EscHTML(\$In{hostDest})}"; +$Lang{Can_t_open_create__openPath} = "Can\'t open/create " + . "\${EscHTML(\"\$openPath\")}"; $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_archive_information} = "Only privileged users can view archive information."; $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", - "This CGI script (\$MyURL) is unable to connect to the BackupPC" - . " server on \$Conf{ServerHost} port \$Conf{ServerPort}. The error" - . " was: \$err.", - "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{Archive_number__num_for_host__does_not_exist} = "Archive number \$num for host \${EscHTML(\$host)} does" + . " not exist."; +$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 +1087,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 # ------ @@ -804,37 +1107,48 @@ EOF $Lang{Because__host_has_been_on_the_network_at_least__Conf_BlackoutGoodCnt_consecutive_times___} = <Because \$host has been on the network at least \$Conf{BlackoutGoodCnt} -consecutive times, it will not be backed up from \$t0 to \$t1 on \$days. +consecutive times, it will not be backed up from \$blackoutStr. EOF +$Lang{__time0_to__time1_on__days} = "\$t0 to \$t1 on \$days"; + $Lang{Backups_are_deferred_for_hours_hours_change_this_number} = <Backups are deferred for \$hours hours -(change this number). +(change this number). EOF $Lang{tryIP} = " and \$StatusHost{dhcpHostIP}"; -$Lang{Host_Inhost} = "Host \$In{host}"; +# $Lang{Host_Inhost} = "Host \$In{host}"; $Lang{checkAll} = <

    +
     Select all - +
    + Select all + + +
    Name
    Name Type Mode # Size Mod time Date modified
    - +
    Restore#
    + @@ -865,21 +1179,37 @@ Click on the restore number for more details.

    EOF +$Lang{Archive_Summary} = < +Click on the archive number for more details. +

    Restore# Result Start Date Dur/mins
    + + + + + +\$ArchiveStr +
    Archive# Result Start Date Dur/mins
    +

    +EOF + $Lang{BackupPC__Documentation} = "BackupPC: Documentation"; $Lang{No} = "no"; $Lang{Yes} = "yes"; $Lang{The_directory_is_empty} = <

    The directory \${EscapeHTML(\$dirDisplay)} is empty +
    The directory \${EscHTML(\$dirDisplay)} is empty