From 6c9d9aa8ed00adce456d992ac4702dfdee084f2c Mon Sep 17 00:00:00 2001 From: nathan Date: Mon, 14 Aug 2023 08:35:03 -0600 Subject: [PATCH] Mail: Translate attachment button label --- mail/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/js/app.js b/mail/js/app.js index 15eec04900..876e6b4919 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -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); },