Merge branch 'master' of github.com:pietervdvn/MapComplete

This commit is contained in:
pietervdvn 2021-05-13 12:41:20 +02:00
commit c3b6353259
3 changed files with 10 additions and 10 deletions

Binary file not shown.

View file

@ -1065,7 +1065,7 @@
"write_a_comment": { "write_a_comment": {
"en": "Leave a review...", "en": "Leave a review...",
"nl": "Schrijf een beoordeling...", "nl": "Schrijf een beoordeling...",
"de": "Schreibe ein Kommentar..." "de": "Schreibe einen Kommentar..."
}, },
"no_rating": { "no_rating": {
"en": "No rating given", "en": "No rating given",
@ -1099,7 +1099,7 @@
"tos": { "tos": {
"en": "If you create a review, you agree to <a href='https://mangrove.reviews/terms' target='_blank'>the TOS and privacy policy of Mangrove.reviews</a>", "en": "If you create a review, you agree to <a href='https://mangrove.reviews/terms' target='_blank'>the TOS and privacy policy of Mangrove.reviews</a>",
"nl": "Als je je review publiceert, ga je akkoord met de <a href='https://mangrove.reviews/terms' target='_blank'>de gebruiksvoorwaarden en privacy policy van Mangrove.reviews</a>", "nl": "Als je je review publiceert, ga je akkoord met de <a href='https://mangrove.reviews/terms' target='_blank'>de gebruiksvoorwaarden en privacy policy van Mangrove.reviews</a>",
"de": "Mit deiner Rezension stimmst du den <a href='https://mangrove.reviews/terms' target='_blank'>TOS und den Datenschutzrichtlinien von Mangrove.reviews zu</a>" "de": "Mit deiner Rezension stimmst du den <a href='https://mangrove.reviews/terms' target='_blank'>AGB und den Datenschutzrichtlinien von Mangrove.reviews zu</a>"
}, },
"attribution": { "attribution": {
"en": "Reviews are powered by <a href='https://mangrove.reviews/' target='_blank'>Mangrove Reviews</a> and are available under <a href='https://mangrove.reviews/terms#8-licensing-of-content' target='_blank'>CC-BY 4.0</a>.", "en": "Reviews are powered by <a href='https://mangrove.reviews/' target='_blank'>Mangrove Reviews</a> and are available under <a href='https://mangrove.reviews/terms#8-licensing-of-content' target='_blank'>CC-BY 4.0</a>.",

View file

@ -29,7 +29,7 @@ const layerFiles = ScriptUtils.readDirRecSync("./assets/layers")
} }
}) })
const themeFiles: any[] = ScriptUtils.readDirRecSync("./assets/themes") const themeFiles: any[] = ScriptUtils.readDirRecSync("./assets/themes")
.filter(path => path.indexOf(".json") > 0) .filter(path => path.endsWith(".json"))
.filter(path => path.indexOf("license_info.json") < 0) .filter(path => path.indexOf("license_info.json") < 0)
.map(path => { .map(path => {
return JSON.parse(readFileSync(path, "UTF8")); return JSON.parse(readFileSync(path, "UTF8"));