From 6c3197e38ea959742aa5f12dfb832c491b88486f 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 df09567a7d..76b193dc59 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -1134,7 +1134,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); },