Changeset 3936 in josm


Ignore:
Timestamp:
2011-02-27T13:33:37+01:00 (9 years ago)
Author:
bastiK
Message:

warning in the plugin list, when plugin is not provided by normal svn but from an external source

File:
1 edited

Legend:

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

    r3553 r3936  
    245245            sb.append(" <a href=\"").append(link).append("\">").append(tr("More info...")).append("</a>");
    246246        }
     247        if (downloadlink != null && !downloadlink.startsWith("http://svn.openstreetmap.org/applications/editors/josm/dist/")) {
     248            sb.append("<p>&nbsp;</p><p>"+tr("<b>Plugin provided by an external source:</b> {0}", downloadlink)+"</p>");
     249        }
    247250        sb.append("</body></html>");
    248251        return sb.toString();
Note: See TracChangeset for help on using the changeset viewer.