X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2FBackupPC%2FLang%2Fen.pm;h=e040cbf25d91df8d353781053d8990dda4d60fb5;hb=07d524e222fd3eeffccd2355f4a20ca5eba82f1b;hp=2a417bc32487bd7e38b98dcb08492ae27143b3f1;hpb=a7e968ce327855f2ba2624ca8517069a936c9b5b;p=BackupPC.git diff --git a/lib/BackupPC/Lang/en.pm b/lib/BackupPC/Lang/en.pm index 2a417bc..e040cbf 100644 --- a/lib/BackupPC/Lang/en.pm +++ b/lib/BackupPC/Lang/en.pm @@ -1,4 +1,4 @@ -#!/bin/perl -T +#!/bin/perl #my %lang; #use strict; @@ -12,6 +12,9 @@ $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{Only_privileged_users_can_view_admin_options} = "Only privileged users can view admin options."; @@ -20,18 +23,20 @@ $Lang{Admin_Options} = "Admin Options"; $Lang{Admin_Options_Page} = < -\${h1("Server Control")} +\${h2("Server Control")}
-
Stop the server: +
Reload the server configuration:
-\${h1("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" @@ -54,10 +59,7 @@ EOF $Lang{H_BackupPC_Server_Status} = "BackupPC Server Status"; -$Lang{BackupPC_Server_Status}= < +$Lang{BackupPC_Server_Status_General_Info}= < @@ -77,10 +79,17 @@ $Lang{BackupPC_Server_Status}= < +EOF + +$Lang{BackupPC_Server_Status} = < +\$generalInfo \${h2("Currently Running Jobs")}

- +
@@ -95,7 +104,7 @@ $Lang{BackupPC_Server_Status}= < -
Host Type User
+
@@ -108,9 +117,9 @@ $Lang{BackupPC_Server_Status}= < @@ -127,7 +136,7 @@ There are \$hostCntGood hosts that have been backed up, for a total of: (prior to pooling and compression).

-
Host Type User
+
@@ -145,7 +154,7 @@ There are \$hostCntGood hosts that have been backed up, for a total of:

There are \$hostCntNone hosts with no backups.

-

Host User #Full
+
@@ -160,8 +169,7 @@ There are \$hostCntNone hosts with no backups.
Host User #Full
EOF -$Lang{BackupPC_Archive}=< - Search for available shares + Restore the files 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 @@ -486,6 +519,7 @@ 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 @@ -595,7 +629,7 @@ $Lang{Host__host_Backup_Summary2} = < Click on the backup number to browse and restore backup files.

- +
@@ -613,7 +647,7 @@ Click on the backup number to browse and restore backup files.

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

-
Backup# Type Filled
+
@@ -632,7 +666,7 @@ 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.

-
Backup# Type View
+
@@ -658,7 +692,7 @@ Empty files and SMB errors aren\'t counted in the reuse and new counts. Compression performance for files already in the pool and newly compressed files.

-
Totals Existing Files
+
@@ -696,7 +730,6 @@ $Lang{Host__host_Archive_Summary2} = < - \$ArchiveStr EOF @@ -831,10 +864,10 @@ EOF # ------------------------------ $Lang{Restore___num_details_for__host} = "BackupPC: Restore #\$num details for \$host"; -$Lang{Restore___num_details_for__host2 } = < -
Existing Files New Files
+
@@ -857,10 +890,10 @@ $Lang{Restore___num_details_for__host2 } = <Errors
Number \$Restores[\$i]{num}
Requested by \$RestoreReq{user}
Request time \$reqTime
-

+

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

- +
\$fileListStr
Original file/dirRestored to
@@ -872,15 +905,15 @@ $Lang{Archive___num_details_for__host} = "BackupPC: Archive #\$num details for \ $Lang{Archive___num_details_for__host2 } = < - - - - - - - - - EOF @@ -1085,6 +1119,7 @@ $Lang{fileHeader} = < Click on the restore number for more details. -
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 + + + + + + + + + @@ -888,8 +921,8 @@ $Lang{Archive___num_details_for__host2 } = < \${h1("Host list")}

-

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
- +
HostBackup Number
+ \$HostListStr
HostBackup Number
EOF @@ -955,16 +988,14 @@ Until I see \$host at a particular DHCP address, you can only start this request from the client machine itself. EOF -######################## -# ok you can do it then -######################## +# ------------------------------------ +# !! Server Mesg !! +# ------------------------------------ $Lang{Backup_requested_on_DHCP__host} = "Backup requested on DHCP \$host (\$In{hostIP}) by" . " \$User from \$ENV{REMOTE_ADDR}"; - $Lang{Backup_requested_on__host_by__User} = "Backup requested on \$host by \$User"; $Lang{Backup_stopped_dequeued_on__host_by__User} = "Backup stopped/dequeued on \$host by \$User"; - $Lang{Restore_requested_to_host__hostDest__backup___num} = "Restore requested to host \$hostDest, backup #\$num," . " by \$User from \$ENV{REMOTE_ADDR}"; $Lang{Archive_requested} = "Archive requested by \$User from \$ENV{REMOTE_ADDR}"; @@ -974,7 +1005,7 @@ $Lang{Archive_requested} = "Archive requested by \$User from \$ENV{REMOTE_ADDR}" # ------------------------------------------------- $Lang{Status} = "Status"; -$Lang{PC_Summary} = "PC Summary"; +$Lang{PC_Summary} = "Host Summary"; $Lang{LOG_file} = "LOG file"; $Lang{LOG_files} = "LOG files"; $Lang{Old_LOGs} = "Old LOGs"; @@ -984,9 +1015,10 @@ $Lang{Hosts_file} = "Hosts file"; $Lang{Current_queues} = "Current queues"; $Lang{Documentation} = "Documentation"; -$Lang{Host_or_User_name} = "Host or User name:"; +#$Lang{Host_or_User_name} = "Host or User name:"; $Lang{Go} = "Go"; $Lang{Hosts} = "Hosts"; +$Lang{Select_a_host} = "Select a host..."; $Lang{There_have_been_no_archives} = "

There have been no archives

\n"; $Lang{This_PC_has_never_been_backed_up} = "

This PC has never been backed up!!

\n"; @@ -1046,12 +1078,14 @@ 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). +({Stop_Dequeue_Archive})}&host=\$host\">change this number). EOF $Lang{tryIP} = " and \$StatusHost{dhcpHostIP}"; @@ -1067,9 +1101,9 @@ $Lang{checkAll} = <
+
 Select all - +
+
@@ -1119,8 +1154,8 @@ $Lang{Archive_Summary} = < Click on the archive number for more details. -
Restore# Result Start Date
- +
Archive#
+ @@ -1161,14 +1196,17 @@ $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_backup_done} = "backup done"; +$Lang{Reason_restore_done} = "restore done"; +$Lang{Reason_archive_done} = "archive 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_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"; # --------- # Email messages
Archive# Result Start Date Dur/mins