From 73eb49ccc7928ba293f326d463cebed7f190e662 Mon Sep 17 00:00:00 2001 From: Jeroen Hoek Date: Tue, 5 May 2020 11:48:11 +0200 Subject: [PATCH] Re-add i18n --- src/nl/jeroenhoek/josm/gridify/ui/GridifySettingsDialog.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/nl/jeroenhoek/josm/gridify/ui/GridifySettingsDialog.java b/src/nl/jeroenhoek/josm/gridify/ui/GridifySettingsDialog.java index c016442..e2988b0 100644 --- a/src/nl/jeroenhoek/josm/gridify/ui/GridifySettingsDialog.java +++ b/src/nl/jeroenhoek/josm/gridify/ui/GridifySettingsDialog.java @@ -10,6 +10,8 @@ import javax.swing.JLabel; import java.awt.Dimension; +import static org.openstreetmap.josm.tools.I18n.tr; + //import nl.jeroenhoek.josm.gridify.ui.GridSizePanel.Nudge; /** @@ -24,8 +26,7 @@ public class GridifySettingsDialog extends ExtendedDialog { // private SourceWayPanel sourceWayPanel; public GridifySettingsDialog(InputData inputData, GridifySettings settings) { -// super(MainApplication.getMainFrame(), tr("Gridify preview"), tr("Gridify"), tr("Cancel")); - super(MainApplication.getMainFrame(), "Gridify preview", "Gridify", "Cancel"); + super(MainApplication.getMainFrame(), tr("Gridify preview"), tr("Gridify"), tr("Cancel")); this.inputData = inputData; this.settings = settings; }