mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 12:51:52 +02:00
Mail: Translate attachment button label
This commit is contained in:
parent
6ce475ae57
commit
6c3197e38e
@ -1134,7 +1134,7 @@ app.classes.mail = AppJS.extend(
|
|||||||
{
|
{
|
||||||
const id = _widget.id.replace('[actions]','');
|
const id = _widget.id.replace('[actions]','');
|
||||||
const action = _widget.value;
|
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);
|
this.saveAttachmentHandler(_widget,action, id);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user