Ignore:
Timestamp:
2019-12-25T20:55:51+01:00 (5 years ago)
Author:
Don-vip
Message:

fix #18428 - mark rapid plugin as having been replaced by MapWithAI plugin (patch by taylor.smock)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java

    r15586 r15615  
    33
    44import static org.openstreetmap.josm.gui.help.HelpUtil.ht;
     5import static org.openstreetmap.josm.tools.I18n.marktr;
    56import static org.openstreetmap.josm.tools.I18n.tr;
    67import static org.openstreetmap.josm.tools.I18n.trn;
     
    9192    static {
    9293        String inCore = tr("integrated into main program");
     94        String replacedByPlugin = marktr("replaced by new {0} plugin");
     95        String noLongerRequired = tr("no longer required");
    9396
    9497        DEPRECATED_PLUGINS = Arrays.asList(
     
    106109            new DeprecatedPlugin("tways-0.2", inCore),
    107110            new DeprecatedPlugin("geotagged", inCore),
    108             new DeprecatedPlugin("landsat", tr("replaced by new {0} plugin", "scanaerial")),
     111            new DeprecatedPlugin("landsat", tr(replacedByPlugin, "scanaerial")),
    109112            new DeprecatedPlugin("namefinder", inCore),
    110113            new DeprecatedPlugin("waypoints", inCore),
    111114            new DeprecatedPlugin("slippy_map_chooser", inCore),
    112             new DeprecatedPlugin("tcx-support", tr("replaced by new {0} plugin", "dataimport")),
     115            new DeprecatedPlugin("tcx-support", tr(replacedByPlugin, "dataimport")),
    113116            new DeprecatedPlugin("usertools", inCore),
    114117            new DeprecatedPlugin("AgPifoJ", inCore),
     
    123126            new DeprecatedPlugin("wmsplugin", inCore),
    124127            new DeprecatedPlugin("ParallelWay", inCore),
    125             new DeprecatedPlugin("dumbutils", tr("replaced by new {0} plugin", "utilsplugin2")),
     128            new DeprecatedPlugin("dumbutils", tr(replacedByPlugin, "utilsplugin2")),
    126129            new DeprecatedPlugin("ImproveWayAccuracy", inCore),
    127             new DeprecatedPlugin("Curves", tr("replaced by new {0} plugin", "utilsplugin2")),
     130            new DeprecatedPlugin("Curves", tr(replacedByPlugin, "utilsplugin2")),
    128131            new DeprecatedPlugin("epsg31287", inCore),
    129             new DeprecatedPlugin("licensechange", tr("no longer required")),
     132            new DeprecatedPlugin("licensechange", noLongerRequired),
    130133            new DeprecatedPlugin("restart", inCore),
    131134            new DeprecatedPlugin("wayselector", inCore),
    132135            new DeprecatedPlugin("openstreetbugs", inCore),
    133             new DeprecatedPlugin("nearclick", tr("no longer required")),
     136            new DeprecatedPlugin("nearclick", noLongerRequired),
    134137            new DeprecatedPlugin("notes", inCore),
    135138            new DeprecatedPlugin("mirrored_download", inCore),
    136139            new DeprecatedPlugin("ImageryCache", inCore),
    137             new DeprecatedPlugin("commons-imaging", tr("replaced by new {0} plugin", "apache-commons")),
    138             new DeprecatedPlugin("missingRoads", tr("replaced by new {0} plugin", "ImproveOsm")),
    139             new DeprecatedPlugin("trafficFlowDirection", tr("replaced by new {0} plugin", "ImproveOsm")),
    140             new DeprecatedPlugin("kendzi3d-jogl", tr("replaced by new {0} plugin", "jogl")),
    141             new DeprecatedPlugin("josm-geojson", tr("replaced by new {0} plugin", "geojson")),
     140            new DeprecatedPlugin("commons-imaging", tr(replacedByPlugin, "apache-commons")),
     141            new DeprecatedPlugin("missingRoads", tr(replacedByPlugin, "ImproveOsm")),
     142            new DeprecatedPlugin("trafficFlowDirection", tr(replacedByPlugin, "ImproveOsm")),
     143            new DeprecatedPlugin("kendzi3d-jogl", tr(replacedByPlugin, "jogl")),
     144            new DeprecatedPlugin("josm-geojson", inCore),
    142145            new DeprecatedPlugin("proj4j", inCore),
    143             new DeprecatedPlugin("OpenStreetView", tr("replaced by new {0} plugin", "OpenStreetCam")),
     146            new DeprecatedPlugin("OpenStreetView", tr(replacedByPlugin, "OpenStreetCam")),
    144147            new DeprecatedPlugin("imageryadjust", inCore),
    145             new DeprecatedPlugin("walkingpapers", tr("replaced by new {0} plugin", "fieldpapers")),
    146             new DeprecatedPlugin("czechaddress", tr("no longer required")),
    147             new DeprecatedPlugin("kendzi3d_Improved_by_Andrei", tr("no longer required")),
    148             new DeprecatedPlugin("videomapping", tr("no longer required")),
    149             new DeprecatedPlugin("public_transport_layer", tr("replaced by new {0} plugin", "pt_assistant")),
    150             new DeprecatedPlugin("lakewalker", tr("replaced by new {0} plugin", "scanaerial")),
     148            new DeprecatedPlugin("walkingpapers", tr(replacedByPlugin, "fieldpapers")),
     149            new DeprecatedPlugin("czechaddress", noLongerRequired),
     150            new DeprecatedPlugin("kendzi3d_Improved_by_Andrei", noLongerRequired),
     151            new DeprecatedPlugin("videomapping", noLongerRequired),
     152            new DeprecatedPlugin("public_transport_layer", tr(replacedByPlugin, "pt_assistant")),
     153            new DeprecatedPlugin("lakewalker", tr(replacedByPlugin, "scanaerial")),
    151154            new DeprecatedPlugin("download_along", inCore),
    152             new DeprecatedPlugin("plastic_laf", tr("no longer required")),
    153             new DeprecatedPlugin("osmarender", tr("no longer required")),
     155            new DeprecatedPlugin("plastic_laf", noLongerRequired),
     156            new DeprecatedPlugin("osmarender", noLongerRequired),
    154157            new DeprecatedPlugin("geojson", inCore),
    155             new DeprecatedPlugin("gpxfilter", inCore)
     158            new DeprecatedPlugin("gpxfilter", inCore),
     159            new DeprecatedPlugin("rapid", tr(replacedByPlugin, "MapWithAI"))
    156160        );
    157161    }
Note: See TracChangeset for help on using the changeset viewer.