X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=lib%2FBackupPC%2FLang%2Fen.pm;h=9d8f3ec88fc326abb73e2ca13f734a5ebaa3e853;hp=d209ba8b3c6f28220bb474c5f0cb734233e86719;hb=380a4961e996464a8c19e39a5339cb3a3bff0580;hpb=3ae3b7557db4829ebfc6f580ceac30376717db6a diff --git a/lib/BackupPC/Lang/en.pm b/lib/BackupPC/Lang/en.pm index d209ba8..9d8f3ec 100644 --- a/lib/BackupPC/Lang/en.pm +++ b/lib/BackupPC/Lang/en.pm @@ -1,4 +1,4 @@ -#!/bin/perl +#!/usr/bin/perl #my %lang; #use strict; @@ -24,10 +24,12 @@ $Lang{Admin_Options_Page} = < \${h2("Server Control")} -
- - - + EOF @@ -294,13 +313,16 @@ $Lang{Are_you_sure_start} = < You are about to start a \$type backup on \$host. -
+ + Do you really want to do this? - - + + EOF # -------------------------------- @@ -313,15 +335,18 @@ $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 @@ -372,14 +397,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 # -------------------------------- @@ -437,7 +462,7 @@ EOF $Lang{Restore_Options_for__host_Option1} = <\$directHost.

Warning: any existing files that match the ones you have selected will be overwritten! @@ -448,7 +473,7 @@ selected will be overwritten! \$hiddenStr -

Reload the server configuration: + + + +
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{Unable_to_connect_to_BackupPC_server} = "Unable to connect to BackupPC server"; +$Lang{Unable_to_connect_to_BackupPC_server_error_message} = < +The error was: \$err.
+Perhaps the BackupPC server is not running or there is a configuration error. +Please report this to your Sys Admin. +EOF + $Lang{Admin_Start_Server} = < @@ -59,10 +65,7 @@ EOF $Lang{H_BackupPC_Server_Status} = "BackupPC Server Status"; -$Lang{BackupPC_Server_Status}= < +$Lang{BackupPC_Server_Status_General_Info}= < @@ -82,6 +85,13 @@ $Lang{BackupPC_Server_Status}= < +EOF + +$Lang{BackupPC_Server_Status} = < +\$generalInfo \${h2("Currently Running Jobs")}

@@ -113,13 +123,18 @@ $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")} @@ -132,16 +147,18 @@ There are \$hostCntGood hosts that have been backed up, for a total of: (prior to pooling and compression).

- +
- - - + + + - + + + \$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 #Xfer errs Last attempt
@@ -150,17 +167,19 @@ There are \$hostCntGood hosts that have been backed up, for a total of:

There are \$hostCntNone hosts with no backups.

- +
- - - + + + - - + + + + \$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 #Xfer errs Last attempt
EOF @@ -228,7 +247,7 @@ About to archive the following hosts \$paramStr - +
@@ -254,7 +273,7 @@ EOF $Lang{BackupPC_Archive2_parity} = < -

Number of Parity FilesPercentage of Parity Data (0 = disable, 5 = typical)
+
Restore the files to host