From ae9d33cf37f5473ea13c9e45cb2e5bb1320839d4 Mon Sep 17 00:00:00 2001 From: tophf Date: Fri, 8 Dec 2017 22:32:35 +0300 Subject: [PATCH] use the much shorter "Reset" label in config dialog --- manage/config-dialog.js | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/manage/config-dialog.js b/manage/config-dialog.js index 70cd98c3..ae3ba42c 100644 --- a/manage/config-dialog.js +++ b/manage/config-dialog.js @@ -26,11 +26,20 @@ function configDialog(style) { $createLink({className: '.external-support', href: data.supportURL}, t('externalFeedback'))), $create('.config-body', elements) ], - buttons: [ - {textContent: t('confirmSave'), dataset: {cmd: 'save'}, disabled: true, onclick: save}, - {textContent: t('confirmDefault'), dataset: {cmd: 'default'}, onclick: useDefault}, - {textContent: t('confirmClose'), dataset: {cmd: 'close'}}, - ], + buttons: [{ + textContent: t('confirmSave'), + dataset: {cmd: 'save'}, + disabled: true, + onclick: save, + }, { + textContent: t('genericResetLabel'), + title: t('optionsReset'), + dataset: {cmd: 'default'}, + onclick: useDefault, + }, { + textContent: t('confirmClose'), + dataset: {cmd: 'close'}, + }], onshow, }).then(onhide);