diff --git a/api/js/egw_action/egw_action_dragdrop.js b/api/js/egw_action/egw_action_dragdrop.js index 3c930e552e..4a37dabde9 100644 --- a/api/js/egw_action/egw_action_dragdrop.js +++ b/api/js/egw_action/egw_action_dragdrop.js @@ -129,7 +129,7 @@ function egwDragActionImplementation() var restRows = pseudoNumRows - maxRows; if (restRows) { - moreRow.text((pseudoNumRows - maxRows) +' '+egw.lang('more %1 selected ...', itemLabel)); + moreRow.text(egw.lang("%1 more %2 selected ...", (pseudoNumRows - maxRows), itemLabel)); } table.append(moreRow); break; diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index 80c6fcc2f2..5dc16cf446 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -1968,7 +1968,7 @@ $filter['before']= date("d-M-Y", $cutoffdate2); $attachments = $header['attachments']; if (count($attachments) == 1) { - $image = Api\Html::image('mail','attach',$attachments[0]['name'].(!empty($attachments[0]['mimeType'])?' ('.$attachments[0]['mimeType'].')':'')); + $image = Api\Html::image('mail','attach',$attachments[0]['name']); } else {