use the much shorter "Reset" label in config dialog

This commit is contained in:
tophf 2017-12-08 22:32:35 +03:00
parent 8a777b5d23
commit ae9d33cf37

View File

@ -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);