From f9e53d9574d591b45234bbfe69512d7c04a8ff25 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 5 Jun 2017 15:28:34 +0200 Subject: [PATCH] Localize "Options" label on attachments list options button --- skins/larry/includes/links.html | 1 + skins/larry/ui.js | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/skins/larry/includes/links.html b/skins/larry/includes/links.html index a894ad6f9..3b5a7408b 100644 --- a/skins/larry/includes/links.html +++ b/skins/larry/includes/links.html @@ -7,3 +7,4 @@ + diff --git a/skins/larry/ui.js b/skins/larry/ui.js index e9f8b5009..d88883e0c 100644 --- a/skins/larry/ui.js +++ b/skins/larry/ui.js @@ -896,7 +896,10 @@ function rcube_mail_ui() item = $(item); if (!item.children('.drop').length) - item.append($('Show options') + var label = rcmail.gettext('options'); + item.append($('') + .attr({'class': 'drop skip-content', tabindex: 0, 'aria-haspopup': true, title: label}) + .text(label) .on('click keypress', function(e) { if (e.type != 'keypress' || rcube_event.get_keycode(e) == 13) { attachmentmenu(this, e);