From d8faa4e7e3fb74e554f6c9339f6fe4e2883c3bf1 Mon Sep 17 00:00:00 2001 From: Till Brehm <tbrehm@ispconfig.org> Date: Fri, 18 Sep 2015 13:43:03 -0400 Subject: [PATCH] Fix by dirkd: Since file() doesn't remove "\n" from the lines read the condition $lines[$l] == '' never evaluated to true. So $mailHeaders would always contain every line from the template while $mailBody contained none of them. --- interface/web/sites/lib/lang/cz_web_backup_list.lng | 25 ++++++++++++------------- 1 files changed, 12 insertions(+), 13 deletions(-) diff --git a/interface/web/sites/lib/lang/cz_web_backup_list.lng b/interface/web/sites/lib/lang/cz_web_backup_list.lng index d2b6dcb..fab2665 100644 --- a/interface/web/sites/lib/lang/cz_web_backup_list.lng +++ b/interface/web/sites/lib/lang/cz_web_backup_list.lng @@ -1,17 +1,16 @@ <?php -$wb['list_head_txt'] = 'Existing backups'; -$wb['date_txt'] = 'Date'; +$wb['list_head_txt'] = 'Stávající zálohy'; +$wb['date_txt'] = 'Datum'; $wb['backup_type_txt'] = 'Verze'; -$wb['filename_txt'] = 'Backup file'; -$wb['restore_backup_txt'] = 'Restore backup'; -$wb['download_backup_txt'] = 'Download backup'; -$wb['download_info_txt'] = 'The backup file will be available for download in the backup folder of the website in a few minutes.'; -$wb['restore_info_txt'] = 'Restore of the backup has been started. This action takes several minutes to be completed.'; -$wb['restore_confirm_txt'] = 'Restoring will overwrite existing files in your website. Do you really want to restore this backup?'; -$wb['download_pending_txt'] = 'There is already a pending backup download job.'; -$wb['restore_pending_txt'] = 'There is already a pending backup restore job.'; -$wb['backup_type_mysql'] = 'MySQL Database'; -$wb['backup_type_web'] = 'Website files'; +$wb['filename_txt'] = 'Záloha souborů'; +$wb['restore_backup_txt'] = 'Obnovit zálohu'; +$wb['download_backup_txt'] = 'Stažení zálohy'; +$wb['download_info_txt'] = 'Soubor se zálohou bude k dispozici ke stažení v kořenové složce /backup webové stránky přes FTP během několika minut.'; +$wb['restore_info_txt'] = 'Obnovení ze zálohy bylo zahájeno. Tato akce trvá několik minut než bude dokončena.'; +$wb['restore_confirm_txt'] = 'Obnovení přepíše existující soubory na Vaší webové stránce. Opravdu chcete obnovit tuto zálohu ?'; +$wb['download_pending_txt'] = 'Shodný požadavek na vytvoření zálohy pro stažení již čeká ve frontě na serveru ke zpracování.'; +$wb['restore_pending_txt'] = 'Shodný požadavek na obnovu dat ze zálohy již čeká ve frontě na serveru ke zpracování.'; +$wb['backup_type_mysql'] = 'MySQL Databáze'; +$wb['backup_type_web'] = 'Soubory webových stránek'; ?> - -- Gitblit v1.9.1