Commit 662b89af authored by Florian Schäfer's avatar Florian Schäfer

Make README prettier (markdownified), name license file `LICENSE`

Also make `grey_check` icon SVG and no longer duplicate plugin description.
parent 79aabb4b
......@@ -276,64 +276,3 @@ TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
JOSM Wikipedia Plugin
=====================
This plugin simplifys linking OSM objects to Wikipedia articles.
Author: Simon Legner (simon04)
License: GPL v2 (as JOSM)
# JOSM Wikipedia Plugin
[![build status](https://img.shields.io/circleci/project/github/JOSM/wikipedia/master.svg?style=flat-square)](https://circleci.com/gh/JOSM/workflows/wikipedia/tree/master)
[![code coverage](https://img.shields.io/codecov/c/github/JOSM/wikipedia/master.svg?style=flat-square)](https://codecov.io/gh/JOSM/wikipedia/branch/master)
[![latest release](https://img.shields.io/github/release/JOSM/wikipedia.svg?style=flat-square)](https://github.com/JOSM/wikipedia/releases/latest)
[![license](https://img.shields.io/github/license/JOSM/wikipedia.svg?style=flat-square)](./LICENSE)
This plugin simplifies linking OSM objects to Wikipedia articles and Wikidata items. It also helps to maintain existing links to Wikipedia/Wikidata.
To use this plugin, [install JOSM](https://josm.openstreetmap.de/wiki/Download) and then [in the preferences menu install the **wikipedia** plugin](https://josm.openstreetmap.de/wiki/Help/Preferences/Plugins#AutomaticinstallationviaPreferencesmenu)
Translations for this plugin are managed [at Transifex](https://www.transifex.com/josm/josm/josm-plugin_wikipedia):
[![translation status](https://www.transifex.com/projects/p/josm/resource/josm-plugin_wikipedia/chart/image_png/)](https://www.transifex.com/josm/josm/josm-plugin_wikipedia)
Author: Simon Legner (simon04)
License: GPLv2 (same as JOSM)
......@@ -53,8 +53,8 @@ sourceSets {
resources {
srcDirs = ["$projectDir"]
include "images/**"
include "GPL-v2.0.txt"
include "README"
include "LICENSE"
include "README.md"
}
}
test {
......@@ -71,8 +71,6 @@ archivesBaseName = "wikipedia"
version = getVersion()
josm {
manifest {
// Description is duplicated in build.xml, because only there it is synced to Launchpad for translation
description = "Simplifies linking OSM objects to Wikipedia articles and Wikidata items"
oldVersionDownloadLink 12900, "34109", new URL("https://svn.openstreetmap.org/applications/editors/josm/dist/wikipedia.jar?p=34113")
oldVersionDownloadLink 12878, "33635", new URL("https://svn.openstreetmap.org/applications/editors/josm/dist/wikipedia.jar?p=33636")
}
......
......@@ -6,8 +6,6 @@
<!-- edit the properties of this plugin in the file `gradle.properties` -->
<property file="${basedir}/gradle.properties"/>
<!-- The description has to stay here AND in the build.gradle, so Ant can sync the description to Launchpad and Gradle can also pick it up. -->
<property name="plugin.description" value="Simplifies linking OSM objects to Wikipedia articles and Wikidata items"/>
<!-- ** include targets that all plugins have in common ** -->
<import file="../build-common.xml"/>
......
coverage:
range: 50..100
fixes:
- "project/*::src/"
- "project/::src/"
......@@ -9,3 +9,4 @@ plugin.author = simon04
plugin.class = org.wikipedia.WikipediaPlugin
plugin.icon = images/dialogs/wikipedia.png
plugin.link = https://josm.openstreetmap.de/wiki/Help/Plugin/Wikipedia
plugin.description = Simplifies linking OSM objects to Wikipedia articles and Wikidata items
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="16px" height="16px">
<defs>
<linearGradient x1="8" y1="4" x2="8" y2="13" id="gray" gradientUnits="userSpaceOnUse">
<stop stop-color="#c5c5c5"/>
<stop offset=".5" stop-color="#666666"/>
<stop offset="1" stop-color="#909090"/>
</linearGradient>
</defs>
<path d="m1.5,8.5l5,5l8,-8l-2.5,-2.5l-5.5,5.5l-2.5,-2.5z" stroke="#2e2e2e" fill="url(#gray)"/>
</svg>
......@@ -110,7 +110,7 @@ public class WikidataItemExists extends Test.TagTest {
errors.add(
AllValidationTests.INVALID_QID.getBuilder(this)
.primitives(osmPrimitive)
.message(VALIDATOR_MESSAGE_MARKER + I18n.tr("Invalid Q-ID! Does not exist on Wikidata."), I18n.marktr("{0} is not a valid Wikidata-ID"))
.message(VALIDATOR_MESSAGE_MARKER + I18n.tr("Invalid Q-ID! Cannot exist on Wikidata."), I18n.marktr("{0} is not a valid Wikidata-ID"))
.build()
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment