X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=lib%2FBackupPC%2FLang%2Fen.pm;h=8d6d12328b32612f2762174120cdf3e7583932f1;hp=ff82605f030cf4e66719f39496ea1b4cfa95e8b2;hb=27f513f89d885d24bf1a01242fba676c7a840fd5;hpb=72b87b178ae8dcc10f1ae0f441d13e30d5f1ecf1 diff --git a/lib/BackupPC/Lang/en.pm b/lib/BackupPC/Lang/en.pm index ff82605..8d6d123 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,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" @@ -57,10 +59,7 @@ EOF $Lang{H_BackupPC_Server_Status} = "BackupPC Server Status"; -$Lang{BackupPC_Server_Status}= < +$Lang{BackupPC_Server_Status_General_Info}= < @@ -80,10 +79,17 @@ $Lang{BackupPC_Server_Status}= < +EOF + +$Lang{BackupPC_Server_Status} = < +\$generalInfo \${h2("Currently Running Jobs")}

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

-
Host Type User
+
@@ -148,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
+
@@ -163,8 +169,7 @@ There are \$hostCntNone hosts with no backups.
Host User #Full
EOF -$Lang{BackupPC_Archive}=<

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 @@ -489,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 @@ -598,7 +629,7 @@ $Lang{Host__host_Backup_Summary2} = < Click on the backup number to browse and restore backup files.

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

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

-
Backup# Type Filled
+
@@ -635,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
+
@@ -661,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
+
@@ -699,7 +730,6 @@ $Lang{Host__host_Archive_Summary2} = < - \$ArchiveStr EOF @@ -834,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
+
@@ -860,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
@@ -875,15 +905,15 @@ $Lang{Archive___num_details_for__host} = "BackupPC: Archive #\$num details for \ $Lang{Archive___num_details_for__host2 } = < - - - - - - - - -
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 +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 @@ -934,8 +964,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 +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}"; @@ -977,19 +1005,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{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 +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}"; @@ -1104,7 +1135,7 @@ $Lang{Restore_Summary} = < Click on the restore number for more details. - +
@@ -1123,8 +1154,8 @@ $Lang{Archive_Summary} = < Click on the archive number for more details. -
Restore# Result Start Date
- +
Archive#
+ @@ -1165,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 @@ -1269,4 +1303,113 @@ 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"; +####################################################################### +# Configuration editor strings +####################################################################### + +$Lang{Only_privileged_users_can_edit_config_files} = "Only privileged users can edit configuation settings."; +$Lang{CfgEdit_Edit_Config} = "Edit Config"; +$Lang{CfgEdit_Edit_Hosts} = "Edit Hosts"; + +$Lang{CfgEdit_Title_Server} = "Server"; +$Lang{CfgEdit_Title_General_Parameters} = "General Parameters"; +$Lang{CfgEdit_Title_Wakeup_Schedule} = "Wakeup Schedule"; +$Lang{CfgEdit_Title_Concurrent_Jobs} = "Concurrent Jobs"; +$Lang{CfgEdit_Title_Pool_Filesystem_Limits} = "Pool Filesystem Limits"; +$Lang{CfgEdit_Title_Other_Parameters} = "Other Parameters"; +$Lang{CfgEdit_Title_Remote_Apache_Settings} = "Remote Apache Settings"; +$Lang{CfgEdit_Title_Program_Paths} = "Program Paths"; +$Lang{CfgEdit_Title_Install_Paths} = "Install Paths"; +$Lang{CfgEdit_Title_Email} = "Email"; +$Lang{CfgEdit_Title_Email_settings} = "Email settings"; +$Lang{CfgEdit_Title_Email_User_Messages} = "Email User Messages"; +$Lang{CfgEdit_Title_CGI} = "CGI"; +$Lang{CfgEdit_Title_Admin_Privileges} = "Admin Privileges"; +$Lang{CfgEdit_Title_Page_Rendering} = "Page Rendering"; +$Lang{CfgEdit_Title_Paths} = "Paths"; +$Lang{CfgEdit_Title_User_URLs} = "User URLs"; +$Lang{CfgEdit_Title_User_Config_Editing} = "User Config Editing"; +$Lang{CfgEdit_Title_Xfer} = "Xfer"; +$Lang{CfgEdit_Title_Xfer_Settings} = "Xfer Settings"; +$Lang{CfgEdit_Title_Smb_Settings} = "Smb Settings"; +$Lang{CfgEdit_Title_Tar_Settings} = "Tar Settings"; +$Lang{CfgEdit_Title_Rsync_Settings} = "Rsync Settings"; +$Lang{CfgEdit_Title_Rsyncd_Settings} = "Rsyncd Settings"; +$Lang{CfgEdit_Title_Archive_Settings} = "Archive Settings"; +$Lang{CfgEdit_Title_Include_Exclude} = "Include/Exclude"; +$Lang{CfgEdit_Title_Smb_Paths_Commands} = "Smb Paths/Commands"; +$Lang{CfgEdit_Title_Tar_Paths_Commands} = "Tar Paths/Commands"; +$Lang{CfgEdit_Title_Rsync_Paths_Commands_Args} = "Rsync Paths/Commands/Args"; +$Lang{CfgEdit_Title_Rsyncd_Port_Args} = "Rsyncd Port/Args"; +$Lang{CfgEdit_Title_Archive_Paths_Commands} = "Archive Paths/Commands"; +$Lang{CfgEdit_Title_Schedule} = "Schedule"; +$Lang{CfgEdit_Title_Full_Backups} = "Full Backups"; +$Lang{CfgEdit_Title_Incremental_Backups} = "Incremental Backups"; +$Lang{CfgEdit_Title_Blackouts} = "Blackouts"; +$Lang{CfgEdit_Title_Other} = "Other"; +$Lang{CfgEdit_Title_Backup_Settings} = "Backup Settings"; +$Lang{CfgEdit_Title_Client_Lookup} = "Client Lookup"; +$Lang{CfgEdit_Title_Other} = "Other"; +$Lang{CfgEdit_Title_User_Commands} = "User Commands"; +$Lang{CfgEdit_Title_Hosts} = "Hosts"; + +$Lang{CfgEdit_Hosts_Comment} = < +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_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