forked from MapComplete/MapComplete
		
	Add opening_hours=closed option, reset translations
This commit is contained in:
		
							parent
							
								
									7b590e73a2
								
							
						
					
					
						commit
						0ba556a412
					
				
					 13 changed files with 29 additions and 14 deletions
				
			
		|  | @ -726,13 +726,23 @@ | |||
|       "freeform": { | ||||
|         "key": "opening_hours", | ||||
|         "type": "opening_hours" | ||||
|       } | ||||
|       }, | ||||
|       "mappings": [ | ||||
|         { | ||||
|           "#": "Just here to be able to handle those ~5000 incorrect 'opening_hours=closed' elements.", | ||||
|           "if": "opening_hours=closed", | ||||
|           "then": { | ||||
|             "en": "Marked as closed for an unspecified time" | ||||
|           }, | ||||
|           "hideInAnswer": true | ||||
|         } | ||||
|       ] | ||||
|     }, | ||||
|     { | ||||
|       "id": "opening_hours_24_7", | ||||
|       "builtin": "opening_hours", | ||||
|       "override": { | ||||
|         "mappings": [ | ||||
|         "+mappings": [ | ||||
|           { | ||||
|             "if": "opening_hours=24/7", | ||||
|             "then": { | ||||
|  |  | |||
|  | @ -6324,7 +6324,7 @@ | |||
|             }, | ||||
|             "opening_hours_24_7": { | ||||
|                 "override": { | ||||
|                     "mappings": { | ||||
|                     "+mappings": { | ||||
|                         "0": { | ||||
|                             "then": "Obert 24/7 (incloent-hi festius)" | ||||
|                         } | ||||
|  |  | |||
|  | @ -6553,7 +6553,7 @@ | |||
|             }, | ||||
|             "opening_hours_24_7": { | ||||
|                 "override": { | ||||
|                     "mappings": { | ||||
|                     "+mappings": { | ||||
|                         "0": { | ||||
|                             "then": "Otevřeno 24/7 (včetně svátků)" | ||||
|                         } | ||||
|  |  | |||
|  | @ -7690,7 +7690,7 @@ | |||
|             }, | ||||
|             "opening_hours_24_7": { | ||||
|                 "override": { | ||||
|                     "mappings": { | ||||
|                     "+mappings": { | ||||
|                         "0": { | ||||
|                             "then": "durchgehend geöffnet (auch an Feiertagen)" | ||||
|                         } | ||||
|  |  | |||
|  | @ -7728,12 +7728,17 @@ | |||
|                 } | ||||
|             }, | ||||
|             "opening_hours": { | ||||
|                 "mappings": { | ||||
|                     "0": { | ||||
|                         "then": "Marked as closed for an unspecified time" | ||||
|                     } | ||||
|                 }, | ||||
|                 "question": "What are the opening hours of {title()}?", | ||||
|                 "render": "<h3>Opening hours</h3>{opening_hours_table(opening_hours)}" | ||||
|             }, | ||||
|             "opening_hours_24_7": { | ||||
|                 "override": { | ||||
|                     "mappings": { | ||||
|                     "+mappings": { | ||||
|                         "0": { | ||||
|                             "then": "24/7 opened (including holidays)" | ||||
|                         } | ||||
|  |  | |||
|  | @ -3607,7 +3607,7 @@ | |||
|             }, | ||||
|             "opening_hours_24_7": { | ||||
|                 "override": { | ||||
|                     "mappings": { | ||||
|                     "+mappings": { | ||||
|                         "0": { | ||||
|                             "then": "Abierta 24/7 (incluyendo festivos)" | ||||
|                         } | ||||
|  |  | |||
|  | @ -4712,7 +4712,7 @@ | |||
|             }, | ||||
|             "opening_hours_24_7": { | ||||
|                 "override": { | ||||
|                     "mappings": { | ||||
|                     "+mappings": { | ||||
|                         "0": { | ||||
|                             "then": "Ouvert 24h/24 (jours fériés compris)" | ||||
|                         } | ||||
|  |  | |||
|  | @ -801,7 +801,7 @@ | |||
|             }, | ||||
|             "opening_hours_24_7": { | ||||
|                 "override": { | ||||
|                     "mappings": { | ||||
|                     "+mappings": { | ||||
|                         "0": { | ||||
|                             "then": "Éjjel-nappal nyitva (munkaszüneti napokon is)" | ||||
|                         } | ||||
|  |  | |||
|  | @ -515,7 +515,7 @@ | |||
|             }, | ||||
|             "opening_hours_24_7": { | ||||
|                 "override": { | ||||
|                     "mappings": { | ||||
|                     "+mappings": { | ||||
|                         "0": { | ||||
|                             "then": "Buka 24 jam (termasuk hari libur)" | ||||
|                         } | ||||
|  |  | |||
|  | @ -654,7 +654,7 @@ | |||
|             }, | ||||
|             "opening_hours_24_7": { | ||||
|                 "override": { | ||||
|                     "mappings": { | ||||
|                     "+mappings": { | ||||
|                         "0": { | ||||
|                             "then": "Døgnåpent (inkludert helligdager)" | ||||
|                         } | ||||
|  |  | |||
|  | @ -6550,7 +6550,7 @@ | |||
|             }, | ||||
|             "opening_hours_24_7": { | ||||
|                 "override": { | ||||
|                     "mappings": { | ||||
|                     "+mappings": { | ||||
|                         "0": { | ||||
|                             "then": "24/7 open (ook tijdens feestdagen)" | ||||
|                         } | ||||
|  |  | |||
|  | @ -2424,7 +2424,7 @@ | |||
|             }, | ||||
|             "opening_hours_24_7": { | ||||
|                 "override": { | ||||
|                     "mappings": { | ||||
|                     "+mappings": { | ||||
|                         "0": { | ||||
|                             "then": "Otwarte 24/7 (również w święta)" | ||||
|                         } | ||||
|  |  | |||
|  | @ -634,7 +634,7 @@ | |||
|             }, | ||||
|             "opening_hours_24_7": { | ||||
|                 "override": { | ||||
|                     "mappings": { | ||||
|                     "+mappings": { | ||||
|                         "0": { | ||||
|                             "then": "24/7 開放 (包括假日)" | ||||
|                         } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue