From 14bd4c927b29fe2e4a6560d0ddef88e6e0cc3441 Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Mon, 19 Aug 2013 12:23:28 +0200 Subject: [PATCH] show real loginname instead of just so people won't get confused, refs #1251 Signed-off-by: Michael Kaufmann (d00p) --- lib/formfields/customer/extras/formfield.backup.php | 2 +- lng/english.lng.php | 2 +- lng/german.lng.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/formfields/customer/extras/formfield.backup.php b/lib/formfields/customer/extras/formfield.backup.php index ecf8cab5..1564f03e 100644 --- a/lib/formfields/customer/extras/formfield.backup.php +++ b/lib/formfields/customer/extras/formfield.backup.php @@ -25,7 +25,7 @@ return array( 'fields' => array( 'path' => array( 'label' => $lng['extras']['backup_create'], - 'desc' => $lng['extras']['backup_info'].'
'.($settings['system']['backup_bigfile'] == 1 ? $lng['extras']['backup_info_big'] : $lng['extras']['backup_info_sep']).'
'.($settings['system']['backup_count'] == 1 ? $lng['extras']['backup_count_info'] : ''), + 'desc' => sprintf($lng['extras']['backup_info'], $userinfo['loginname']).'
'.($settings['system']['backup_bigfile'] == 1 ? $lng['extras']['backup_info_big'] : $lng['extras']['backup_info_sep']).'
'.($settings['system']['backup_count'] == 1 ? $lng['extras']['backup_count_info'] : ''), 'type' => 'yesno', 'yesno_var' => $backup_enabled ) diff --git a/lng/english.lng.php b/lng/english.lng.php index 45a1935f..6926c623 100644 --- a/lng/english.lng.php +++ b/lng/english.lng.php @@ -1590,7 +1590,7 @@ $lng['error']['admin_domain_emailsystemhostname'] = 'Sorry, the system - hostnam $lng['backup'] = 'Backup'; $lng['backup_allowed'] = 'Backup allowed'; $lng['extras']['backup_create'] = 'Create Backup?'; -$lng['extras']['backup_info'] = 'Backup will be saved once daily to a FTP directory. The FTP username is "<Froxloruser>_backup". The FTP password is the same as for your main FTP account.'; +$lng['extras']['backup_info'] = 'Backup will be saved once daily to a FTP directory. The FTP username is "%s_backup". The FTP password is the same as for your main FTP account.'; $lng['extras']['backup_info_sep'] = 'It contains compressed archives of your web-directory and databases.'; $lng['extras']['backup_info_big'] = 'It contains a compressed archive of your web-directory and databases.'; $lng['extras']['backup_count_info'] = '

Please note that the backup will charge your webspace!'; diff --git a/lng/german.lng.php b/lng/german.lng.php index 25050710..363d4e7f 100644 --- a/lng/german.lng.php +++ b/lng/german.lng.php @@ -1565,7 +1565,7 @@ $lng['error']['admin_domain_emailsystemhostname'] = 'Der System - Hostname kann $lng['backup'] = 'Backup'; $lng['backup_allowed'] = 'Backup erlaubt'; $lng['extras']['backup_create'] = 'Backup erstellen?'; -$lng['extras']['backup_info'] = 'Das Backup wird täglich in einem FTP Verzeichnis abgelegt. Der FTP Username ist "<Froxloruser>_backup". Das FTP Passwort ist das gleiche wie bei ihrem Haupt FTP Account.'; +$lng['extras']['backup_info'] = 'Das Backup wird täglich in einem FTP Verzeichnis abgelegt. Der FTP Username ist "%s_backup". Das FTP Passwort ist das gleiche wie bei ihrem Haupt FTP Account.'; $lng['extras']['backup_info_sep'] = 'Es sind komprimierte Archive von Ihrem Webverzeichnis und Ihren Datenbanken enthalten.'; $lng['extras']['backup_info_big'] = 'Es ist ein komprimiertes Archiv von Ihrem Webverzeichnis und Ihren Datenbanken enthalten.'; $lng['extras']['backup_count_info'] = '

Beachten Sie bitte, dass das Backup den verfügbaren Speicherplatz belastet!';