Fix delete button, remove Translations.WT

This commit is contained in:
Pieter Vander Vennet 2022-04-21 12:39:28 +02:00
parent 50a7597c5a
commit 1271f24160
11 changed files with 69 additions and 62 deletions

View file

@ -613,7 +613,7 @@ export class ImportPointButton extends AbstractImportButton {
icon: () => new Img(args.icon),
layerToAddTo: state.filteredLayers.data.filter(l => l.layerDef.id === args.targetLayer)[0],
name: args.text,
title: Translations.WT(args.text),
title: Translations.T(args.text),
preciseInput: preciseInputSpec, // must be explicitely assigned, if 'undefined' won't work otherwise
boundsFactor: 3
}