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/se_ftp_user.lng | 49 ++++++++++++++++++++++++++++++------------------- 1 files changed, 30 insertions(+), 19 deletions(-) diff --git a/interface/web/sites/lib/lang/se_ftp_user.lng b/interface/web/sites/lib/lang/se_ftp_user.lng index 7ebbcc4..3ba08a2 100644 --- a/interface/web/sites/lib/lang/se_ftp_user.lng +++ b/interface/web/sites/lib/lang/se_ftp_user.lng @@ -1,25 +1,36 @@ <?php $wb['uid_txt'] = 'UID'; $wb['gid_txt'] = 'GID'; -$wb['dir_txt'] = 'Directory'; -$wb['quota_files_txt'] = 'Filequota'; -$wb['ul_ratio_txt'] = 'Uploadratio'; -$wb['dl_ratio_txt'] = 'Downloadratio'; -$wb['ul_bandwidth_txt'] = 'Uploadbandwidth'; -$wb['dl_bandwidth_txt'] = 'Downloadbandwidth'; +$wb['dir_txt'] = 'Katalog'; +$wb['quota_files_txt'] = 'Filkvot'; +$wb['ul_ratio_txt'] = 'Uppladdningsratio'; +$wb['dl_ratio_txt'] = 'Nerladdningsratio'; +$wb['ul_bandwidth_txt'] = 'Uppladdningsbandbredd'; +$wb['dl_bandwidth_txt'] = 'Nedladdningsbandbredd'; $wb['server_id_txt'] = 'Server'; -$wb['parent_domain_id_txt'] = 'Website'; -$wb['username_txt'] = 'Username'; -$wb['password_txt'] = 'Password'; -$wb['password_strength_txt'] = 'Password strength'; -$wb['quota_size_txt'] = 'Harddisk-Quota'; -$wb['active_txt'] = 'Active'; +$wb['parent_domain_id_txt'] = 'Webbsida'; +$wb['username_txt'] = 'Användarnamn'; +$wb['password_txt'] = 'Lösenord'; +$wb['password_strength_txt'] = 'Lösenordsstyrka'; +$wb['quota_size_txt'] = 'Lagringskvot'; +$wb['active_txt'] = 'Aktiv'; $wb['limit_ftp_user_txt'] = 'The max. number of FTP users for your account is reached.'; -$wb['username_error_empty'] = 'Username is empty.'; -$wb['username_error_unique'] = 'The username must be unique.'; -$wb['username_error_regex'] = 'The username contains charachters that are not allowed.'; -$wb['quota_size_error_empty'] = 'Quota is empty.'; -$wb['uid_error_empty'] = 'GID empty.'; -$wb['directory_error_empty'] = 'Directory empty.'; -$wb['quota_files_unity_txt'] = 'Files'; +$wb['username_error_empty'] = 'Användarnamnet är tomt'; +$wb['username_error_unique'] = 'Användarnamnet måste vara unikt.'; +$wb['username_error_regex'] = 'The username contains characters that are not allowed.'; +$wb['quota_size_error_empty'] = 'Kvotafältet är tomt.'; +$wb['uid_error_empty'] = 'GID-fältet är tomt.'; +$wb['directory_error_empty'] = 'Katalogfältet empty.'; +$wb['quota_files_unity_txt'] = 'Filer'; +$wb['directory_error_notinweb'] = 'Katalogen ligger utanför webbisdans root-katalog.'; +$wb['parent_domain_id_error_empty'] = 'Ingen webbsida vald.'; +$wb['quota_size_error_regex'] = 'Quota: enter a -1 for unlimited or a number > 0'; +$wb['dir_dot_error'] = 'Tecknet .. tillåts inte i sökvägen.'; +$wb['dir_slashdot_error'] = 'Tecknet ./ tillåts inte i sökvägen'; +$wb['generate_password_txt'] = 'Generera lösenord'; +$wb['repeat_password_txt'] = 'Upprepa lösenord'; +$wb['password_mismatch_txt'] = 'Lösenorden matchar inte'; +$wb['password_match_txt'] = 'Lösenorden matchar'; +$wb['invalid_system_user_or_group_txt'] = 'Invalid system user or group'; +$wb['directory_error_regex'] = 'Invalid directory'; ?> -- Gitblit v1.9.1