mozImport: show hotkey in button tooltip
This commit is contained in:
parent
d39e9f6037
commit
39c6d897ed
|
@ -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}),
|
||||||
}),
|
}),
|
||||||
]}));
|
]}));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user