forked from MapComplete/MapComplete
		
	Fix build
This commit is contained in:
		
							parent
							
								
									a70726f0aa
								
							
						
					
					
						commit
						e5c20d72f4
					
				
					 3 changed files with 395 additions and 441 deletions
				
			
		|  | @ -588,6 +588,10 @@ function MergeTranslation(source: any, target: any, language: string, context: s | |||
|                 continue | ||||
|             } | ||||
| 
 | ||||
|             if(sourceV === ""){ | ||||
|                 console.log("Ignoring empty string in the translations") | ||||
|             } | ||||
| 
 | ||||
|             if (typeof targetV === "string") { | ||||
|                 throw `At context ${context}: Could not add a translation in language ${language}. The target object has a string at the given path, whereas the translation contains an object.\n    String at target: ${targetV}\n    Object at translation source: ${JSON.stringify( | ||||
|                     sourceV | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue