X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=cgi-bin%2FBackupPC_Admin;h=cac9707afff973e4723701bf96737f5013401b53;hp=8cca256689deecebee34de5f6a6afb82bf38008e;hb=2fb1e8b5cee74c72bbb8ecc7722c05256cbdc6bf;hpb=e9453b7611be63303572ae443d5fb56b73364678
diff --git a/cgi-bin/BackupPC_Admin b/cgi-bin/BackupPC_Admin
index 8cca256..cac9707 100755
--- a/cgi-bin/BackupPC_Admin
+++ b/cgi-bin/BackupPC_Admin
@@ -203,8 +203,8 @@ sub Action_Summary
$fullRate |
$incrCnt |
$incrAge |
- $Status{$host}{state} |
- $Status{$host}{reason} |
+ $Lang->{$Status{$host}{state}} |
+ $Lang->{$Status{$host}{reason}} |
EOF
if ( @Backups == 0 ) {
$hostCntNone++;
@@ -1332,7 +1332,7 @@ EOF
$StatusHost{startTime} : $StatusHost{endTime});
my $reason = "";
if ( $StatusHost{reason} ne "" ) {
- $reason = " ($StatusHost{reason})";
+ $reason = " ($Lang->{$StatusHost{reason}})";
}
$statusStr .= eval("qq{$Lang->{Last_status_is_state_StatusHost_state_reason_as_of_startTime}}");
@@ -1409,7 +1409,7 @@ EOF
$jobStr .= "\n";
}
foreach my $host ( sort(keys(%Status)) ) {
- next if ( $Status{$host}{reason} ne "backup failed" );
+ next if ( $Status{$host}{reason} ne "Reason_backup_failed" );
my $startTime = timeStamp2($Status{$host}{startTime});
my($errorTime, $XferViewStr);
if ( $Status{$host}{errorTime} > 0 ) {