X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=lib%2FBackupPC%2FLang%2Fen.pm;h=1b72d71b664d33334d30e17d705d351d3e9bbc23;hp=3e6f5aab94c32f86a9c248d02b1eae1ea72efc49;hb=fda25dc88a63ccac1c80efa2e4994bf0725ca9b7;hpb=d5fa3b7c692c93f843a6154866ebd9ea8293302e diff --git a/lib/BackupPC/Lang/en.pm b/lib/BackupPC/Lang/en.pm index 3e6f5aa..1b72d71 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; @@ -23,18 +23,22 @@ $Lang{Admin_Options} = "Admin Options"; $Lang{Admin_Options_Page} = < -\${h1("Server Control")} -
- - + - +
Stop the server: -
Reload the server configuration: +\${h2("Server Control")} + + + +
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" @@ -57,10 +61,7 @@ EOF $Lang{H_BackupPC_Server_Status} = "BackupPC Server Status"; -$Lang{BackupPC_Server_Status}= < +$Lang{BackupPC_Server_Status_General_Info}= < @@ -80,10 +81,17 @@ $Lang{BackupPC_Server_Status}= < +EOF + +$Lang{BackupPC_Server_Status} = < +\$generalInfo \${h2("Currently Running Jobs")}

- +
@@ -98,7 +106,7 @@ $Lang{BackupPC_Server_Status}= < -
Host Type User
+
@@ -111,13 +119,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")} @@ -130,15 +143,16 @@ There are \$hostCntGood hosts that have been backed up, for a total of: (prior to pooling and compression).

-
Host Type User
+
- - - + + + - + + \$strGood @@ -148,23 +162,23 @@ There are \$hostCntGood hosts that have been backed up, for a total of:

There are \$hostCntNone hosts with no backups.

-

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
+
- - - + + + - - + + + \$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}=< - 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 @@ -482,13 +527,14 @@ to \${EscHTML(\$pathHdr eq "" ? "/" : \$pathHdr)} 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 @@ -522,7 +568,7 @@ space to store it. to \${EscHTML(\$pathHdr eq "" ? "/" : \$pathHdr)} (otherwise archive will contain full paths).
- + EOF @@ -537,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 @@ -587,21 +636,27 @@ $Lang{Host__host_Backup_Summary2} = < \${h2("User Actions")}

-

- + + + \$startIncrStr - - + +

\${h2("Backup Summary")}

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

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

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

-
Backup# Type Filled Level Start Date Duration/mins Age/days
+
@@ -635,7 +690,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
+
@@ -661,7 +716,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
+
@@ -692,14 +747,18 @@ $Lang{Host__host_Archive_Summary2} = < -
+ - - + + + - \$ArchiveStr EOF @@ -767,17 +826,17 @@ $Lang{Backup_browse_for__host} = < - +
Existing Files New Files
-
-
+
+ \$dirStr

- +
\$fileHeader \$topCheckAll \$fileStr @@ -824,7 +883,7 @@ the backups: \${h2("History of \${EscHTML(\$dirDisplay)}")}
-
+
\$backupNumStr\$backupTimeStr \$fileStr @@ -834,10 +893,10 @@ EOF # ------------------------------ $Lang{Restore___num_details_for__host} = "BackupPC: Restore #\$num details for \$host"; -$Lang{Restore___num_details_for__host2 } = < -
Backup number
Backup time
+
@@ -860,10 +919,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
@@ -875,15 +934,15 @@ $Lang{Archive___num_details_for__host} = "BackupPC: Archive #\$num details for \ $Lang{Archive___num_details_for__host2 } = < - - - - - - - - - EOF @@ -1104,7 +1164,7 @@ $Lang{Restore_Summary} = < 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 + + + + + + + + + @@ -891,8 +950,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 @@ -934,8 +993,8 @@ $Lang{Nice_try__but_you_can_t_put} = "Nice try, but you can\'t put \'..\' in any $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" . " \${EscHTML(\$In{hostDest})}"; -$Lang{Can_t_open_create} = "Can\'t open/create " - . "\${EscHTML(\"\$TopDir/pc/\$hostDest/\$reqFileName\")}"; +$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 \${EscHTML(\$host)}."; $Lang{Empty_host_name} = "Empty host name"; @@ -958,16 +1017,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}"; @@ -977,19 +1034,20 @@ $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"; $Lang{Email_summary} = "Email summary"; $Lang{Config_file} = "Config file"; -$Lang{Hosts_file} = "Hosts file"; +# $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"; @@ -1049,12 +1107,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). +(change this number). EOF $Lang{tryIP} = " and \$StatusHost{dhcpHostIP}"; @@ -1070,9 +1130,9 @@ $Lang{checkAll} = <
+
 Select all - +
+
@@ -1123,8 +1183,8 @@ $Lang{Archive_Summary} = < Click on the archive number for more details. -
Restore# Result Start Date
- +
Archive#
+ @@ -1165,14 +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_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_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"; +$Lang{Disabled_OnlyManualBackups} = "auto disabled"; +$Lang{Disabled_AllBackupsDisabled} = "disabled"; + # --------- # Email messages @@ -1183,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 @@ -1212,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. @@ -1241,7 +1307,7 @@ $Lang{EMailOutlookBackupMesg} = <<'EOF'; To: $user$domain cc: Subject: $subj - +$headers Dear $userName, The Outlook files on your PC have $howLong. @@ -1269,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

Archive# Result Start Date Dur/mins