forked from MapComplete/MapComplete
		
	Add validation rule: public themes should have a complete translation in english
This commit is contained in:
		
							parent
							
								
									39e6cdfda4
								
							
						
					
					
						commit
						92f5b57c9f
					
				
					 8 changed files with 162 additions and 113 deletions
				
			
		|  | @ -138,6 +138,11 @@ class ValidateTheme extends DesugaringStep<LayoutConfigJson> { | |||
|                     .convert(theme, theme.id) | ||||
|                 errors.push(...checked.errors) | ||||
|             } | ||||
|             if(!json.hideFromOverview){ | ||||
|                 const checked = new ValidateLanguageCompleteness("en") | ||||
|                     .convert(theme, theme.id) | ||||
|                 warnings.push(...checked.errors) | ||||
|             } | ||||
| 
 | ||||
|         } catch (e) { | ||||
|             errors.push(e) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue