fix tooltip of "back/forward" buttons in preset list and entity editor

This commit is contained in:
Martin Raifer
2022-11-01 18:32:47 +01:00
parent 34a414ee18
commit 78d37fd7a8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ export function uiEntityEditor(context) {
headerEnter
.append('button')
.attr('class', 'preset-reset preset-choose')
.attr('title', t(`icons.${direction}`))
.attr('title', t('inspector.back_tooltip'))
.call(svgIcon(`#iD-icon-${direction}`));
headerEnter
+1 -1
View File
@@ -42,7 +42,7 @@ export function uiPresetList(context) {
messagewrap
.append('button')
.attr('class', 'preset-choose')
.attr('title', direction)
.attr('title', _entityIDs.length === 1 ? t('inspector.edit') : t('inspector.edit_features'))
.on('click', function() { dispatch.call('cancel', this); })
.call(svgIcon(`#iD-icon-${direction}`));