X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=lib%2FBackupPC%2FLang%2Fen.pm;h=e4fe19ea6807e52053eb8ab5e952bdad5911df46;hp=dea65b86d079e8683e78c970e658255cebfed983;hb=1015740e2b58fc43d7cf49881f190a9612e73fff;hpb=d6dd48e6594d937dea49e3dd1c5ddaba6719df0d diff --git a/lib/BackupPC/Lang/en.pm b/lib/BackupPC/Lang/en.pm index dea65b8..e4fe19e 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; @@ -23,18 +23,22 @@ $Lang{Admin_Options} = "Admin Options"; $Lang{Admin_Options_Page} = < -\${h1("Server Control")} -
- - + EOF @@ -292,13 +309,16 @@ $Lang{Are_you_sure_start} = < You are about to start a \$type backup on \$host. -
+ + Do you really want to do this? - - + + EOF # -------------------------------- @@ -311,15 +331,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 @@ -370,14 +393,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 # -------------------------------- @@ -435,7 +458,7 @@ EOF $Lang{Restore_Options_for__host_Option1} = <\$directHost.

Warning: any existing files that match the ones you have selected will be overwritten! @@ -446,7 +469,7 @@ selected will be overwritten! \$hiddenStr -

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,6 +81,13 @@ $Lang{BackupPC_Server_Status}= < +EOF + +$Lang{BackupPC_Server_Status} = < +\$generalInfo \${h2("Currently Running Jobs")}

@@ -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,16 +143,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
@@ -148,17 +163,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 @@ -226,7 +243,7 @@ About to archive the following hosts \$paramStr - +
@@ -252,7 +269,7 @@ EOF $Lang{BackupPC_Archive2_parity} = < -

Number of Parity FilesPercentage of Parity Data (0 = disable, 5 = typical)
+
- +
Restore the files to host
Restore the files to share
EOF @@ -506,7 +529,7 @@ to \${EscHTML(\$pathHdr eq "" ? "/" : \$pathHdr)} Compression (0=off, 1=fast,...,9=best)
- + EOF @@ -547,7 +570,7 @@ space to store it. to \${EscHTML(\$pathHdr eq "" ? "/" : \$pathHdr)} (otherwise archive will contain full paths).
- + EOF @@ -562,22 +585,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 @@ -612,11 +638,16 @@ $Lang{Host__host_Backup_Summary2} = < \${h2("User Actions")}

-

- + + + \$startIncrStr - - + +

\${h2("Backup Summary")} @@ -627,6 +658,7 @@ Click on the backup number to browse and restore backup files. Backup# Type Filled + Level Start Date Duration/mins Age/days @@ -717,11 +749,16 @@ $Lang{Host__host_Archive_Summary2} = < -
+ - - + + +
\$ArchiveStr @@ -791,17 +828,17 @@ $Lang{Backup_browse_for__host} = < - +
-
-
+
+ \$dirStr

- +
\$fileHeader \$topCheckAll \$fileStr @@ -848,7 +885,7 @@ the backups: \${h2("History of \${EscHTML(\$dirDisplay)}")}
-
+
\$backupNumStr\$backupTimeStr \$fileStr @@ -858,10 +895,10 @@ EOF # ------------------------------ $Lang{Restore___num_details_for__host} = "BackupPC: Restore #\$num details for \$host"; -$Lang{Restore___num_details_for__host2 } = < -
Backup number
Backup time
+
@@ -899,7 +936,7 @@ $Lang{Archive___num_details_for__host} = "BackupPC: Archive #\$num details for \ $Lang{Archive___num_details_for__host2 } = < -
Number \$Restores[\$i]{num}
Requested by \$RestoreReq{user}
Request time \$reqTime
+
@@ -958,8 +995,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"; @@ -999,13 +1036,13 @@ $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"; @@ -1079,7 +1116,7 @@ $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 -({Stop_Dequeue_Archive})}&host=\$host\">change this number). +(change this number). EOF $Lang{tryIP} = " and \$StatusHost{dhcpHostIP}"; @@ -1190,10 +1227,10 @@ $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_backup_done} = "done"; $Lang{Reason_restore_done} = "restore done"; $Lang{Reason_archive_done} = "archive done"; -$Lang{Reason_nothing_to_do} = "nothing to do"; +$Lang{Reason_nothing_to_do} = "idle"; $Lang{Reason_backup_failed} = "backup failed"; $Lang{Reason_restore_failed} = "restore failed"; $Lang{Reason_archive_failed} = "archive failed"; @@ -1201,6 +1238,9 @@ $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 @@ -1211,7 +1251,7 @@ $Lang{EMailNoBackupEverMesg} = <<'EOF'; To: $user$domain cc: Subject: $subj - +$headers Dear $userName, Your PC ($host) has never been successfully backed up by our @@ -1240,7 +1280,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. @@ -1269,7 +1309,7 @@ $Lang{EMailOutlookBackupMesg} = <<'EOF'; To: $user$domain cc: Subject: $subj - +$headers Dear $userName, The Outlook files on your PC have $howLong. @@ -1297,4 +1337,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

Number \$Archives[\$i]{num}
Requested by \$ArchiveReq{user}
Request time \$reqTime