Themes: add animal types to animal_shelter, include animal_shelter in pets, generate licenses, fix cycle_highways.json

This commit is contained in:
Pieter Vander Vennet 2024-04-24 00:05:31 +02:00
parent 7993639b5d
commit 3968a1e841
11 changed files with 80 additions and 36 deletions

View file

@ -1,2 +1,2 @@
SPDX-FileCopyrightText: Gouvernement fran<EFBFBD><EFBFBD>ais, Roulex 45
SPDX-FileCopyrightText: Gouvernement français, Roulex 45
SPDX-License-Identifier: CC0-1.0

View file

@ -51,7 +51,7 @@
"color": "#ffffff"
},
{
"icon": "https://upload.wikimedia.org/wikipedia/commons/7/7a/Animal_Shelter_%288670%29_-_The_Noun_Project.svg"
"icon": "./assets/layers/animal_shelter/animal_shelter.svg"
}
]
}
@ -146,26 +146,51 @@
],
"multiAnswer": true
},
"opening_hours_by_appointment",
{
"question": {
"en": "When is this animal shelter opened?",
"de": "Wann ist das Tierheim geöffnet?",
"es": "¿Cuándo se abre este refugio de animales?",
"zh_Hans": "这个动物收容所什么时候开放?",
"ca": "Quan està obert aquest refugi d'animals?"
"en": "Which animals are accepted here?"
},
"id": "7",
"id": "boarded_animals",
"mappings": [
{
"if": "animal_shelter=dog",
"then": {
"en": "Dogs are kept here"
}
},
{
"if": "animal_shelter=cat",
"then": {
"en": "Cats are kept here"
}
},
{
"if": "animal_shelter=horse",
"then": {
"en": "Horses are kept here"
}
},
{
"if": "animal_shelter=bird",
"then": {
"en": "Birds are kept here"
}
},
{
"if": "animal_shelter=wildlife",
"then": {
"en": "Wild animals are kept here"
}
}
],
"render": {
"en": "{opening_hours_table()}",
"de": "{opening_hours_table()}",
"es": "{opening_hours_table()}",
"zh_Hans": "{opening_hours_table()}",
"ca": "{opening_hours_table()}"
"en": "{animal_shelter} is kept here"
},
"freeform": {
"key": "opening_hours",
"type": "opening_hours"
}
"key": "animal_shelter"
},
"multiAnswer": true
}
],
"deletion": true,

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 99.978" enable-background="new 0 0 100 99.978" xml:space="preserve"><polygon points="49.989,0 0,24.346 0,36.768 49.989,12.497 99.978,36.768 99.978,24.346 "></polygon><path d="M99.137,62.488c-0.118-0.686,0.414-2.03,0.203-2.777c-0.266-0.945-1.516-1.801-1.411-2.777 c0.104-0.976,0.66-0.001,2.049-2.777c0,0-5.555-0.001-8.331,1.388c-1.318,0.659-4.166,4.166-4.166,4.166l6.942,5.554 c1.389-1.389,2.457,0.076,2.777,0c0.731-0.172,2.414-0.665,2.777-1.389C100.159,63.514,99.207,62.889,99.137,62.488z"></path><g><path d="M9.109,51.378l-5.467-3.147l-0.005,0.01c-0.357-0.206-0.766-0.333-1.207-0.333C1.088,47.907,0,48.995,0,50.337 c0,0.9,0.497,1.676,1.224,2.097l-0.006,0.009l7.114,4.097v6.294v7.984v14.581c0,1.916,1.554,3.471,3.472,3.471 c1.917,0,3.471-1.555,3.471-3.471V70.818h0.548l9.655,16.345l0.011-0.007c0.604,1.021,1.706,1.713,2.978,1.713 c1.918,0,3.472-1.555,3.472-3.471c0-0.646-0.188-1.242-0.493-1.759l0.011-0.007l-7.569-12.815h19.16h2.777v14.581 c0,1.916,1.554,3.471,3.472,3.471c1.917,0,3.471-1.555,3.471-3.471V70.108c0.839-0.633,1.389-1.628,1.389-2.761V56.933 l-11.108-5.554H9.109z"></path><polygon points="43.046,31.938 43.046,48.602 54.154,54.156 54.154,48.602 62.486,48.602 65.264,43.047 "></polygon></g><path d="M86.068,61.099l-8.331,2.777C72.899,65.88,65.24,68.042,65.24,79.151v5.735c-0.381-0.268-0.73-0.577-1.046-0.93 c-1.117-1.257-1.731-2.963-1.731-4.806c0-2.108,0.293-4.28,0.552-6.198c0.475-3.531,0.852-6.32-0.572-7.949 c-0.654-0.749-1.581-1.128-2.757-1.128c-0.768,0-1.389,0.621-1.389,1.389s0.621,1.389,1.389,1.389c0.338,0,0.563,0.06,0.666,0.179 c0.594,0.68,0.23,3.374-0.089,5.751c-0.271,2.003-0.577,4.274-0.577,6.568c0,2.524,0.864,4.885,2.435,6.65 c1.784,2.008,4.303,3.068,7.283,3.068c0,0,0.001,0,0.003,0h9.72h1.389h2.777c0.768,0,1.388-0.621,1.388-1.389 s-0.62-1.389-1.388-1.389h-1.389v-4.859c0-1.323-0.532-2.52-1.389-3.396v-0.076h2.777c1.388,0,2.528,1.412,2.776,2.777 c0.304,1.673,2.366,6.302,2.875,7.426c0.017,0.043,0.037,0.082,0.056,0.124c0.034,0.072,0.057,0.124,0.057,0.124l0.018-0.015 c0.244,0.396,0.662,0.672,1.161,0.672h1.389c0.768,0,1.389-0.621,1.389-1.389s-0.621-1.389-1.389-1.389 c-1.389-1.388-1.389-9.72-1.389-9.72l2.777-9.72L86.068,61.099z"></path><polygon points="69.401,88.87 56.932,88.87 0,88.87 0,99.978 99.978,99.977 99.978,88.87 "></polygon></svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: Noun Project
SPDX-License-Identifier: CC0-1.0

View file

@ -0,0 +1,12 @@
[
{
"path": "animal_shelter.svg",
"license": "CC0-1.0",
"authors": [
"Noun Project"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Animal_Shelter_(8670)_-_The_Noun_Project.svg"
]
}
]

View file

@ -1,4 +1,20 @@
[
{
"path": "question_multiple.svg",
"license": "CC0-1.0",
"authors": [
"Pieter Vander Vennet"
],
"sources": []
},
{
"path": "question_single.svg",
"license": "CC0-1.0",
"authors": [
"Pieter Vander Vennet"
],
"sources": []
},
{
"path": "translate_disabled.svg",
"license": "CC-BY-SA-3.0",

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: Pieter Vander Vennet
SPDX-License-Identifier: CC0-1.0

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: Pieter Vander Vennet
SPDX-License-Identifier: CC0-1.0

View file

@ -244,24 +244,7 @@
}
]
},
"width": "4",
"dashArray": {
"render": "",
"mappings": [
{
"if": "state=temporary",
"then": "12 10"
},
{
"if": "note:state=has_highway_no",
"then": "0 8"
},
{
"if": "note:state=has_highway_under_construction",
"then": "12 10"
}
]
}
"width": "4"
}
]
}

View file

@ -237,6 +237,7 @@
],
"name": null
}
}
},
"animal_shelter"
]
}