Ignore:
Timestamp:
2012-01-28T23:36:50+01:00 (13 years ago)
Author:
stoecker
Message:

fix some small bugs for new plugins

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/merge-overlap/src/mergeoverlap/MergeOverlapAction.java

    r27580 r27650  
    5252
    5353        public MergeOverlapAction() {
    54                 super(tr("Merge overlap", null), "merge_overlap", tr(
    55                                 "Merge overlap of ways.", null),
     54                super(tr("Merge overlap"), "merge_overlap",
     55                                tr("Merge overlap of ways."),
    5656                                Shortcut.registerShortcut("tools:mergeoverlap",tr("Tool: {0}", tr("Merge overlap")), KeyEvent.VK_O,
    5757                                Shortcut.GROUP_EDIT, Shortcut.SHIFT_DEFAULT)
     
    241241                // Commit
    242242                Main.main.undoRedo.add(new SequenceCommand(
    243                                 tr("Merge Overlap (combine)", null), cmds));
     243                                tr("Merge Overlap (combine)"), cmds));
    244244                getCurrentDataSet().setSelected(sel);
    245245                Main.map.repaint();
     
    477477                                        .showMessageDialog(
    478478                                                        Main.parent,
    479                                                         tr("<html>A role based relation membership was copied to all new ways.<br>You should verify this and correct it when necessary.</html>", null),
    480                                                         tr("Warning", null), JOptionPane.WARNING_MESSAGE);
     479                                                        tr("<html>A role based relation membership was copied to all new ways.<br>You should verify this and correct it when necessary.</html>"),
     480                                                        tr("Warning"), JOptionPane.WARNING_MESSAGE);
    481481                } else if (warnme) {
    482482                        JOptionPane
    483483                                        .showMessageDialog(
    484484                                                        Main.parent,
    485                                                         tr("<html>A relation membership was copied to all new ways.<br>You should verify this and correct it when necessary.</html>", null),
    486                                                         tr("Warning", null), JOptionPane.WARNING_MESSAGE);
     485                                                        tr("<html>A relation membership was copied to all new ways.<br>You should verify this and correct it when necessary.</html>"),
     486                                                        tr("Warning"), JOptionPane.WARNING_MESSAGE);
    487487                }
    488488
    489489                return new SplitWayResult(
    490                                 new SequenceCommand("Split way", commandList), null,
     490                                new SequenceCommand(tr("Split way"), commandList), null,
    491491                                changedWay, newWays);
    492492        }
Note: See TracChangeset for help on using the changeset viewer.