Change opening_hours mapping for hackerspace

This commit is contained in:
Robin van der Linde 2022-10-30 20:41:54 +01:00
parent 29af0cadc7
commit 95fb6cd970
Signed by untrusted user: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D
8 changed files with 10 additions and 104 deletions

View file

@ -110,45 +110,16 @@
"email", "email",
"phone", "phone",
{ {
"question": { "builtin": "opening_hours_24_7",
"en": "When is this hackerspace opened?", "override": {
"de": "Wann hat dieser Hackerspace geöffnet?", "question": {
"zh_Hant": "這個駭客空間的營業時間?", "en": "When is this hackerspace opened?",
"es": "¿Cuándo está abierto este espacio hacker?", "de": "Wann hat dieser Hackerspace geöffnet?",
"nl": "Wanneer is deze hackerspace geopend?" "zh_Hant": "這個駭客空間的營業時間?",
}, "es": "¿Cuándo está abierto este espacio hacker?",
"freeform": { "nl": "Wanneer is deze hackerspace geopend?"
"key": "opening_hours",
"type": "opening_hours"
},
"render": {
"en": "{opening_hours_table()}",
"de": "{opening_hours_table()}",
"ru": "{opening_hours_table()}",
"zh_Hant": "{opening_hours_table()}",
"ca": "{opening_hours_table()}",
"es": "{opening_hours_table()}",
"nl": "{opening_hours_table()}"
},
"mappings": [
{
"if": {
"and": [
"opening_hours=24/7"
]
},
"then": {
"en": "Opened 24/7",
"de": "durchgehend geöffnet",
"ru": "Открыто 24/7",
"zh_Hant": "24/7 營業",
"ca": "Obert 24/7",
"es": "Abierto 24/7",
"nl": "24/7 geopend"
}
} }
], }
"id": "hackerspaces-opening_hours"
}, },
{ {
"id": "available_devices", "id": "available_devices",
@ -375,4 +346,4 @@
} }
} }
] ]
} }

View file

@ -651,16 +651,6 @@
} }
}, },
"hackerspace": { "hackerspace": {
"tagRenderings": {
"hackerspaces-opening_hours": {
"mappings": {
"0": {
"then": "Obert 24/7"
}
},
"render": "{opening_hours_table()}"
}
},
"title": { "title": {
"mappings": { "mappings": {
"0": { "0": {

View file

@ -4097,15 +4097,6 @@
"question": "Wie lautet der Name dieses Hackerspace?", "question": "Wie lautet der Name dieses Hackerspace?",
"render": "Dieser Hackerspace heißt <b>{name}</b>" "render": "Dieser Hackerspace heißt <b>{name}</b>"
}, },
"hackerspaces-opening_hours": {
"mappings": {
"0": {
"then": "durchgehend geöffnet"
}
},
"question": "Wann hat dieser Hackerspace geöffnet?",
"render": "{opening_hours_table()}"
},
"hackerspaces-start_date": { "hackerspaces-start_date": {
"question": "Wann wurde dieser Hackerspace gegründet?", "question": "Wann wurde dieser Hackerspace gegründet?",
"render": "Dieser Hackerspace wurde gegründet am {start_date}" "render": "Dieser Hackerspace wurde gegründet am {start_date}"

View file

@ -4296,15 +4296,6 @@
"question": "What is the name of this hackerspace?", "question": "What is the name of this hackerspace?",
"render": "This hackerspace is named <b>{name}</b>" "render": "This hackerspace is named <b>{name}</b>"
}, },
"hackerspaces-opening_hours": {
"mappings": {
"0": {
"then": "Opened 24/7"
}
},
"question": "When is this hackerspace opened?",
"render": "{opening_hours_table()}"
},
"hackerspaces-start_date": { "hackerspaces-start_date": {
"question": "When was this hackerspace founded?", "question": "When was this hackerspace founded?",
"render": "This hackerspace was founded at {start_date}" "render": "This hackerspace was founded at {start_date}"

View file

@ -2535,15 +2535,6 @@
"question": "¿Cual es el nombre de este espacio hacker?", "question": "¿Cual es el nombre de este espacio hacker?",
"render": "Este espacio hacker se llama <b>{name}</b>" "render": "Este espacio hacker se llama <b>{name}</b>"
}, },
"hackerspaces-opening_hours": {
"mappings": {
"0": {
"then": "Abierto 24/7"
}
},
"question": "¿Cuándo está abierto este espacio hacker?",
"render": "{opening_hours_table()}"
},
"hackerspaces-start_date": { "hackerspaces-start_date": {
"question": "¿Cuándo se fundó este espacio hacker?", "question": "¿Cuándo se fundó este espacio hacker?",
"render": "Este espacio hacker se fundó el {start_date}" "render": "Este espacio hacker se fundó el {start_date}"

View file

@ -4103,15 +4103,6 @@
"question": "Wat is de naam van deze hackerspace?", "question": "Wat is de naam van deze hackerspace?",
"render": "Deze hackerspace heet <b>{name}</b>" "render": "Deze hackerspace heet <b>{name}</b>"
}, },
"hackerspaces-opening_hours": {
"mappings": {
"0": {
"then": "24/7 geopend"
}
},
"question": "Wanneer is deze hackerspace geopend?",
"render": "{opening_hours_table()}"
},
"hackerspaces-start_date": { "hackerspaces-start_date": {
"question": "Wanneer is deze hackerspace opgericht?", "question": "Wanneer is deze hackerspace opgericht?",
"render": "Deze hackerspace is opgericht op {start_date}" "render": "Deze hackerspace is opgericht op {start_date}"

View file

@ -981,16 +981,6 @@
"title": "Хакерспейс" "title": "Хакерспейс"
} }
}, },
"tagRenderings": {
"hackerspaces-opening_hours": {
"mappings": {
"0": {
"then": "Открыто 24/7"
}
},
"render": "{opening_hours_table()}"
}
},
"title": { "title": {
"mappings": { "mappings": {
"0": { "0": {

View file

@ -508,15 +508,6 @@
"question": "這個駭客空間的名稱是?", "question": "這個駭客空間的名稱是?",
"render": "這個駭客空間叫 <b>{name}</b>" "render": "這個駭客空間叫 <b>{name}</b>"
}, },
"hackerspaces-opening_hours": {
"mappings": {
"0": {
"then": "24/7 營業"
}
},
"question": "這個駭客空間的營業時間?",
"render": "{opening_hours_table()}"
},
"hackerspaces-start_date": { "hackerspaces-start_date": {
"question": "這個駭客空間何時成立的?", "question": "這個駭客空間何時成立的?",
"render": "這駭客空間是 {start_date} 成立的" "render": "這駭客空間是 {start_date} 成立的"