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/ru.lng | 46 ++++++++++++++++++++++++++++++++-------------- 1 files changed, 32 insertions(+), 14 deletions(-) diff --git a/interface/web/sites/lib/lang/ru.lng b/interface/web/sites/lib/lang/ru.lng index 2cb1aa9..a5764f1 100644 --- a/interface/web/sites/lib/lang/ru.lng +++ b/interface/web/sites/lib/lang/ru.lng @@ -1,17 +1,35 @@ <?php -$wb['Database'] = 'Database'; -$wb['Options'] = 'Options'; -$wb['Shell User'] = 'Shell User'; -$wb['Domain'] = 'Domain'; -$wb['Redirect'] = 'Redirect'; -$wb['SSL'] = 'SSL'; -$wb['Subdomain'] = 'Subdomain'; -$wb['Sites'] = 'Sites'; -$wb['Aliasdomain'] = 'Aliasdomain'; -$wb['FTP-User'] = 'FTP-User'; -$wb['FTP'] = 'FTP'; -$wb['Shell-User'] = 'Shell-User'; +$wb['Websites'] = 'Web-сайты'; +$wb['Website'] = 'Web-сайты'; +$wb['Subdomain'] = 'Субдомен'; +$wb['Aliasdomain'] = 'Алиас домена'; +$wb['Database'] = 'База данных'; +$wb['Web Access'] = 'Web Access'; +$wb['FTP-User'] = 'Пользователь FTP'; +$wb['Webdav-User'] = 'WebDAV-Users'; +$wb['Folder'] = 'Protected Folders'; +$wb['Folder users'] = 'Protected Folder Users'; +$wb['Command Line'] = 'Command Line'; +$wb['Shell-User'] = 'Пользователь Shell'; +$wb['Cron Jobs'] = 'Задачи Cron'; +$wb['Statistics'] = 'Статистика'; +$wb['Web traffic'] = 'Трафик Web'; +$wb['Website quota (Harddisk)'] = 'Website quota (Harddisk)'; +$wb['Cron'] = 'Cron'; +$wb['Stats'] = 'Статистика'; $wb['Shell'] = 'Shell'; -$wb['Websites'] = 'Websites'; -$wb['Stats'] = 'Statistics'; +$wb['Webdav'] = 'WebDAV'; +$wb['FTP'] = 'FTP'; +$wb['Options'] = 'Опции'; +$wb['Domain'] = 'Домен'; +$wb['Redirect'] = 'Редирект'; +$wb['SSL'] = 'SSL'; +$wb['Sites'] = 'Сайт'; +$wb['Database User'] = 'Database Users'; +$wb['APS Installer'] = 'APS Installer'; +$wb['Available packages'] = 'Available packages'; +$wb['Installed packages'] = 'Installed packages'; +$wb['Update Packagelist'] = 'Update Packagelist'; +$wb['Subdomain (Vhost)'] = 'Subdomain (Vhost)'; +$wb['error_proxy_requires_url'] = 'Redirect Type \\"proxy\\" requires a URL as the redirect path.'; ?> -- Gitblit v1.9.1