mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Mail: Translate attachment button label
This commit is contained in:
parent
6b2a9e1dca
commit
6c9d9aa8ed
@ -1136,7 +1136,7 @@ app.classes.mail = AppJS.extend(
|
||||
{
|
||||
const id = _widget.id.replace('[actions]','');
|
||||
const action = _widget.value;
|
||||
_widget.label = _widget.select_options.filter(_item=>{return _item.value == _widget.value})[0].label;
|
||||
_widget.label = this.egw.lang(_widget.select_options.filter(_item=>{return _item.value == _widget.value})[0].label);
|
||||
this.saveAttachmentHandler(_widget,action, id);
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user