Changeset 27650 in osm for applications/editors


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

fix some small bugs for new plugins

Location:
applications/editors/josm/plugins
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/HouseNumberTaggingTool/build.xml

    r27601 r27650  
    9696                <attribute name="Author" value="Oliver Raupach"/>
    9797                <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.housenumbertool.HouseNumberTaggingToolPlugin"/>
    98                 <attribute name="Plugin-Date" value="2012-01-19"/>
    9998                <attribute name="Plugin-Description" value="Simple tool to tag house numbers. Select house and press «Y»."/>
    100                 <attribute name="Plugin-Mainversion" value="4667"/>
     99                <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
    101100                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
     101                <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    102102                <attribute name="Plugin-Icon" value="images/home-icon32.png"/>
    103103                <attribute name="Plugin-Link" value="http://josm.openstreetmap.de/wiki/Help/Plugin/HouseNumberTaggingTool"/>
  • applications/editors/josm/plugins/merge-overlap/build.xml

    r27573 r27650  
    5555                <attribute name="Plugin-Class" value="mergeoverlap.MergeOverlapPlugin"/>
    5656                <attribute name="Plugin-Description" value="Merge overlapping part of ways."/>
     57                <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
    5758                <attribute name="Plugin-Icon" value="images/merge_overlap.png"/>
    5859                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
  • 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.