]> git.pld-linux.org Git - packages/BackupPC.git/blob - backuppc-pl.pm
- more
[packages/BackupPC.git] / backuppc-pl.pm
1 #!/usr/bin/perl
2
3 #my %lang;
4 #use strict;
5
6 # --------------------------------
7
8 $Lang{Start_Archive} = "Start archiwizacji";
9 $Lang{Stop_Dequeue_Archive} = "Zatrzymaj/Dequeue archiwizacje";
10 $Lang{Start_Full_Backup} = "Uruchom pe³ny Backup";
11 $Lang{Start_Incr_Backup} = "Uruchom przyrostowy Backup";
12 $Lang{Stop_Dequeue_Backup} = "Zatrzymaj/Dequeue Backup";
13 $Lang{Restore} = "Przywróæ";
14
15 $Lang{Type_full} = "Pe³ny";
16 $Lang{Type_incr} = "przyrostowy";
17
18 # -----
19
20 $Lang{Only_privileged_users_can_view_admin_options} = "Tylko u¿ytkownik posiadaj±cy uprawnienia ma dostep do opcji administracyjnych.";
21 $Lang{H_Admin_Options} = "BackupPC serwer: administracja";
22 $Lang{Admin_Options} = "Administracja";
23 $Lang{Admin_Options_Page} = <<EOF;
24 \${h1(qq{$Lang{Admin_Options}})}
25 <br>
26 \${h2("Kontrola serwera")}
27 <form action="\$MyURL" method="get">
28 <table class="tableStnd">
29   <!--<tr><td>Zatrzymanie serwera:<td><input type="submit" name="action" value="Stop">-->
30   <tr><td>Wczytaj ponownie konfiguracjê:<td><input type="submit" name="action" value="Reload">
31 </table>
32 </form>
33 <!--
34 \${h2("Konfiguracja serwera")}
35 <ul>
36   <li><i>Inne opcje mog± znajdowaæ siê tu:... n.p.,</i>
37   <li>Edycja konfiguracji serwera
38 </ul>
39 -->
40 EOF
41 $Lang{Unable_to_connect_to_BackupPC_server} = "Nie mo¿na uzyskaæ po³±czenia z serwerem BackupPC",
42             "Skrypt CGI (\$MyURL) nie mo¿e uzyskaæ po³±czenia z serwerem"
43           . " BackupPC na \$Conf{ServerHost} port \$Conf{ServerPort}. Wyst±pi³"
44           . " b³±d: \$err.",
45             "Byæ mo¿e serwer BackupPC nie jest uruchomiony lub jest to "
46           . " b³±d konfiguracji. Zawiadom administratora systemu.";
47 $Lang{Admin_Start_Server} = <<EOF;
48 \${h1(qq{$Lang{Unable_to_connect_to_BackupPC_server}})}
49 <form action="\$MyURL" method="get">
50 Serwer BackupPC na <tt>\$Conf{ServerHost}</tt> port <tt>\$Conf{ServerPort}</tt>
51 nie jest aktualnie uruchomiony (mo¿liwe, ¿e go tylko zatrzyma³e¶ lub jeszcze nie uruchomi³e¶).<br>
52 Czy chcesz uruchomiæ serwer?
53 <input type="hidden" name="action" value="startServer">
54 <input type="submit" value="Start Server" name="ignore">
55 </form>
56 EOF
57
58 # -----
59
60 $Lang{H_BackupPC_Server_Status} = "Status serwera BackupPC";
61
62 $Lang{BackupPC_Server_Status_General_Info}= <<EOF;
63 \${h2(\"Ogólne informacje o serwerze\")}
64
65 <ul>
66 <li> PID serwera: \$Info{pid}, na komputerze \$Conf{ServerHost},
67      wersja \$Info{Version}, uruchomiony o \$serverStartTime.
68 <li> Status wygenerowano o \$now.
69 <li> Ostatnie wczytanie konfiguracji: \$configLoadTime.
70 <li> Komputery sprawdzaj± obecno¶æ nowych zleceñ co \$nextWakeupTime.
71 <li> Pozosta³e informacje:
72     <ul>
73         <li>\$numBgQueue oczekuj±ce zlecenia archiwizacji from last scheduled wakeup,
74         <li>\$numUserQueue oczekuj±ce zlecenia u¿ytkownika,
75         <li>\$numCmdQueue oczekuj±ce zlecenia,
76         \$poolInfo
77         <li>Pool file system was recently at \$Info{DUlastValue}%
78             (\$DUlastTime), dzi¶ maksymalnie jest \$Info{DUDailyMax}% (\$DUmaxTime)
79             wczoraj by³o maksymalnie \$Info{DUDailyMaxPrev}%.
80     </ul>
81 </ul>
82 EOF
83
84 $Lang{BackupPC_Server_Status} = <<EOF;
85 \${h1(qq{$Lang{H_BackupPC_Server_Status}})}
86
87 <p>
88 \$generalInfo
89
90 \${h2("Aktualnie uruchomione zadania")}
91 <p>
92 <table class="tableStnd" border cellspacing="1" cellpadding="3">
93 <tr class="tableheader"><td> Komputer </td>
94     <td> Typ </td>
95     <td> U¿ytkownik </td>
96     <td> Rozpoczêcie </td>
97     <td> Polecenie </td>
98     <td align="center"> PID </td>
99     <td align="center"> Xfer PID </td>
100     </tr>
101 \$jobStr
102 </table>
103 <p>
104
105 \${h2("B³êdy wymagaj±ce bli¿szej analizy")}
106 <p>
107 <table class="tableStnd" border cellspacing="1" cellpadding="3">
108 <tr class="tableheader"><td align="center"> Host </td>
109     <td align="center"> Typ </td>
110     <td align="center"> U¿ytkownik </td>
111     <td align="center"> Ostatnia próba </td>
112     <td align="center"> Szczegó³y </td>
113     <td align="center"> Error Time </td>
114     <td> Ostatni b³±d (inny ni¿ brak ping) </td></tr>
115 \$statusStr
116 </table>
117 EOF
118
119 # --------------------------------
120 $Lang{BackupPC__Server_Summary} = "BackupPC: Podsumowanie ";
121 $Lang{BackupPC__Archive} = "BackupPC: Archiwizacja";
122 $Lang{BackupPC_Summary} = <<EOF;
123
124 \${h1(qq{$Lang{BackupPC__Server_Summary}})}
125 <p>
126 Status wygenerowano o \$now.
127 </p>
128
129 \${h2("Komputery z dobrymi kopiami zapasowymi")}
130 <p>
131 Jest \$hostCntGood komputerów, na których dokonano archiwizacji, ³±cznie:
132 <ul>
133 <li> \$fullTot full backups of total size \${fullSizeTot}GB
134      (prior to pooling and compression),
135 <li> \$incrTot incr backups of total size \${incrSizeTot}GB
136      (prior to pooling and compression).
137 </ul>
138 </p>
139 <table class="tableStnd" border cellpadding="3" cellspacing="1">
140 <tr class="tableheader"><td> Komputer </td>
141     <td align="center"> U¿ytkownik </td>
142     <td align="center"> #Pe³ny </td>
143     <td align="center"> Full Age/days </td>
144     <td align="center"> Wielko¶æ/GB </td>
145     <td align="center"> Szybko¶æ MB/sec </td>
146     <td align="center"> #Przyrostowy </td>
147     <td align="center"> Incr Age/days </td>
148     <td align="center"> Status </td>
149     <td align="center"> Ostatnia próba </td></tr>
150 \$strGood
151 </table>
152 <br><br>
153 \${h2("Komputery bez kopii zapasowych")}
154 <p>
155 Jest \$hostCntNone komputerów bez kopii zapasowych.
156 <p>
157 <table class="tableStnd" border cellpadding="3" cellspacing="1">
158 <tr class="tableheader"><td> Komputer </td>
159     <td align="center"> U¿ytkownik </td>
160     <td align="center"> #Pe³ny </td>
161     <td align="center"> Full Age/days </td>
162     <td align="center"> Wielko¶æ/GB </td>
163     <td align="center"> Szybko¶æ MB/sec </td>
164     <td align="center"> #Przyrostowy </td>
165     <td align="center"> Incr Age/days </td>
166     <td align="center"> Aktualny stan </td>
167     <td align="center"> Ostatnia próba archiwizacji </td></tr>
168 \$strNone
169 </table>
170 EOF
171
172 $Lang{BackupPC_Archive} = <<EOF;
173 \${h1(qq{$Lang{BackupPC__Archive}})}
174 <script language="javascript" type="text/javascript">
175 <!--
176
177     function checkAll(location)
178     {
179       for (var i=0;i<document.form1.elements.length;i++)
180       {
181         var e = document.form1.elements[i];
182         if ((e.checked || !e.checked) && e.name != \'all\') {
183             if (eval("document.form1."+location+".checked")) {
184                 e.checked = true;
185             } else {
186                 e.checked = false;
187             }
188         }
189       }
190     }
191
192     function toggleThis(checkbox)
193     {
194        var cb = eval("document.form1."+checkbox);
195        cb.checked = !cb.checked;
196     }
197
198 //-->
199 </script>
200
201 Jest \$hostCntGood komputerów, na których dokonano archiwizacji, ³±cznie: \${fullSizeTot}GB
202 <p>
203 <form name="form1" method="post" action="\$MyURL">
204 <input type="hidden" name="fcbMax" value="\$checkBoxCnt">
205 <input type="hidden" name="type" value="1">
206 <input type="hidden" name="host" value="\${EscHTML(\$archHost)}">
207 <input type="hidden" name="action" value="Archive">
208 <table class="tableStnd" border cellpadding="3" cellspacing="1">
209 <tr class="tableheader"><td align=center> Komputer</td>
210     <td align="center"> U¿ytkownik </td>
211     <td align="center"> Wielko¶æ Backup-u </td>
212 \$strGood
213 \$checkAllHosts
214 </table>
215 </form>
216 <p>
217
218 EOF
219
220 $Lang{BackupPC_Archive2} = <<EOF;
221 \${h1(qq{$Lang{BackupPC__Archive}})}
222 Archiwizacja nastêpuj±cych komputerów
223 <ul>
224 \$HostListStr
225 </ul>
226 <form action="\$MyURL" method="post">
227 \$hiddenStr
228 <input type="hidden" name="action" value="Archive">
229 <input type="hidden" name="host" value="\${EscHTML(\$archHost)}">
230 <input type="hidden" name="type" value="2">
231 <input type="hidden" value="0" name="archive_type">
232 <table class="tableStnd" border cellspacing="1" cellpadding="3">
233 \$paramStr
234 <tr>
235     <td colspan=2><input type="submit" value="Start the Archive" name=""></td>
236 </tr>
237 </form>
238 </table>
239 EOF
240
241 $Lang{BackupPC_Archive2_location} = <<EOF;
242 <tr>
243     <td>Archive Location/Device</td>
244     <td><input type="text" value="\$ArchiveDest" name="archive_device"></td>
245 </tr>
246 EOF
247
248 $Lang{BackupPC_Archive2_compression} = <<EOF;
249 <tr>
250     <td>Kompresja</td>
251     <td>
252     <input type="radio" value="0" name="compression" \$ArchiveCompNone>brak<br>
253     <input type="radio" value="1" name="compression" \$ArchiveCompGzip>gzip<br>
254     <input type="radio" value="2" name="compression" \$ArchiveCompBzip2>bzip2
255     </td>
256 </tr>
257 EOF
258
259 $Lang{BackupPC_Archive2_parity} = <<EOF;
260 <tr>
261     <td>Percentage of Parity Data (0 = wy³±czony 5 = normalny)</td>
262     <td><input type="numeric" value="\$ArchivePar" name="par"></td>
263 </tr>
264 EOF
265
266 $Lang{BackupPC_Archive2_split} = <<EOF;
267 <tr>
268     <td>Split output into</td>
269     <td><input type="numeric" value="\$ArchiveSplit" name="splitsize">Megabajtów</td>
270 </tr>
271 EOF
272
273 # -----------------------------------
274 $Lang{Pool_Stat} = <<EOF;
275         <li>Pool is \${poolSize}GB comprising \$info->{"\${name}FileCnt"} plików
276             i \$info->{"\${name}DirCnt"} katalogów (as of \$poolTime),
277         <li>Pool hashing gives \$info->{"\${name}FileCntRep"} repeated
278             files with longest chain \$info->{"\${name}FileRepMax"},
279         <li>Nightly cleanup removed \$info->{"\${name}FileCntRm"} files of
280             size \${poolRmSize}GB (around \$poolTime),
281 EOF
282
283 # --------------------------------
284 $Lang{BackupPC__Backup_Requested_on__host} = "BackupPC: Tworzenie kopii zapasowej na \$host";
285 # --------------------------------
286 $Lang{REPLY_FROM_SERVER} = <<EOF;
287 \${h1(\$str)}
288 <p>
289 Odpowied¼ od serwera: \$reply
290 <p>
291 Powrót na <a href="\$MyURL?host=\$host">\$host stronê domow±</a>.
292 EOF
293 # --------------------------------
294 $Lang{BackupPC__Start_Backup_Confirm_on__host} = "BackupPC: Potwierdzenie tworzenia kopii zapasowej na \$host";
295 # --------------------------------
296 $Lang{Are_you_sure_start} = <<EOF;
297 \${h1("Jeste¶ pewien?")}
298 <p>
299 Rozpoczêcie archiwizacji \$type dla \$host.
300
301 <form action="\$MyURL" method="get">
302 <input type="hidden" name="host" value="\$host">
303 <input type="hidden" name="hostIP" value="\$ipAddr">
304 <input type="hidden" name="doit" value="1">
305 Czy chcesz to na pewno zrobiæ?
306 <input type="submit" value="\$In{action}" name="action">
307 <input type="submit" value="No" name="">
308 </form>
309 EOF
310 # --------------------------------
311 $Lang{BackupPC__Stop_Backup_Confirm_on__host} = "BackupPC: Potwierdzenie zatrzymania archiwizacji dla \$host";
312 # --------------------------------
313 $Lang{Are_you_sure_stop} = <<EOF;
314
315 \${h1("Czy jeste¶ pewny?")}
316
317 <p>
318 Zatrzymanie archiwizacji dla \$host;
319
320 <form action="\$MyURL" method="get">
321 <input type="hidden" name="host" value="\$host">
322 <input type="hidden" name="doit" value="1">
323 Also, please don\'t start another backup for
324 <input type="text" name="backoff" size="10" value="\$backoff"> hours.
325 <p>
326 Czy na prawdê chcesz to zrobiæ?
327 <input type="submit" value="\$In{action}" name="action">
328 <input type="submit" value="No" name="">
329 </form>
330
331 EOF
332 # --------------------------------
333 $Lang{Only_privileged_users_can_view_queues_} = "Tylko uprzywilejowani u¿ytkownicy mog± przegl±daæ kolejki";
334 # --------------------------------
335 $Lang{Only_privileged_users_can_archive} = "Tylko U¿ytkownik z odpowiednimi uprawnieniami mo¿e archiwizowaæ.";
336 # --------------------------------
337 $Lang{BackupPC__Queue_Summary} = "BackupPC: Queue Summary";
338 # --------------------------------
339 $Lang{Backup_Queue_Summary} = <<EOF;
340 \${h1("Backup Queue Summary")}
341 <br><br>
342 \${h2("User Queue Summary")}
343 <p>
344 Aktualnie w kolejce czekaj± nastêpuj±ce zlecenia u¿ytkownika:
345 </p>
346 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
347 <tr class="tableheader"><td> Host </td>
348     <td> Req Time </td>
349     <td> U¿ytkownik </td></tr>
350 \$strUser
351 </table>
352 <br><br>
353
354 \${h2("Background Queue Summary")}
355 <p>
356 The following background requests are currently queued:
357 </p>
358 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
359 <tr class="tableheader"><td> Host </td>
360     <td> Req Time </td>
361     <td> U¿ytkownik </td></tr>
362 \$strBg
363 </table>
364 <br><br>
365 \${h2("Command Queue Summary")}
366 <p>
367 Aktualnie w kolejce czekaj± nastêpuj±ce polecenia:
368 </p>
369 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
370 <tr class="tableheader"><td> Host </td>
371     <td> Req Time </td>
372     <td> U¿ytkownik </td>
373     <td> Polecenie </td></tr>
374 \$strCmd
375 </table>
376 EOF
377
378 # --------------------------------
379 $Lang{Backup_PC__Log_File__file} = "BackupPC: Plik \$file";
380 $Lang{Log_File__file__comment} = <<EOF;
381 \${h1("Plik \$file \$comment")}
382 <p>
383 EOF
384 # --------------------------------
385 $Lang{Contents_of_log_file} = <<EOF;
386 Contents of file <tt>\$file</tt>, modified \$mtimeStr \$comment
387 EOF
388
389 # --------------------------------
390 $Lang{skipped__skipped_lines} = "[ Pominiête \$skipped linie ]\n";
391 # --------------------------------
392 $Lang{_pre___Can_t_open_log_file__file} = "<pre>\nNie mo¿na otworzyæ pliku loguj±cego \$file\n";
393
394 # --------------------------------
395 $Lang{BackupPC__Log_File_History} = "BackupPC: Plik logu";
396 $Lang{Log_File_History__hdr} = <<EOF;
397 \${h1("Plik logu \$hdr")}
398 <p>
399 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
400 <tr class="tableheader"><td align="center"> File </td>
401     <td align="center"> Rozmiar </td>
402     <td align="center"> Ostatnia modyfikacja </td></tr>
403 \$str
404 </table>
405 EOF
406
407 # -------------------------------
408 $Lang{Recent_Email_Summary} = <<EOF;
409 \${h1("Recent Email Summary (Reverse time order)")}
410 <p>
411 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
412 <tr class="tableheader"><td align="center"> Recipient </td>
413     <td align="center"> Komputer </td>
414     <td align="center"> Czas </td>
415     <td align="center"> Temat </td></tr>
416 \$str
417 </table>
418 EOF
419
420
421 # ------------------------------
422 $Lang{Browse_backup__num_for__host} = "BackupPC: Browse backup \$num for \$host";
423
424 # ------------------------------
425 $Lang{Restore_Options_for__host} = "BackupPC: Restore Options for \$host";
426 $Lang{Restore_Options_for__host2} = <<EOF;
427 \${h1("Restore Options for \$host")}
428 <p>
429 Wybra³e¶ nastêpuj±ce pliki/katalogi z
430 udzia³u \$share, backup number #\$num:
431 <ul>
432 \$fileListStr
433 </ul>
434 </p><p>
435 Masz trzy mo¿liwo¶ci odzyskania tych plików/katalogów.
436 Wybierz proszê, jedn± z nastêpuj±cych opcji:
437 </p>
438 \${h2("Option 1: Bezpo¶rednie odzyskiwanie")}
439 <p>
440 EOF
441
442 $Lang{Restore_Options_for__host_Option1} = <<EOF;
443 Mo¿esz zacz±æ odzyskiwanie, które przywróci te pliki bezpo¶rednio na
444 \$host.
445 </p><p>
446 <b>Ostrze¿enie:</b> Wszystkie pliki, pasuj±ce do tych, które wybra³e¶
447 zostan± nadpisane!
448 </p>
449 <form action="\$MyURL" method="post" name="direct">
450 <input type="hidden" name="host" value="\${EscHTML(\$host)}">
451 <input type="hidden" name="num" value="\$num">
452 <input type="hidden" name="type" value="3">
453 \$hiddenStr
454 <input type="hidden" value="\$In{action}" name="action">
455 <table border="0">
456 <tr>
457     <td>Odzyskiwanie plików komputera</td>
458     <td><!--<input type="text" size="40" value="\${EscHTML(\$host)}"
459          name="hostDest">-->
460          <select name="hostDest" onChange="document.direct.shareDest.value=''">
461          \$hostDestSel
462          </select>
463          <script language="Javascript">
464          function myOpen(URL) {
465                 window.open(URL,'','width=500,height=400');
466          }
467          </script>
468          <!--<a href="javascript:myOpen('\$MyURL?action=findShares&host='+document.direct.hostDest.options.value)">Search for available shares (NOT IMPLEMENTED)</a>--></td>
469 </tr><tr>
470     <td>Odzyskiwanie plików udzia³u</td>
471     <td><input type="text" size="40" value="\${EscHTML(\$share)}"
472          name="shareDest"></td>
473 </tr><tr>
474     <td>Restore the files below dir<br>(relative to share)</td>
475     <td valign="top"><input type="text" size="40" maxlength="256"
476         value="\${EscHTML(\$pathHdr)}" name="pathHdr"></td>
477 </tr><tr>
478     <td><input type="submit" value="Rozpoczêcie odzyskiwania" name=""></td>
479 </table>
480 </form>
481 EOF
482
483 $Lang{Restore_Options_for__host_Option1_disabled} = <<EOF;
484 Bezpo¶rednie przywracanie zosta³o wy³±czone dla komputera \${EscHTML(\$hostDest)}.
485 Wybierz jedn± z innych mo¿liwo¶ci:
486 EOF
487
488 # ------------------------------
489 $Lang{Option_2__Download_Zip_archive} = <<EOF;
490 <p>
491 \${h2("Option 2: ¦ci±gnij jako archiwum Zip")}
492 <p>
493 Mo¿esz ¶ci±gn±æ archiwum Zip zawieraj±ce wszystkie pliki/katalogi, które 
494 wybra³e¶
495 Mo¿esz u¿ywaæ wtedy lokalnych aplikacji takich jak WinZip,
496 do przejrzenia lub wypakowania ka¿dego z plików.
497 </p><p>
498 <b>Ostrze¿enie:</b> w zale¿no¶ci od plików/katalogów, które wybra³e¶,
499 archiwum to, mo¿e byæ bardzo du¿e. Stworzenie i przeniesienie go
500 mo¿e zaj±æ kilka minut, ponadto bêdziesz potrzebowa³ wystarczaj±co wolnego miejsca na dysku, aby je przechowaæ.
501
502 </p>
503 <form action="\$MyURL" method="post">
504 <input type="hidden" name="host" value="\${EscHTML(\$host)}">
505 <input type="hidden" name="num" value="\$num">
506 <input type="hidden" name="type" value="2">
507 \$hiddenStr
508 <input type="hidden" value="\$In{action}" name="action">
509 <input type="checkbox" value="1" name="relative" checked> Make archive relative
510 to \${EscHTML(\$pathHdr eq "" ? "/" : \$pathHdr)}
511 (otherwise archive will contain full paths).
512 <br>
513 Compression (0=off, 1=fast,...,9=best)
514 <input type="text" size="6" value="5" name="compressLevel">
515 <br>
516 <input type="submit" value="Download Zip File" name="">
517 </form>
518 EOF
519
520 # ------------------------------
521
522 $Lang{Option_2__Download_Zip_archive2} = <<EOF;
523 <p>
524 \${h2("Option 2: ¦ci±gnij jako archiwum Zip")}
525 <p>
526 Archiwum::Zip nie jest zainstalowane. ¦ci±gniêcie jako archiwum Zip bêdzie 
527 niemo¿liwe.
528 Popro¶ o zainstalowanie Archiwum::Zip administratora systemu z
529 <a href="http://www.cpan.org">www.cpan.org</a>.
530 </p>
531 EOF
532
533
534 # ------------------------------
535 $Lang{Option_3__Download_Zip_archive} = <<EOF;
536 \${h2("Option 3: ¦ci±gnij jako archiwum Tar")}
537 <p>
538 Mo¿esz ¶ci±gn±æ archiwum Tar zawieraj±ce wszystkie pliki/katalogi, które
539 wybra³e¶.
540 Bêdziesz móg³ wtedy u¿ywaæ lokalnych aplikacji takich jak Tar lub WinZip, aby
541 przejrzeæ lub wypakowaæ ka¿dy z plików.
542 </p><p>
543 <b>Ostrze¿enie:</b> w zale¿no¶ci od plików/katalogów, które wybra³e¶
544 archiwum to mo¿e byæ bardzo du¿e. Stworzenie i przeniesienie go mo¿e zaj±æ
545 kilka minut, ponadto bêdziesz potrzebowa³ wystarczaj±co wolnego miejsca na 
546 dysku, aby je przechowaæ.
547 </p>
548 <form action="\$MyURL" method="post">
549 <input type="hidden" name="host" value="\${EscHTML(\$host)}">
550 <input type="hidden" name="num" value="\$num">
551 <input type="hidden" name="type" value="1">
552 \$hiddenStr
553 <input type="hidden" value="\$In{action}" name="action">
554 <input type="checkbox" value="1" name="relative" checked> Make archive relative
555 to \${EscHTML(\$pathHdr eq "" ? "/" : \$pathHdr)}
556 (otherwise archive will contain full paths).
557 <br>
558 <input type="submit" value="Download Tar File" name="">
559 </form>
560 EOF
561
562
563 # ------------------------------
564 $Lang{Restore_Confirm_on__host} = "BackupPC: Odzyskiwanie potwierdzone dla \$host";
565
566 $Lang{Are_you_sure} = <<EOF;
567 \${h1("Jeste¶ pewny?")}
568 <p>
569 You are about to start a restore directly to the machine \$In{hostDest}.
570 The following files will be restored to share \$In{shareDest}, from
571 backup number \$num:
572 <p>
573 <table border>
574 <tr><td>Original file/dir</td><td>Will be restored to</td></tr>
575 \$fileListStr
576 </table>
577
578 <form action="\$MyURL" method="post">
579 <input type="hidden" name="host" value="\${EscHTML(\$host)}">
580 <input type="hidden" name="hostDest" value="\${EscHTML(\$In{hostDest})}">
581 <input type="hidden" name="shareDest" value="\${EscHTML(\$In{shareDest})}">
582 <input type="hidden" name="pathHdr" value="\${EscHTML(\$In{pathHdr})}">
583 <input type="hidden" name="num" value="\$num">
584 <input type="hidden" name="type" value="4">
585 \$hiddenStr
586 Do you really want to do this?
587 <input type="submit" value="\$In{action}" name="action">
588 <input type="submit" value="No" name="">
589 </form>
590 EOF
591
592
593 # --------------------------
594 $Lang{Restore_Requested_on__hostDest} = "BackupPC: Zlecenie odzyskiwania dla \$hostDest";
595 $Lang{Reply_from_server_was___reply} = <<EOF;
596 \${h1(\$str)}
597 <p>
598 Odpowied¼ z serwera: \$reply
599 <p>
600 Wróæ na <a href="\$MyURL?host=\$hostDest">\$hostDest stronê domow±</a>.
601 EOF
602
603 $Lang{BackupPC_Archive_Reply_from_server} = <<EOF;
604 \${h1(\$str)}
605 <p>
606 Odpowied¼ z serwera: \$reply
607 EOF
608
609
610 # -------------------------
611 $Lang{Host__host_Backup_Summary} = "BackupPC: Host \$host Backup Summary";
612
613 $Lang{Host__host_Backup_Summary2} = <<EOF;
614 \${h1("Host \$host Backup Summary")}
615 <p>
616 \$warnStr
617 <ul>
618 \$statusStr
619 </ul>
620 </p>
621 \${h2("U¿ytkownik Actions")}
622 <p>
623 <form action="\$MyURL" method="get">
624 <input type="hidden" name="host" value="\$host">
625 \$startIncrStr
626 <input type="submit" value="$Lang{Start_Full_Backup}" name="action">
627 <input type="submit" value="$Lang{Stop_Dequeue_Backup}" name="action">
628 </form>
629 </p>
630 \${h2("Backup Summary")}
631 <p>
632 Click on the backup number to browse and restore backup files.
633 </p>
634 <table class="tableStnd" border cellspacing="1" cellpadding="3">
635 <tr class="tableheader"><td align="center"> Backup# </td>
636     <td align="center"> Type </td>
637     <td align="center"> Filled </td>
638     <td align="center"> Start Date </td>
639     <td align="center"> Duration/mins </td>
640     <td align="center"> Age/days </td>
641     <td align="center"> Server Backup Path </td>
642 </tr>
643 \$str
644 </table>
645 <p>
646
647 \$restoreStr
648 </p>
649 <br><br>
650 \${h2("Xfer Error Summary")}
651 <br><br>
652 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
653 <tr class="tableheader"><td align="center"> Backup# </td>
654     <td align="center"> Type </td>
655     <td align="center"> View </td>
656     <td align="center"> #Xfer errs </td>
657     <td align="center"> #bad files </td>
658     <td align="center"> #bad share </td>
659     <td align="center"> #tar errs </td>
660 </tr>
661 \$errStr
662 </table>
663 <br><br>
664
665 \${h2("File Size/Count Reuse Summary")}
666 <p>
667 Existing files are those already in the pool; new files are those added
668 to the pool.
669 Empty files and SMB errors aren\'t counted in the reuse and new counts.
670 </p>
671 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
672 <tr class="tableheader"><td colspan="2" bgcolor="#ffffff"></td>
673     <td align="center" colspan="3"> Totals </td>
674     <td align="center" colspan="2"> Existing Files </td>
675     <td align="center" colspan="2"> New Files </td>
676 </tr>
677 <tr class="tableheader">
678     <td align="center"> Backup# </td>
679     <td align="center"> Type </td>
680     <td align="center"> #Files </td>
681     <td align="center"> Size/MB </td>
682     <td align="center"> MB/sec </td>
683     <td align="center"> #Files </td>
684     <td align="center"> Size/MB </td>
685     <td align="center"> #Files </td>
686     <td align="center"> Size/MB </td>
687 </tr>
688 \$sizeStr
689 </table>
690 <br><br>
691
692 \${h2("Compression Summary")}
693 <p>
694 Compression performance for files already in the pool and newly
695 compressed files.
696 </p>
697 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
698 <tr class="tableheader"><td colspan="3" bgcolor="#ffffff"></td>
699     <td align="center" colspan="3"> Existing Files </td>
700     <td align="center" colspan="3"> New Files </td>
701 </tr>
702 <tr class="tableheader"><td align="center"> Backup# </td>
703     <td align="center"> Type </td>
704     <td align="center"> Comp Level </td>
705     <td align="center"> Size/MB </td>
706     <td align="center"> Comp/MB </td>
707     <td align="center"> Comp </td>
708     <td align="center"> Size/MB </td>
709     <td align="center"> Comp/MB </td>
710     <td align="center"> Comp </td>
711 </tr>
712 \$compStr
713 </table>
714 <br><br>
715 EOF
716
717 $Lang{Host__host_Archive_Summary} = "BackupPC: Host \$host Archive Summary";
718 $Lang{Host__host_Archive_Summary2} = <<EOF;
719 \${h1("Host \$host Archive Summary")}
720 <p>
721 \$warnStr
722 <ul>
723 \$statusStr
724 </ul>
725
726 \${h2("U¿ytkownik Actions")}
727 <p>
728 <form action="\$MyURL" method="get">
729 <input type="hidden" name="archivehost" value="\$host">
730 <input type="hidden" name="host" value="\$host">
731 <input type="submit" value="$Lang{Start_Archive}" name="action">
732 <input type="submit" value="$Lang{Stop_Dequeue_Archive}" name="action">
733 </form>
734
735 \$ArchiveStr
736
737 EOF
738
739 # -------------------------
740 $Lang{Error} = "BackupPC: Error";
741 $Lang{Error____head} = <<EOF;
742 \${h1("Error: \$head")}
743 <p>\$mesg</p>
744 EOF
745
746 # -------------------------
747 $Lang{NavSectionTitle_} = "Serwer";
748
749 # -------------------------
750 $Lang{Backup_browse_for__host} = <<EOF;
751 \${h1("Backup browse for \$host")}
752
753 <script language="javascript" type="text/javascript">
754 <!--
755
756     function checkAll(location)
757     {
758       for (var i=0;i<document.form1.elements.length;i++)
759       {
760         var e = document.form1.elements[i];
761         if ((e.checked || !e.checked) && e.name != \'all\') {
762             if (eval("document.form1."+location+".checked")) {
763                 e.checked = true;
764             } else {
765                 e.checked = false;
766             }
767         }
768       }
769     }
770
771     function toggleThis(checkbox)
772     {
773        var cb = eval("document.form1."+checkbox);
774        cb.checked = !cb.checked;
775     }
776
777 //-->
778 </script>
779
780 <form name="form0" method="post" action="\$MyURL">
781 <input type="hidden" name="num" value="\$num">
782 <input type="hidden" name="host" value="\$host">
783 <input type="hidden" name="share" value="\${EscHTML(\$share)}">
784 <input type="hidden" name="action" value="browse">
785 <ul>
786 <li> You are browsing backup #\$num, which started around \$backupTime
787         (\$backupAge days ago),
788 \$filledBackup
789 <li> Enter directory: <input type="text" name="dir" size="50" maxlength="4096" value="\${EscHTML(\$dir)}"> <input type="submit" value="\$Lang->{Go}" name="Submit">
790 <li> Click on a directory below to navigate into that directory,
791 <li> Click on a file below to restore that file,
792 <li> You can view the backup <a href="\$MyURL?action=dirHistory&host=\${EscURI(\$host)}&share=\$shareURI&dir=\$pathURI">historia</a> of the current directory.
793 </ul>
794 </form>
795
796 \${h2("Contents of \${EscHTML(\$dirDisplay)}")}
797 <form name="form1" method="post" action="\$MyURL">
798 <input type="hidden" name="num" value="\$num">
799 <input type="hidden" name="host" value="\$host">
800 <input type="hidden" name="share" value="\${EscHTML(\$share)}">
801 <input type="hidden" name="fcbMax" value="\$checkBoxCnt">
802 <input type="hidden" name="action" value="$Lang{Restore}">
803 <br>
804 <table width="100%">
805 <tr><td valign="top">
806     <br><table align="center" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
807     \$dirStr
808     </table>
809 </td><td width="3%">
810 </td><td valign="top">
811     <br>
812         <table border="0" width="100%" align="left" cellpadding="3" cellspacing="1">
813         \$fileHeader
814         \$topCheckAll
815         \$fileStr
816         \$checkAll
817         </table>
818     </td></tr></table>
819 <br>
820 <!--
821 This is now in the checkAll row
822 <input type="submit" name="Submit" value="Restore selected files">
823 -->
824 </form>
825 EOF
826
827 # ------------------------------
828 $Lang{DirHistory_backup_for__host} = "BackupPC: Directory backup history for \$host";
829
830 #
831 # These two strings are used to build the links for directories and
832 # file versions.  Files are appended with a version number.
833 #
834 $Lang{DirHistory_dirLink}  = "dir";
835 $Lang{DirHistory_fileLink} = "v";
836
837 $Lang{DirHistory_for__host} = <<EOF;
838 \${h1("Directory backup history for \$host")}
839 <p>
840 This display shows each unique version of files across all
841 the backups:
842 <ul>
843 <li> Click on a backup number to return to the backup browser,
844 <li> Click on a directory link (\$Lang->{DirHistory_dirLink}) to navigate
845      into that directory,
846 <li> Click on a file version link (\$Lang->{DirHistory_fileLink}0,
847      \$Lang->{DirHistory_fileLink}1, ...) to download that file,
848 <li> Files with the same contents between different backups have the same
849      version number,
850 <li> Files or directories not present in a particular backup have an
851      empty box.
852 <li> Files shown with the same version might have different attributes.
853      Select the backup number to see the file attributes.
854 </ul>
855
856 \${h2("History of \${EscHTML(\$dirDisplay)}")}
857
858 <br>
859 <table cellspacing="2" cellpadding="3">
860 <tr class="fviewheader"><td>Backup number</td>\$backupNumStr</tr>
861 <tr class="fviewheader"><td>Backup time</td>\$backupTimeStr</tr>
862 \$fileStr
863 </table>
864 EOF
865
866 # ------------------------------
867 $Lang{Restore___num_details_for__host} = "BackupPC: Restore #\$num details for \$host";
868
869 $Lang{Restore___num_details_for__host2} = <<EOF;
870 \${h1("Restore #\$num Details for \$host")}
871 <p>
872 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="90%">
873 <tr><td class="tableheader"> Number </td><td class="border"> \$Restores[\$i]{num} </td></tr>
874 <tr><td class="tableheader"> Requested by </td><td class="border"> \$RestoreReq{user} </td></tr>
875 <tr><td class="tableheader"> Request time </td><td class="border"> \$reqTime </td></tr>
876 <tr><td class="tableheader"> Result </td><td class="border"> \$Restores[\$i]{result} </td></tr>
877 <tr><td class="tableheader"> Error Message </td><td class="border"> \$Restores[\$i]{errorMsg} </td></tr>
878 <tr><td class="tableheader"> Source host </td><td class="border"> \$RestoreReq{hostSrc} </td></tr>
879 <tr><td class="tableheader"> Source backup num </td><td class="border"> \$RestoreReq{num} </td></tr>
880 <tr><td class="tableheader"> Source share </td><td class="border"> \$RestoreReq{shareSrc} </td></tr>
881 <tr><td class="tableheader"> Destination host </td><td class="border"> \$RestoreReq{hostDest} </td></tr>
882 <tr><td class="tableheader"> Destination share </td><td class="border"> \$RestoreReq{shareDest} </td></tr>
883 <tr><td class="tableheader"> Start time </td><td class="border"> \$startTime </td></tr>
884 <tr><td class="tableheader"> Duration </td><td class="border"> \$duration min </td></tr>
885 <tr><td class="tableheader"> Number of files </td><td class="border"> \$Restores[\$i]{nFiles} </td></tr>
886 <tr><td class="tableheader"> Total size </td><td class="border"> \${MB} MB </td></tr>
887 <tr><td class="tableheader"> Transfer rate </td><td class="border"> \$MBperSec MB/sec </td></tr>
888 <tr><td class="tableheader"> TarCreate errors </td><td class="border"> \$Restores[\$i]{tarCreateErrs} </td></tr>
889 <tr><td class="tableheader"> Xfer errors </td><td class="border"> \$Restores[\$i]{xferErrs} </td></tr>
890 <tr><td class="tableheader"> Xfer log file </td><td class="border">
891 <a href="\$MyURL?action=view&type=RestoreLOG&num=\$Restores[\$i]{num}&host=\$host">View</a>,
892 <a href="\$MyURL?action=view&type=RestoreErr&num=\$Restores[\$i]{num}&host=\$host">Errors</a>
893 </tr></tr>
894 </table>
895 </p>
896 \${h1("File/Directory list")}
897 <p>
898 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="100%">
899 <tr class="tableheader"><td>Original file/dir</td><td>Restored to</td></tr>
900 \$fileListStr
901 </table>
902 EOF
903
904 # ------------------------------
905 $Lang{Archive___num_details_for__host} = "BackupPC: Archive #\$num details for \$host";
906
907 $Lang{Archive___num_details_for__host2 } = <<EOF;
908 \${h1("Archive #\$num Details for \$host")}
909 <p>
910 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
911 <tr><td class="tableheader"> Number </td><td class="border"> \$Archives[\$i]{num} </td></tr>
912 <tr><td class="tableheader"> Requested by </td><td class="border"> \$ArchiveReq{user} </td></tr>
913 <tr><td class="tableheader"> Request time </td><td class="border"> \$reqTime </td></tr>
914 <tr><td class="tableheader"> Result </td><td class="border"> \$Archives[\$i]{result} </td></tr>
915 <tr><td class="tableheader"> Error Message </td><td class="border"> \$Archives[\$i]{errorMsg} </td></tr>
916 <tr><td class="tableheader"> Start time </td><td class="border"> \$startTime </td></tr>
917 <tr><td class="tableheader"> Duration </td><td class="border"> \$duration min </td></tr>
918 <tr><td class="tableheader"> Xfer log file </td><td class="border">
919 <a href="\$MyURL?action=view&type=ArchiveLOG&num=\$Archives[\$i]{num}&host=\$host">View</a>,
920 <a href="\$MyURL?action=view&type=ArchiveErr&num=\$Archives[\$i]{num}&host=\$host">Errors</a>
921 </tr></tr>
922 </table>
923 <p>
924 \${h1("Host list")}
925 <p>
926 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
927 <tr class="tableheader"><td>Host</td><td>Backup Number</td></tr>
928 \$HostListStr
929 </table>
930 EOF
931
932 # -----------------------------------
933 $Lang{Email_Summary} = "BackupPC: Email Summary";
934
935 # -----------------------------------
936 #  !! ERROR messages !!
937 # -----------------------------------
938 $Lang{BackupPC__Lib__new_failed__check_apache_error_log} = "BackupPC::Lib->new failed: check apache error_log\n";
939 $Lang{Wrong_user__my_userid_is___} =
940               "Wrong user: my userid is \$>, instead of \$uid"
941             . "(\$Conf{BackupPCUser})\n";
942 # $Lang{Only_privileged_users_can_view_PC_summaries} = "Only privileged users can view PC summaries.";
943 $Lang{Only_privileged_users_can_stop_or_start_backups} =
944                   "Only privileged users can stop or start backups on"
945                 . " \${EscHTML(\$host)}.";
946 $Lang{Invalid_number__num} = "Invalid number \$num";
947 $Lang{Unable_to_open__file__configuration_problem} = "Unable to open \$file: configuration problem?";
948 $Lang{Only_privileged_users_can_view_log_or_config_files} = "Only privileged users can view log or config files.";
949 $Lang{Only_privileged_users_can_view_log_files} = "Only privileged users can view log files.";
950 $Lang{Only_privileged_users_can_view_email_summaries} = "Only privileged users can view email summaries.";
951 $Lang{Only_privileged_users_can_browse_backup_files} = "Only privileged users can browse backup files"
952                 . " for host \${EscHTML(\$In{host})}.";
953 $Lang{Empty_host_name} = "Empty host name.";
954 $Lang{Directory___EscHTML} = "Directory \${EscHTML(\"\$TopDir/pc/\$host/\$num\")}"
955                     . " is empty";
956 $Lang{Can_t_browse_bad_directory_name2} = "Can\'t browse bad directory name"
957                     . " \${EscHTML(\$relDir)}";
958 $Lang{Only_privileged_users_can_restore_backup_files} = "Only privileged users can restore backup files"
959                 . " for host \${EscHTML(\$In{host})}.";
960 $Lang{Bad_host_name} = "Bad host name \${EscHTML(\$host)}";
961 $Lang{You_haven_t_selected_any_files__please_go_Back_to} = "You haven\'t selected any files; please go Back to"
962                 . " select some files.";
963 $Lang{You_haven_t_selected_any_hosts} = "You haven\'t selected any hosts; please go Back to"
964                 . " select some hosts.";
965 $Lang{Nice_try__but_you_can_t_put} = "Nice try, but you can\'t put \'..\' in any of the file names";
966 $Lang{Host__doesn_t_exist} = "Host \${EscHTML(\$In{hostDest})} doesn\'t exist";
967 $Lang{You_don_t_have_permission_to_restore_onto_host} = "You don\'t have permission to restore onto host"
968                     . " \${EscHTML(\$In{hostDest})}";
969 $Lang{Can_t_open_create} = "Can\'t open/create "
970                     . "\${EscHTML(\"\$TopDir/pc/\$hostDest/\$reqFileName\")}";
971 $Lang{Only_privileged_users_can_restore_backup_files2} = "Only privileged users can restore backup files"
972                 . " for host \${EscHTML(\$host)}.";
973 $Lang{Empty_host_name} = "Empty host name";
974 $Lang{Unknown_host_or_user} = "Unknown host or user \${EscHTML(\$host)}";
975 $Lang{Only_privileged_users_can_view_information_about} = "Only privileged users can view information about"
976                 . " host \${EscHTML(\$host)}." ;
977 $Lang{Only_privileged_users_can_view_archive_information} = "Only privileged users can view archive information.";
978 $Lang{Only_privileged_users_can_view_restore_information} = "Only privileged users can view restore information.";
979 $Lang{Restore_number__num_for_host__does_not_exist} = "Restore number \$num for host \${EscHTML(\$host)} does"
980                 . " not exist.";
981 $Lang{Archive_number__num_for_host__does_not_exist} = "Archive number \$num for host \${EscHTML(\$host)} does"
982                 . " not exist.";
983 $Lang{Can_t_find_IP_address_for} = "Can\'t find IP address for \${EscHTML(\$host)}";
984 $Lang{host_is_a_DHCP_host} = <<EOF;
985 \$host is a DHCP host, and I don\'t know its IP address.  I checked the
986 netbios name of \$ENV{REMOTE_ADDR}\$tryIP, and found that that machine
987 is not \$host.
988 <p>
989 Until I see \$host at a particular DHCP address, you can only
990 start this request from the client machine itself.
991 EOF
992
993 # ------------------------------------
994 # !! Server Mesg !!
995 # ------------------------------------
996
997 $Lang{Backup_requested_on_DHCP__host} = "Backup requested on DHCP \$host (\$In{hostIP}) by"
998                                       . " \$User from \$ENV{REMOTE_ADDR}";
999 $Lang{Backup_requested_on__host_by__User} = "Backup requested on \$host by \$User";
1000 $Lang{Backup_stopped_dequeued_on__host_by__User} = "Backup stopped/dequeued on \$host by \$User";
1001 $Lang{Restore_requested_to_host__hostDest__backup___num} = "Restore requested to host \$hostDest, backup #\$num,"
1002              . " by \$User from \$ENV{REMOTE_ADDR}";
1003 $Lang{Archive_requested} = "Archive requested by \$User from \$ENV{REMOTE_ADDR}";
1004
1005 # -------------------------------------------------
1006 # ------- Stuff that was forgotten ----------------
1007 # -------------------------------------------------
1008
1009 $Lang{Status} = "Status";
1010 $Lang{PC_Summary} = "Podsumowanie";
1011 $Lang{LOG_file} = "LOG file";
1012 $Lang{LOG_files} = "LOG files";
1013 $Lang{Old_LOGs} = "Old LOGs";
1014 $Lang{Email_summary} = "Email summary";
1015 $Lang{Config_file} = "Config file";
1016 $Lang{Hosts_file} = "Hosts file";
1017 $Lang{Current_queues} = "Current queues";
1018 $Lang{Documentation} = "Dokumentacja";
1019
1020 #$Lang{Host_or_User_name} = "<small>Nazwa Komputera lub U¿ytkownika:</small>";
1021 $Lang{Go} = "Go";
1022 $Lang{Hosts} = "Komputery";
1023 $Lang{Select_a_host} = "Wybierz komputer...";
1024
1025 $Lang{There_have_been_no_archives} = "<h2> There have been no archives </h2>\n";
1026 $Lang{This_PC_has_never_been_backed_up} = "<h2> This PC has never been backed up!! </h2>\n";
1027 $Lang{This_PC_is_used_by} = "<li>This PC is used by \${UserLink(\$user)}";
1028
1029 $Lang{Extracting_only_Errors} = "(Extracting only Errors)";
1030 $Lang{XferLOG} = "XferLOG";
1031 $Lang{Errors}  = "B³êdy";
1032
1033 # ------------
1034 $Lang{Last_email_sent_to__was_at___subject} = <<EOF;
1035 <li>Ostatni email wys³any do \${UserLink(\$user)} o \$mailTime, temat "\$subj".
1036 EOF
1037 # ------------
1038 $Lang{The_command_cmd_is_currently_running_for_started} = <<EOF;
1039 <li>Polecenie \$cmd jest aktualnie uruchomione na \$host. Uruchomiono o \$startTime.
1040 EOF
1041
1042 # -----------
1043 $Lang{Host_host_is_queued_on_the_background_queue_will_be_backed_up_soon} = <<EOF;
1044 <li>Host \$host is queued on the background queue (will be backed up soon).
1045 EOF
1046
1047 # ----------
1048 $Lang{Host_host_is_queued_on_the_user_queue__will_be_backed_up_soon} = <<EOF;
1049 <li>Host \$host is queued on the user queue (will be backed up soon).
1050 EOF
1051
1052 # ---------
1053 $Lang{A_command_for_host_is_on_the_command_queue_will_run_soon} = <<EOF;
1054 <li>A command for \$host is on the command queue (will run soon).
1055 EOF
1056
1057 # --------
1058 $Lang{Last_status_is_state_StatusHost_state_reason_as_of_startTime} = <<EOF;
1059 <li>Last status is state \"\$Lang->{\$StatusHost{state}}\"\$reason as of \$startTime.
1060 EOF
1061
1062 # --------
1063 $Lang{Last_error_is____EscHTML_StatusHost_error} = <<EOF;
1064 <li>Last error is \"\${EscHTML(\$StatusHost{error})}\".
1065 EOF
1066
1067 # ------
1068 $Lang{Pings_to_host_have_failed_StatusHost_deadCnt__consecutive_times} = <<EOF;
1069 <li>Pings to \$host have failed \$StatusHost{deadCnt} consecutive times.
1070 EOF
1071
1072 # -----
1073 $Lang{Prior_to_that__pings} = "Prior to that, pings";
1074
1075 # -----
1076 $Lang{priorStr_to_host_have_succeeded_StatusHostaliveCnt_consecutive_times} = <<EOF;
1077 <li>\$priorStr to \$host have succeeded \$StatusHost{aliveCnt}
1078         consecutive times.
1079 EOF
1080
1081 $Lang{Because__host_has_been_on_the_network_at_least__Conf_BlackoutGoodCnt_consecutive_times___} = <<EOF;
1082 <li>Because \$host has been on the network at least \$Conf{BlackoutGoodCnt}
1083 consecutive times, it will not be backed up from \$blackoutStr.
1084 EOF
1085
1086 $Lang{__time0_to__time1_on__days} = "\$t0 to \$t1 on \$days";
1087
1088 $Lang{Backups_are_deferred_for_hours_hours_change_this_number} = <<EOF;
1089 <li>Backups are deferred for \$hours hours
1090 (<a href=\"\$MyURL?action=\${EscURI(\$Lang->{Stop_Dequeue_Archive})}&host=\$host\">change this number</a>).
1091 EOF
1092
1093 $Lang{tryIP} = " and \$StatusHost{dhcpHostIP}";
1094
1095 # $Lang{Host_Inhost} = "Host \$In{host}";
1096
1097 $Lang{checkAll} = <<EOF;
1098 <tr><td class="fviewborder">
1099 <input type="checkbox" name="allFiles" onClick="return checkAll('allFiles');">&nbsp;Select all
1100 </td><td colspan="5" align="center" class="fviewborder">
1101 <input type="submit" name="Submit" value="Restore selected files">
1102 </td></tr>
1103 EOF
1104
1105 $Lang{checkAllHosts} = <<EOF;
1106 <tr><td class="fviewborder">
1107 <input type="checkbox" name="allFiles" onClick="return checkAll('allFiles');">&nbsp;Select all
1108 </td><td colspan="2" align="center" class="fviewborder">
1109 <input type="submit" name="Submit" value="Archive selected hosts">
1110 </td></tr>
1111 EOF
1112
1113 $Lang{fileHeader} = <<EOF;
1114     <tr class="fviewheader"><td align=center> Name</td>
1115        <td align="center"> Type</td>
1116        <td align="center"> Mode</td>
1117        <td align="center"> #</td>
1118        <td align="center"> Size</td>
1119        <td align="center"> Date modified</td>
1120     </tr>
1121 EOF
1122
1123 $Lang{Home} = "Home";
1124 $Lang{Browse} = "Browse backups";
1125 $Lang{Last_bad_XferLOG} = "Last bad XferLOG";
1126 $Lang{Last_bad_XferLOG_errors_only} = "Last bad XferLOG (errors&nbsp;only)";
1127
1128 $Lang{This_display_is_merged_with_backup} = <<EOF;
1129 <li> This display is merged with backup #\$numF.
1130 EOF
1131
1132 $Lang{Visit_this_directory_in_backup} = <<EOF;
1133 <li> Select the backup you wish to view: <select onChange="window.location=this.value">\$otherDirs </select>
1134 EOF
1135
1136 $Lang{Restore_Summary} = <<EOF;
1137 \${h2("Restore Summary")}
1138 <p>
1139 Click on the restore number for more details.
1140 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
1141 <tr class="tableheader"><td align="center"> Restore# </td>
1142     <td align="center"> Rezultat </td>
1143     <td align="right"> Data rozpoczêcia</td>
1144     <td align="right"> Dur/mins</td>
1145     <td align="right"> #plików </td>
1146     <td align="right"> MB </td>
1147     <td align="right"> #tar errs </td>
1148     <td align="right"> #xferErrs </td>
1149 </tr>
1150 \$restoreStr
1151 </table>
1152 <p>
1153 EOF
1154
1155 $Lang{Archive_Summary} = <<EOF;
1156 \${h2("Archive Summary")}
1157 <p>
1158 kliknij na numerze wybranego archiwum aby zobaczyæ szczegó³y.
1159 <table class="tableStnd" border cellspacing="1" cellpadding="3" width="80%">
1160 <tr class="tableheader"><td align="center"> Archive# </td>
1161     <td align="center"> Rezultat </td>
1162     <td align="right"> Data rozpoczêcia</td>
1163     <td align="right"> Dur/mins</td>
1164 </tr>
1165 \$ArchiveStr
1166 </table>
1167 <p>
1168 EOF
1169
1170 $Lang{BackupPC__Documentation} = "BackupPC: Dokumentacja";
1171
1172 $Lang{No} = "no";
1173 $Lang{Yes} = "yes";
1174
1175 $Lang{The_directory_is_empty} = <<EOF;
1176 <tr><td bgcolor="#ffffff">Katalog \${EscHTML(\$dirDisplay)} jest pusty
1177 </td></tr>
1178 EOF
1179
1180 #$Lang{on} = "on";
1181 $Lang{off} = "off";
1182
1183 $Lang{backupType_full}    = "pe³ny";
1184 $Lang{backupType_incr}    = "przyrostowy";
1185 $Lang{backupType_partial} = "czê¶ciowy";
1186
1187 $Lang{failed} = "nieudany";
1188 $Lang{success} = "sukces";
1189 $Lang{and} = "i";
1190
1191 # ------
1192 # Hosts states and reasons
1193 $Lang{Status_idle} = "idle";
1194 $Lang{Status_backup_starting} = "backup starting";
1195 $Lang{Status_backup_in_progress} = "backup w trakcie";
1196 $Lang{Status_restore_starting} = "restore starting";
1197 $Lang{Status_restore_in_progress} = "restore in progress";
1198 $Lang{Status_link_pending} = "link pending";
1199 $Lang{Status_link_running} = "link running";
1200
1201 $Lang{Reason_backup_done}    = "backup ukoñczony";
1202 $Lang{Reason_restore_done}   = "restore done";
1203 $Lang{Reason_archive_done}   = "archive done";
1204 $Lang{Reason_nothing_to_do}  = "nothing to do";
1205 $Lang{Reason_backup_failed}  = "backup nieudany";
1206 $Lang{Reason_restore_failed} = "restore failed";
1207 $Lang{Reason_archive_failed} = "archive failed";
1208 $Lang{Reason_no_ping}        = "no ping";
1209 $Lang{Reason_backup_canceled_by_user}  = "backup canceled by user";
1210 $Lang{Reason_restore_canceled_by_user} = "restore canceled by user";
1211 $Lang{Reason_archive_canceled_by_user} = "archive canceled by user";
1212
1213 # ---------
1214 # Email messages
1215
1216 # No backup ever
1217 $Lang{EMailNoBackupEverSubj} = "BackupPC: no backups of \$host have succeeded";
1218 $Lang{EMailNoBackupEverMesg} = <<'EOF';
1219 To: $user$domain
1220 cc:
1221 Subject: $subj
1222
1223 Dear $userName,
1224
1225 Your PC ($host) has never been successfully backed up by our
1226 PC backup software.  PC backups should occur automatically
1227 when your PC is connected to the network.  You should contact
1228 computer support if:
1229
1230   - Your PC has been regularly connected to the network, meaning
1231     there is some configuration or setup problem preventing
1232     backups from occurring.
1233
1234   - You don't want your PC backed up and you want these email
1235     messages to stop.
1236
1237 Otherwise, please make sure your PC is connected to the network
1238 next time you are in the office.
1239
1240 Regards,
1241 BackupPC Genie
1242 http://backuppc.sourceforge.net
1243 EOF
1244
1245 # No recent backup
1246 $Lang{EMailNoBackupRecentSubj} = "BackupPC: no recent backups on \$host";
1247 $Lang{EMailNoBackupRecentMesg} = <<'EOF';
1248 To: $user$domain
1249 cc:
1250 Subject: $subj
1251
1252 Dear $userName,
1253
1254 Your PC ($host) has not been successfully backed up for $days days.
1255 Your PC has been correctly backed up $numBackups times from $firstTime to $days
1256 ago.  PC backups should occur automatically when your PC is connected
1257 to the network.
1258
1259 If your PC has been connected for more than a few hours to the
1260 network during the last $days days you should contact IS to find
1261 out why backups are not working.
1262
1263 Otherwise, if you are out of the office, there's not much you can
1264 do, other than manually copying especially critical files to other
1265 media.  You should be aware that any files you have created or
1266 changed in the last $days days (including all new email and
1267 attachments) cannot be restored if your PC disk crashes.
1268
1269 Regards,
1270 BackupPC Genie
1271 http://backuppc.sourceforge.net
1272 EOF
1273
1274 # Old Outlook files
1275 $Lang{EMailOutlookBackupSubj} = "BackupPC: Outlook files on \$host need to be backed up";
1276 $Lang{EMailOutlookBackupMesg} = <<'EOF';
1277 To: $user$domain
1278 cc:
1279 Subject: $subj
1280
1281 Dear $userName,
1282
1283 The Outlook files on your PC have $howLong.
1284 These files contain all your email, attachments, contact and calendar
1285 information.  Your PC has been correctly backed up $numBackups times from
1286 $firstTime to $lastTime days ago.  However, Outlook locks all its files when
1287 it is running, preventing these files from being backed up.
1288
1289 It is recommended you backup the Outlook files when you are connected
1290 to the network by exiting Outlook and all other applications, and,
1291 using just your browser, go to this link:
1292
1293     $CgiURL?host=$host
1294
1295 Select "Start Incr Backup" twice to start a new incremental backup.
1296 You can select "Return to $host page" and then hit "reload" to check
1297 the status of the backup.  It should take just a few minutes to
1298 complete.
1299
1300 Regards,
1301 BackupPC Genie
1302 http://backuppc.sourceforge.net
1303 EOF
1304
1305 $Lang{howLong_not_been_backed_up} = "not been backed up successfully";
1306 $Lang{howLong_not_been_backed_up_for_days_days} = "not been backed up for \$days days";
1307
1308 #end of lang_en.pm
This page took 0.281064 seconds and 3 git commands to generate.