translate background nudge title

This commit is contained in:
Milos Brzakovic (E-Search)
2021-12-07 17:16:26 +01:00
parent 960f5768c4
commit e2f2568c83
3 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ export function uiSectionBackgroundOffset(context) {
.selectAll('button')
.data(_directions).enter()
.append('button')
.attr('title', function(d) { return 'nudge ' + d[0]; })
.attr('title', function(d) { return t(`background.nudge.${d[0]}`); })
.attr('class', function(d) { return d[0] + ' nudge'; })
.on('click', function(d3_event, d) {
nudge(d[1]);