More attribution information
This commit is contained in:
parent
aae0a805f4
commit
f11930892e
3 changed files with 11 additions and 13 deletions
12
README.md
12
README.md
|
@ -209,17 +209,9 @@ Camera Icon, Dave Gandy, CC-BY-SA 3.0
|
|||
https://commons.wikimedia.org/wiki/File:OOjs_UI_indicator_search-rtl.svg
|
||||
Search Icon, MIT
|
||||
|
||||
https://commons.wikimedia.org/wiki/File:Trash_font_awesome.svg
|
||||
Trash icon by Dave Gandy, CC-BY-SA
|
||||
|
||||
https://commons.wikimedia.org/wiki/File:Home-icon.svg
|
||||
Home icon by Timothy Miller, CC-BY-SA 3.0
|
||||
|
||||
https://commons.wikimedia.org/wiki/File:Map_icons_by_Scott_de_Jonge_-_bicycle-store.svg
|
||||
Bicycle logo, Scott de Jonge
|
||||
|
||||
Nature Reserve icon via http://www.onlinewebfonts.com/icon/389579, CC BY 3.0 (@ Эдуард Черных)
|
||||
|
||||
Park icon via http://www.onlinewebfonts.com/icon/425974, CC BY 3.0 (@sterankofrank)
|
||||
|
||||
Forest icon via https://www.onlinewebfonts.com/icon/498112, CC BY
|
||||
|
@ -236,6 +228,4 @@ Urinal icon: https://thenounproject.com/term/urinal/1307984/
|
|||
|
||||
24/7 icon: https://www.vecteezy.com/vector-art/1394992-24-7-service-and-support-icon-set
|
||||
|
||||
Translation-icon: https://commons.wikimedia.org/wiki/File:OOjs_UI_icon_language-ltr.svg
|
||||
|
||||
PingPong-table icon: Font Awesome Free 5.2.0 by @fontawesome - https://fontawesome.com
|
||||
Translation-icon: https://commons.wikimedia.org/wiki/File:OOjs_UI_icon_language-ltr.svg
|
|
@ -10,4 +10,4 @@
|
|||
"https://OpenStreetMap.org",
|
||||
" https://wiki.openstreetmap.org/wiki/Logos"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -107,6 +107,10 @@ knownLicenses.set("na", {
|
|||
|
||||
|
||||
function promptLicenseFor(path): SmallLicense {
|
||||
console.log("License abbreviations:")
|
||||
knownLicenses.forEach((value, key) => {
|
||||
console.log(key, " => ", value)
|
||||
})
|
||||
const author = prompt("What is the author for artwork " + path + "? (or: [Q]uit, [S]kip) > ")
|
||||
path = path.substring(path.lastIndexOf("/") + 1)
|
||||
|
||||
|
@ -122,6 +126,10 @@ function promptLicenseFor(path): SmallLicense {
|
|||
if (author == "Q" || author == "q" || author == "") {
|
||||
throw "Quitting now!"
|
||||
}
|
||||
let authors = author.split(";")
|
||||
if(author.toLowerCase() == "none"){
|
||||
authors = []
|
||||
}
|
||||
return {
|
||||
authors: author.split(";"),
|
||||
path: path,
|
||||
|
@ -169,7 +177,7 @@ const missingLicenses = missingLicenseInfos(licenseInfos, artwork)
|
|||
|
||||
console.log(`There are ${missingLicenses.length} licenses missing.`)
|
||||
|
||||
shuffle(missingLicenses)
|
||||
// shuffle(missingLicenses)
|
||||
|
||||
let i = 1;
|
||||
for (const missingLicens of missingLicenses) {
|
||||
|
|
Loading…
Reference in a new issue