X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=lib%2FBackupPC%2FLang%2Fen.pm;h=9f1b3bca34069468d57a084238b0a7eebe33ebe3;hp=1276dd03e7a1a3026e0fc418d6df4bd735a97a52;hb=ca593f66fd6c35764bd8997c6338b781330f019c;hpb=1a2fa2c2a1e0db12dc788216d9f3ba73301a131f diff --git a/lib/BackupPC/Lang/en.pm b/lib/BackupPC/Lang/en.pm index 1276dd0..9f1b3bc 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")} -
- - -
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} = < @@ -117,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")} @@ -136,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
@@ -154,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 @@ -232,7 +247,7 @@ About to archive the following hosts \$paramStr - +
@@ -298,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 # -------------------------------- @@ -317,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 @@ -376,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 # -------------------------------- @@ -441,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! @@ -452,7 +473,7 @@ selected will be overwritten! \$hiddenStr - +
Restore the files to host