From d85d2046369f0feae1f814090bc662fb2cd34f79 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 12 Jul 2018 16:37:07 +0200 Subject: [PATCH] Fix translation --- mail/js/app.js | 5 ++--- mail/lang/egw_en.lang | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/mail/js/app.js b/mail/js/app.js index 75ac1de99d..1d0caf131c 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -699,7 +699,6 @@ app.classes.mail = AppJS.extend( && filemode && filemode.get_value() != content[field]['files']['filemode']) { var filemode_label = filemode.options.select_options[content[field]['files']['filemode']]['label']; - var files = content[field]['files']['file'].join('\n\r'); et2_dialog.show_dialog(function(_button){ if (_button == 2) { @@ -707,8 +706,8 @@ app.classes.mail = AppJS.extend( } }, this.egw.lang( - 'Be aware by adding all selected files as %1 mode, it will also change all existing attachments in the list to %2 mode as well. \n\r \n\r\ Would you like to proceed?', - filemode_label, filemode_label, files), + 'Be aware by adding all selected files as %1 mode, it will also change all existing attachments in the list to %2 mode as well. \n\r \n\r Would you like to proceed?', + filemode_label, filemode_label), this.egw.lang('Add files as %1', filemode_label), '', et2_dialog.BUTTONS_YES_NO, et2_dialog.WARNING_MESSAGE); return; } diff --git a/mail/lang/egw_en.lang b/mail/lang/egw_en.lang index fc50fd1b21..2c198c1fcf 100644 --- a/mail/lang/egw_en.lang +++ b/mail/lang/egw_en.lang @@ -72,7 +72,6 @@ attachments mail en Attachments authentication mail en Authentication available personal email-accounts/profiles mail en available personal EMail-Accounts/Profiles be aware by adding all selected files as %1 mode, it will also change all existing attachments in the list to %2 mode as well. \n\r \n\r would you like to proceed? mail en Be aware by adding all selected files as %1 mode, it will also change all existing attachments in the list to %2 mode as well. \n\r \n\r Would you like to proceed? -be aware by adding all selected files as %1 mode, it will also change all existing attachments in the list to %2 mode as well. \n\r \n\r\ would you like to proceed? mail en Be aware by adding all selected files as %1 mode, it will also change all existing attachments in the list to %2 mode as well. \n\r \n\r\ Would you like to proceed? be aware that all attachments will be sent as %1! mail en Be aware that all attachments will be sent as %1! before reply, visible during compose mail en Before reply, visible during compose blacklisted mails are marked as spam mail en Blacklisted mails are marked as spam