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

View File

@@ -813,6 +813,11 @@ en:
fix_misalignment: Imagery Offset
offset: "Drag anywhere in the gray area below to adjust the imagery offset, or enter the offset values in meters."
offset_label: "Adjust Imagery Offset"
nudge:
top: "nudge top"
left: "nudge left"
right: "nudge right"
bottom: "nudge bottom"
map_data:
title: Map Data
description: Map Data

File diff suppressed because one or more lines are too long

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]);