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',
name: 'import-append',
textContent: t('importAppendLabel'),
title: t('importAppendTooltip'),
title: 'Ctrl-Enter:\n' + t('importAppendTooltip'),
onclick: doImport,
}),
$element({
tag: 'button',
name: 'import-replace',
textContent: t('importReplaceLabel'),
title: t('importReplaceTooltip'),
title: 'Ctrl-Shift-Enter:\n' + t('importReplaceTooltip'),
onclick: () => doImport({replaceOldStyle: true}),
}),
]}));