forked from MapComplete/MapComplete
		
	Fix: fix #1528: from weblate to theme files did not properly sync
This commit is contained in:
		
							parent
							
								
									56ea1163bb
								
							
						
					
					
						commit
						3c08c12974
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -557,7 +557,7 @@ function MergeTranslation(source: any, target: any, language: string, context: s
 | 
				
			||||||
    if (context.endsWith(".tagRenderings")) {
 | 
					    if (context.endsWith(".tagRenderings")) {
 | 
				
			||||||
        keyRemapping = new Map<string, string>()
 | 
					        keyRemapping = new Map<string, string>()
 | 
				
			||||||
        for (const key in target) {
 | 
					        for (const key in target) {
 | 
				
			||||||
            keyRemapping.set(target[key].id, key)
 | 
					            keyRemapping.set(target[key].id ?? target[key].builtin, key)
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue