mozImport: show hotkey in button tooltip

This commit is contained in:
tophf 2017-11-28 20:05:26 +03:00
parent d39e9f6037
commit 39c6d897ed

View File

@ -1702,14 +1702,14 @@ function fromMozillaFormat() {
tag: 'button', tag: 'button',
name: 'import-append', name: 'import-append',
textContent: t('importAppendLabel'), textContent: t('importAppendLabel'),
title: t('importAppendTooltip'), title: 'Ctrl-Enter:\n' + t('importAppendTooltip'),
onclick: doImport, onclick: doImport,
}), }),
$element({ $element({
tag: 'button', tag: 'button',
name: 'import-replace', name: 'import-replace',
textContent: t('importReplaceLabel'), textContent: t('importReplaceLabel'),
title: t('importReplaceTooltip'), title: 'Ctrl-Shift-Enter:\n' + t('importReplaceTooltip'),
onclick: () => doImport({replaceOldStyle: true}), onclick: () => doImport({replaceOldStyle: true}),
}), }),
]})); ]}));