Mail - missing translations

This commit is contained in:
nathangray 2018-05-30 11:43:41 -06:00
parent 1f9b661796
commit 350f186813
2 changed files with 3 additions and 3 deletions

View File

@ -2931,7 +2931,7 @@ $filter['before']= date("d-M-Y", $cutoffdate2);
function vfsSaveAttachments($ids,$path) function vfsSaveAttachments($ids,$path)
{ {
$res = array ( $res = array (
'msg' => 'Attachment has been saved successfully.', 'msg' => lang('Attachment has been saved successfully.'),
'success' => true 'success' => true
); );

View File

@ -2949,8 +2949,8 @@ app.classes.mail = AppJS.extend(
var vfs_select = et2_createWidget('vfs-select', { var vfs_select = et2_createWidget('vfs-select', {
mode: action === 'saveOneToVfs' ? 'saveas' : 'select-dir', mode: action === 'saveOneToVfs' ? 'saveas' : 'select-dir',
method: 'mail.mail_ui.ajax_vfsSave', method: 'mail.mail_ui.ajax_vfsSave',
button_label: egw.lang(action === 'saveOneToVfs' ? 'Save' : 'Save all'), button_label: this.egw.lang(action === 'saveOneToVfs' ? 'Save' : 'Save all'),
dialog_title: egw.lang(action === 'saveOneToVfs' ? 'Save attachment' : 'Save attachments'), dialog_title: this.egw.lang(action === 'saveOneToVfs' ? 'Save attachment' : 'Save attachments'),
method_id: ids.length > 1 ? {ids:ids, action:'attachment'} : {ids: ids[0], action: 'attachment'}, method_id: ids.length > 1 ? {ids:ids, action:'attachment'} : {ids: ids[0], action: 'attachment'},
name: action === 'saveOneToVfs' ? attachments[0]['filename'] : null name: action === 'saveOneToVfs' ? attachments[0]['filename'] : null
}); });